Commit Graph
2357 Commits
Author SHA1 Message Date
John MacFarlane b659a26488 Revert "Use non-ssh-requiring URL for templates submodule."
This reverts commit ba1fd70b47.
2011-07-28 23:36:25 -07:00
John MacFarlane ba1fd70b47 Use non-ssh-requiring URL for templates submodule. 2011-07-28 23:34:08 -07:00
John MacFarlane eef9767a8e Updated changelog. 2011-07-28 19:50:30 -07:00
John MacFarlane 603a748eec Updated release checklist to include osx package. 2011-07-28 19:15:58 -07:00
John MacFarlane 45b8520af8 Fix template problem for epub. 2011-07-28 18:53:59 -07:00
John MacFarlane 57821e1cdf Added s5-url and slidy-url variables, instead of hard-coding.
If you want to put your slidy files in the slidy subdirectory,
for example, you can do

    pandoc -t slidy -V slidy-url=slidy -s
2011-07-28 17:35:26 -07:00
John MacFarlane 5c12221948 Simplified osx package script.
Now compatible with OSX 10.3.
Also, license works.
2011-07-28 16:38:56 -07:00
John MacFarlane 4919b49f1c Depend on same version of pandoc-types as citeproc-hs, for now. 2011-07-28 15:42:39 -07:00
John MacFarlane 4d246f9038 Fixed make_osx_package.sh so that data paths work correctly. 2011-07-28 15:42:20 -07:00
John MacFarlane 7b55048dfb Install osx package directly to /usr/local.
(Instead of to /usr/local/pandoc-VERSION, with symlinks.)
2011-07-28 13:24:54 -07:00
John MacFarlane b6d9c64794 Added osx packaging script. 2011-07-28 12:52:10 -07:00
John MacFarlane 0f0c1579f8 Smart quotes: handle '...hi' properly.
Also added test case.
2011-07-25 23:49:45 -07:00
John MacFarlane 499d1257ca Fixed template name in MakeManPage.hs 2011-07-25 23:49:17 -07:00
John MacFarlane a3327835be Docbook writer: Use programlisting for code blocks.
Instead of screen, as before.
2011-07-24 23:36:30 -07:00
John MacFarlane 07c7cd1945 Docbook writer: Use CALS tables (instead of XHTML tables).
Reason:  Some older docbook software does not work with XHTML
tables.

Closes #77.
2011-07-24 23:24:03 -07:00
John MacFarlane 3162adbd9b HTML writer: Removed English title on footnote back links.
This is incongruous in non-English documents.
2011-07-24 16:24:27 -07:00
John MacFarlane 7b4c1b171c Use data: protocol to embed s5 css in <link> tags.
Using inline css didn't work properly with Chrome and Safari.
2011-07-24 11:36:54 -07:00
John MacFarlane d6df566a75 Reordered offline slidy includes. 2011-07-24 10:39:46 -07:00
John MacFarlane d5e0c449bd Use yuicompressor-packed js for s5.
Removed s5/default/slides.js.comment,
s5/default/slides.js.packed. Added s5/default/slides.min.js.
2011-07-24 09:27:08 -07:00
John MacFarlane cb6123a2db Updated s5 tests. 2011-07-24 09:17:06 -07:00
John MacFarlane fa16e31f89 Fixed slidy css.
* Use non-minimized version of `slidy.css` with `--offline` option,
  so users can more easily edit it.
