Age | Commit message (Collapse) | Author | Files | Lines |
|
Closes #898: notes not generated from citations were being
adjusted (first letter capitalized, for example, against author's
intentions).
|
|
The new version correctly sees a sentence ending in '.)' as ending
with punctuation. This fixes a bug which led such sentences to receive
an extra period at the end: '.).'. Thanks to Steve Petersen for
reporting.
|
|
|
|
|
|
|
|
It's recommended that your bibliography slide have this
attribute:
# References {.allowframebreaks}
This causes multiple slides to be created if necessary, depending
on the length of the bibliography.
|
|
`/` works even on Windows in LaTeX. `\` will cause major problems
if unescaped.
|
|
Closes #926.
|
|
* Closed #927 (a bug in which `<pre>` in certain contexts was
not recognized as a code block).
* Remove internal HTML tags in code blocks, rather than printing
them verbatim.
* Parse attributes on `<pre>` tag for code blocks.
|
|
This reverts commit 85dacbb282f34dc45a810d7c7b5a2d639b70e1f5.
|
|
This makes it easier to use JSON filters. Instead of
doing
pandoc -t json | ./filter | pandoc -f json
you can just do
pandoc --filter ./filter
|
|
Closes #817.
|
|
|
|
0.5.4 has a serious memory leak that affects the mandoc parser.
See highlighting-kate#34.
|
|
* A suffix beginning with a digit gets 'p' inserted before it
before passing to citeproc-hs, so that bare numbers are treated
as page numbers by default.
* A suffix not beginning with punctuation has a space added at
the beginning (rather than a comma and space, as was done before).
* This adding occurs not just in author-in-text citations, but in
all citations.
The result of these changes (and the last commit) is that
`\citep[23]{item1}` in LaTeX will be interpreted properly,
with '23' treated as a locator of type 'page'.
|
|
This is added when needed in Text.Pandoc.Biblio anyway.
|
|
Using technique from github.com/jgm/Markdown.
The new parsing algorithm requires no backtracking, and no keeping
track of nesting levels.
It will give different results in some edge cases but should not
affect most people.
|
|
* `Text.Pandoc.PDF` exports `makePDF` instead of `tex2pdf`.
(API change.)
* `makePDF` walks the pandoc AST and checks for the existence of
images in the local directory. If they are not found, it attempts
to find them, either in the directory containing the first source
file, or at an absolute URL, or at a URL relative to the base URL
of the first command line argument.
* Closes #917.
|
|
Modified from a patch by achalddave.
|
|
Closes #920.
|
|
README: Fix minor typo
|
|
|
|
This will help later when we try to download external resources.
We can put them in the temp directory. See #917.
|
|
|
|
* In Shared, openURL and fetchItem now return an Either, for
better error handling. (API change.)
* Better error message when fetching a URL fails with
`--self-contained`.
* EPUB writer: If resource not found, skip it, as in Docx writer.
* Closes #916.
|
|
This causes intra-paragraph line breaks to be ignored,
rather than being treated as hard line breaks or spaces.
This is useful for some East Asian languages, where spaces
aren't used between words, but text is separated into lines
for readability.
|
|
This is intended for class options like `oneside`; it may
be repeated with different options. Thanks to Oliver Matthews.
|
|
Closes #903. This change will make EPS images properly sized
on conversion to Word.
|
|
Closes #893.
|
|
Column widths are divided equally.
TODO: Get column widths from col tags if present.
|
|
This commit doesn't change the present behavior at all, but
it will make it easier to support non-simple tables in the future.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
These are added automatically to individual chapter files,
depending on the highlighting style selected on the command line.
|
|
|
|
|
|
Checking options before applying syntax highlighting for HTML output
|
|
|
|
We take the word/styles.xml, docProps/app.xml, word/theme/theme1.xml,
and word/fontTable.xml from reference.docx, ignoring everything else.
Perhaps this will help with the corruption problems caused when
different versions of Word resave the reference.docx and
reorganize things.
|
|
It also brings in a large number of dependencies (http-conduit and its
dependencies), which is why for now it is an optional flag.
Closes #820.
|
|
Previously we used w:cr.
I don't see a difference between these in my version of Word,
but apparently some do. Closes #873.
|
|
The use of lazy bytestrings seemed to cause problems using
pandoc on Windows 7/8 64-bit machines.
Closes #874.
|