emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org,
	Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Subject: Re: org-latex-preview, pNiceArray (running latex twice)
Date: Tue, 13 Aug 2024 19:35:21 +0000	[thread overview]
Message-ID: <87mslgrzba.fsf@localhost> (raw)
In-Reply-To: <87wmklyd5v.fsf@mat.ucm.es>

Uwe Brauer via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> writes:

> Hi 
>
> Look a the following example
> --8<---------------cut here---------------start------------->8---
> \begin{equation*}
> ...
>
> To org-format-latex-header
>    "\\usepackage{nicematrix}\12\newcolumntype{C}{c}\12"
>
> In order to obtain a nice result the corresponding latex file
> should run twice, however.
>
> Any this is a problem for org-latex-preview, it seems.

Karthik, may you please check if this is going to work with latex
preview branch?

> Any idea how to make this example work?

You can modify `org-preview-latex-process-alist' to use latexmk.
See `org-babel-latex-process-alist' for an example.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  reply	other threads:[~2024-08-13 19:35 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-12 15:27 org-latex-preview, pNiceArray (running latex twice) Uwe Brauer via General discussions about Org-mode.
2024-08-13 19:35 ` Ihor Radchenko [this message]
2024-08-14  7:28   ` Uwe Brauer
2024-08-14  7:33     ` Ihor Radchenko
2024-08-14  7:56       ` Uwe Brauer
2024-08-14  7:59         ` Ihor Radchenko
2024-08-14  8:02           ` Uwe Brauer
2024-08-14  8:07             ` Ihor Radchenko
2024-08-14  9:32               ` Uwe Brauer
2024-08-14  9:51                 ` Ihor Radchenko
2024-08-14 10:21                   ` Uwe Brauer
2024-08-14 10:29                     ` Ihor Radchenko
2024-08-14 10:54                       ` Uwe Brauer
2024-08-15 17:01                         ` [RFC] latex preview and pdflatex-only packages (was: org-latex-preview, pNiceArray (running latex twice)) Ihor Radchenko
2024-08-16  5:46                           ` [RFC] latex preview and pdflatex-only packages Stefan Nobis
2024-08-16  6:30                             ` Stefan Nobis
2024-08-18 12:01                             ` Ihor Radchenko
2024-08-18 13:35                               ` Juergen Fenn
2024-08-18 13:47                                 ` Ihor Radchenko
2024-08-18 14:12                                   ` Juergen Fenn
2024-08-18 14:31                                     ` Ihor Radchenko
2024-08-18 15:00                                       ` Juergen Fenn
2024-08-18 15:32                                         ` Juergen Fenn
2024-08-17 20:12                           ` [RFC] latex preview and pdflatex-only packages (was: org-latex-preview, pNiceArray (running latex twice)) Karthik Chikmagalur
2024-08-18 12:29                             ` Ihor Radchenko
2024-08-14 12:38                       ` org-latex-preview, pNiceArray (running latex twice) Uwe Brauer
2024-08-14 16:21                       ` Uwe Brauer via General discussions about Org-mode.
2024-08-17 20:08   ` Karthik Chikmagalur
2024-08-18  6:09     ` Uwe Brauer
2024-08-18 12:30     ` Ihor Radchenko

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=87mslgrzba.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=karthikchikmagalur@gmail.com \
    --cc=oub@mat.ucm.es \
    /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).