From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30681 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "R (Chandra) Chandrasekhar" Newsgroups: gmane.text.pandoc Subject: Re: AW: Problem with `selnolig` package and multi-lingual documents Date: Sun, 5 Jun 2022 16:45:58 +0530 Message-ID: <3d33a820-76d7-db6d-826b-052e7d7aad4f@gmail.com> References: <0bb0992b678d4c66a1b088568c3858c9@unibe.ch> <877d4d71-e0a3-6afe-0f94-44a12b644636@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4222"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, denis.maier-NSENcxR/0n0@public.gmane.org Original-X-From: pandoc-discuss+bncBCQPFLNGRAERBHFB6KKAMGQESGLYJUI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jun 05 13:16:48 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ua1-f57.google.com ([209.85.222.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nxoFU-0000x2-3I for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 05 Jun 2022 13:16:48 +0200 Original-Received: by mail-ua1-f57.google.com with SMTP id w25-20020a9f38d9000000b00368f9304dc2sf5868402uaf.21 for ; Sun, 05 Jun 2022 04:16:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654427807; cv=pass; d=google.com; s=arc-20160816; b=lEKM5IhkWywhx6TMtGAhMHbZmHAoETMlUGSSUFWlum8SXNzyCyVcIyt+4QC3fGvfzu SEtRlNuSonodIpxECjvfs/w6tdTKfPhlbY9/V9xPOJLMmKObCVofEs9l5UcDMTrWpmPU jWXsocVaqtD72a+S3jQUi9PtJ3IqilkHZ4afX2pZFuBxQWUV3+DaRx8eMQA22E8D2B18 ckADAB+oM/6RbvkMq8pFp3+2A5Vt16UH96fzMdRoZ6MTnhFqi8DA12plQO9oa1+DhceB hn/AC9vQvmAP1B5u+WNAhCWn2I2lPr3lHJVEeyOWuc7TK4QvwEtmwrX90GGfa+nZeCut kMng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :in-reply-to:references:to:from:content-language:subject:user-agent :mime-version:date:message-id:sender:dkim-signature:dkim-signature; bh=ATPFDl/wUvTqYTKENtoeTZQHvmofoxZ2MJnz5cPjn2k=; b=xCY2Ef4NNcDZU613JUQecx+wfOIUtEPIwjKME2qWygCljluWv22hZgW8aHJtl2Qrrc Yl/myTn9OjsOnFoXq4Je1h1eNKNC6C9yhTrk66h8VFpOC0nso0PTe+bMVnwLkXAfcyhU Nh2ta4eDdDRs1E2qORt6tXltiHLVH4wQ0/Bb4kbvXSwx20hpF63nR3MsEq0BD39YCVoK vLq1MNgpcXKlnqgmWySa35IX8nx2RVxcsZFWQ9A+u4Dvj3/RZrdmXujgxewkNsLKhWgC GhtU4tjhz+iBgjpqCeJA9souUhPALhVvlvNjmgj30Aq9vxPRFYDpBQBXZOyWZ7WRgdPd 5E0A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TD2ftzI3; spf=pass (google.com: domain of chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1030 as permitted sender) smtp.mailfrom=chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:from:to:references:in-reply-to :content-transfer-encoding:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=ATPFDl/wUvTqYTKENtoeTZQHvmofoxZ2MJnz5cPjn2k=; b=B/ayXphhy5Tx0FRszBVFYhkF3YWiEgVL9AxYYAinI0Hj8MovDMs8JAa0h+zwPg8KUD PTIQ24pXNvN21Vadx5LwM/nBmTnVaHA6Si+LYLyfpej+FNWQyW2QntjQQxyvV+zKmuMe gJky/ant9NSxg3kG6DgN3tfC5BHXxczL28+0Lw0zYaYxNqM3JTvhIcG7ZrmaKmg4Nmw0 fnuF4r1r9imgxrZDwO2VZWdYBN0z0z+KNFERrzzZsKJmZSdXY6eWGXAYOEEirQ5lV6N7 begfSljQekCN1t0jo+2h55iAE67aqHcjWV3QB+DLYtZIm8eOom7KWlf4vKBox09TTKod 6nr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:references:in-reply-to:content-transfer-encoding :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ATPFDl/wUvTqYTKENtoeTZQHvmofoxZ2MJnz5cPjn2k=; b=EKnwHYjhccMdBxN06fDC/fBfCVj0IbOVsxCaADEU/hkmmMN3/j/jpEMvNqCkoQgbJp r8loIEb0G7ZB9nthyc3mVzD7UGu5rzyJ+2dREmhmEHeUN+v/m7uE7j+AvOQeI8EjGLih qygFmdTUPaCPtE0BibM2NUGCoLLmnfvGoQYSVlHkn5qbc7TGSIdHMdccPiiQphl95tix ctX+Kv332znAcexqAYPDcSgG7vxgc9ETj3B4nZD5qDAi5e6H54q/cp/wXd5kntyOyCVP DUjKh4MEBHMNAeC4et6cp8F366UIf+r7ivcm5b8NInMP/uc/XdVVrXRXXhdXYC0A31Au 2m1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:message-id:date:mime-version:user-agent :subject:content-language:from:to:references:in-reply-to :content-transfer-encoding:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ATPFDl/wUvTqYTKENtoeTZQHvmofoxZ2MJnz5cPjn2k=; b=kG2rDpSbvFRnh/fzGwQYqzdH02g0y665eM+nkvu9rnO9AI6tok1u98Jlpce3f7aqaA 1BVaAvLTJcKAJcO5V2Eop96ENwlSntf6dmrwaEPBgHakEKFCYHeuhTFBWrd9La35WJ4D ibxVOlMVR+a+m2MVomuLjkJ35Lx5zu9gVYe6fIejO+1XIIBG/JYVuZ1+KwdN424CEDpy zxL4tv790gmUn4i7RmpgMn0Cyhs9yQfzrO2981iIcVE9IGm6ezpyudmdSq0aQS2jwnO2 y0kOFOsgZUwBdhzZ3K0saM6/sHlF8r8nxtYG Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533KZXP0xZJgUWBxwq6juYt2XEu02opmcGvIM/MyR/Em6VNeyH7Y ylClk9yD3SOWc8Y3KpAb6rE= X-Google-Smtp-Source: ABdhPJyof9R4ABKHGV/y2i98xa81kfKuAZR5jY+o6NbYcU2pXCEHd3X2pyqq5Kvyy17abLPIHzZsJg== X-Received: by 2002:a05:6102:534:b0:34a:111c:340c with SMTP id m20-20020a056102053400b0034a111c340cmr6898700vsa.79.1654427807150; Sun, 05 Jun 2022 04:16:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ab0:3d8e:0:b0:364:f773:38ff with SMTP id l14-20020ab03d8e000000b00364f77338ffls453350uac.2.gmail; Sun, 05 Jun 2022 04:16:43 -0700 (PDT) X-Received: by 2002:ab0:4910:0:b0:35d:19ce:f020 with SMTP id z16-20020ab04910000000b0035d19cef020mr29760155uac.104.1654427803894; Sun, 05 Jun 2022 04:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654427803; cv=none; d=google.com; s=arc-20160816; b=kzdHr3Nwy8BirkYzGh4IadKQJ9M6vQV1I3XlTl7oFPK1C4zgCD/kxYGaEb+fK4zx83 RTiXfNGLRQvqptnAIlWOYraqwcu71go6E/BZ0Gx864toaJ/8hHt0eipqKXawuy7EUaAw 3kcGL/U5nccIuRWGzYIlcOSKIuzpoLZ+td8dSk9uOh4oDjnwBCWLvRrMned8v8Hwq16p 3DMHpX4nzDje+kqDVlq8WMhRkk9lJ3XvVgCK+xnLgkJpSm0ECMRZggRr8luhtPlHs1ek cvMA7z/pS6qu6E9XBKKbPiF4zGXdIvLCumSmgRQz74yiQdB+ENh0uI3iE+8KM1nUQdpS hybw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=GXVAJ+str3sC2zJh/a8dVTUIbXxS9XsCLr5JuaH6yLU=; b=Cbs6wktFGkEQcgp8Czd2AY54ZsVV7Vwa7RmRHbt6pJW3Yor9viZDahFR0UitwrQIRz 0S8EmmmZn26EXGv5tRVK3hrAUtUZ+0sdJPO9Jro56AEzB2SfMcclKlrtyYnSQ/7iICXU H1+idGi5ICIXj7q7Wjgf89lMIbX8f03sEByJPgQwOP+j39T6CUmmZdy602kuNFHEP3AR zt67adI+JGb/NWK4TjgNUhAcVHnbhwiMqWfCJ0uaOCJ9r6sNHsJasJqrC3JoWqQ0/Uj/ QuXxd8RY2cNK5268pULSAnWXyhFSxXAch2VyigMWuBGNfjvxOdJQD0w/6xdRI9WTIPqn buzg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TD2ftzI3; spf=pass (google.com: domain of chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1030 as permitted sender) smtp.mailfrom=chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com. [2607:f8b0:4864:20::1030]) by gmr-mx.google.com with ESMTPS id bq36-20020a056122232400b0032cd88afa9asi478730vkb.3.2022.06.05.04.16.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jun 2022 04:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1030 as permitted sender) client-ip=2607:f8b0:4864:20::1030; Original-Received: by mail-pj1-x1030.google.com with SMTP id w2-20020a17090ac98200b001e0519fe5a8so10449157pjt.4 for ; Sun, 05 Jun 2022 04:16:43 -0700 (PDT) X-Received: by 2002:a17:902:e5cb:b0:166:3622:a7e4 with SMTP id u11-20020a170902e5cb00b001663622a7e4mr18991286plf.32.1654427802746; Sun, 05 Jun 2022 04:16:42 -0700 (PDT) Original-Received: from [192.168.0.2] ([103.28.246.51]) by smtp.gmail.com with ESMTPSA id a10-20020a62bd0a000000b0051849315ecdsm6593238pff.48.2022.06.05.04.16.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jun 2022 04:16:42 -0700 (PDT) Content-Language: en-GB In-Reply-To: <877d4d71-e0a3-6afe-0f94-44a12b644636-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TD2ftzI3; spf=pass (google.com: domain of chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1030 as permitted sender) smtp.mailfrom=chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:30681 Archived-At: 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=20 error to a line in an include-in-header file of mine: \defaultfontfeatures{Ligatures=3DTeX,Scale=3DMatchLowercase,Renderer=3DHarf= Buzz} When this was changed to \defaultfontfeatures{Ligatures=3DTeX,Scale=3DMatchLowercase,Renderer=3DNode= } the original error, purportedly due to selnolig, disappeared, and=20 compilation to PDF succeeded. If _individual fonts_ require `Renderer=3DHarfBuzz` that should included=20 in their individual invocations, as for example, in \babelfont[tamil]{rm}[Renderer=3DHarfBuzz,Script=3DTamil]{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=20 > compiled by lualatex: > ------ > warning=C2=A0 (ligkern): error:=20 > ...xlive/2022/texmf-dist/tex/lualatex/selnolig/selno > lig.lua:134: bad argument #1 to 'char' (invalid value) > . > \endtemplate >=20 > l.760 \textsc{Word} & > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \textsc{Meaning} \\ > ----- >=20 > An MWE would take more time to generate. I suspect that it happens with= =20 > Romanized Sanskrit below the table headings shown above. It probably has= =20 > to do with diacritics for Latin letters in a "kernable" combination. >=20 > I will post it when I isolate the text that causes the problem=20 > repeatably. I will also post it at TSE as you have suggested. >=20 > Chandra >=20 > 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=20 >> that package is to blame maybe open an issue there? >> >> >> >> ________________________________________ >> Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org = =20 >> im Auftrag von R (Chandra) Chandrasekhar >> 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 >> =C2=A0=C2=A0=C2=A0 \usepackage{selnolig}=C2=A0 % disable illegal ligatur= es >> \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 >> >> --=20 >> You received this message because you are subscribed to the Google=20 >> Groups "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send= =20 >> an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/fddd8e92-b419-1efd-d57d= -909f04cdd214%40gmail.com.=20 >> >> --=20 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 e= mail 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.