| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
* Make LaTeX reader recognize texorpdfstring.
* Don't use texorpdfstring unless it's actually needed.
* Fix tests.
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
wilx-use-texorpdfstring
Conflicts:
src/Text/Pandoc/Writers/LaTeX.hs
tests/Tests/Writers/LaTeX.hs
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
| |
This will give automatic unique identifiers, unless
`-auto_identifiers` is specified.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Closes #721.
Also fixed whitespace in lhs tests.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
verbatim, itemize, description, enumerate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #502. Previously you'd get:
~~~
hi
\begin{quote}
hi
\end{quote}
hi
~~~
Now we get:
~~~
hi
\begin{quote}
hi
\end{quote}
hi
~~~
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes #459.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Beamer output uses the default LaTeX template, with some
customizations via variables.
Added `writerBeamer` to `WriterOptions`.
Added `--beamer` option to `markdown2pdf`.
|
| |
|
|
|
|
|
| |
This fixes problems with unicode bookmarks on xetex.
Thanks to CircleCode.
|
| |
|
|
|
|
|
| |
\verb is simply too fragile; it doesn't work inside command
arguments.
|
|
|
|
|
|
| |
It needs to be inside the if(strikeout) condition, after
the ulem package is imported; otherwise we try to renewcommand{\sout} when
\sout isn't yet defined.
|
|
|
|
|
| |
Added a command to the latex template to disable \sout inside
pdf strings. Thanks to Joost Kremers for the fix.
|
| |
|
| |
|
|
|
|
| |
Resolves github Issue 1.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously some of the writers added spurious whitespace.
This has been removed, resolving Issue #232.
NOTE: If your application combines pandoc's output with other
text, for example in a template, you may need to add spacing.
For example, a pandoc-generated markdown file will not have
a blank line after the final block element. If you are inserting
it into another markdown file, you will need to make sure there
is a blank line between it and the next block element.
|
|
|
|
|
|
|
|
|
| |
It is used not just for links but for toc, section heading bookmarks,
footnotes, etc.
Also added unicode=true on hyperref options.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1795 788f1e2b-df1e-0410-8736-df70ead52e1b
|
|
|
|
| |
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1789 788f1e2b-df1e-0410-8736-df70ead52e1b
|
|
|
|
| |
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1741 788f1e2b-df1e-0410-8736-df70ead52e1b
|
|
|
|
|
|
|
|
|
|
| |
Note: rst writer doesn't handle block quote after code block
properly. Ideally it would insert an empty comment to reset
indentation. But this is not desirable in general before
code blocks.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1540 788f1e2b-df1e-0410-8736-df70ead52e1b
|
|
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1537 788f1e2b-df1e-0410-8736-df70ead52e1b
|