Coder Social home page Coder Social logo

Do not enforce `-pdfdvi` about auctex-latexmk HOT 7 CLOSED

tom-tan avatar tom-tan commented on June 12, 2024
Do not enforce `-pdfdvi`

from auctex-latexmk.

Comments (7)

tom-tan avatar tom-tan commented on June 12, 2024

Thank you for your report.

I added auctex-latexmk-options variable for this purpose.
You can customize options for latexmk as follows:

(custom-set-variables
 '(auctex-latexmk-options "-xelatex"))

from auctex-latexmk.

swsnr avatar swsnr commented on June 12, 2024

That's not exactly the fix I wanted.

Please don't pass any options at all to latexmk. You don't need these. latexmk reads a latexmkrc file from the same directory as the document it processes. Use it.

Specifically for -dvipdf, create a latexmkrc file with the following contents:

$pdf_mode = 3

If you insist on options, at least don't make -dvipdf the default. Who's still using DVI anyway?

from auctex-latexmk.

tom-tan avatar tom-tan commented on June 12, 2024

I see.
I remove auctex-latexmk-options and remove options from LatexMk command.

BTW, most Japanese still uses DVI to generate PDF because pdflatex cannot handle Japanese (Chinese and Korean also, I guess) .
So we first generate DVI from LaTeX and then generate PDF from DVI.
We wait for pdflatex to support Japanese...

from auctex-latexmk.

swsnr avatar swsnr commented on June 12, 2024

@tom-tan What about lualatex?

from auctex-latexmk.

tom-tan avatar tom-tan commented on June 12, 2024

Some people heve been developed a luatex macro package to support Japanese.
But it is still in alpha version and I found it does not support Shift-JIS and EUC-JP (Japanese specific encoding).

I want to use only UTF-8 but many Japanese conferences provide style files only in Japanese specific encoding,
and I need to consider these encodings.

from auctex-latexmk.

swsnr avatar swsnr commented on June 12, 2024

@tom-tan Ok, I see. In Europe, many already go for LuaLaTeX or XeLaTeX to make use of modern TTF and OpenType fonts.

from auctex-latexmk.

tom-tan avatar tom-tan commented on June 12, 2024

Anyway, I close it.
Please let me know if you think it is not closed.

from auctex-latexmk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.