From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30475 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: AW: Markdown for a RTL text direction blockquote Date: Sun, 24 Apr 2022 12:33:54 -0700 Message-ID: References: <51cb4ac6-f391-4351-a895-d076bce6e6a9n@googlegroups.com> <87ee1nnfku.fsf@zeitkraut.de> <87a6caonsc.fsf@zeitkraut.de> <3eabd35901464701aee2dd5051e298d3@unibe.ch> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33539"; mail-complaints-to="usenet@ciao.gmane.io" Cc: isenguard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org To: denis.maier-NSENcxR/0n0@public.gmane.org, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBJ6MS2JQMGQEDT2T7IQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Apr 24 21:34:02 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f55.google.com ([209.85.210.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nihzd-0008RE-L2 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 24 Apr 2022 21:34:01 +0200 Original-Received: by mail-ot1-f55.google.com with SMTP id s11-20020a056830438b00b006054e71824fsf5283249otv.23 for ; Sun, 24 Apr 2022 12:34:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650828840; cv=pass; d=google.com; s=arc-20160816; b=HFvKkVePTpxnx1nTjGTQR3p1CH4+GFkfIhDpqMDomXAM+U2krzfE/HKusU1EPhBMra a1R1Ri+3ymewvKVApa3sihzbx4YwIxcoGbwEr5opcHkzJRNwsAlhfdeRkUJRvJ3ZUOZb Cmo0sa3H7cLXBEc/S8Fsxd+sLsiSg+C24he4eDWXUddRA+YxwdsoW6ZNB3N3+VmszugA VhYVSt+4sTCmy6HqBES2hGI9Czs33mUbj3etQQmXfUzjwiUGC1MFMOoYRFSvW61eqd4j TP5uuxCQNss0cmNBdYyp+PkHDyQpnbkGfuFXPkmD/zqAStxm/isVDcxUzB55Xcb4C64M XFkg== 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:mime-version:message-id :date:references:in-reply-to:subject:cc:to:from:sender :dkim-signature; bh=6+OpCJ37NjywA60oVUD5KezfHxtijhEqFCC9es/taEY=; b=RHJS94fv+B4wzS6Led5B08SpSFVde2xOiHgZRBieBCC6Dz0VaC0aD0SFBm1kFsebQS Wqf0dujFxJjgV/oK8+z6DM1UQjzJ9g9Zv5scGD8DaARRxa6wsnl47cHovRRJ2x53Q9v/ ODyB1+3Dc4kz9f12duyMNqTNALp3WTJc9YwZRB7LFFT3t/JuZECnsDr74u11CcgAOtzA XQ6zZFY/37OA03gjO7bjUN/5FZe94srlDtTcrs0i/8U0/mGGdlB72Kh25SphZmeWw3Ap PoY0Jvr9fdhqvVheobirwYXGiNbDUxCUpwE/Y+jaAC4rcLTij9aRJp5xrizFOVMrC9NI 5oJA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=Vpupj8xj; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::432 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version: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=6+OpCJ37NjywA60oVUD5KezfHxtijhEqFCC9es/taEY=; b=mvnTpZd5TjMhImsDytEpCpY3EPF6dG09RyJN68O2im0mIsWNXlDGGIODMmEXQImwZI +ztAPZiC4x9Blbu/zGDd0HW8UHYcguO1dVHYp5CjaWt8v03eGCUPIhcebo62g2g79eHj em6jhNn6jNh0VoU44BUUqE5k3ZfBghl1KVsp3SP/ADfZUMm24kb64sSEQnztTU2RqXP7 pybIpUtwkpyp8bhd7LcQKlm4gskKayVqNR2mB86yKrydV350etNYN1KbR6V0GTPmrxTd OFscvvsn81MMIABiJtnX2r+sFhi6SypBeyQAIyUu+NTJoXDazwJ3FPRt23vN1JYi4nEZ 1x8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:in-reply-to:references :date:message-id:mime-version: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=6+OpCJ37NjywA60oVUD5KezfHxtijhEqFCC9es/taEY=; b=pmgqwfMxQ2fZVofvwKDegBYLKU1r8g3wdiyo1t1MUuzzCYRECWwRPu/cySiIIuP1z8 pVMuMOW/NYm+4UzhCjWGFFL0V84P8tzyqO2c35sOT/+a9igYJv+f/iwEjyMDFO3+2Zs4 vBpLQRoL0WDIL2uwtchyFsfRb0ppN5p6yP+nGKKy3YeIcsxPGpmYOWaZ5Khdg7XavaXI otMOC/7iIzHiEkU39sSreADNe6I3eh/nMvm0T/7m4i+HNVEp5pC7SslilCdvinhoNVcC gJ1vYHmaQJwxAh2LYffpp21QXkLlD3qGwH93aKutA+KHwdYKkw0OKKiVHinIdvKoV7ye 3u/w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532lzCgXWdROzKIn6ZMb8pUKxuXCepQqYM2b04psYSJj0asQJRKJ 9p34EuY/DCV+ti3nUT0Gwxg= X-Google-Smtp-Source: ABdhPJyi3sRYAfFxNonG7aXvloxrFbQC/8sqrvRtpqWo/fX2gDKLLWpkVA+0q0TfAyiGj/OlRbMECw== X-Received: by 2002:a05:6808:bce:b0:322:b6c8:ea69 with SMTP id o14-20020a0568080bce00b00322b6c8ea69mr10938568oik.285.1650828840627; Sun, 24 Apr 2022 12:34:00 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:1987:b0:322:7c28:7409 with SMTP id bj7-20020a056808198700b003227c287409ls2594207oib.5.gmail; Sun, 24 Apr 2022 12:33:58 -0700 (PDT) X-Received: by 2002:a54:4f83:0:b0:324:f58f:4b95 with SMTP id g3-20020a544f83000000b00324f58f4b95mr4688683oiy.4.1650828838667; Sun, 24 Apr 2022 12:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650828838; cv=none; d=google.com; s=arc-20160816; b=HviPx4hkjcHM43PBGY3jknpOx7G8vM1ZBaMTqWEiT8+JXDGx4P5j4PepjB4zJxrW6F FjBPLw7UnV6Hif2OitxDIvyz09uHPhoUNP9lOazcswHl4lphD5kXICbzpsKE67q+LgZy uQSzI2fFne283GfpIzvQxWq9MufqoJb8vkyg3DJswyarRtXFMzzq1QbwLCnppT5m9Kwu NW8EGE+ncF/dlxuODDDOwWWjC38nJtcg/h/Zgqf9Zw2JLMxQlEKuKJdO6/NsZYTGldMi YM/G9L5cU4e8YbZOjKQydnU/CAXQUc0PTAKLmY53CKcATusyt22LofBps1bJWvGZFbNk zF7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature; bh=Gv6fLCirIqhMxGfn8kQPClyAjYNKV/Q3fSGxp0DDcCM=; b=QVHYG+xUyJUVKqGPjJT1sW4Skhj0Ov4kmjKtA4O5ae3O2QTQC971zp4oKr3kVP4Fr2 GrbUSI3xp+XxVl4KHpgWIr9C95gsaW1C1kZhfP3cAtCjViusEcNySuc7qwUfrG35QUSl 0C36nTc8fvOAxFprPc7hzcafFbGKXrR4qtrDZrOWvyhkuVGgrHDYC0YCmrAp0bMiPWA9 utJA1GUf9g7BHPuSM1ittFuif0hcbQSbv/yy37CWQdy+vImjRmhfaJD2oAvPzinzGiTh TifYTlSsqtcAk374wTdpqp42lnR2/9EvEH6XZeQ+UEN7lNwvsxFt+Yjw2ZRenpThvzqW ZFFg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=Vpupj8xj; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::432 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com. [2607:f8b0:4864:20::432]) by gmr-mx.google.com with ESMTPS id bf10-20020a056808190a00b002da82b0660dsi1341757oib.1.2022.04.24.12.33.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Apr 2022 12:33:58 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::432 as permitted sender) client-ip=2607:f8b0:4864:20::432; Original-Received: by mail-pf1-x432.google.com with SMTP id h1so12957967pfv.12 for ; Sun, 24 Apr 2022 12:33:58 -0700 (PDT) X-Received: by 2002:a63:1f21:0:b0:39d:1ee8:784e with SMTP id f33-20020a631f21000000b0039d1ee8784emr11932259pgf.591.1650828837779; Sun, 24 Apr 2022 12:33:57 -0700 (PDT) Original-Received: from hermes.johnmacfarlane.net ([45.32.92.108]) by smtp.gmail.com with ESMTPSA id j10-20020a17090a734a00b001bf31f7520csm4220431pjs.1.2022.04.24.12.33.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 12:33:56 -0700 (PDT) Original-Received: by hermes.johnmacfarlane.net (sSMTP sendmail emulation); Sun, 24 Apr 2022 12:33:54 -0700 In-Reply-To: <3eabd35901464701aee2dd5051e298d3-NSENcxR/0n0@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=Vpupj8xj; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::432 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org 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:30475 Archived-At: I see that the latex template has \ifPDFTeX \TeXXeTstate=1 \newcommand{\RL}[1]{\beginR #1\endR} \newcommand{\LR}[1]{\beginL #1\endL} \newenvironment{RTL}{\beginR}{\endR} \newenvironment{LTR}{\beginL}{\endL} \fi so these commands are only defined for pdflatex. Presumably because `\beginR`, `\beginL` aren't defined for xelatex/lualatex? I really don't know anything about this, but we shouldn't be using a command that is not going to be defined in xelatex/lualatex. (At minimum we could define no-op versions in these formats.) Does anyone out there know about RTL support in LaTeX? writes: > See also here: > https://groups.google.com/g/pandoc-discuss/c/OUCwJtfwzgs?pli=1 > > ________________________________________ > Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im Auftrag von Albert Krewinkel > Gesendet: Sonntag, 24. April 2022 11:01:53 > An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > Cc: Lyndon Drake > Betreff: Re: Markdown for a RTL text direction blockquote > > Lyndon Drake writes: > >> Thanks, that seems to generate the appropriate LaTeX. But with the >> default template, I get an error: >> >> ``` >> >> Error producing PDF. >> ! LaTeX Error: Environment RTL undefined. >> See the LaTeX manual or LaTeX Companion for explanation. >> Type H for immediate help. >> ... >> l.193 \begin{RTL} >> >> ``` > > That looks like a pandoc bug. It works with pdflatex, but with neither > LuaLaTeX nor XeLaTeX. > > Please open an issue for this on the GitHub bug tracker. > > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > > -- > 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/87a6caonsc.fsf%40zeitkraut.de. > > -- > 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/3eabd35901464701aee2dd5051e298d3%40unibe.ch.