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

[PDF] Fix searching and copy-pasting underscore characters #287

Merged
merged 1 commit into from
Jan 15, 2024

Commits on Jan 11, 2024

  1. [PDF] Fix searching and copy-pasting underscore characters

    In the existing setup, the *.md source files are converted to PDF by
    pandoc that invokes pdflatex internally. With the default font encoding,
    underscore characters inside paragraphs of text look like whitespace
    (or absent) in the produced PDF documents w.r.t. copy-pasting text from
    PDF viewer or searching. This may confuse users as it makes
    `__ARM_FEATURE_name` and `long_function_name` strings invisible to the
    "Search ..." function of a viewer, but only if they are not inside a
    standalone block of code.
    
    One of the solutions is to use T1 font encoding and ensure that Type 1
    fonts are available (i.e. pdflatex does not have to use rasterized
    Type 3 fonts).
    atrosinenko committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    e5c54f9 View commit details
    Browse the repository at this point in the history