Comments (6)
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.
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.
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.
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.
I added the special treatment for MiKTeX.
Please check the latest version.
from auctex-latexmk.
I tested it on a few LaTeX documents, and it appears to be working correctly with MiKTeX. Thanks!
from auctex-latexmk.
Related Issues (20)
- Could not find file [%(file-line-error)] HOT 5
- Support for xelatex breaks PDF viewing HOT 10
- file not found HOT 2
- Cannot get it to work with LuaLaTeX HOT 1
- Cannot view pdf when option $out_dir is set in latexmkrc HOT 4
- How to add shell-escape option HOT 4
- Make latexmk the defautl for TeX-command-master HOT 3
- Add hook to run functions after latexmk is finished
- latexmkrc settings are ignored
- No inherit settings of TeX-PDF-from-DVI HOT 1
- Error parsing no longer works for new version of Latexmk HOT 1
- latexmk with "nothing to do" overwrites `TeX-output-extension` to dvi
- tex-buf is no longer a part of auctex HOT 18
- Adding auctex-latexmk to NonGNU ELPA? HOT 1
- auctex-latexmk does not work with auctex 3.1.1 anymore HOT 1
- tex-buf.el has been merged into tex.el HOT 5
- Support for %(output-dir)
- Link $aux_dir back from `latexmkrc` to auctex
- Drop auctex-latexmk with your own configs tips (replace `TeX-run-TeX` with `TeX-run-format`) HOT 1
- vd'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auctex-latexmk.