public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Formatting references in LaTeX (with a filter?)
@ 2014-11-21 17:03 Thomas Hodgson
       [not found] ` <f5447dbe-4ad6-48f4-9370-422bf830e18b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Hodgson @ 2014-11-21 17:03 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


[-- Attachment #1.1: Type: text/plain, Size: 1259 bytes --]

I currently put something like this at the end of my markdown files:

```
# References {-}
\setlength{\parindent}{-0.2in}
\setlength{\leftskip}{0.2in}
\setlength{\parskip}{8pt}
\vspace*{-0.2in}
\noindent
```

This gives me what I want when I use Pandoc to convert the MD to a PDF. I 
would like to avoid the five lines of LaTeX if possible (just for 
neatness). If I use `--include-after` the material comes after the 
bibliography. Should I look in to writing a filter? The first problem thatI 
saw is that when I looked at the AST I saw that the references are an 
ordinary header called 'References'. Is it possible to write the filter so 
that some LaTeX comes immediately after it?

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f5447dbe-4ad6-48f4-9370-422bf830e18b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1794 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-12-02  9:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21 17:03 Formatting references in LaTeX (with a filter?) Thomas Hodgson
     [not found] ` <f5447dbe-4ad6-48f4-9370-422bf830e18b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-11-21 18:06   ` John MacFarlane
     [not found]     ` <20141121180633.GF97029-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
2014-11-21 18:28       ` Aaron O'Leary
     [not found]         ` <20141121182803.GA26159-7oEbiFy5NbMJIeqeF16ok3a01M2gRsDTtUK59QYPAWc@public.gmane.org>
2014-11-21 23:00           ` Thomas Hodgson
2014-11-22 15:40           ` BPJ
     [not found]             ` <CADAJKhB3Q6L=2=SMaDEpL+5iVyB53KxRfdi=Bz+eVKuGkcj1qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-22 16:32               ` nickbart1980-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                 ` <1ee3a1f7-2612-4d84-9507-719be1430116-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-12-02  9:59                   ` nickbart1980-Re5JQEeQqe8AvxtiuMwx3w
2014-11-21 18:16   ` Aaron O'Leary

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).