From: Juergen Fenn <jfenn@gmx.net>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] latex preview and pdflatex-only packages
Date: Sun, 18 Aug 2024 17:00:45 +0200 [thread overview]
Message-ID: <b5af1bfb-5a61-412e-984c-1563a19320b8@gmx.net> (raw)
In-Reply-To: <877ccdykau.fsf@localhost>
Am 18.08.24 um 16:31 Uhr schrieb Ihor Radchenko:
> Juergen Fenn <jfenn@gmx.net> writes:
>
>> If you call latex then pdflatex is executed and you get a PDF file by
>> default, not a DVI:
>
> Not, by default, .dvi is produced when using latex command.
>
> Try the attached file:
> 1. latex test.tex
> 2. dvisvgm test.tex test.svg
>
> then, try
> 1. pdflatex test.tex
>
> You will see a difference in produced output.
I am sorry, you are right:
juergenfenn@Elefant Desktop % latex briefvorlage-2023-11-12.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024)
(preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./briefvorlage-2023-11-12.tex
LaTeX2e <2024-06-01> patch level 2
L3 programming layer <2024-07-20>
...
Output written on briefvorlage-2023-11-12.dvi (1 page, 1520 bytes).
Transcript written on briefvorlage-2023-11-12.log.
But, as you can see from the logfile, this is not "latex", as it used to
be, say, ten years ago, but when calling latex then pdflatex is run in
DVI mode, as the pdftex man page calls it. The TeX Live team replaced
latex as an engine proper some years ago and introduced pdftex as the
default engine. You can change that locally in you TeX Live config or
you tell AUCTeX which engine to use.
I don't think you really want to default to DVI. No one does. After all,
dvisvgm also works with PDF:
DVISVGM(1) dvisvgm Manual
DVISVGM(1)
NAME
dvisvgm - converts DVI, EPS, and PDF files to the XML-based SVG
format
So, if you want to change anything in your setup, proceed from
pdf(la)tex and its options. BTW, the TeX engines are not treated in the
LaTeX Companion which only deals with LaTeX the format.
Best regards,
Jürgen.
next prev parent reply other threads:[~2024-08-18 15:01 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
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 [this message]
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=b5af1bfb-5a61-412e-984c-1563a19320b8@gmx.net \
--to=jfenn@gmx.net \
--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).