| Commit message (Collapse) | Author | Age |
|
|
|
| |
Cloess #2393.
|
|\
| |
| | |
added selectors for nested emphasis (epub.css)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This generates a bash completion script.
To use:
eval "$(pandoc --bash-completion)"
|
| | |
|
| |
| |
| |
| | |
This reverts commit aa08b4cd677b975cf63c451a3414df447e31b55c.
|
|/
|
|
|
|
| |
See
http://tex.stackexchange.com/questions/139469/to-have-abstract-in-the-docu
ment-class-revtex
|
|\
| |
| | |
Add missing Heading 6 style in reference Docx
|
| |
| |
| |
| | |
Based on Header 4 (bold, steel blue) and Header 5 (italic, steel blue)
|
| |
| |
| |
| | |
Not sure if this actually affects anything
|
| | |
|
|/
|
|
| |
(mb21)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Removed `--man1`, `--man5` options (breaking change).
+ Removed `Text.Pandoc.ManPages` module (breaking API change).
+ Version bump to 1.15 because of the breaking changes, even
though they involve features that have only been in pandoc
for a day.
+ Makefile target for `man/man1/pandoc.1`. This uses pandoc to
create the man page from README using a custom template and filters.
+ Added `man/` directory with template and filters needed to build
man page.
+ We no longer have two man pages: pandoc.1 and pandoc_markdown.5.
Now there is just pandoc.1, which has all the content from README.
This change was needed because of the extensive cross-references
between parts of the README.
+ Removed old `data/pandoc.1.template` and
`data/pandoc_markdown.5.template`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds `--man1` and `--man5` options to pandoc, so
pandoc can generate its own man pages.
It removes the old overly complex method of building a separate
executable (but not installing it) just to create the man pages.
The man pages are no longer automatically created in the build
process.
The man/ directory has been removed. The man page templates
have been moved to data/.
New unexported module: Text.Pandoc.ManPages.
Text.Pandoc.Data now exports readmeFile, and `readDataFile`
knows how to find README.
Closes #2190.
|
|
|
|
|
|
|
|
|
|
|
| |
Thanks to Xavier Olive.
The addition of the `CJKoptions` variable allows one to set (e.g.)
a bigger font size for Asian fonts than latin ones.
Including dvipsnames allows specifying colors like MidnightBlue
for link colors. This brings in a dependency on the color package,
but it is a standard package and required anyway by graphics.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fixes a bug with reference.docx and reference.odt in Windows
builds.
|
|
|
|
|
|
| |
This avoids an error "Please load package hyperref before bidi package,
and then try to run xelatex on your document again". See
jgm/pandoc-templates #96.
|
|
|
|
|
|
| |
This uses an `otherlang` variable that takes a list of languages.
As requseted in #2174.
|
| |
|
|
|
|
|
|
| |
* Use polyglossia with xelatex in beamer (#85).
* Provide `\tightlist` in beamer template (Anders Persson).
* Add toccolor variable to control link color in toc (Kaixhin).
|
|
|
|
|
|
|
|
|
| |
Instead, just use an a element with class `footnoteRef`.
This allows more styling options, and provides better results
in some readers (e.g. iBooks, where anything inside the a
tag breaks popup footnotes).
Closes #1995.
|
|
|
|
|
|
| |
Also use `\addbibresource` instead of `\bibliography` for biblatex.
See #1661.
|
|
|
|
| |
From last commit.
|
|
|
|
| |
Closes #1834.
|
| |
|
|
|
|
|
| |
This avoids a conflict when memoir class is used.
Thanks to Joseph Harriott.
|
|\
| |
| |
| |
| |
| |
| | |
jlduran-latex-tightlist
Conflicts:
data/templates
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, pandoc has hard-coded the following in order to make tight lists in
LaTeX:
```hs
text "\\itemsep1pt\\parskip0pt\\parsep0pt"
```
Which is fine, but does not allow customizations. For example, the `memoir`
class already has a `\tightlist` declaration for this purpose:
```tex
\newcommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
```
I'm proposing to use a similar solution:
```diff
@@ In Writers/LaTeX.hs:
-then text "\\itemsep1pt\\parskip0pt\\parsep0pt"
+then text "\\tightlist"
@@ In templates/default.latex:
+\newcommand{\tightlist}{%
+ \setlength{\itemsep}{1pt}\setlength{\parskip}{0pt}\setlength{\parsep}{0pt}}
```
This allows us to customize the tightness to our needs.
Backward Compatibility
If a person is using a custom LaTeX template (not based upon the `memoir`
class), the `\tightlist` declaration must be added.
|
| |
| |
| |
| | |
to behave more like section headers. Closes #1658.
|
| |
| |
| |
| |
| | |
This properly handles filenames containing spaces and dots.
Closes #2074.
|
| |
| |
| |
| |
| | |
Using `text:h` causes problems with numbering. Closes #2059.
Thansk to @nkalvi for diagnosing this.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Works pretty much the same as Word writer.
Following styles are used for figures:
Figure -- for figure with empty caption
FigureWithCaption (based on Figure) -- for figure with caption
FigureCaption (based on Caption) -- for figure captions
Also, TableCaption (based on Caption) is used for table captions.
We need FigureWithCaption to set keepWithNext, in order to keep caption
with figure.
|
| |
| |
| |
| |
| |
| |
| | |
We use `` :raw-latex:`...` `` and add a definition for this
role to the template.
Closes #1961.
|
| |
| |
| |
| | |
Closes #1987.
|
| |
| |
| |
| |
| | |
This allows custom css to modify themes, instead of being replaced
by themes.
|
| |
| |
| |
| |
| |
| |
| |
| | |
(Dmitry Smirnov, jgm/pandoc-templates#89)
* Made option "center" configurable.
* Added new options "maxScale" and "slideNumber".
* Added comments to existing options.
|
|\ \
| | |
| | | |
Docx Writer/Reference: Add keepNext to objects w/ captions
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Figures with empty captions use style "Figure"
Figures with nonempty captions use style "Figure with Caption", which is
based on "Figure", and additionally has keepNext set.
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Following styles are set as custom:
* Author
* Abstract
* Compact
* Image Caption
* Table Caption
* Definition Term
* Definition
* First Paragraph
Following styles are renamed to correspond with Word Normal.dotm
* Block Quote -> Block Text
* Link -> Hyperlink
* Footnote Ref -> Footnote Reference
Following styles added:
* Caption
Following styles' inheritance changed:
* Image Caption <- Caption
* Table Caption <- Caption
|
| |
| |
| |
| | |
Closes #1949.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Word uses, by default, footnotes with id -1 and 0 for separators. If a
user modifies reference.docx, they will end up with a settings.xml file
that references these footnotes, but no such footnotes in the
document. This will produce a corruption error. Here we add these to the
document and settings.xml file, so future modifications won't break the file.
|