* Fixed bug in slidy css that prevented proper centering of title.
2011-07-24 09:08:11 -07:00
John MacFarlane c872d9f7ef Insert CDATA around inline js/css in HTML, slidy. 2011-07-24 08:23:38 -07:00
John MacFarlane 835dc412d2 Enclose s5 scripts and css in CDATA tags. 2011-07-24 07:52:44 -07:00
John MacFarlane 35cef01659 RST reader: Partial support for labeled footnotes.
Also made simpleReferenceName parser more accurate, which
affects several other parsers.
2011-07-23 18:51:02 -07:00
John MacFarlane 310697ce7e Changed --mathjax to link to mathjax CDN by default.
`--mathjax` now takes an optional URL argument. If it is not provided,
pandoc links directly to the (secure) mathjax CDN.
This is what they now recommend.  Thanks to dsanson.
2011-07-23 13:30:59 -07:00
John MacFarlane 81c403d2d1 Use \enquote{..} for latex quotes if template uses csquotes package.
This provides better support for foreign language quoting.
Thanks to Andreas Wagner for the idea.
2011-07-23 13:12:11 -07:00
John MacFarlane 6424e7d02c Properly handle characters in the 128..159 range.
These aren't valid in HTML, but many HTML files produced by
Windows tools contain them.  We substitute correct unicode
characters.
2011-07-23 12:43:01 -07:00
John MacFarlane 26418b7d14 HTML writer/templates: Made TOC more customizable.
The container for the TOC is now in the template, so users
can insert a header or other styling. Thanks to Bruce D'Arcus
for the suggestion.
2011-07-23 12:04:31 -07:00
John MacFarlane 12110f3282 HTML writer: Display author and date after title. 2011-07-23 11:26:11 -07:00
John MacFarlane 30159186ea Fixed latex template: don't use ucs if using biblatex.
Thanks to Joseph Reagle.
2011-07-23 10:05:36 -07:00
John MacFarlane 856f1d2b42 Use different hyperref options for xetex.
This fixes problems with unicode bookmarks on xetex.
Thanks to CircleCode.
2011-07-23 09:54:42 -07:00
John MacFarlane 0defa07c27 LaTeX writer: New template. 2011-07-23 09:44:36 -07:00
John MacFarlane 48368061a1 LaTeX writer: don't set stVerbInNote unnecessarily. 2011-07-23 08:36:41 -07:00
John MacFarlane 4dc40c923f Added link to zotero styles page. 2011-07-22 23:01:36 -07:00
John MacFarlane ac724226d4 Small documentation fix. 2011-07-22 23:01:33 -07:00
John MacFarlane d7793d6649 Version bump to 1.8.2.
Reason:  new naming scheme for templates may require users
to rename default templates they have put in ~./pandoc/templates.
A template named FORMAT.template should be renamed default.FORMAT.
2011-07-22 22:52:26 -07:00
John MacFarlane fd34dcba85 Changed default template naming scheme.
Instead of latex.template, we now have default.latex.

An appropriate extension is added automatically if the value of
`--template` has no extension.  So, `pandoc --template=special -t latex`
looks for `special.latex`, while `pandoc --template=special -t man`
looks for `special.man`.
2011-07-22 22:49:38 -07:00
John MacFarlane 94405121ab Look for value of --template in datadir if not found.
This way, you can put your special.template.latex in ~/.pandoc
and use it from any directory.
2011-07-22 22:15:25 -07:00
John MacFarlane d611568237 Updated tests for new latex templates. 2011-07-22 13:56:04 -07:00
John MacFarlane 581ec74a18 Version bump to 1.8.1.3. 2011-07-22 13:20:49 -07:00
John MacFarlane fecbceb610 Added --luatex option to markdown2pdf.
This uses lualatex to create the PDF.
2011-07-22 13:17:41 -07:00
John MacFarlane 18306c74fb Deprecated --xetex option - it is no longer needed.
Deprecated `writerXeTeX` and the `--xetex` option.
The latex writer now produces a file that can be processed
by latex, pdflatex, lualatex, or xelatex, so this option isn't
needed.

The option is still neded in markdown2pdf, however, which
has been modified to take some options that aren't in pandoc.
2011-07-22 13:11:46 -07:00
John MacFarlane 0590d7e4c2 Updated templates. 2011-07-22 12:51:22 -07:00
John MacFarlane 0cf2a631e8 LaTeX writer: Use \texttt and escapes instead of \verb!..!.
\verb is simply too fragile; it doesn't work inside command
arguments.
2011-07-22 12:19:34 -07:00
John MacFarlane e3e9225ab3 Modified submodules. 2011-07-22 12:12:03 -07:00
John MacFarlane 49fdf273ab Updated contributor list. 2011-07-22 12:01:57 -07:00
John MacFarlane e01ae38a77 markdown2pdf: Better error printing.
This goes with the earlier change to -halt-on-error.
2011-07-22 10:30:06 -07:00
John MacFarlane 5eec45ec40 markdown2pdf: Don't crash if pdflatex's output is not UTF-8.
This requires using a custom version of readProcessWithExitCode
that uses utf8-string's conversions instead of the system ones.
utf8-string's utf-8 conversion doesn't crash on invalid
encoding.
2011-07-22 10:28:48 -07:00
John MacFarlane 4ffb787214 Merge pull request #278 from tanimoto/master
markdown2pdf: reading log with non-UTF8 characters
2011-07-21 14:49:39 -07:00
John MacFarlane fe14bf9447 LaTeX reader: Handle \subtitle command.
If there's a subtitle, it is added to the title,
separated by a colon and linebreak.  Closes #280.
2011-07-21 13:33:51 -07:00