all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Edgar Lux <edgarlux@mailfence.com>
To: emacs-orgmode@gnu.org
Subject: Re: keep intermediary tex from latex preview
Date: Mon, 5 Jun 2023 13:42:04 +0200 (CEST)	[thread overview]
Message-ID: <1231785162.405911.1685965324325@ichabod.co-bxl> (raw)
In-Reply-To: <506828705.392205.1685957671177@fidget.co-bxl>

By the way, using Ihor's suggestion, I was able to debug the issue. There is nothing wrong with my configuration. The issue is that the font cannot deal with that symbol, and LaTeX just skips it. Still, it would be convenient not to have to create a separate .tex to debug the preview. Thanks!

On Jun 5, 2023 at 11:34 AM, Edgar Lux <edgarlux@mailfence.com> wrote:When using xetex and dvisvgm, an equation like this:

    \(µp\)

will render as p (see attached file), most likely because my configuration is
wrong. I don't know how I fixed it for another buffer, but then I restart
and--without knowing what happened--the "no-µ" behaviour is back.  Also (I am
not saying that I have a test case), some times the PDF is produced correctly,
but the preview isn't. Also, in the past, I have noticed that the (failed) .tex
for a (wrong) preview is slightly different. When the equation is definitely
wrong, I get to see the .tex in =/tmp/=, but the Emacs + LaTeX configuration is
so versatile that I get an output even if I type =\({µp\)= (which is a good
feature in most cases). Right now, 

1. setting (setq org-latex-pdf-process '("cp %f /tmp/debug.tex"))
2. reloading Org (org-reload) and
3. creating a new Org buffer 
4. preview or export to PDF 

does not produce =/tmp/debug.tex=. I hope that I was able to describe my
situation. Right now, I will look into =org-latex-packages-alist= again. I want
to say that I appreciate Emacs and Org very much. Thank you.

On Jun 4, 2023 at 5:52 PM, Timothy <orgmode@tec.tecosaur.net> wrote:Hi Edgar,

> Looks promising!
> Is the functionality which I mentioned there as well? (get the .tex for the
preview even in absence of error)

Currently, no. Could you elaborate on why you’re interested in this
functionality?

All the best,
Timothy

-- 
Timothy (‘tecosaur’/‘TEC’), 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/tec>.

-- 
Sent with https://mailfence.com  
Secure and private email

-- 
Sent with https://mailfence.com  
Secure and private email


  reply	other threads:[~2023-06-05 11:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-03 19:50 keep intermediary tex from latex preview Edgar Lux
2023-06-04  6:34 ` Ihor Radchenko
2023-06-04 15:39   ` Edgar Lux
2023-06-04 15:52     ` Timothy
2023-06-05  9:34       ` Edgar Lux
2023-06-05 11:42         ` Edgar Lux [this message]
2023-06-05 14:54           ` Ihor Radchenko
2023-06-05 15:07             ` Timothy
2023-08-13  5:13             ` Karthik Chikmagalur

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=1231785162.405911.1685965324325@ichabod.co-bxl \
    --to=edgarlux@mailfence.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.