public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Shorter/optional version of section/subsection title [Markdown to Latex workflow]
Date: Wed, 17 May 2017 12:40:24 +0200	[thread overview]
Message-ID: <20170517104024.GC12816@Administrateurs-iMac-3.local> (raw)
In-Reply-To: <4ab56fed-64fb-4c91-8dff-10a6eb308b48-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

Sorry, I see that your question is about section titles,
not figure captions (which that PR concerns). The issues
are similar, though.

I'm open to suggestions about how this might be translated
into Markdown.

One option, of course, is an attribute:

    # A very long title {short-title="A shorter title"}

One drawback of this is that we lose the possibility of formatting
in the short title, since an attribute value is just a
string.  (I suppose we could parse it as Markdown, though.)

+++ rama prakasha [May 17 17 01:11 ]:
>   Latex offers to mention short version of a long title which will show
>   up in Table of contents. Like this
>   \section[Short Title]{A Very Very Very Longggg Title}
>   How to achieve this in Markdown.
>
>   --
>   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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/4ab56fed-64fb-4c91-
>   8dff-10a6eb308b48%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/4ab56fed-64fb-4c91-8dff-10a6eb308b48-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


      parent reply	other threads:[~2017-05-17 10:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-17  8:11 rama prakasha
     [not found] ` <4ab56fed-64fb-4c91-8dff-10a6eb308b48-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-05-17 10:38   ` John MacFarlane
2017-05-17 10:40   ` John MacFarlane [this message]

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=20170517104024.GC12816@Administrateurs-iMac-3.local \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@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).