aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-01Docx reader: parse EN.CITE and EN.REFLIST fields.endnoteJohn MacFarlane
2022-02-01T.P.Readers.EndNote: export readEndNoteXMLReferences.John MacFarlane
[API change]
2022-02-01Add endnote XML reader.John MacFarlane
New input format: endnotexml New reader module: Text.Pandoc.Readers.EndNote, exporting readEndNoteXML. [API change] This reader is still a bit rudimentary, but it should get be good enough to be helpful.
2022-01-30RELEASE-CHECKLIST: remove CircleCI step.John MacFarlane
2022-01-30Fix typo in changelog.2.17.1John MacFarlane
2022-01-30Update man page.John MacFarlane
2022-01-30Update AUTHORS.md.John MacFarlane
2022-01-30Minor changelog fixes.John MacFarlane
2022-01-30Fix identifier in lua-filters doc.John MacFarlane
2022-01-30lua-filters: put all parameters in code font.John MacFarlane
2022-01-30Move `beamerarticle` in MANUAL.John MacFarlane
It should be documented under "Variables for LaTeX", not "for Beamer." Closes #7874.
2022-01-29Bump to 2.17.1. Provisionally update changelog.John MacFarlane
2022-01-29LaTeX reader: ensure that `\raggedright` doesn't gobble an argument.John MacFarlane
See #7757.
2022-01-29Document `--trace` option.John MacFarlane
Closes #7873.
2022-01-29Document `no-check-certificate` in defaults files.John MacFarlane
See #7873.
2022-01-29Document 'sandbox' option for defaults files.John MacFarlane
See #7873.
2022-01-29Use `[x]` not `[X]` for asciidoctor checklists.John MacFarlane
See #7798.
2022-01-29Regenerate man page.John MacFarlane
2022-01-29manfilter.lua: remove extra indent in table cells with code blocks.John MacFarlane
2022-01-29Additional information from comments in exampleCarsten Allefeld
2022-01-29New defaults files documentationCarsten Allefeld
2022-01-29Custom writer: preserve order of element attributesAlbert Krewinkel
Attribute key-value pairs are marshaled as AttributeList, i.e., as a userdata type that behaves both like a list and a map. This allows to preserve the order of key-value pairs. Closes: #7489
2022-01-29Switch to hslua-2.1Albert Krewinkel
This allows for some code simplification and improves stability.
2022-01-28HTML writer: avoid duplicate "style" attributes on table cellsAlbert Krewinkel
Fixes: #7871
2022-01-28Don't read files outside of user data directoryEven Brenden
If a file path does not exist relative to the working directory, but it does exist relative to the user data directory, and it exists outside of the user data directory, do not read it. This applies to readDataFile and readMetadataFile in PandocMonad and, by extension, any module that uses these by passing them relative paths.
2022-01-28Handle consecutive ".."s in makeCanonicalEven Brenden
As an example, prior to this commit, "../../file" would evaluate to "file", when it should be unchanged.
2022-01-27LaTeX writer: allow arbitrary frameoptions to be passed...John MacFarlane
to a beamer frame, using the frameoptions attribute. Updated manual. See #7869.
2022-01-27LaTeX writer: add s and squeeze to recognized beamer frameoptions.John MacFarlane
Closes #7869.
2022-01-25Add metadata file paragraph to Pandoc API doc (#7865)Even Brenden
2022-01-25LaTeX reader: improve descItem.John MacFarlane
For some reason we were skipping arbitrary blocks before `\item`. This is now changed to "skip whitespace and comments."
2022-01-24Fix div position in faqs.John MacFarlane
2022-01-24Fix lua-filters documentation for table column widths.John MacFarlane
See #7864.
2022-01-23CommonMark reader: fix source position after YAML metadata.John MacFarlane
Closes #7863.
2022-01-22LaTeX reader: improve handling of newif.John MacFarlane
Adding a pair of braces around the second argument of `\def` prevents LaTeX from an emergency stop with: Closes #6096. ``` pandoc -f markdown -o test.pdf \newif\ifepub \epubtrue \ifepub hi \fi ^D ```
2022-01-22epub.doc: Update links to KindleGen (#7846)Benson Muite
KindleGen has been deprecated and we need to link to archived versions. Co-authored-by: Mauro Bieg <[email protected]>
2022-01-21Fix compiler warnings.John MacFarlane
2022-01-21Update command tests to distinguish stderr and test exit status.John MacFarlane
2022-01-21Search for metadata files in $DATADIR/metadata (#7851)Even Brenden
If files specified with `--metadata-file` are not found in the working directory, look in `$DATADIR/metadata`. Expose new `readMetadataFile` function from Text.Pandoc.Class [API change]. Expose new `PandocCouldNotFindMetadataFileError` constructor for `PandocError` from Text.Pandoc.Error [API change]. Closes #5876.
2022-01-21Remove retokenizing in rawLaTeXParser.John MacFarlane
This was causing serious problems with `newif` commands. See #6096. And it didn't seem to make any difference for the tests; I assume that, unless there's some untested behavior, this is something that has now become unnecessary.
2022-01-20Avoid putting a frame around speaker notes in beamer.John MacFarlane
If speaker notes (a Div with class 'notes') occur right after a section heading, but above slide level, the resulting `\note{..}` caommand should not be wrapped in a frame, as that will cause a spurious blank slide. Closes #7857.
2022-01-20MANUAL: add that speaker notes can be used with beamer.John MacFarlane
Closes #7856.
2022-01-20HTML writer: don't break lines inside code elements.John MacFarlane
With the new (default) line wrapping of HTML, in conjunction with the default CSS which includes `code { whitespace: pre-wrap; }`, spurious line breaks could be introduced into inline code. Closes #7858.
2022-01-19Modify stringify so it ignores `[Citation]` inside `Cite`.John MacFarlane
Otherwise we'll sometimes get two copies of things, one from the `citationPrefix` or `citationSuffix` and another from the embedded fallback text. When there is no fallback text, we'll get no content. However, it really isn't an alternative to just rely on the result of running `query` on the embedded `Citation`s; this will result in a jumble of text rather than anything structured. Closes #7855.
2022-01-19Use skylighting 0.12.2.John MacFarlane
2022-01-19Docx reader: parse both zotero citation and bibliography...John MacFarlane
as FieldInfo.
2022-01-19Docx reader: add skeleton for parsing zotero ADDINs.John MacFarlane
So far this just adds a constructor for FieldInfo; we'll need to adjust the rest of the reader code to parse the JSON and do something with it. See #7840.
2022-01-19Markdown writer: handle explicit column widths with pipe tables.John MacFarlane
If a table has explicit column width information *and* the content extends beyond the `--columns` width, we need to adjust the widths of the pipe separators to encode this width information. Closes #7847.
2022-01-19Remove unused file test/command/jats.cslAlbert Krewinkel
2022-01-18Docx writer: Separate tables even with RawBlocks between (#7844)Michael Hoffmann
Adjacent docx tables need to be separated by an empty paragraph. If there's a RawBlock between tables which renders to nothing, be sure to still insert the empty paragraph so that they will not collapse together. Fixes #7724
2022-01-18Add pandoc-lua-marshal to Nix shell (#7849)Even Brenden