Commit Graph

189 Commits

Author SHA1 Message Date
Wandmalfarbe
3527df56e3 Issue #140: Added an example on how to compile Chinese documents. 2020-01-10 21:35:44 +01:00
Wandmalfarbe
d5155adebf Fix travis build.
- Specify optional os as `linux`.
- Use the latest available distribution for R which is Ubuntu Xenial.
- Use the latest pandoc version `2.9.1`.
- Install the missing package `fontawesome5` which is needed for `awesomebox`.
2020-01-01 23:09:45 +01:00
Wandmalfarbe
274bed6726 Fix installation of setuptools. 2020-01-01 22:34:58 +01:00
Wandmalfarbe
4938fc9d85 Hopefully fix failing travis build. 2020-01-01 22:30:27 +01:00
Wandmalfarbe
15241862ae Use pip3 to install python based filters on travis. 2020-01-01 22:24:14 +01:00
Wandmalfarbe
5dea3bf00c Install python filter pandoc-latex-environment on travis to build the examples. 2020-01-01 22:16:32 +01:00
Wandmalfarbe
30c292c95b Issue #115: Added an example on how to generate admonition boxes.
- The example demonstrates the use of the filter `pandoc-latex-environments` to create custom admonition boxes with the `awesomebox` package.
  *pandoc-latex-environment* is a pandoc filter for adding LaTeX environement on specific HTML div tags.
- Added LaTeX package `awesomebox` to the `travis.yml` file
2020-01-01 22:11:08 +01:00
Wandmalfarbe
8b27e324d5 Install missing package background for the Travis build of the example page-background. 2019-12-23 23:25:09 +01:00
Wandmalfarbe
1aeb8cc7da Added example page-background to the examples build and travis tests. 2019-12-23 23:20:58 +01:00
Wandmalfarbe
393eebd90c Added the examples page-background and japanese to the readme. 2019-12-23 23:17:48 +01:00
Wandmalfarbe
b6b1983d4a Added an example for page-background. 2019-12-23 23:17:06 +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
b2a0703adc Update changelog for version 1.3.1. 2019-12-08 16:44:12 +01: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
Wandmalfarbe
955df39660 Preparation for release of version 1.3.0. 2019-10-26 17:28:18 +02:00
Wandmalfarbe
36e92c5eeb Closes #121: Clarify the location of the pandoc templates directory.
It is not beneficial to list the location for every OS, so I added a sentence to run `pandoc --version`. I also dropped the XP location and display the full folder path without `$XDG_DATA_HOME` or `~`.
2019-10-13 18:07:12 +02: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
Pascal Wagler
8f8fc7312f
Fixed Travis build. (#124) 2019-10-03 21:35:48 +03: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
7eff8ff442 Explained table-use-row-colors in the README. 2019-09-22 15:01:35 +02:00
Wandmalfarbe
de26a460e6 Merge branch 'master' of https://github.com/Wandmalfarbe/pandoc-latex-template 2019-09-22 14:50:13 +02:00
Wandmalfarbe
c97a5aebe3 Changed README formatting. 2019-09-22 14:43:55 +02:00
JKPOKE
42735ad21e Improve Japanese dummy text (#86)
* Improve Japanese dummy text
2019-09-20 23:29:49 +03:00
Wandmalfarbe
e475fc8cef Issue #109: Added example on how to change header and footer. 2019-08-06 21:32:05 +02:00
Wandmalfarbe
5d23d3f93a Rebuild the examples. 2019-08-06 21:04:38 +02:00
Wandmalfarbe
9434628475 Added missing background image for the example custom-titlepage. 2019-08-06 21:02:23 +02:00
Wandmalfarbe
e6c05b46a3 The example custom-titlepage has a background and no logo. 2019-08-04 19:00:24 +02:00
Wandmalfarbe
49df77bfcb Issue #31,#41: Added support for background images on the title page. 2019-08-04 18:34:42 +02:00
Wandmalfarbe
14a30a00bf Added a few backgrounds to the titlepage example. 2019-08-04 18:16:26 +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
21d92b4353 Fixed failing Travis build because of missing package fvextra. 2019-07-01 21:34:48 +02:00
Wandmalfarbe
b33b1ab395 Fixed #2: Long lines in code blocks wrap automatically. 2019-07-01 20:42:58 +02:00
Wandmalfarbe
a73fcc26c5 Preparation for release of version 1.2.4. 2019-06-16 14:05:37 +02:00
Wandmalfarbe
542ca6c4ca Deleted trailing whitespace. 2019-06-16 13:52:34 +02:00
Wandmalfarbe
e55a2c345f Recompiled the examples. 2019-06-16 13:42:53 +02:00
Wandmalfarbe
b38f9e4d79 Added an example on how to generate beamer slides. 2019-06-16 13:41:29 +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
b04428cc0a Preparation for release of version 1.2.3. 2019-06-12 23:21:44 +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