public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: BP Jonsson <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Examples of Pandoc MD-formatted Academic Papers
Date: Fri, 24 Jan 2014 19:21:16 +0100	[thread overview]
Message-ID: <52E2AF1C.8010808@gmail.com> (raw)
In-Reply-To: <CAPD_o+8XFzQzxPZ4JqYVP8zZkot=qV-ydusF8yUAx8yCBkVD1A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

2014-01-23 20:42, Pranesh Prakash skrev:
> Dear John and Michael,
> Putting the title in single quotes didn't work, presumably because
> there's an apostrophe too.  But double quotes did work fine.

You should write *two* apostrophes/singlequotes to get one
singlequote/apostrophe inside singlequotes in YAML:

     'It''s done like this, isn''t it?'

It's dead ugly but not as ugly as "escaping doublequotes inside
doublequotes with backslashes \"like this\" is". However inside
doublequotes you have a bunch of other possible backslash escapes
so allowing doubled doublequotes doesn't mike sense. In
singlequotes escaping by doubling makes sense, because the only
thing which needs escaping there is the singlequote itself.

(If the above wasn't intelligible it's because I've been
proofreading my own prose all day long...)

/bpj


  parent reply	other threads:[~2014-01-24 18:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-21 19:36 Pranesh Prakash
     [not found] ` <6097151d-7073-4120-8284-c4a266a72e9b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-21 21:10   ` John MacFarlane
2014-01-21 21:36   ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
2014-01-21 21:38   ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
2014-01-22 10:41   ` Martin Fenner
     [not found]     ` <4f7c5889-0111-4cb1-8404-6a83ca23f8c2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-23  0:26       ` Scot Mcphee
     [not found]         ` <CAFnRE0RAeTcvikV6cLYTYvQXFmyZJySMWengu_DTujsHG7um0g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-23  3:18           ` Pranesh Prakash
     [not found]             ` <CAPD_o+-mH15Au7L9gYUHF8kwXhWeiMJ7PSTXGCSOL_jR6sw-Vw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-23  3:30               ` Pranesh Prakash
     [not found]                 ` <CAPD_o+8_tLYsOQLAa6FhBdQmRcE2c9qvdLG+kaPp5xTfc8uqLg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-23 18:10                   ` John MacFarlane
     [not found]                     ` <20140123181008.GC96595-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
2014-01-23 18:35                       ` Michael
     [not found]                         ` <ef4b50de-19a2-40e5-a230-95790a4bd284-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-23 18:40                           ` John MacFarlane
     [not found]                             ` <20140123184016.GC3626-0VdLhd/A9Pm0ooXD8Eul3Rafwldml03GTVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
2014-01-23 19:10                               ` Michael
2014-01-23 19:42                               ` Pranesh Prakash
     [not found]                                 ` <CAPD_o+8XFzQzxPZ4JqYVP8zZkot=qV-ydusF8yUAx8yCBkVD1A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-23 20:24                                   ` John MacFarlane
     [not found]                                     ` <20140123202449.GB3937-0VdLhd/A9Pm0ooXD8Eul3Rafwldml03GTVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
2015-09-01  7:22                                       ` Pranesh Prakash
     [not found]                                         ` <4884b177-77eb-46b7-90e4-2f4145321215-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-09-02  2:54                                           ` John MacFarlane
2014-01-24 18:21                                   ` BP Jonsson [this message]
     [not found]                                     ` <52E2AF1C.8010808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-24 20:37                                       ` 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=52E2AF1C.8010808@gmail.com \
    --to=bpj-j3h7gcxpsitlodktgw+v6w@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).