aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
AgeCommit message (Collapse)AuthorFilesLines
2012-02-05LaTeX reader: Fixed bug in authors.John MacFarlane1-1/+3
2012-02-05LaTeX reader: Support \TeX, \LaTeX.John MacFarlane1-0/+2
2012-02-05LaTeX reader: Skip everything after \end{document}.John MacFarlane1-1/+1
2012-02-04Added \vspace and \hspace to latex ignored block commands.John MacFarlane1-0/+1
2012-02-04Improvements to LaTeX reader:John MacFarlane1-26/+63
* Handle \ps * Ignore ignorable commands in a uniform way. * Handle \P * handleIncludes skips \verb commands.
2012-02-04Handle \address and \signature in letter environment. Closes #393.John MacFarlane1-2/+19
2012-02-04LaTeX reader: support macron accents \=o.John MacFarlane1-0/+14
2012-02-04LaTeX reader: support \. dot accent.John MacFarlane1-0/+13
2012-02-04handleIncludes: read file as UTF8, allow multiples separated by commas.John MacFarlane1-8/+13
e.g. \usepackage{a,b}
2012-02-04Don't print warnings for not-found packages, includes.John MacFarlane1-4/+1
2012-02-04Revert "LaTeX reader: Use kpsewhich to find paths for handleIncludes."John MacFarlane1-11/+1
This reverts commit 1f90c6d7e0800621367ff72601a4f66159688ca9.
2012-02-04LaTeX reader: Use kpsewhich to find paths for handleIncludes.John MacFarlane1-1/+11
Fall back without an error if kpsewhich is not available.
2012-02-04Have handleIncludes look for local .sty files from \usepackage.John MacFarlane1-3/+7
2012-02-04LaTeX reader: small bug fixes.John MacFarlane1-8/+10
2012-02-04Minor formatting changeJohn MacFarlane1-1/+2
2012-02-04LaTeX reader: Factored out rawEnvJohn MacFarlane1-7/+11
2012-02-04Small improvements in latex table parser.John MacFarlane1-3/+2
2012-02-04Complete rewrite of LaTeX reader.John MacFarlane4-986/+780
* The new reader is more robust, accurate, and extensible. It is still quite incomplete, but it should be easier now to add features. * Text.Pandoc.Parsing: Added withRaw combinator. * Markdown reader: do escapedChar before raw latex inline. Otherwise we capture commands like \{. * Fixed latex citation tests for new citeproc. * Handle \include{} commands in latex. This is done in pandoc.hs, not the (pure) latex reader. But the reader exports the needed function, handleIncludes. * Moved err and warn from pandoc.hs to Shared. * Fixed tests - raw tex should sometimes have trailing space. * Updated lhs-test for highlighting-kate changes.
2012-01-31Don't let autolinks create reference links.John MacFarlane1-1/+1
Previously we got bad results with -t markdown --reference-links if the input contained autolinks like <http://yahoo.com>.
2012-01-31Don't include mathml javascript for html5 output.John MacFarlane1-1/+2
mathml is supposed to be supported in HTML5.
2012-01-31Support `--mathml` flag in docbook.John MacFarlane1-2/+28
2012-01-30Added `--epub-embed-font` option.John MacFarlane2-5/+25
* This can be repeated for multiple fonts. * Added parameter for fonts to embed to writeEPUB. * Added ttf, otf to Mime types in Text.Pandoc.MIME.
2012-01-30Added default.beamer template (separate from default.latex).John MacFarlane1-1/+0
2012-01-29LaTeX reader: Require non-letter after certain commands.John MacFarlane1-6/+11
Previously "\opening" was rendered as "\248pening". The "\o" should not be parsed as a control sequence. Partially addresses #393.
2012-01-28Remove dependency on old-time.John MacFarlane3-6/+6
2012-01-28Put date in YYYY-MM-DD format if possible for HTML, docx metadata.John MacFarlane3-5/+23
Added normalizeDate to Text.Pandoc.Shared.
2012-01-28Removed an unnecessary `many spaceChar`.John MacFarlane1-1/+1
2012-01-28Markdown reader: Fixed bug in code block attribute parser.John MacFarlane1-3/+4
Previously the ID attribute got lost if it didn't come first. Now attributes can come in any order.
2012-01-28Support github syntax for fenced code blocks.John MacFarlane1-10/+14
You can now write ```ruby x = 2 ``` instead of ~~~ {.ruby} x = 2 ~~~~
2012-01-28XML: Added toEntities.John MacFarlane1-1/+10
2012-01-28Made `beamer` an output format, removed `pdf` as output format.John MacFarlane1-1/+1
Removed `--beamer` option; instead, use `beamer` as output format. There is no longer a `pdf` output format; instead, pandoc tries to produce a pdf if the output file has a `.pdf` extension. (The output format can be latex -- the default for pdf output, latex+lhs, or beamer.) This seems more consistent with the way pandoc currently works (e.g. we have an `html5` output format, not an `--html5` option).
2012-01-27LaTeX writer: escape # in href URLs. Closes #359.John MacFarlane1-6/+2
2012-01-27Made charWidth in Text.Pandoc.Pretty complete.John MacFarlane1-29/+35
Used the unicode spec EastAsianWidth.txt. All characters marked W or F get width 2. Closes #377.
2012-01-27Docbook writer: Use sect1, sect2, etc. instead of section.John MacFarlane1-9/+11
2012-01-27Finished implementing --atx-headers in markdown writer.John MacFarlane1-2/+5
2012-01-27Fixed table parsing with wide or combining characters.John MacFarlane2-5/+5
Closes #348. Closes #108.
2012-01-27Removed some unused code.John MacFarlane1-3/+0
2012-01-27Shared: Added splitStringWithIndices.John MacFarlane1-4/+17
This is like splitWithIndices, but it is sensitive to distinctions between wide, combining, and regular characters.
2012-01-26Added --atx-headers option.John MacFarlane1-0/+2
2012-01-26LaTeX reader: Handle \@.John MacFarlane1-1/+4
2012-01-25Pretty: Export realLength and use it in calculating offsets.John MacFarlane1-10/+16
This should help fix setext headers and tables containing asian wide characters and combining characters.
2012-01-25Pretty: Added charWidth function.John MacFarlane1-0/+37
2012-01-25Added --slide-level option to override default.John MacFarlane3-4/+16
This allows users to select a slide level below the first header level with content. Note that content under sections above the slide level will not appear in slides (either in beamer or in HTML slide shows). This is primarily useful for creating documents that can be made into both slides and handouts (which contain additional content outside the slides).
2012-01-25Fixed regression in HTML writer: all headers level 1!John MacFarlane1-1/+3
2012-01-25Depend on highlighting-kate 0.5.John MacFarlane2-4/+4
This uses styleToCss instead of styleToHtml.
2012-01-25LaTeX/beamer: --chapters causes level 1 to be \part{..}.John MacFarlane1-3/+6
2012-01-24HTML writer: Use h1 for all slide titles.John MacFarlane1-2/+2
2012-01-24Slides: Fixed bug in prepSlides.John MacFarlane1-1/+1
2012-01-24HTML writer: Use new common system for slides.John MacFarlane1-20/+16
2012-01-23Slides: New approach, using hierarchicalize.John MacFarlane2-67/+44
This will work better with the HTML slideshows.