public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Should paper size setting be case sensitive (a4 vs A4)?
@ 2017-06-27 15:35 Stefan Björk
       [not found] ` <07c85e22-d898-4445-9484-b29e8a564888-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Björk @ 2017-06-27 15:35 UTC (permalink / raw)
  To: pandoc-discuss


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

I just realised pandoc refuses to set paper size to A4 if I specify "-V 
papersize:A4", I have to use "-V papersize:a4". This makes sense from the 
point of LaTeX or ConTeXt, but perhaps not from the point of the user, 
where the real world paper format is called A4 and not a4.

Perhaps pandoc should treat paper sizes case insensitive, i. e. convert any 
value to lower case?

.:: Stefan ::.

-- 
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/07c85e22-d898-4445-9484-b29e8a564888%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Should paper size setting be case sensitive (a4 vs A4)?
       [not found] ` <07c85e22-d898-4445-9484-b29e8a564888-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-06-27 18:59   ` Pablo Rodríguez
       [not found]     ` <72507a89-deab-104f-5f4e-e2aeb08f8e3c-S0/GAf8tV78@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodríguez @ 2017-06-27 18:59 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On 06/27/2017 05:35 PM, Stefan Björk wrote:
> I just realised pandoc refuses to set paper size to A4 if I specify "-V
> papersize:A4", I have to use "-V papersize:a4". This makes sense from
> the point of LaTeX or ConTeXt, but perhaps not from the point of the
> user, where the real world paper format is called A4 and not a4.

Stefan,

in ConTeXt, the following source gives an error:

    \setuppapersize[a4]
    \starttext
    \input zapf
    \stoptext

It should read "\setuppapersize[A4]".

Just in case it helps,

Pablo
-- 
http://www.ousia.tk

-- 
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/72507a89-deab-104f-5f4e-e2aeb08f8e3c%40web.de.
For more options, visit https://groups.google.com/d/optout.


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

* Re: Should paper size setting be case sensitive (a4 vs A4)?
       [not found]     ` <72507a89-deab-104f-5f4e-e2aeb08f8e3c-S0/GAf8tV78@public.gmane.org>
@ 2017-06-27 19:51       ` John MacFarlane
       [not found]         ` <20170627195124.GB18476-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2017-06-27 19:51 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

It would be nice to be able to use either a4 or A4, for
either LaTeX or ConTeXt.  This could be achieved with a
bit of effort in the LaTeX and ConTeXt writers.
I suggest opening an issue for this on the github tracker.

+++ Pablo Rodríguez [Jun 27 17 20:59 ]:
>On 06/27/2017 05:35 PM, Stefan Björk wrote:
>> I just realised pandoc refuses to set paper size to A4 if I specify "-V
>> papersize:A4", I have to use "-V papersize:a4". This makes sense from
>> the point of LaTeX or ConTeXt, but perhaps not from the point of the
>> user, where the real world paper format is called A4 and not a4.
>
>Stefan,
>
>in ConTeXt, the following source gives an error:
>
>    \setuppapersize[a4]
>    \starttext
>    \input zapf
>    \stoptext
>
>It should read "\setuppapersize[A4]".
>
>Just in case it helps,
>
>Pablo
>-- 
>http://www.ousia.tk
>
>-- 
>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/72507a89-deab-104f-5f4e-e2aeb08f8e3c%40web.de.
>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/20170627195124.GB18476%40Johns-MBP.home.
For more options, visit https://groups.google.com/d/optout.


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

* Re: Should paper size setting be case sensitive (a4 vs A4)?
       [not found]         ` <20170627195124.GB18476-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
@ 2017-06-28 13:08           ` John MacFarlane
  0 siblings, 0 replies; 4+ messages in thread
From: John MacFarlane @ 2017-06-28 13:08 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I've made the change already.

+++ John MacFarlane [Jun 27 17 21:51 ]:
>It would be nice to be able to use either a4 or A4, for
>either LaTeX or ConTeXt.  This could be achieved with a
>bit of effort in the LaTeX and ConTeXt writers.
>I suggest opening an issue for this on the github tracker.
>
>+++ Pablo Rodríguez [Jun 27 17 20:59 ]:
>>On 06/27/2017 05:35 PM, Stefan Björk wrote:
>>>I just realised pandoc refuses to set paper size to A4 if I specify "-V
>>>papersize:A4", I have to use "-V papersize:a4". This makes sense from
>>>the point of LaTeX or ConTeXt, but perhaps not from the point of the
>>>user, where the real world paper format is called A4 and not a4.
>>
>>Stefan,
>>
>>in ConTeXt, the following source gives an error:
>>
>>   \setuppapersize[a4]
>>   \starttext
>>   \input zapf
>>   \stoptext
>>
>>It should read "\setuppapersize[A4]".
>>
>>Just in case it helps,
>>
>>Pablo
>>-- 
>>http://www.ousia.tk
>>
>>-- 
>>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/72507a89-deab-104f-5f4e-e2aeb08f8e3c%40web.de.
>>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/20170627195124.GB18476%40Johns-MBP.home.
>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/20170628130811.GA58697%40Administrateurs-iMac-3.local.
For more options, visit https://groups.google.com/d/optout.


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

end of thread, other threads:[~2017-06-28 13:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 15:35 Should paper size setting be case sensitive (a4 vs A4)? Stefan Björk
     [not found] ` <07c85e22-d898-4445-9484-b29e8a564888-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-27 18:59   ` Pablo Rodríguez
     [not found]     ` <72507a89-deab-104f-5f4e-e2aeb08f8e3c-S0/GAf8tV78@public.gmane.org>
2017-06-27 19:51       ` John MacFarlane
     [not found]         ` <20170627195124.GB18476-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
2017-06-28 13:08           ` 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).