emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rudolf Adamkovič" <rudolf@adamkovic.org>
To: emacs-orgmode@gnu.org
Subject: Fix export of parameterized LaTeX environments to HTML/SVG
Date: Sun, 30 Jun 2024 10:22:30 +0200	[thread overview]
Message-ID: <m2zfr296wp.fsf@adamkovic.org> (raw)

The Org manual states that LaTeX fragments are

  Environments of any kind. The only requirement is that the ‘\begin’
  statement appears on a new line, preceded by only whitespace.

yet, the Org document

  #+OPTIONS: tex:dvisvgm

  \begin{array}{cc|c}
    P & Q & P \iff Q \\
    \hline
    0 & 0 & 1 \\
    0 & 1 & 0 \\
    1 & 0 & 0 \\
    1 & 1 & 1 \\
  \end{array}

exports to HTML with

  cc|c

visible (and a broken array).

More generally, LaTeX environments

  \begin{ENVIRONMENT}{OPTIONS}

that include some

  {OPTIONS}

do not export to HTML well.

Rudy
-- 
“Those who cannot remember the past are condemned to repeat it.”  ---
George Santayana, Life of Reason: Reason in Common Sense, 1905

Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org


             reply	other threads:[~2024-06-30  8:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-30  8:22 Rudolf Adamkovič [this message]
2024-06-30 10:58 ` Fix export of parameterized LaTeX environments to HTML/SVG Ihor Radchenko
2024-06-30 20:19   ` Rudolf Adamkovič

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=m2zfr296wp.fsf@adamkovic.org \
    --to=rudolf@adamkovic.org \
    --cc=emacs-orgmode@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).