John MacFarlane
0b4c04f105
Fixed default LaTeX template so \euro and € work.
...
Closes #309 .
2012-03-04 18:52:46 -08:00
John MacFarlane
74492225f5
Updated LaTeX template for better language support.
...
Uses polyglossia if xetex, sets lang as documentclass option.
Thanks to François Gannaz.
2012-03-04 18:43:59 -08:00
John MacFarlane
c14efbb6df
Fixed link example in README.
...
Thanks to Ryan Gray for pointing out the mistake.
2012-03-04 11:13:10 -08:00
John MacFarlane
210d186f9c
Updated tests for context template changes.
2012-03-03 08:38:40 -08:00
John MacFarlane
f4762d52c4
Updated context template to avoid extra spaces.
2012-03-03 08:38:23 -08:00
John MacFarlane
40133e8a7d
Use <q> tags for Quoted items for HTML5 output.
...
The quote style can be changed by modifying the template
or including a css file. A default quote style is included.
2012-03-03 08:29:01 -08:00
John MacFarlane
e6a03cdd4b
EPUB writer: Use extensible exceptions.
2012-03-03 08:16:16 -08:00
John MacFarlane
8a218dc0d5
Fixed LaTeX writer tests for last patch.
2012-03-03 06:34:38 -08:00
John MacFarlane
940b603548
Use \textasciitilde for ~ in LaTeX writer.
2012-03-03 06:33:24 -08:00
John MacFarlane
53e6bf36a9
Fixed bug in LaTeX string escaper (with ~).
2012-03-02 07:49:55 -08:00
John MacFarlane
c5fb21d524
Support "minted" as a LaTeX verbatim block.
...
Closes #431 .
2012-02-27 11:37:54 -08:00
John MacFarlane
bf4e59bc46
LaTeX reader: correctly handle \^{}.
2012-02-25 09:55:38 -08:00
John MacFarlane
14984a7130
LaTeX reader: Fixed accents.
...
\~{a}, \c{c}.
2012-02-25 09:24:39 -08:00
John MacFarlane
c468272e34
HTML writer: Don't escape contents of EQ tags with --gladtex.
...
This fixes a regression from 1.8.x. Closes #428 .
2012-02-21 09:00:30 -08:00
John MacFarlane
24e3a65167
LaTeX math environment fixes. Closes #423 .
...
`aligned` is now used instead of the nonexistent `aligned*`.
`multline` instead of the nonexistent `multiline`.
2012-02-19 21:11:07 -08:00
John MacFarlane
1ab21530b4
PDF: run latex 3 times if --toc specified.
...
Closes #424 .
2012-02-19 19:11:40 -08:00
John MacFarlane
5914ae1ea3
Don't escape <
in <style>
tags with --self-contained
.
...
Closes #422 : highlighting lost using `--self-contained`.
2012-02-17 10:44:46 -08:00
John MacFarlane
7376d26c36
Add TableNormal style to tables.
...
Needs testing with Word.
2012-02-14 17:41:11 -08:00
John MacFarlane
0dfd427b6b
README - fixed documentation on Smart Punctuation.
...
Closes #415 .
2012-02-12 10:18:10 -08:00
John MacFarlane
5c498b36ef
Doc fix: 'fontsize' is the template variable, not 'font-size'.
...
Closes pandoc-types#4.
2012-02-12 10:14:41 -08:00
John MacFarlane
5e215c1c25
Added googlecode-upload.sh script.
2012-02-11 18:23:28 -08:00
John MacFarlane
9ef7ecd47c
Print texmath version in --version output.
2012-02-11 16:21:37 -08:00
John MacFarlane
d9012a305b
Updated changelog.
2012-02-11 16:06:32 -08:00
John MacFarlane
5c30bce6e8
Version bump to 1.9.1.1.
2012-02-11 13:35:53 -08:00
John MacFarlane
26e5de8323
Fixed html5 template so it works properly with highlighting.
2012-02-11 11:48:43 -08:00
John MacFarlane
5cfec4b922
Fix _rels/.rels if it has been screwed up by Word.
...
Closes #414 .
Previously, if you edited the reference.docx with Word, then
created a new docx using the edited reference.docx, Word would complain
about the file being corrupt. The problem seems to be that Word
changes _rels/.rels, changing the Type of the Relationship to
docProps/core.xml from
"http://schemas.openxmlformats.org/officedocument/2006/relationships/metadata/core-properties "
to
"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties ".
As far as I can see, this is a bug in Word, since the latter is not
valid. (See
http://idippedut.dk/post/2010/04/22/Correct-according-to-spec-or-implementation.aspx .)
This change simply does a global replace on _rels/.rels that reverts
the change Word makes. And now producing docx files with Word-modified
reference.docx seems to work.
2012-02-11 09:12:58 -08:00
John MacFarlane
fdb11cdae9
Fixed problem in reference.docx styles.
...
Had xCs instead of iCs.
reference.docx now validates at
http://www.probatron.org:8080/officeotron/officeotron.html .
This may help with #414 .
2012-02-10 22:49:07 -08:00
John MacFarlane
163f0651bd
Fixed name on "Date" style in reference.docx.
...
See #414 .
2012-02-10 21:50:31 -08:00
John MacFarlane
f59e33dd1a
LaTeX reader: Add ", " to suffix...
...
if it doesn't start w space or punctuation. Otherwise we
get no space between the year and the suffix in author-date styles.
2012-02-10 21:48:42 -08:00
John MacFarlane
fe3d8ea418
Test suite: Don't print 'expected' in red.
2012-02-10 21:40:55 -08:00
John MacFarlane
b307b647ff
Added section in INSTALL on creating relocatable binary on windows.
2012-02-10 13:19:46 -08:00
John MacFarlane
ddd3e067d2
Added two needed gifs to the data files for s5.
...
ALso removed sildes.min.js, which was no longer being used.
2012-02-10 11:08:59 -08:00
John MacFarlane
ad4062fbff
Made LaTeX parser more robust.
...
+ Skip options after block commands.
+ Correctly handle {\\} in braced.
+ Added a needed 'try'.
2012-02-09 17:45:40 -08:00
John MacFarlane
5ac6f88e34
Better handling of raw latex environments in markdown.
...
Now
\begin{equation}
a_1
\end{equation}
turns into a raw latex block as expected.
2012-02-09 14:30:37 -08:00
John MacFarlane
c8cadbf5f3
Updated changelog.
2012-02-09 10:37:07 -08:00
John MacFarlane
61bde14523
Version bump in windows setup.
2012-02-09 08:59:27 -08:00
John MacFarlane
c0ddee2b5b
Merge pull request #411 from dfc/patch-1
...
"be is in" -> "be in"
2012-02-09 07:24:44 -08:00
John MacFarlane
04627b17ac
Changed a README example.
...
The old one was bad, because the HTML comment is no longer
needed for that case in pandoc.
2012-02-09 07:20:03 -08:00
Douglas Calvert
0d1cf3c526
"be is in" -> "be in"
2012-02-08 22:50:18 -05:00
John MacFarlane
24f7076622
Improvements to markdown attributes syntax (on code blocks).
...
(1) Attributes can contain line breaks.
(2) Values in key-value attributes can be surrounded by either
double or single quotes, or left unquoted if they contain no spaces.
2012-02-08 17:18:08 -08:00
John MacFarlane
ef5dcae211
Require texmath >= 0.6.0.2.
2012-02-08 14:33:17 -08:00
John MacFarlane
afd0d7eb90
Better description of pandoc 1.9 latex reader changes.
2012-02-08 14:09:05 -08:00
John MacFarlane
1c432e72ea
Put LaTeX verse environments in blockquotes.
2012-02-08 14:03:55 -08:00
John MacFarlane
421b362b99
Require h-k 0.5.0.2.
2012-02-08 11:14:53 -08:00
John MacFarlane
64304a2165
Don't wrap headers in markdown or rst.
2012-02-08 08:40:53 -08:00
John MacFarlane
142c29d908
More efficient implementation of nowrap in Pretty.
2012-02-08 08:32:32 -08:00
John MacFarlane
11e1e2b922
Version bump to 1.9.1.
...
(Due to new field in ParserState introduced in last commit.)
2012-02-07 22:47:07 -08:00
John MacFarlane
7a602d222f
Limit nesting of strong/emph.
...
This avoids exponential lookahead in parasitic cases, like
a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**.
Added stateMaxNestingLevel to ParserState.
We set this to 6, so you can still have Emph inside Emph, just not
indefinitely.
2012-02-07 22:46:41 -08:00
John MacFarlane
12aa83f70e
PDF: Only run latex twice if \tableofcontents is present.
...
Note: This will pick up on \tableofcontents even if it's
in a verbatim environment. But the worst that can happen is
that the document takes a bit longer to build.
2012-02-07 22:00:22 -08:00
John MacFarlane
328c91e307
Handle escaped $ in latex math. Closes #186 .
2012-02-07 19:41:37 -08:00