* Problem with `selnolig` package and multi-lingual documents @ 2022-06-04 18:27 R (Chandra) Chandrasekhar [not found] ` <fddd8e92-b419-1efd-d57d-909f04cdd214-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: R (Chandra) Chandrasekhar @ 2022-06-04 18:27 UTC (permalink / raw) To: pandoc-discuss I am working on a multi-lingual document (English, Tamil, Sanskrit, Romanized Sanskrit, Greek). I have used pandoc to compile the source document perfectly into HTML, ePuB, and PDF via LuaLaTeX, until recently, when TeXLive 2022 was released. The generation of the HTML, epUb and .tex files now proceeds without trouble. But compilation of the .tex file with lualatex produces a warning, and further forced compilation generates a truncated PDF file. The operational error message singled out the package `selnolig`. I identified the following three lines in the default latex template and commented them out: ``` \ifLuaTeX \usepackage{selnolig} % disable illegal ligatures \fi ``` The document then compiles error-free. I can modify the default template with every release to comment out these three lines, as I see no use for `selnolig` for my use case. The question is can this package be made optional, since it causes aborted compilation with multilingual documents. Thank you. Chandra ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <fddd8e92-b419-1efd-d57d-909f04cdd214-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* AW: Problem with `selnolig` package and multi-lingual documents [not found] ` <fddd8e92-b419-1efd-d57d-909f04cdd214-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2022-06-04 18:55 ` denis.maier-NSENcxR/0n0 [not found] ` <0bb0992b678d4c66a1b088568c3858c9-NSENcxR/0n0@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: denis.maier-NSENcxR/0n0 @ 2022-06-04 18:55 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Would be good to know the warning, and to have a mwe. Actually, if that package is to blame maybe open an issue there? ________________________________________ Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> im Auftrag von R (Chandra) Chandrasekhar <chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Gesendet: Samstag, 4. Juni 2022 20:27:44 An: pandoc-discuss Betreff: Problem with `selnolig` package and multi-lingual documents I am working on a multi-lingual document (English, Tamil, Sanskrit, Romanized Sanskrit, Greek). I have used pandoc to compile the source document perfectly into HTML, ePuB, and PDF via LuaLaTeX, until recently, when TeXLive 2022 was released. The generation of the HTML, epUb and .tex files now proceeds without trouble. But compilation of the .tex file with lualatex produces a warning, and further forced compilation generates a truncated PDF file. The operational error message singled out the package `selnolig`. I identified the following three lines in the default latex template and commented them out: ``` \ifLuaTeX \usepackage{selnolig} % disable illegal ligatures \fi ``` The document then compiles error-free. I can modify the default template with every release to comment out these three lines, as I see no use for `selnolig` for my use case. The question is can this package be made optional, since it causes aborted compilation with multilingual documents. Thank you. Chandra -- 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/fddd8e92-b419-1efd-d57d-909f04cdd214%40gmail.com. ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <0bb0992b678d4c66a1b088568c3858c9-NSENcxR/0n0@public.gmane.org>]
* Re: AW: Problem with `selnolig` package and multi-lingual documents [not found] ` <0bb0992b678d4c66a1b088568c3858c9-NSENcxR/0n0@public.gmane.org> @ 2022-06-04 19:48 ` R (Chandra) Chandrasekhar [not found] ` <877d4d71-e0a3-6afe-0f94-44a12b644636-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: R (Chandra) Chandrasekhar @ 2022-06-04 19:48 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw, denis.maier-NSENcxR/0n0 I get this warning when the .tex file generated by pandoc from .md is compiled by lualatex: ------ warning (ligkern): error: ...xlive/2022/texmf-dist/tex/lualatex/selnolig/selno lig.lua:134: bad argument #1 to 'char' (invalid value) . <recently read> \endtemplate l.760 \textsc{Word} & \textsc{Meaning} \\ ----- An MWE would take more time to generate. I suspect that it happens with Romanized Sanskrit below the table headings shown above. It probably has to do with diacritics for Latin letters in a "kernable" combination. I will post it when I isolate the text that causes the problem repeatably. I will also post it at TSE as you have suggested. Chandra On 05/06/2022 00:25, denis.maier-NSENcxR/0n0@public.gmane.org wrote: > Would be good to know the warning, and to have a mwe. Actually, if that package is to blame maybe open an issue there? > > > > ________________________________________ > Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> im Auftrag von R (Chandra) Chandrasekhar <chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Gesendet: Samstag, 4. Juni 2022 20:27:44 > An: pandoc-discuss > Betreff: Problem with `selnolig` package and multi-lingual documents > > I am working on a multi-lingual document (English, Tamil, Sanskrit, > Romanized Sanskrit, Greek). I have used pandoc to compile the source > document perfectly into HTML, ePuB, and PDF via LuaLaTeX, until > recently, when TeXLive 2022 was released. > > The generation of the HTML, epUb and .tex files now proceeds without > trouble. But compilation of the .tex file with lualatex produces a > warning, and further forced compilation generates a truncated PDF file. > > The operational error message singled out the package `selnolig`. I > identified the following three lines in the default latex template and > commented them out: > > ``` > \ifLuaTeX > \usepackage{selnolig} % disable illegal ligatures > \fi > ``` > > The document then compiles error-free. > > I can modify the default template with every release to comment out > these three lines, as I see no use for `selnolig` for my use case. The > question is can this package be made optional, since it causes aborted > compilation with multilingual documents. > > Thank you. > > Chandra > > -- > 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/fddd8e92-b419-1efd-d57d-909f04cdd214%40gmail.com. > ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <877d4d71-e0a3-6afe-0f94-44a12b644636-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: AW: Problem with `selnolig` package and multi-lingual documents [not found] ` <877d4d71-e0a3-6afe-0f94-44a12b644636-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2022-06-05 11:15 ` R (Chandra) Chandrasekhar 0 siblings, 0 replies; 4+ messages in thread From: R (Chandra) Chandrasekhar @ 2022-06-05 11:15 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw, denis.maier-NSENcxR/0n0 After some experimentation, and viewing this discussion at TSE, https://tex.stackexchange.com/questions/574047/lualatex-amsthm-polyglossia-charissil-error and especially Davislor's solution, I have narrowed the cause of the error to a line in an include-in-header file of mine: \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase,Renderer=HarfBuzz} When this was changed to \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase,Renderer=Node} the original error, purportedly due to selnolig, disappeared, and compilation to PDF succeeded. If _individual fonts_ require `Renderer=HarfBuzz` that should included in their individual invocations, as for example, in \babelfont[tamil]{rm}[Renderer=HarfBuzz,Script=Tamil]{Noto Serif Tamil} Chandra 2022-06-05 On 05/06/2022 01:18, R (Chandra) Chandrasekhar wrote: > I get this warning when the .tex file generated by pandoc from .md is > compiled by lualatex: > ------ > warning (ligkern): error: > ...xlive/2022/texmf-dist/tex/lualatex/selnolig/selno > lig.lua:134: bad argument #1 to 'char' (invalid value) > . > <recently read> \endtemplate > > l.760 \textsc{Word} & > \textsc{Meaning} \\ > ----- > > An MWE would take more time to generate. I suspect that it happens with > Romanized Sanskrit below the table headings shown above. It probably has > to do with diacritics for Latin letters in a "kernable" combination. > > I will post it when I isolate the text that causes the problem > repeatably. I will also post it at TSE as you have suggested. > > Chandra > > On 05/06/2022 00:25, denis.maier-NSENcxR/0n0@public.gmane.org wrote: >> Would be good to know the warning, and to have a mwe. Actually, if >> that package is to blame maybe open an issue there? >> >> >> >> ________________________________________ >> Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> im Auftrag von R (Chandra) Chandrasekhar <chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> Gesendet: Samstag, 4. Juni 2022 20:27:44 >> An: pandoc-discuss >> Betreff: Problem with `selnolig` package and multi-lingual documents >> >> I am working on a multi-lingual document (English, Tamil, Sanskrit, >> Romanized Sanskrit, Greek). I have used pandoc to compile the source >> document perfectly into HTML, ePuB, and PDF via LuaLaTeX, until >> recently, when TeXLive 2022 was released. >> >> The generation of the HTML, epUb and .tex files now proceeds without >> trouble. But compilation of the .tex file with lualatex produces a >> warning, and further forced compilation generates a truncated PDF file. >> >> The operational error message singled out the package `selnolig`. I >> identified the following three lines in the default latex template and >> commented them out: >> >> ``` >> \ifLuaTeX >> \usepackage{selnolig} % disable illegal ligatures >> \fi >> ``` >> >> The document then compiles error-free. >> >> I can modify the default template with every release to comment out >> these three lines, as I see no use for `selnolig` for my use case. The >> question is can this package be made optional, since it causes aborted >> compilation with multilingual documents. >> >> Thank you. >> >> Chandra >> >> -- >> 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/fddd8e92-b419-1efd-d57d-909f04cdd214%40gmail.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/3d33a820-76d7-db6d-826b-052e7d7aad4f%40gmail.com. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-06-05 11:15 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-06-04 18:27 Problem with `selnolig` package and multi-lingual documents R (Chandra) Chandrasekhar [not found] ` <fddd8e92-b419-1efd-d57d-909f04cdd214-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2022-06-04 18:55 ` AW: " denis.maier-NSENcxR/0n0 [not found] ` <0bb0992b678d4c66a1b088568c3858c9-NSENcxR/0n0@public.gmane.org> 2022-06-04 19:48 ` R (Chandra) Chandrasekhar [not found] ` <877d4d71-e0a3-6afe-0f94-44a12b644636-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2022-06-05 11:15 ` R (Chandra) Chandrasekhar
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).