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
displaymath environment using $$ #225
Comments
An alternative might be to use a single $, but line delimited to mean displaymath, $ is unambiguous, since arguably, this could only mean display math, and could be if inline math is desired. This is quite nice, since anything between $ pairs is Google Code Info: |
Your original suggestion—having Pandoc recognize math between $$s—is better, since Google Code Info: |
Actually, it is already implemented in the SVN repository -- isn't it? % pandoc -w latex Google Code Info: |
I'm using the latest stable (1.1) version. I haven't looked at the svn version. The output of that command in 1.1 is: pandoc -w latex it looks like the $$ are turning into $$, rather than pandoc -w latex then the displaymath is generated properly (using [ ] notation), but Google Code Info: |
OK, then, this problem is already fixed in SVN, so I'm closing this bug. Google Code Info: |
* Added writerChapters to WriterOptions. * Added --chapters command-line option. * --chapters causes top-level headers to be "chapter" instead of "section" in LaTeX and DocBook. * Resolves Issue jgm#225.
We're on pandoc version 1.12.3.1. using the command and find that displaymath between double dollars is not parsed correctly; the last dollar is escaped, as Is this a bug, or do we misuse something? |
It is a bug in pandoc's HTML reader. Pandoc is parsing this as
instead of
Commit 6c59f06 should fix this. +++ max cohen [Jan 20 14 05:26 ]:
|
Using
for display math is not explicitly documented in the manual. It can be inferred from
in the Math section, but I think writing this explicitly would be better. |
I'll add something to the manual. |
Using the following notation:
to insert displaymath environments in latex is desirable. This is better
when more than one line of math is required, since we would otherwise need
a hanging initial $$math.
Using \begin{displaymath}\end{displaymath} is possible, but not as convenient.
The symbols $$ are very unlikely to mean "dollar dollar" when alone at the
beginning of a line.
Google Code Info:
Issue #: 128
Author: nicolas...@gmail.com
Created On: 2009-02-17T17:01:32.000Z
Closed On: 2009-02-26T14:57:45.000Z
The text was updated successfully, but these errors were encountered: