# Tag Info

## New answers tagged compiling

1

I think that latexmk is designed for this kind of situation. It's included in some TeX distributions, so you may have it already. Once it's configured properly, you should just have to run it once, and it will automatically detect whether Python needs to be run, run it, and then rerun LaTeX if needed. Anyway, once you have latexmk, in Emacs, run M-x ...

1

I suggest you don't hack on AUCTeX's commands but define your own one. You can define a series of shell commands to run via TeX-command-sequence. (TeX-command-sequence COMMAND &optional RESET FILE-FN) Run a sequence of TeX commands defined by COMMAND. The COMMAND argument may be nil: no command will be run in this case a string ...

1

Something went wrong with the installation. Under .../texlive/2019/texmf-dist/tex/latex/latexconfig/ resides a file called pdflatex.ini. It seems this is missing in your installation. Can you call tlcockpitand under "Tools" click on "Rebuild all formats"? Or if you use tlshell, there also you can rebuild the formats. Please watch the log, if you get an ...

3

tex4ht compiles document in the DVI mode, where the only graphics format supported out of the box is eps. If you want to use jpg, png, or svg, you need to declare list of extensions that should be looked up in the image inclusion. This can be done in a configuration file: \Preamble{xhtml} \DeclareGraphicsExtensions{.png,.jpg,.svg} \begin{document} \...

0

In the meantime I have found a solution that is robust and that involves: A Docker image A GitHub repository A CI such as TravisCI A Makefile One minimal example would be https://github.com/heig-vd-tin/refcard A Makefile allow to use the Docker image to build the project # Sed replacement for WSL PWD!=pwd | sed 's/^\/mnt//' DOCKER=docker run -it -v "$(... 1 No problem with the following preamble and up-to-date TeXLive2019 \documentclass[10pt,a4paper]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{fontspec}%setmainfont的依赖 \usepackage{etoolbox} \usepackage{ctex} \usepackage{CJK} \usepackage{geometry} \usepackage{color} \usepackage{setspace} \everymath{\displaystyle}%... 1 Your document's code suffers from several commonly-encountered problems: Load the hyperref package last. There are very few exceptions to this rule. (The cleveref package is one of those exceptions: It must be loaded after hyperref.) Don't load both subfig and subcaption. They are not mutually compatible. Choose only one or the other, but not both. The ... 1 I use TeXStudio with TeXLive and it works fine. Yesterday I was installing Julia, Atom, Juno, Anaconda and many other things and I also changed some paths in the environment variable of my computer. This caused my TeXStudio shows an exactly similar error as in the question here and also the question in the post in this link (click here). This is the error I ... 1 If you activate the Messages/Log window, you will see the following buttons on left. The button which I indicatied is Stop Process button. You can press this button when compiling. 1 Basing on @UlrikeFischer 's response, simply going into Options > Configure TeXstudio > Production and de-activating Check and update bibliography did the trick for me. 1 In order to combine multiple TeX files into a single one (which is needed if you want to compile it with a single step into a single PDF) you'll need to use the \include macro that will basically copy the text from the referenced file and paste it into the current document at the position the \include has been encountered (to be more precise that's how \... 4 Whatever is the system you're using for Chinese (here I use xeCJK), you need to \protect the fragile command \underbrace. Anyway, I find it a bad idea to have such a complicated set of formulas in a title. And no, don't use Chinese characters in math mode. \documentclass{article} \usepackage[hmargin=1cm]{geometry} \usepackage{amsmath} \usepackage{xeCJK} \... 3 Something like this? \documentclass{article} \usepackage{amsmath,geometry} \begin{document}$x_{1}=\sqrt{2}$,$x_{2}=\sqrt{2+\sqrt{2}}$, \dots,$x_{n}=\underbrace{\sqrt{2+\sqrt{2+\dots+\sqrt{2}}}}_{\text{$n$ times}}$, \dots {\Large$x_{1}=\sqrt{2}$,$x_{2}=\sqrt{2+\sqrt{2}}$, \dots,$x_{n}=\underbrace{\sqrt{2+\sqrt{2+\dots+\sqrt{2}}}}_{\text{$n$ \...

1

Vim provides events for which you can define autocmds to execute whatever you want when an event occurs. :h autocmd-events I would thus suggest you put the following in ftplugin/tex.vim autocmd! BufWritePost *.tex normal ,ll After this line is evaluated, everytime you write with :w on a file which ends with .tex, vim will execute ,ll as if you were in ...

4

Although Mico already showed how it can be done (+1), and well pointed about the sense of have a numbered caption here, it hasn't been said yet whether if you should do it or not. Ask yourself what the purpose of a footnote is, and if a note with tables serves that purpose. IMHO, accessory texts are not enough important to have detailed data in tables. If ...

6

You can't have a floating environment, such as figure and table, in a footnote. Solution: Don't use a table environment. Instead, load the caption package and use its \captionof macro to create the equivalent of a table caption. Do ask yourself, though, if the tabular material in the footnote really requires a numbered caption. \documentclass[12pt]{...

2

.aux files are caches to improve compilation, but could become corrupt. You should delete the .aux file, which may have been corrupted during a previous compilation (click on Logs and output files, then on Clear cached files). This also explains why a new project would fix the problem since it doesn't have any auxiliary files to begin with.

8

arara can change the jobname. I made a copy of pdflatex.yaml called pdflatexX.yaml and changed it in two places, at the identifier: identifier: pdflatexX and at the draft rule (I don't think that it is useful anyway, I never use --draftmode): - identifier: draft flag: > @{ joboption='--jobname='; jobname=getBasename(file).concat('-...

0

Here is how I entered in settings.json and it worked well. Thanks user156344. { "workbench.colorTheme": "Noctis", "editor.fontFamily": "'Droid Sans Fallback', 'Droid Sans Mono', 'monospace', monospace", "editor.fontSize": 20, "files.autoSave": "afterDelay", "files.autoSaveDelay": 5000, "latex-workshop.view.pdf.viewer": "tab", "latex-workshop.latex.tools":[ ...

Top 50 recent answers are included