[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export
From: |
Nicolas Goaziou |
Subject: |
Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export |
Date: |
Tue, 04 May 2021 15:03:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Timothy <tecosaur@gmail.com> writes:
> Should one want to convert LaTeX images say to an SVG for HTML export, I
> do not think one would want this behaviour to also apply to LaTeX being
> exported to markdown.
Why do you think so? This is consistent with everything else not
supported by vanilla Markdown.
> As such I see two 'sensible' paths forward: (1) just include LaTeX
> verbatim when :with-latex is non-nil, or (2) introduce
> `org-markdown-with-latex' which can be set to t/'verbatim or 'html.
>
> In the attached patch, I've taken the first approach. Let me know if
> you'd like to take the second approach, or just inherit the HTML
> behaviour for LaTeX after all.
Obeying to :with-latex property means "ox-md" is somehow actively
handling LaTeX fragments, which was not the initial intent, IIUC. The
first idea was to provide a sensible default for such objects, because
we're outside the specification anyway. I'd rather not overdo it.
WDYT?
Regards,
--
Nicolas Goaziou
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export, Timothy, 2021/05/02
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export, Timothy, 2021/05/02
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export, Nicolas Goaziou, 2021/05/03
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export, Timothy, 2021/05/03
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export, Nicolas Goaziou, 2021/05/03
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export, Timothy, 2021/05/03
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export,
Nicolas Goaziou <=
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export, Timothy, 2021/05/04
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export, Nicolas Goaziou, 2021/05/06
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export, Timothy, 2021/05/09
- Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export, Nicolas Goaziou, 2021/05/10