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: Markdown for a RTL text direction blockquote
Date: Sun, 24 Apr 2022 00:21:29 -0700 (PDT)	[thread overview]
Message-ID: <f4230524-0d07-4335-9cf5-7c3e6c9654c4n@googlegroups.com> (raw)
In-Reply-To: <b1aca139-53a8-4f7d-b6af-394463693812n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


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

I should say, that's using LuaLaTeX as the pdf-engine. What I can get to 
work is a blockquote with a language attribute:

```
::: {lang=he}
עברית
:::
```


On Sunday, 24 April 2022 at 19:08:11 UTC+12 Lyndon Drake wrote:

> 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 <return>  for immediate help.
>  ...
>
> l.193 \begin{RTL}
> ```
>
> On Sunday, 24 April 2022 at 18:47:08 UTC+12 Albert Krewinkel wrote:
>
>> CommonMark with extensions (`commonmark_x`) has the *attribute*
>> extension, which allows to add the attributes before the block like so:
>>
>> Lyndon Drake <isen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>
>> ```
>> {dir=rtl}
>> > This is a blockquote paragraph.
>> ```
>>
>> Pandoc currently doesn't support attributes on blockquote elements, so
>> the above is currently just a shorthand for a wrapping div:
>>
>> ```
>> ::: {dir=rtl}
>> > This is a blockquote paragraph.
>> :::
>> ```
>>
>> The latter also works with "normal" pandoc Markdown.
>>
>> -- 
>> 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/f4230524-0d07-4335-9cf5-7c3e6c9654c4n%40googlegroups.com.

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

  parent reply	other threads:[~2022-04-24  7:21 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 [this message]
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

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=f4230524-0d07-4335-9cf5-7c3e6c9654c4n@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).