aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-02-11Fix _rels/.rels if it has been screwed up by Word.John MacFarlane1-1/+10
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-10Fixed problem in reference.docx styles.John MacFarlane1-0/+0
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-10Fixed name on "Date" style in reference.docx.John MacFarlane1-0/+0
See #414.
2012-02-10LaTeX reader: Add ", " to suffix...John MacFarlane3-28/+32
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-10Test suite: Don't print 'expected' in red.John MacFarlane1-6/+4
2012-02-10Added section in INSTALL on creating relocatable binary on windows.John MacFarlane1-0/+31
2012-02-10Added two needed gifs to the data files for s5.John MacFarlane2-2/+2
ALso removed sildes.min.js, which was no longer being used.
2012-02-09Made LaTeX parser more robust.John MacFarlane1-22/+26
+ Skip options after block commands. + Correctly handle {\\} in braced. + Added a needed 'try'.
2012-02-09Better handling of raw latex environments in markdown.John MacFarlane1-9/+1
Now \begin{equation} a_1 \end{equation} turns into a raw latex block as expected.
2012-02-09Updated changelog.John MacFarlane1-0/+29
2012-02-09Version bump in windows setup.John MacFarlane1-1/+1
2012-02-09Merge pull request #411 from dfc/patch-1John MacFarlane1-1/+1
"be is in" -> "be in"
2012-02-09Changed a README example.John MacFarlane1-4/+3
The old one was bad, because the HTML comment is no longer needed for that case in pandoc.
2012-02-08"be is in" -> "be in" Douglas Calvert1-1/+1
2012-02-08Improvements to markdown attributes syntax (on code blocks).John MacFarlane1-4/+5
(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-08Require texmath >= 0.6.0.2.John MacFarlane1-3/+3
2012-02-08Better description of pandoc 1.9 latex reader changes.John MacFarlane1-3/+9
2012-02-08Put LaTeX verse environments in blockquotes.John MacFarlane1-0/+1
2012-02-08Require h-k 0.5.0.2.John MacFarlane1-3/+3
2012-02-08Don't wrap headers in markdown or rst.John MacFarlane2-2/+3
2012-02-08More efficient implementation of nowrap in Pretty.John MacFarlane1-4/+4
2012-02-07Version bump to 1.9.1.John MacFarlane1-1/+1
(Due to new field in ParserState introduced in last commit.)
2012-02-07Limit nesting of strong/emph.John MacFarlane2-2/+16
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-07PDF: Only run latex twice if \tableofcontents is present.John MacFarlane1-1/+4
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-07Handle escaped $ in latex math. Closes #186.John MacFarlane1-2/+8
2012-02-07Added test case for issue #186 (\$ in latex math).John MacFarlane1-1/+1
2012-02-07Added test case for issue #186 (\$ in latex math).John MacFarlane1-0/+5
2012-02-06Updated changelog.John MacFarlane1-0/+8
2012-02-06Version bump to 1.9.0.5.John MacFarlane1-1/+1
2012-02-06cabal: Put build-depends for tests under conditional.John MacFarlane1-25/+25
Otherwise even those who don't build with the tests flag need to have dependencies like test-framework. This restores the old behavior; I wrongly assumed that by now cabal was smart enough not to bring in build-depends for components with Buildable = False.
2012-02-06LaTeX writer: prevent adjacent hyphens from forming ligatures.John MacFarlane1-20/+32
This is important primarily for things like `--option`. Em and En dashes will produce '---' and '--' in LaTeX, but hyphens should not otherwise combine into dashes.
2012-02-06Version bump to 1.9.0.4, updated changelog.John MacFarlane2-1/+13
2012-02-06LaTeX reader: use raw latex as fallback for Cites.John MacFarlane3-76/+82
This way you can still get the raw latex back, even if you don't process with citeproc. Previously, cites were not visible at all unless you specified --biblio on the command line and converted them using citeproc, or used --natbib or --biblatex.
2012-02-06Fixed lhs+markdown instructions.John MacFarlane1-2/+2
Classes 'literate' and 'haskell' are needed for bird tracks. Closes #395.
2012-02-06Text.Pandoc.PDF: Simplified tex2pdf.John MacFarlane1-26/+16
We no longer try to parse the log file to determine whether latex needs to be rerun. Instead, we run latex twice -- which should be enough for table of contents and hyperrefs. Closes #402.
2012-02-06Merge pull request #404 from conal/masterJohn MacFarlane1-1/+1
Relax test-framework version dependency to allow building with GHC 7.4.1
2012-02-06Relaxed version upper bound for test-framework from < 0.5 to < 0.6, since ↵Conal Elliott1-1/+1
0.5 is the first version on Hackage that builds under GHC 7.4.1.
2012-02-06Updated changelog.John MacFarlane1-0/+5
2012-02-06More cabal tweaks, default to Haskell98 for ghc 6.12 compatibility.John MacFarlane1-5/+4
2012-02-06Version bump to 1.9.0.3.John MacFarlane1-1/+1
2012-02-06cabal changes required by version >= 1.10.John MacFarlane1-32/+88
2012-02-06Fixed typo in changelog.John MacFarlane1-1/+1
2012-02-06Require cabal version >= 1.10.John MacFarlane1-1/+1
This is needed for ghcPackageDbOptions in Setup.hs.
2012-02-05Updated changelog.John MacFarlane1-0/+5
2012-02-05Bump version to 1.9.0.2.John MacFarlane1-1/+1
2012-02-05Allow json 0.4.John MacFarlane1-2/+2
Otherwise we can't compile on ghc 6.12.
2012-02-05Fixed bug in fromEntities: require semicolon to process as entity.John MacFarlane1-1/+1
2012-02-05Parsing: Make characterReference fail if entity not found.John MacFarlane1-2/+2
2012-02-05Removed module Text.Pandoc.CharacterReferences.John MacFarlane6-80/+21
Moved characterReference parser to Text.Pandoc.Parsing. decodeCharacterReferences is now replaced by fromEntities in Text.Pandoc.XML.
2012-02-05Removed outdated comment in LaTeX reader.John MacFarlane1-2/+0