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

Backtick in Code #19

Closed
wcunning opened this issue Jan 13, 2014 · 3 comments
Closed

Backtick in Code #19

wcunning opened this issue Jan 13, 2014 · 3 comments
Labels

Comments

@wcunning
Copy link

The backtick character (from above tilde on a standard US keyboard) does not appear in minted environments, despite the "verbatim" nature of things. This especially frustrating in that I am writing course materials on the Verilog HDL, which uses backtick for preprocessor statements. Is there a way to force this character to be formatted as itself in minted environments?

@gpoore
Copy link
Owner

gpoore commented Jan 13, 2014

This is probably more of a LaTeX font issue than a minted issue. You need to load the upquote package to prevent LaTeX from interpreting the backtick character in verbatim environments as the left quote character.

@wcunning
Copy link
Author

That did in fact fix things. I might suggest that a comment of that form make it into the documentation, since both backtick and the also-complained-about tilde are used in a number of programming languages. Thanks for the quick response and successful workaround!

@gpoore
Copy link
Owner

gpoore commented Jan 13, 2014

The tilde issue is already in the FAQ in the docs on GitHub, and I've added the backticks to the FAQ for the next release.

@gpoore gpoore added the invalid label Jul 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants