Coder Social home page Coder Social logo

Comments (6)

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

Would you show me the contents of */path/to/texfile output* buffer after you first run C-c C-c?
I can not use MikTex because I do not have any Windows machines.

from auctex-latexmk.

barik avatar barik commented on June 12, 2024

I created a minimal hello.tex file and ran C-c C-c using latexmk. I have included the contents of the output buffer in the following gist: https://gist.github.com/barik/8303188

from auctex-latexmk.

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

Sorry for late reply.

There seems no problems with the contents of your output buffer.
I prepared a Windows 7 x64 machine and tried to reproduce the issue, but I could not.

Are there some other settings or am I missing something?
I did the following instructions to try to reproduce it.


I install Emacs 24.3 and StrawBerryPerl 5.16.33 via Chocolatey,
and install MikTeX 2.9.5105 by hand (because I failed to install it via Chocolatey).

I install AUCTeX and auctex-latexmk via package.el and install LatexMk via MikTeX package manager.
I used the following init.el for Emacs:

(require 'package)

(add-to-list 'package-archives
 '("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)

(auctex-latexmk-setup)

I write the following files for LatexMk config and TeX input file:

$pdf_mode = 1;
$pdflatex = "pdflatex -interaction=nonstopmode";
\documentclass{article}

\begin{document}
\end{document}

I run C-c C-c with LatexMk and I recieve LatexMk: successfully formatted [0] pages in the minibuffer.
But it does not generate any PDF file. Here is the contents of the output. https://gist.github.com/tom-tan/8629749

from auctex-latexmk.

barik avatar barik commented on June 12, 2024

That is because you have compiled an empty document, although I would say that if a PDF can't be generated then it should not say successful, since the compilation is actually unsuccessful. The problem of interest occurs for me when the document is non-empty:

\documentclass{article}

\begin{document}
Hello
\end{document}

On the first compile (C-c C-c), I will receive: LatexMk: problems after [0] pages. Then on the second compile, I will receive: LatexMk: nothing to do. Finally, I'll receive View. LatexMk should only have to compile this document once.

from auctex-latexmk.

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

I added the special treatment for MiKTeX.
Please check the latest version.

from auctex-latexmk.

barik avatar barik commented on June 12, 2024

I tested it on a few LaTeX documents, and it appears to be working correctly with MiKTeX. Thanks!

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.