We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The linkColor defined in my custom style sheet YAML does not work for the ref element.
linkColor
ref
Here is my conf.py file:
conf.py
.. # A comma-separated list of custom stylesheets. Example: pdf_stylesheets = ['sphinx','a4', "custom_pdf_styles"]
In custom_pdf_styles.yaml
custom_pdf_styles.yaml
linkColor: blue pageSetup: size: Legal
In file1.rst
file1.rst
The goal of this phase is to verify that the site meets the :ref:`Warehouse Requirements`.
When I run the sphinx-build -b pdf . build/pdf, the page in PDF with the above ref attribute looks like:
sphinx-build -b pdf . build/pdf
Expected behavior:
When I run the sphinx-build -b pdf . build/pdf, I should be able to see blue color for the link- 'Warehouse Requirements'.
🖥 Versions
python -V Python 3.8.10
python -V
pip list | grep rst2pdf rst2pdf 0.100.dev11+gcbd0f2b8
pip list | grep rst2pdf
pip freeze | grep reportlab reportlab==3.5.34
pip freeze | grep reportlab
pip freeze | grep Sphinx Sphinx==4.5.0
pip freeze | grep Sphinx
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal
lsb_release -a
The text was updated successfully, but these errors were encountered:
I'd want to note that "linkColor" isn't even mentioned in official manual (https://rst2pdf.org/static/manual.html)
Sorry, something went wrong.
Thanks for the bug report and the point about the docs, they are both helpful and we will look at this when we can!
No branches or pull requests
The
linkColor
defined in my custom style sheet YAML does not work for theref
element.Here is my
conf.py
file:In
custom_pdf_styles.yaml
In
file1.rst
When I run the
sphinx-build -b pdf . build/pdf
, the page in PDF with the above ref attribute looks like:Expected behavior:
When I run the
sphinx-build -b pdf . build/pdf
, I should be able to see blue color for the link- 'Warehouse Requirements'.🖥 Versions
python -V
Python 3.8.10
pip list | grep rst2pdf
rst2pdf 0.100.dev11+gcbd0f2b8
pip freeze | grep reportlab
reportlab==3.5.34
pip freeze | grep Sphinx
Sphinx==4.5.0
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
The text was updated successfully, but these errors were encountered: