public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Lyndon Drake <isenguard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: AW: Markdown for a RTL text direction blockquote
Date: Sun, 24 Apr 2022 20:56:36 -0700 (PDT)	[thread overview]
Message-ID: <c507fb57-c98e-4cdc-a82d-c70d485d59b4n@googlegroups.com> (raw)
In-Reply-To: <87wnfemcgh.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>


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

To me there are two issues:

- one is that it's quite legitimate to do dir=rtl for e.g. HTML as the 
intended output, and this probably shouldn't generate LaTeX code that will 
fail in LuaLaTeX or XeLaTeX given those are the best LaTeX engines to use 
for bidi text

- the other is that Babel really doesn't have a way to change text 
direction, so the only way to do this in a babel-compliant way is to define 
a dummy language. I could potentially ask the babel maintainer for help 
doing this, as they've been very helpful to me in the past. An alternative 
would be to have dummy definitions of the macros that pandoc generates 
LaTeX calls to for dir=rtl so that at least it would all then fail silently.

For my own use I can just specify the actual language but I think it would 
make sense to avoid being able to generate error-producing LaTeX code?

On Monday, 25 April 2022 at 08:52:09 UTC+12 Albert Krewinkel wrote:

>
> John MacFarlane <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:
>
> > Does anyone out there know about RTL support in LaTeX?
>
> I tried to read up on it, but didn't really get any smarter. The only
> interesting thing I came across is this quote from the babel manual:
>
> > No macros to select the writing direction are provided, either –
> > writing direction is intrinsic to each script and therefore it is best
> > set by the language (which can be a dummy one). Furthermore, there are
> > in fact two right-to-left modes, depending on the language, which
> > differ in the way ‘weak’ numeric characters are ordered (eg, Arabic
> > %123 vs Hebrew 123%).
>
> From the sound of it, defining a placeholder languages could be an
> option to select direction.
>
> -- 
> 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/c507fb57-c98e-4cdc-a82d-c70d485d59b4n%40googlegroups.com.

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

      parent reply	other threads:[~2022-04-25  3:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-24  0:26 Lyndon Drake
     [not found] ` <51cb4ac6-f391-4351-a895-d076bce6e6a9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-04-24  6:39   ` Albert Krewinkel
     [not found]     ` <87ee1nnfku.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-04-24  7:08       ` Lyndon Drake
     [not found]         ` <b1aca139-53a8-4f7d-b6af-394463693812n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-04-24  7:21           ` Lyndon Drake
2022-04-24  9:01           ` Albert Krewinkel
     [not found]             ` <87a6caonsc.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-04-24 10:11               ` AW: " denis.maier-NSENcxR/0n0
     [not found]                 ` <3eabd35901464701aee2dd5051e298d3-NSENcxR/0n0@public.gmane.org>
2022-04-24 19:33                   ` John MacFarlane
     [not found]                     ` <m2czh6s2cd.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2022-04-24 20:45                       ` Albert Krewinkel
     [not found]                         ` <87wnfemcgh.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-04-25  3:56                           ` Lyndon Drake [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c507fb57-c98e-4cdc-a82d-c70d485d59b4n@googlegroups.com \
    --to=isenguard-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).