Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including 'amssymb' in the LaTeX template #1

Closed
lpeterse opened this issue Apr 5, 2010 · 1 comment
Closed

Including 'amssymb' in the LaTeX template #1

lpeterse opened this issue Apr 5, 2010 · 1 comment

Comments

@lpeterse
Copy link

lpeterse commented Apr 5, 2010

I'm running an instance of gitit and want to use the mathematical set symbols.
I haven't figured out yet what it needs to use them with MathML, but this is not as important since the unknown seqence '\mathbb{N}' just reduces to a plain 'N'. Exporting such a document as LaTeX or even PDF causes problems due to the missing package 'amssymb'.

I tried just adding '\usepackage{amssymb}' in the pandoc LaTeX template and it works fine for me. So I'm wondering whether there are any objections against doing this addition to pandoc in general.

@jgm
Copy link
Owner

jgm commented Jul 21, 2010

Fixed in
fb9866c

jgm pushed a commit that referenced this issue May 10, 2016
Merge from jgm's master
jgm added a commit that referenced this issue Feb 27, 2017
Default context template
jgm added a commit that referenced this issue Jan 13, 2018
Previously we went into an infinite loop with

```
\newcommand{\noop}[1]{#1}
\noop{\newcommand{\foo}[1]{#1}}
\foo{hi}
```

See #4253.
jgm added a commit that referenced this issue Jan 13, 2018
Previously we went into an infinite loop with

```
\newcommand{\noop}[1]{#1}
\noop{\newcommand{\foo}[1]{#1}}
\foo{hi}
```

See #4253.
jgm added a commit that referenced this issue Aug 14, 2018
For example:  `\def\foo#1[#2]{#1 and #2}`.

Closes #4768.  Also fixes #4771.

API change:  in Text.Pandoc.Readers.LaTeX.Types,
new type ArgSpec added.  Second parameter of Macro
constructor is now `[ArgSpec]` instead of `Int`.
bubifengyun added a commit to bubifengyun/pandoc that referenced this issue Sep 22, 2018
Solve bug jgm#4716,

now, the old text can works, but it need `usepackage{etoolbox}` for `\ifdef`.
if user want to use in mathescape=true for `listings` package, the following can be added to the template when needed.

```latex
\makeatletter
\newcommand{\ifmathescape}[2]{%
  \lst@ifmathescape jgm#1\else jgm#2\fi
}
\makeatother
\let\ifdisableEscapeString\ifmathescape
```
jgm added a commit that referenced this issue Nov 2, 2019
We were using `grouped blocks` instead of `grouped block`.
This caused the reader to hang in an infinite loop
(with a memory leak) on e.g. `\parbox{1em}{#1}`.

Closes #5845.
jgm added a commit that referenced this issue Nov 2, 2020
If `\cL` is defined as `\mathcal{L}`, and `\til` as `\tilde{#1}`,
then `\til\cL` should expand to `\tilde{\mathcal{L}}`, but pandoc
was expanding it to `\tilde\mathcal{L}`.  This is fixed by
parsing the arguments in "verbatim mode" when the macro expands
arguments at the point of use.

Closes #6796.
jgm added a commit that referenced this issue Feb 24, 2022
Docbook, EPUB, FB2, HTML4, S5, Slidy, Slideous,
ICML, ODT, TEI writers.

Thus, if you convert `[anchor]{#1} and [link to](#1)`,
`id_1` will be used instead of `1` for the identifier.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants