public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* RST Subtitle
@ 2017-01-25  7:18 William Horne
       [not found] ` <af3492da-63f4-417f-bd68-46d563cd1600-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: William Horne @ 2017-01-25  7:18 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

This may be a simple one, but I can't figure it out. 

How can I get pandoc to include an Rst subtitle in its latex PDF output? I see that the Meta subtitle category is fulfilled within the native output. Do I need to modify the default template? 

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

* Re: RST Subtitle
       [not found] ` <af3492da-63f4-417f-bd68-46d563cd1600-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-01-25 11:10   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2017-01-25 11:10 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

If you're using a recent version of pandoc, you should get
latex output like this:

\title{title}
\providecommand{\subtitle}[1]{}
\subtitle{subtitle}
\date{}

The "subtitle" command isn't defined by the standard article
docoumentclass. The second line of the above
"providecommand" says: if "subtitle" isn't defined, define
it thus and omit the subtitle.

So if you want a subtitle, what you need to do is

a) use a documentclass that defines \subtitle, or

b) define \subtitle yourself in a custom template,
before this providecommand occurs, or in a file
you include with --include-in-header.


+++ William Horne [Jan 24 17 23:18 ]:
>This may be a simple one, but I can't figure it out.
>
>How can I get pandoc to include an Rst subtitle in its latex PDF output? I see that the Meta subtitle category is fulfilled within the native output. Do I need to modify the default template?
>
>-- 
>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/af3492da-63f4-417f-bd68-46d563cd1600%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.


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

end of thread, other threads:[~2017-01-25 11:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25  7:18 RST Subtitle William Horne
     [not found] ` <af3492da-63f4-417f-bd68-46d563cd1600-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-01-25 11:10   ` John MacFarlane

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