public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Conversion of markdown frontmatter `lang: pt-BR` to latex
@ 2020-10-03 20:20 Pedro P. Palazzo
       [not found] ` <69070e2d-a24c-4dce-bd05-e315ec109602n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Pedro P. Palazzo @ 2020-10-03 20:20 UTC (permalink / raw)
  To: pandoc-discuss


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

This throws an error:

```
Error producing PDF.
! Undefined control sequence.
\adddialect ...####1####2####3####4{}\fi }\bbl@cs
                                                  {languages}\endgroup
l.57   \setmainlanguage[]{brazil}
```

Fix: The correct translation should be to `\setmainlanguage[]{brazilian}` 
not `brazil`.

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/69070e2d-a24c-4dce-bd05-e315ec109602n%40googlegroups.com.

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

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

* Re: Conversion of markdown frontmatter `lang: pt-BR` to latex
       [not found] ` <69070e2d-a24c-4dce-bd05-e315ec109602n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-10-03 23:24   ` John MacFarlane
       [not found]     ` <m25z7quc3o.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2020-10-03 23:24 UTC (permalink / raw)
  To: Pedro P. Palazzo, pandoc-discuss


Please see https://github.com/jgm/pandoc/issues/2953

Does that issue need re-opening?  According to the notes
there, both brazil and brazilian are documented to work,
but brazil works on a wider variety of systems...

"Pedro P. Palazzo" <pedro.palazzo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> This throws an error:
>
> ```
> Error producing PDF.
> ! Undefined control sequence.
> \adddialect ...####1####2####3####4{}\fi }\bbl@cs
>                                                   {languages}\endgroup
> l.57   \setmainlanguage[]{brazil}
> ```
>
> Fix: The correct translation should be to `\setmainlanguage[]{brazilian}` 
> not `brazil`.
>
> -- 
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/69070e2d-a24c-4dce-bd05-e315ec109602n%40googlegroups.com.


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

* Re: Conversion of markdown frontmatter `lang: pt-BR` to latex
       [not found]     ` <m25z7quc3o.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2020-10-04 12:09       ` Pedro P. Palazzo
       [not found]         ` <a10b5598-22db-47b9-acc2-44bfdec8bfabn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Pedro P. Palazzo @ 2020-10-04 12:09 UTC (permalink / raw)
  To: pandoc-discuss


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

Ok, I found out it's the xelatex engine that will only accept 'brazilian'. 
Pdflatex accepts 'brazil'. I'm using Homebrew TexLive 2020 on a freshly 
installe MacOS 10.13. Not sure if there's a way to account for this.

Em domingo, 4 de outubro de 2020 às 00:25:02 UTC+1, John MacFarlane 
escreveu:

>
> Please see https://github.com/jgm/pandoc/issues/2953
>
> Does that issue need re-opening? According to the notes
> there, both brazil and brazilian are documented to work,
> but brazil works on a wider variety of systems...
>
> "Pedro P. Palazzo" <pedro....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > This throws an error:
> >
> > ```
> > Error producing PDF.
> > ! Undefined control sequence.
> > \adddialect ...####1####2####3####4{}\fi }\bbl@cs
> > {languages}\endgroup
> > l.57 \setmainlanguage[]{brazil}
> > ```
> >
> > Fix: The correct translation should be to 
> `\setmainlanguage[]{brazilian}` 
> > not `brazil`.
> >
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/69070e2d-a24c-4dce-bd05-e315ec109602n%40googlegroups.com
> .
>

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a10b5598-22db-47b9-acc2-44bfdec8bfabn%40googlegroups.com.

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

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

* Re: Conversion of markdown frontmatter `lang: pt-BR` to latex
       [not found]         ` <a10b5598-22db-47b9-acc2-44bfdec8bfabn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-10-04 15:13           ` John MacFarlane
  0 siblings, 0 replies; 4+ messages in thread
From: John MacFarlane @ 2020-10-04 15:13 UTC (permalink / raw)
  To: Pedro P. Palazzo, pandoc-discuss


The linked issue is from 2016.  It's quite likely that by now
we can presuppose that 'brazilian' will work for everyone -- but
it would be nice to get some confirmation of that before we make
the change.

"Pedro P. Palazzo" <pedro.palazzo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Ok, I found out it's the xelatex engine that will only accept 'brazilian'. 
> Pdflatex accepts 'brazil'. I'm using Homebrew TexLive 2020 on a freshly 
> installe MacOS 10.13. Not sure if there's a way to account for this.
>
> Em domingo, 4 de outubro de 2020 às 00:25:02 UTC+1, John MacFarlane 
> escreveu:
>
>>
>> Please see https://github.com/jgm/pandoc/issues/2953
>>
>> Does that issue need re-opening? According to the notes
>> there, both brazil and brazilian are documented to work,
>> but brazil works on a wider variety of systems...
>>
>> "Pedro P. Palazzo" <pedro....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>
>> > This throws an error:
>> >
>> > ```
>> > Error producing PDF.
>> > ! Undefined control sequence.
>> > \adddialect ...####1####2####3####4{}\fi }\bbl@cs
>> > {languages}\endgroup
>> > l.57 \setmainlanguage[]{brazil}
>> > ```
>> >
>> > Fix: The correct translation should be to 
>> `\setmainlanguage[]{brazilian}` 
>> > not `brazil`.
>> >
>> > -- 
>> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/69070e2d-a24c-4dce-bd05-e315ec109602n%40googlegroups.com
>> .
>>
>
> -- 
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a10b5598-22db-47b9-acc2-44bfdec8bfabn%40googlegroups.com.

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/m2zh52rplu.fsf%40MacBook-Pro.hsd1.ca.comcast.net.


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

end of thread, other threads:[~2020-10-04 15:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-03 20:20 Conversion of markdown frontmatter `lang: pt-BR` to latex Pedro P. Palazzo
     [not found] ` <69070e2d-a24c-4dce-bd05-e315ec109602n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-03 23:24   ` John MacFarlane
     [not found]     ` <m25z7quc3o.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-04 12:09       ` Pedro P. Palazzo
     [not found]         ` <a10b5598-22db-47b9-acc2-44bfdec8bfabn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-04 15:13           ` 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).