Commit Graph

91 Commits

Author SHA1 Message Date
damien clochard
5552c6d827
FIX #324: with listings, convert è to è (#325) 2023-02-17 17:05:44 +01:00
Wandmalfarbe
c2c058ebe1 Add support for pandoc 3 2023-01-22 12:49:16 +01:00
Wandmalfarbe
23d6bcae55 Update copyright year 2022-12-04 14:51:05 +01:00
Pascal Wagler
c255d9d4c5
Merge changes from the pandoc default latex template (#307)
- Merged with 144bf90ab9/data/templates/default.latex
- Rebuild the examples
- Rebuild the tests
- Add packages `hardwrap` and `catchfile` to build the broken example `title-page-background`
- Build with the latest pandoc 2.19.2
2022-11-24 23:26:34 +01:00
Wandmalfarbe
f5c1f20c94 Issue #275: Use chapter pagestyle only when using scrbook with book: true 2021-12-19 18:25:56 +01:00
Wandmalfarbe
5e8c1bc64a Issue #275: Restore pagestyle plain for chapters 2021-12-19 18:16:19 +01:00
ret2src
1c3ba2cbf9
Fix headers and footers bug introduced in commit 4b7c6f41e4bda1645eb5… (#248)
* Fix headers and footers bug introduced in commit 4b7c6f41e4
2021-12-19 17:43:11 +01:00
Martin Hepp
0ad8bab74e
Issue #265: Use only titlepage-logo but not logo
- `logo` is already used by beamer and one might want to use both
  formats (beamer and latex) without the logo appearing as a
  background image on beamer slides.
2021-12-19 17:26:25 +01:00
Ludvig Hozman
6baf692c89
Make code-block-font-size not affect inline listings (#229)
When using listings, the variable `code-block-font-size`
also affected `lstinline` environments.
This will make inline listings follow the surronding font size, as expected.
2021-10-22 21:16:42 +02:00
shmalebx9
3aed2ca98d
Exclude title page from page count (#230) 2021-10-16 21:18:39 +02:00
Pascal Wagler
496dfcf67f
Merge changed from the pandoc default latex template (#262)
- Merged with dd7b83ac91/data/templates/default.latex
- Rebuild the examples
2021-10-15 20:34:45 +02:00
Khaveesh
4b7c6f41e4
My attempt at replacing fancyhdr with scrlayer-scrpage (#174)
Replace `fancyhdr` with `scrlayer-scrpage`
2021-02-07 23:33:40 +01:00
Wandmalfarbe
20c2bec7d1 Update copyright year 2021-01-31 22:41:37 +01:00
Wandmalfarbe
196279a218 Merge changes from the pandoc default latex template 2021-01-31 22:36:08 +01:00
Wandmalfarbe
9c56c48b99 Issue #221: logo-width has no hardcoded unit pt anymore 2021-01-31 22:13:46 +01:00
Wandmalfarbe
e93ef0ddb0 Issue #208: Fix compilation error when using tables because of missing calc package.
Merge with default template.
2020-11-26 17:15:28 +01:00
Pascal Wagler
aaa91f30ac
Merge changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex (#205) 2020-10-29 12:54:07 +01:00
Wandmalfarbe
f80ea187cd Revert "Merge changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex (#204)"
This reverts commit 27a5d106dc.
2020-10-29 12:43:33 +01:00
Pascal Wagler
27a5d106dc
Merge changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex (#204) 2020-10-29 12:34:22 +01:00
Wandmalfarbe
d4cf54f440 Issue #163: The command \thedate can be used in the source document or metadata fields 2020-09-20 21:20:30 +02:00
Khaveesh
7763e06771
Fixed a couple of LuaLaTeX warnings (#169) 2020-05-03 22:01:46 +02:00
Alexandre ZANNI
f65b80c12f
Issue #149: Remove graphicx dependency 2020-03-25 17:33:12 +01:00
Wandmalfarbe
4dd81a33c5 Updated copyright year 2020-02-02 15:20:12 +01:00
Danilo Carrabino
ec6454711e Added support for page background (#138)
- The variable `page-background` specifies the path to a background image for any page. The background image is scaled to cover the entire page.
- The variable `page-background-opacity` specifies the background image opacity and has a default value of `0.2`.
2019-12-23 22:01:56 +00:00
Wandmalfarbe
1f44238c6a Issue #135: Fixed compilation failure when using the beamer output format. 2019-12-08 16:16:53 +01:00
Wandmalfarbe
8ef72c6c9e Issue #135: Fixed wrong margins when not using the titlepage option. 2019-12-08 15:59:34 +01:00
Pascal Wagler
ad5ab13ba9
Fixed build error because geometry is needed when using the titlepage. (#127) 2019-10-06 17:45:43 +03:00
Andrew Zhou
32a1e29cd6 Added missing $endif$ that caused a compilation failure. (#125) 2019-10-06 15:23:17 +03:00
Wandmalfarbe
914d67c99f Specifying mainfont when using PdfLaTeX should not change anything because mainfont is only for XeLaTeX. 2019-10-05 18:01:52 +02:00
Wandmalfarbe
be2d243225 Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. 2019-10-05 17:59:58 +02:00
Salim B
43140ba043 Improve formatting of footnotes. (#107)
- improve footnote formatting using package `footmisc`
- make the references from the footnotes at the bottom of the page into links back to the occurence of the footnotes in the main text and introduce an option `disable-footnote-backlinks` to disable this new behaviour.
- load pkg footnotebackref after pkg footnotehyper
- make footnote prettifying optional using template var
2019-10-03 20:20:22 +03:00
Wandmalfarbe
a24f339d6c Closes #123, #17: Added the variable code-block-font-size to change the font size for code blocks via the supplied LaTeX command. 2019-09-30 23:14:09 +02:00
Wandmalfarbe
be52c88c08 Added support for background images on the title page. 2019-08-04 17:48:52 +02:00
Wandmalfarbe
86bf7c0d97 Issue #29: Disable striped tables per default. Enable them with the option table-use-row-colors: true. 2019-08-04 16:47:49 +02:00
Wandmalfarbe
0afdba6c59 Update listings definition for Java which is the default language when using listings. 2019-08-04 16:30:09 +02:00
Wandmalfarbe
537bf1c794 Support additional keyword colors when using listings for syntax highlighting.
The support depends on the used language. Some languages like `motorola68k`, `x86masm`, `inform`, `llvm`, `lua`, `metapost`, `mupad`, `ocl`, `python`, `verrilog`, `basic`, `cil`, `fortran` and `hansl` will have additional colors for some keywords.
2019-07-01 21:38:48 +02:00
Wandmalfarbe
b33b1ab395 Fixed #2: Long lines in code blocks wrap automatically. 2019-07-01 20:42:58 +02:00
Wandmalfarbe
542ca6c4ca Deleted trailing whitespace. 2019-06-16 13:52:34 +02:00
Wandmalfarbe
da2d36e804 Fixed #99: Beamer document did not compile with pandoc when including the package titling. The generated LaTeX however did compile with an external LaTeX editor. 2019-06-16 13:38:52 +02:00
Wandmalfarbe
a02de6a670 Fixed #99: Don't fail when converting to LaTeX beamer.
I've never paid attention to the output of the template when converting to beamer. It compiles now but uses the default style.
2019-06-16 13:16:12 +02:00
Wandmalfarbe
f192e92134 Fixed: #91, #98: Code blocks were too close to the text above.
I introduced the wrong spacing in commit 5046ee08cd which fixed a very large margin between code blocks and the text above. As it turns out this was likely caused by an upstream bug in some package or the TeX distribution. It only existed in Tex Live 2018.
2019-06-12 22:57:25 +02:00
Wandmalfarbe
50a425addb Fixed #95: The default float placement of figures can be changed with the variable float-placement-figure. 2019-05-03 23:05:20 +02:00
Wandmalfarbe
8b22496ba8 Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. 2019-05-01 14:28:15 +02:00
Juan Grigera
f99c6bd921 PR #87: Support custom values for secnumdepth and toc-depth.
Removed obsolete section "TOC depth and section numbering deph". The defined default values can now be overridden with the variables `$toc-depth$` and `$secnumdepth$`.
2019-04-09 22:13:44 +02:00
Wandmalfarbe
e019477a81 Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. 2019-04-09 21:47:13 +02:00
Wandmalfarbe
45573f78ff Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex 2019-03-10 15:36:39 +01:00
Wandmalfarbe
5046ee08cd Changed the top and bottom spacing of listings. 2019-03-10 15:24:58 +01:00
Wandmalfarbe
22d2949ad2 Moved listing colors to the listings block in the template. 2019-03-10 14:15:57 +01:00
Wandmalfarbe
9f931f7e3b Removed unused \captionsetup[longtable]. The caption position is already set with tablecaptionabove from KOMA-Script. 2019-03-10 13:45:10 +01:00
Wandmalfarbe
445d0604ff Removed double inclusion of package xcolor and cleaned up some comments. 2019-03-10 13:33:03 +01:00