John MacFarlane
9cf27c92c1
Added support for MathJax for displaying math in HTML.
...
Added --mathjax option.
Added MathJax to HTMLMathMethod.
Supported MathJax in HTML writer.
Resolves Issue #259 .
2010-10-26 21:07:51 -07:00
John MacFarlane
905d194db5
Added test for macros.
2010-10-26 20:03:02 -07:00
John MacFarlane
3a799f4482
Documented LaTeX macros.
2010-10-26 19:57:05 -07:00
John MacFarlane
7fdf3f5a46
Bump version to 1.6.1.
2010-10-26 19:52:24 -07:00
John MacFarlane
f870777c36
Parse blanklines after macro definitions.
2010-10-26 19:52:12 -07:00
John MacFarlane
6b722d1b45
Process LaTeX macros in markdown, and apply to TeX math.
...
Example:
\newcommand{\plus}[2]{#1 + #2}
$\plus{3}{4}$
yields:
3+4
2010-10-26 09:03:03 -07:00
John MacFarlane
3b1d68b2bc
Added fontsize variable to default latex template.
...
This makes it easy to set the font size using markdown2pdf
or pandoc: markdown2pdf -V fontsize=12pt input.txt
2010-10-24 19:46:25 -07:00
John MacFarlane
7e9e959548
LaTeX & ConTeXt writers: escape [ and ] as {[} and {]}.
...
This avoids unwanted interpretation as optional arguments
in some contexts, which caused the brackets to silently
disappear!
2010-10-24 19:38:16 -07:00
John MacFarlane
220a20bf92
Changed --help message for --variable to KEY:VALUE.
...
Was previously FILENAME.
2010-10-24 19:17:03 -07:00
John MacFarlane
4d08bc38a9
TeXMath: handle variables modified with \acute, \bar, etc.
...
Complete list: \acute, \grave, \breve, \check, \dot,
\mathring, \vec, \overrightarrow, \overleftarrow, \hat,
\tilde, \bar.
2010-10-19 15:03:30 -07:00
John MacFarlane
11672c4987
TeXMath reader: handle \textit, \textbf, etc.
2010-10-19 13:22:50 -07:00
John MacFarlane
90bae29216
Clarified that multiline tables don't support colspans or rowspans.
2010-09-23 06:21:09 -07:00
John MacFarlane
a627dc828b
Slight change in README on table cell spans.
2010-09-23 06:18:17 -07:00
John MacFarlane
ca5217881d
Encode filenames as UTF8.
...
Resolves Issue #252 (pandoc doesn't properly handle unicode filenames).
2010-09-10 19:53:45 -07:00
John MacFarlane
6ccdde5571
gladTeX HTML - specify ENV for display or inline.
...
Thanks to Jonathan Daugherty for the patch.
The gladTeX program gives finer control over the LaTeX environment
used to render its input. The latest version (1.1) uses the
"displaymath" environment by default, which is nice for large,
block-level equations, but it isn't so nice for inline math (where
"math" is more appropriate). This patch causes the HTML writer to
differentiate between the two by explicitly setting the LaTeX
environment on the generated EQ tag.
2010-08-01 08:30:04 -07:00
John MacFarlane
f94173f6a1
pandoc.cabal: Remove profiling options from 'else' clause.
2010-07-24 18:06:42 -07:00
John MacFarlane
78d9af999f
README - moved links to end.
2010-07-24 10:36:50 -07:00
John MacFarlane
18790ad309
Minor formatting change.
2010-07-24 10:15:53 -07:00
John MacFarlane
24921f18d4
Minor formatting change.
2010-07-24 10:15:46 -07:00
John MacFarlane
b9e377e328
Revised format of changelog to match release announcement.
2010-07-24 10:13:09 -07:00
John MacFarlane
c21319f950
Added slidy data files to windows installer.
2010-07-24 09:03:52 -07:00
John MacFarlane
3966346a6a
Added link to epub tutorial.
2010-07-24 01:04:53 -07:00
John MacFarlane
8fe468463e
--offline implies --standalone.
2010-07-24 00:49:10 -07:00
John MacFarlane
89daf06dd2
Minor changelog changes.
2010-07-24 00:49:02 -07:00
John MacFarlane
7b56b94095
Added release announcement.
2010-07-24 00:48:36 -07:00
John MacFarlane
dd90cff41f
Removed unnecessary item in changelog.
2010-07-23 23:35:53 -07:00
John MacFarlane
201592ddd1
Updated changelog.
2010-07-23 23:24:56 -07:00
John MacFarlane
7f936852d7
Revised description of slide formats.
2010-07-23 22:47:36 -07:00
John MacFarlane
01a191709e
Moved Text.Pandoc.Writers.S5 -> Text.Pandoc.S5.
...
Now it doesn't export a writer, just some CSS and JS.
2010-07-22 23:37:06 -07:00
John MacFarlane
348db7f077
Removed spurious title in s5 template.
2010-07-22 23:24:33 -07:00
John MacFarlane
6f75034bb9
Updated s5 tests.
2010-07-22 23:24:22 -07:00
John MacFarlane
851d39f8f8
Improved cutUp function, removed extra </div>
2010-07-22 23:23:47 -07:00
John MacFarlane
a11b530935
Moved s5 writing from S5 module to HTML.
...
Now s5 is handled in more or less the same way as slidy,
as a variant of HTML.
2010-07-22 22:58:48 -07:00
John MacFarlane
da52412455
Extended --offline to s5.
...
S5 default is now to include links, rather than a full copy
of scripts and stylesheets.
2010-07-22 22:23:43 -07:00
John MacFarlane
c5ed016616
Added new --offline option for slidy.
...
Added slidy/slidy.min.{css,js}.
2010-07-22 21:50:53 -07:00
John MacFarlane
5fd1389263
Slidy writer: Avoid spurious blank page.
2010-07-22 17:28:15 -07:00
John MacFarlane
a3051b8acb
Export HTMLSlideVariant in Text.Pandoc.
2010-07-22 17:12:57 -07:00
John MacFarlane
2253c8ef65
Require texmath >= 0.3, adjusted for new elements.
2010-07-22 15:06:46 -07:00
John MacFarlane
4c88ecaeca
Changed to using strict bytestrings in UTF8 module.
...
This avoids a problem on Windows reading from stdin.
Previously we'd get an error from hGetBufNonBlocking.
2010-07-21 15:14:20 -07:00
John MacFarlane
5be880bd48
Reintroduced 'library' cabal flag.
...
It is needed for the Windows installer, since if a library
is produced, the binary can't be made relocatable.
See http://www.haskell.org/ghc/docs/6.12.2/html/Cabal/builders.html
section 4.1.2.3.
2010-07-21 11:26:13 -07:00
John MacFarlane
87cd12a573
Avoid shadowing when compiling with citeproc.
2010-07-21 11:24:37 -07:00
John MacFarlane
7712a0a91f
Updated --data-dir documentation to include epub.css.
2010-07-21 00:00:31 -07:00
John MacFarlane
ae3a5d5a75
Updated windows setup file.
2010-07-20 23:58:25 -07:00
John MacFarlane
cc27dbd032
Updated changelog.
2010-07-20 23:56:41 -07:00
John MacFarlane
fb9866c70f
Added amssymb to default latex template.
...
Resolves github Issue 1.
2010-07-20 21:06:32 -07:00
John MacFarlane
feb70b6e93
Made spacing at end of output more consistent.
...
Previously some of the writers added spurious whitespace.
This has been removed, resolving Issue #232 .
NOTE: If your application combines pandoc's output with other
text, for example in a template, you may need to add spacing.
For example, a pandoc-generated markdown file will not have
a blank line after the final block element. If you are inserting
it into another markdown file, you will need to make sure there
is a blank line between it and the next block element.
2010-07-20 12:42:12 -07:00
John MacFarlane
465a4a6699
Slidy writer: create new slide at every level 1 header.
2010-07-18 23:06:22 -07:00
Ilya V. Portnov
88281fa2ea
Update .gitignore.
2010-07-19 13:18:12 +08:00
John MacFarlane
0d2930f6d1
Slidy template: small improvements.
...
Use gzipped version of script for faster loading.
Rearranged cover page.
2010-07-18 22:08:52 -07:00
John MacFarlane
85f8c51b64
Use default highlighting CSS rather than embedding CSS in templates.
2010-07-16 00:23:13 -07:00