Skip to content
New issue

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

HTML References Broken in PDF Output #2

Open
sanssecours opened this issue Nov 22, 2023 · 0 comments
Open

HTML References Broken in PDF Output #2

sanssecours opened this issue Nov 22, 2023 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@sanssecours
Copy link
Member

Description

Unfortunately links using HTML anchors (<a name="…"></a> do not work in the LaTeX/PDF output of bookdown. You can see the list of broken links using the command make pdf in the root folder of the repository:

Warning: LaTeX Warning: Hyper reference `page:system-configuration' on page 5 undefined
Warning: on input line 405.
…
Warning: LaTeX Warning: Hyper reference `command:Test-pfeifferl' on page 42 undefined on
Warning:  input line 3969.
Warning: LaTeX Warning: There were undefined references.

Possible Fixes

  • Remove links altogether
    • Very bad for “reading experience” of document (a lot of scrolling)
  • Use bookdown references instead of HTML anchors
    • Might not work inside tables
  • Remove PDF version of documentation
  • Do nothing 😅 and accept that the PDF version should only be used, if you want to print the documentation
@sanssecours sanssecours added bug Something isn't working documentation Improvements or additions to documentation labels Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant