public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: <denis.maier-NSENcxR/0n0@public.gmane.org>
To: <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org>
Cc: <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: AW: AW: Raw blocks and markdown content
Date: Wed, 1 Dec 2021 13:42:42 +0000	[thread overview]
Message-ID: <8cac4bba3aa14b4299cad74296e4565f@unibe.ch> (raw)
In-Reply-To: <CADAJKhCAb-pH1ibe35AtkZkX844Ubz43CqCKf0jKBqB5sENL1g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 8210 bytes --]

I’m on version 2.16.2
No error message.


Von: BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org>
Gesendet: Mittwoch, 1. Dezember 2021 14:39
An: Maier, Denis Christian (UB) <denis.maier-NSENcxR/0n0@public.gmane.org>
Cc: bpj <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org>; pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Re: AW: Raw blocks and markdown content

Not that I can see. Are you using the latest version of pandoc?

Is there any error output?

Den ons 1 dec. 2021 14:22 <denis.maier-NSENcxR/0n0@public.gmane.org<mailto:denis.maier-NSENcxR/0n0@public.gmane.org>> skrev:
Thanks for looking into this. The command line is:

pandoc input.md -o output.md -L pandoc-list-table.lua

Anything wrong with that?

Denis


Von: BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org<mailto:bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org>>
Gesendet: Mittwoch, 1. Dezember 2021 14:17
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss@googlegroups.com>>
Cc: Maier, Denis Christian (UB) <denis.maier-NSENcxR/0n0@public.gmane.org<mailto:denis.maier@unibe.ch>>
Betreff: Re: AW: Raw blocks and markdown content

What does your command line look like?

I'll investigate as soon as I get home.

Maybe something has changed in Pandoc since I last used it?


Den ons 1 dec. 2021 10:02 <denis.maier-NSENcxR/0n0@public.gmane.org<mailto:denis.maier-NSENcxR/0n0@public.gmane.org>> skrev:
Oh, just that it does not seem to work ATM.

The example from the readme:

```
:::lol2table
*   -   foo
    -   bar
    -   baz
*   -   +   tic
        +   pic
    -   +   tac
        +   pac
:::
```

gives me:

```
::: lol2table
-   -   foo
    -   bar
    -   baz

-   -   -   tic
        -   pic

    -   -   tac
        -   pac
:::
```

Is there something I’m missing?

Denis


Von: Maier, Denis Christian (UB)
Gesendet: Mittwoch, 1. Dezember 2021 09:35
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss@googlegroups.com>>
Cc: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org<mailto:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>>
Betreff: AW: AW: Raw blocks and markdown content

Benct, Thanks for pointing me towards your filter. That seems to be exactly what I need.

Denis

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>> Im Auftrag von BPJ
Gesendet: Mittwoch, 1. Dezember 2021 09:24
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss@googlegroups.com>>
Cc: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org<mailto:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>>
Betreff: Re: AW: Raw blocks and markdown content


Den tis 30 nov. 2021 23:55 <denis.maier-NSENcxR/0n0@public.gmane.org<mailto:denis.maier@unibe.ch>> skrev:
> -----Ursprüngliche Nachricht-----
> Von: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org<mailto:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>>
> Gesendet: Dienstag, 30. November 2021 21:48
> An: Maier, Denis Christian (UB) <denis.maier-NSENcxR/0n0@public.gmane.org<mailto:denis.maier@unibe.ch>>; pandoc-
> discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> Betreff: Re: AW: Raw blocks and markdown content
>
>
> Note that this extension applies only to markdown input.
> It affects HTML chunks embedded as part of a markdown document.  It
> won't work with `-f html`.
>
> But perhaps your input document is markdown, and your target is JATS, and
> you want a way to include markdown within JATS tags?

Yes, this is what I've meant. My source is markdown, but I want to include tables as raw jats. (The tables are used to present parallel texts, greek and translation, and that's much easier using tags than with any of the current tables.)

You could use my table-as-list(-of-lists) filter which I have been using exactly for this, as well as for interlinear glosses.

https://github.com/bpj/pandoc-list-table



>
> In this case you could use commonmark, which has a fairly generic way of
> triggering this behavior (basically, you leave whitespace around the tags if
> you want the contents to be interpreted as commonmark).

That sounds like a good alternative.
But are there any drawbacks? I mean compared to using pandoc's markdown?

Best,
Denis

>
> <denis.maier-NSENcxR/0n0@public.gmane.org<mailto:denis.maier-NSENcxR/0n0@public.gmane.org>> writes:
>
> > I mean the behaviour described here:
> > https://pandoc.org/MANUAL.html#extension-markdown_in_html_blocks
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org<mailto:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>>
> >> Gesendet: Dienstag, 30. November 2021 18:11
> >> An: Maier, Denis Christian (UB) <denis.maier-NSENcxR/0n0@public.gmane.org<mailto:denis.maier-NSENcxR/0n0@public.gmane.org>>; pandoc-
> >> discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> >> Betreff: Re: Raw blocks and markdown content
> >>
> >>
> >>
> >> > for HTML we already have an option to interpret material between
> >> > tags as
> >> markdown.
> >>
> >> I'm not sure what you mean by this?
> >> Can you give an example?
> >
> > --
> > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-
> discuss/aa3cfa5bfa4341f3a2cb7166d9f8022d%40unibe.ch<http://40unibe.ch>.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a93b409adb504f45a9572ef49f8b02d7%40unibe.ch.
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhBFdmASA8ddZ43P-AK7Zjg9k4OR%3DB0WxwoDd_BQm9-tVw%40mail.gmail.com<https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhBFdmASA8ddZ43P-AK7Zjg9k4OR%3DB0WxwoDd_BQm9-tVw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ab701e3eeed949e5b5db3e473e419b39%40unibe.ch<https://groups.google.com/d/msgid/pandoc-discuss/ab701e3eeed949e5b5db3e473e419b39%40unibe.ch?utm_medium=email&utm_source=footer>.

-- 
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/8cac4bba3aa14b4299cad74296e4565f%40unibe.ch.

[-- Attachment #2: Type: text/html, Size: 22979 bytes --]

      parent reply	other threads:[~2021-12-01 13:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30 10:12 denis.maier-NSENcxR/0n0
     [not found] ` <b60796009ed346c58e4dee856121dd56-NSENcxR/0n0@public.gmane.org>
2021-11-30 17:11   ` John MacFarlane
     [not found]     ` <m28rx5efgt.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2021-11-30 19:42       ` AW: " denis.maier-NSENcxR/0n0
     [not found]         ` <aa3cfa5bfa4341f3a2cb7166d9f8022d-NSENcxR/0n0@public.gmane.org>
2021-11-30 20:48           ` John MacFarlane
     [not found]             ` <yh480kr1ax74kl.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-11-30 22:54               ` AW: " denis.maier-NSENcxR/0n0
     [not found]                 ` <a93b409adb504f45a9572ef49f8b02d7-NSENcxR/0n0@public.gmane.org>
2021-12-01  8:24                   ` BPJ
     [not found]                     ` <CADAJKhBFdmASA8ddZ43P-AK7Zjg9k4OR=B0WxwoDd_BQm9-tVw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-12-01  8:35                       ` AW: " denis.maier-NSENcxR/0n0
     [not found]                         ` <79b835afeacd4bc5af064514c4bf3090-NSENcxR/0n0@public.gmane.org>
2021-12-01  9:01                           ` denis.maier-NSENcxR/0n0
     [not found]                             ` <ab701e3eeed949e5b5db3e473e419b39-NSENcxR/0n0@public.gmane.org>
2021-12-01 13:17                               ` BPJ
     [not found]                                 ` <CADAJKhCogu-AC41KLb8fOWBHuCqFFNt2k5fYkC471eBqO2LjMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-12-01 13:21                                   ` AW: " denis.maier-NSENcxR/0n0
     [not found]                                     ` <c6ab73ddcf634d07a9c88786c00cb263-NSENcxR/0n0@public.gmane.org>
2021-12-01 13:38                                       ` BPJ
     [not found]                                         ` <CADAJKhCAb-pH1ibe35AtkZkX844Ubz43CqCKf0jKBqB5sENL1g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-12-01 13:42                                           ` denis.maier-NSENcxR/0n0 [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=8cac4bba3aa14b4299cad74296e4565f@unibe.ch \
    --to=denis.maier-nsencxr/0n0@public.gmane.org \
    --cc=bpj-J3H7GcXPSITLoDKTGw+V6w@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).