public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Proposal: (non-breaking) thin space
@ 2015-03-24 22:28 tolot27
       [not found] ` <b14d27c1-4012-4a09-be82-e3b7c9d7febf-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: tolot27 @ 2015-03-24 22:28 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

Hi!

Currently, pandoc supports typesetting of a non-breaking space with '\ ' 
(backslash preceding a space). This is correctly converted to Latex and 
docx (and probably to other output formats. I would really see support for 
a non-breaking thin space, too. In Latex it is '\,'. Using the 
Unicode character U+202F indeed works, but this character is invisible in 
markdown. It also requires utf-encoded files.

A quick workaround  would be a filter. Maybe someone can provide a code 
template (gist)?

--
Kind regards,
Mathias

-- 
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/b14d27c1-4012-4a09-be82-e3b7c9d7febf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Proposal: (non-breaking) thin space
       [not found] ` <b14d27c1-4012-4a09-be82-e3b7c9d7febf-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-03-25  4:06   ` John MacFarlane
  2015-03-25  7:10     ` Walter, Mathias
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2015-03-25  4:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Pandoc Markdown already includes the rule that backslashes can
escape any punctuation (including ,).  So `\,` is already assigned.

You can always insert a unicode thin space, though.

+++ tolot27 [Mar 24 15 15:28 ]:
>Hi!
>
>Currently, pandoc supports typesetting of a non-breaking space with '\ '
>(backslash preceding a space). This is correctly converted to Latex and
>docx (and probably to other output formats. I would really see support for
>a non-breaking thin space, too. In Latex it is '\,'. Using the
>Unicode character U+202F indeed works, but this character is invisible in
>markdown. It also requires utf-encoded files.
>
>A quick workaround  would be a filter. Maybe someone can provide a code
>template (gist)?
>
>--
>Kind regards,
>Mathias
>
>-- 
>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/b14d27c1-4012-4a09-be82-e3b7c9d7febf%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.


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

* Re: Proposal: (non-breaking) thin space
  2015-03-25  4:06   ` John MacFarlane
@ 2015-03-25  7:10     ` Walter, Mathias
  0 siblings, 0 replies; 3+ messages in thread
From: Walter, Mathias @ 2015-03-25  7:10 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Okay, great. Then the proposal will change to:

Bug: The docx writer does not convert the thin space '\, ' to the
corresponding unicode character U+202F. Rather then just the comma (,) is
printed.

If filled an issue: https://github.com/jgm/pandoc/issues/2025

--
Regards,
Mathias

2015-03-25 5:06 GMT+01:00 John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:

> Pandoc Markdown already includes the rule that backslashes can
> escape any punctuation (including ,).  So `\,` is already assigned.
>
> You can always insert a unicode thin space, though.
>
> +++ tolot27 [Mar 24 15 15:28 ]:
>
>> Hi!
>>
>> Currently, pandoc supports typesetting of a non-breaking space with '\ '
>> (backslash preceding a space). This is correctly converted to Latex and
>> docx (and probably to other output formats. I would really see support for
>> a non-breaking thin space, too. In Latex it is '\,'. Using the
>> Unicode character U+202F indeed works, but this character is invisible in
>> markdown. It also requires utf-encoded files.
>>
>> A quick workaround  would be a filter. Maybe someone can provide a code
>> template (gist)?
>>
>> --
>> Kind regards,
>> Mathias
>>
>> --
>> 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/b14d27c1-4012-4a09-be82-e3b7c9d7febf%
>> 40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "pandoc-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/pandoc-discuss/tJd9_57ddco/unsubscribe.
> To unsubscribe from this group and all its topics, 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/20150325040602.GA10376%40localhost.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAEoNs9oxsOkZ8H6_KzOMPuk3xBRxB%3DAYgcTVs8A8q25T%2BpYyaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 5068 bytes --]

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

end of thread, other threads:[~2015-03-25  7:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-24 22:28 Proposal: (non-breaking) thin space tolot27
     [not found] ` <b14d27c1-4012-4a09-be82-e3b7c9d7febf-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-25  4:06   ` John MacFarlane
2015-03-25  7:10     ` Walter, Mathias

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