| Age | Commit message (Collapse) | Author |
|
For full motivation, see #1629 ; this improves on
99e24cf18337b0b460005bf77e367783c34b75e7.
Closes #8179.
|
|
Previously spaces around links inside italics were omitted.
Closes #8182.
|
|
|
|
Closes #8170.
|
|
Move formatting from inside inline code elements to the outside in order
to retain formatting.
|
|
Also ensure that Nulls are ignored in sectionification
by `makeSections`.
Closes #8155.
|
|
Browser will display the extra newline character between checkbox and
text as a space, which make tasklist items cannot be aligned.
I just remove it.
|
|
parsed as inlines, as the manual states.
Previously, they were parsed as inlines if they would
otherwise have been a single Plain or Para, but otherwise
left unchanged. This led to some quirky results (e.g. #8143).
We now use the general function `blocksToInlines` from T.P.Shared.
|
|
Add `formatCode` function to Text.Pandoc.Shared [API change].
Use this in the LaTeX reader so that e.g.
`\texttt{\textbf{bold code}}` is parsed as `Strong [Code ("",[],[]) "bold code"]`.
|
|
When converting e.g. an align environment to an aligned environment
inside a Math element, we need to include a newline before the
`\end{aligned}`, since the previous line might end in a comment.
Closes #8122.
|
|
The document hierarchy is now conveyed using the
`\startsectionlevel`/`\stopsectionlevel` by default. This makes it easy
to include pandoc-generated snippets in documents at arbitrary levels.
The more semantic environments "chapter", "section", "subsection", etc.
are used if the `--top-level-division` command line parameter is set to
a non-default value.
Closes: #5539
|
|
Closes #8098.
|
|
This formerly caused section divs to be produced, even
when `--section-divs` was not specified. Closes #8097.
|
|
Closes #8088.
|
|
|
|
Closes #8079.
|
|
Commas in link text trigger interpretation of attributes.
To block this, we replace them with numeric entities.
Closes #8070.
|
|
Closes #8055.
|
|
Tables with attributes are no longer wrapped in Div elements;
attributes are added directly to the table element.
|
|
when height and width are added to style because of an image,
but the image already has a style attribute.
Closes #8047.
|
|
Closes #8043.
|
|
|
|
doc-endnote was deprecated in DPUB-ARIA 1.1.
Closes #8030.
|
|
Previously we parsed them but discarded part of the content.
Closes #8028.
|
|
on bullet lists. They are now nested by 2 spaces instead of 4.
See #8011.
|
|
Asciidoctor uses different unicode characters for task
lists; we should recognize them too and be able to convert
them to ascii task lists in formats like gfm.
Closes #8011.
|
|
Closes #8003.
|
|
These commands take optional arguments with () and [],
which can lead to problems if the content of the table
cell begins with these characters.
Closes #8001.
|
|
These are actually supported by `\includegraphics`, though
this is not well documented. See
https://tex.stackexchange.com/questions/7938/pdflatex-includegraphics-and-multi-page-pdf-files
Partially addresses #7181.
|
|
Not 'pages' as we had before. It should go to 'lpage' and 'rpage',
not 'page-range'. See
https://jats.nlm.nih.gov/archiving/tag-library/1.1/element/page-range.html
Fixed some mistakes in test #7042.
|
|
Previously when generating JATS with the `element_citations`
extension enabled, the references were put in a doubly-nested
ref-list element (`<ref-list><ref-list>...`). This is now fixed.
Closes #7990.
|
|
Citeproc adopted the BibTeX convention to use the author name "others"
when there are additional authors that are not named. JATS uses the
`<etal>` element for this.
|
|
This allows `<div>` to be suppressed using `-raw_html`.
Previously `native_divs` was enabled but could
not be suppressed, because it was not in the list of
available extensions for commonmark-based formats.
Closes #7965.
|
|
Closes #7953.
|
|
We now escape `\` only if `raw_tex` is enabled or
it is followed by a non-alphanumeric.
|
|
Closes #7939.
|
|
when the `gfm_auto_identifiers` extension is set.
Closes #7941.
|
|
so they no longer need to begin with a letter. Closes #7920.
|
|
|
|
Closes #7930.
|
|
Together with the update in commonmark-hs and previous changes,
this closes #7919.
|
|
See #7919.
We still need to implement this for gfm (commonmark).
This must be done via changes in commonmark-hs.
|
|
Footnotes in `<fn-group>` elements are collected and re-inserted into
the document as proper footnotes in the place where they are referenced.
Fixes: #6348
|
|
Naming scheme of id is "toc-" + id of linked to header/section.
In Shared, will effect HTML, Markdown, Powerpoint, and RTF.
|
|
|
|
|
|
New module, Text.Pandoc.Readers.RIS, exporting readRIS.
New input format `ris`.
Closes #7894.
|
|
Fixes: #7871
|
|
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.
|
|
Closes #7863.
|