This is important to keep in mind if you need to do some additional post-processing. In case of duplicate attributes, the behaviour is unspecified, but likely either both values will end up in the output, or div attributes will take precedence. Inside div, will treat said paragraph as code block caption.Īny additional attributes and classes on the wrapping div will be merged with classes/attributes on the listing itself. Starting with listing, and adding paragraph before code block, but Wrapping code block without label in a div with id lst. It also allows to specify label in caption, as do tables, for example: Paragraph will be treated as code block caption. Immediately adjacent to paragraph, starting with Listing: or :, said !( coolfiga.png )Įnabled with codeBlockCaptions metadata option. Since pandoc-crossref uses the same citation syntax as citeproc, It’s a good idea to specify -top-level-division=chapter for any output format actually, because pandoc-crossref can’t signal pandoc you want to use chapters, and vice versa. You have to specify Pandoc’s -top-level-division=chapter option, which should hopefully configure LaTeX appropriately. Note on LaTeX and chapters optionīecause pandoc-crossref offloads all numbering to LaTeX if it can, chapters: true has no direct effect on LaTeX output. You might to configure LaTeX in the template manually. If you’re using non-standard pandoc LaTeX template (this includes the cases where document class is not article or book close enough to that), pandoc-crossref might not be able to configure that properly. See LaTeX customization for more information. include-in-header, add pandoc-crossref-specific definitions as well. include-in-header/ -H overrides this variable. Pandoc-crossref uses metadata variable header-includes to add LaTeXĭefinitions to output.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |