From: Dimitri KOPRIWA <d.kopriwa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Trying to get "institute" working with "header-includes" but no luck
Date: Sun, 13 Oct 2019 15:30:38 +0200 [thread overview]
Message-ID: <CA+QA1PaNBNhWhcA20u+rPjN7FawQzcsdBjeifwd2zbeaoTV+3g@mail.gmail.com> (raw)
In-Reply-To: <9a692e0f-1ea1-4f12-9688-5d917ffe59ff-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2214 bytes --]
You should try to remove the content of within include headers, and find
the line that cause the issue. Then fix it.
Le dim. 13 oct. 2019 à 14:54, Matias <matias.guijarro-GANU6spQydw@public.gmane.org> a écrit :
> Hi all,
>
> I am writing a scientific paper with pandoc, with pdf output. I need to
> add the institute...
>
> So, I added this to the yaml part of my .md source file:
>
> ```yaml
> ---
> title: the title ok
> author:
> - author1 ok
> - author2 ok
> date: 2019-09-24
> abstract: |
> the abstract ok
> header-includes: |
> \providecommand{\institute}[1]{
> \postauthor{\end{tabular}\[0.5cm]\textit{#1}\end{center}}
> }
> ---
> ```
>
> (I found this trick looking at some github issues, related to the same
> problem I have)
>
> Unfortunately, with `header-includes` I have the following error:
>
> Error producing PDF.
> ! LaTeX Error: Missing \begin{document}.
>
> If I remove the `header-includes` section it works fine - but I have no
> institute :(
>
> What should I do ?
>
> I am completely ignorant of Latex/Tex or whatever (sorry). This is why I
> am using Pandoc.
>
> Any help would be appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/9a692e0f-1ea1-4f12-9688-5d917ffe59ff%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/9a692e0f-1ea1-4f12-9688-5d917ffe59ff%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CA%2BQA1PaNBNhWhcA20u%2BrPjN7FawQzcsdBjeifwd2zbeaoTV%2B3g%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 3097 bytes --]
next prev parent reply other threads:[~2019-10-13 13:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-13 12:54 Matias
[not found] ` <9a692e0f-1ea1-4f12-9688-5d917ffe59ff-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-10-13 13:30 ` Dimitri KOPRIWA [this message]
[not found] ` <CA+QA1PaNBNhWhcA20u+rPjN7FawQzcsdBjeifwd2zbeaoTV+3g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-10-13 17:18 ` Matias
[not found] ` <aacabb91-8c20-46e0-82b5-76200faa7e6a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-10-13 17:24 ` Dimitri KOPRIWA
2019-10-13 17:43 ` John MacFarlane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+QA1PaNBNhWhcA20u+rPjN7FawQzcsdBjeifwd2zbeaoTV+3g@mail.gmail.com \
--to=d.kopriwa-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).