Skip to content

Instantly share code, notes, and snippets.

@briandk
Created September 2, 2011 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save briandk/1189734 to your computer and use it in GitHub Desktop.
Save briandk/1189734 to your computer and use it in GitHub Desktop.
How an additional parser breaks my LaTeX code
% This is how it should look
\eqn{LaTeX code goes here}{%ASCII fallback text goes here
}
% This is what it looks like after a parser forcibly applies a hard line break
\eqn{LaTeX code goes here}{%ASCII fallback
text goes here
}
@briandk
Copy link
Author

briandk commented Sep 2, 2011

Note how lines 2 and 3 mean that nothing after the % sign should end up as TeX output. By contrast, when the TeX parser gets to line 7 it will try to render those words and typeset them in TeX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment