Tag Info

Hot answers tagged

10

This combination of packages is attempting to load the xeCJK package twice: once on line 11 of ctex-xecjk-engine.def from the ctex package, and then again on line 43 of xeCJK-listings.sty from the listings package. The clash you are getting is that the options are different in each case (the first one specifies [BoldFont,normalindentfirst] while the second ...


4

This is quite easy to achieve. The only restriction is that the cursor can not be in the first line of the block (\begin{tikzpicture}, for instance) when you launch the command we are going to define. Now, we'll redefine the command 'Compile Selected' to do what you want. Go to "Options" -> "Options Interface" and double-click the "Main Menu" item: A ...


4

I can't find any tool which can split a ODT file to standalone pages, so I think easiest way is to make a script which will create a TeX file for each card and call oolatex on these files. We can create one big .bbl file which include all records from a bib file and use this file for each file. The Lua script makecards.lua: local bibfile = arg[1] local ...


3

Package preview can be used to select the floats: \usepackage[active,tightpage,floats]{preview} Or more selective, e.g., figures only: \usepackage[active,tightpage]{preview} \PreviewSnarfEnvironment[{[]}]{figure} The result is a document, which contains the selected floats only. If you want to save compile time, then there are other options: TikZ: ...


3

Just insert the “magic comment” % !TeX program = lualatex at the beginning of your .tex file.


3

A while ago I ran into this issue in a different context. Searching for answers, Stephen's suggestion is the one which I ended up using. morewrites enables more new writes.


3

Use TeX-command-list for this job :) (add-to-list 'TeX-command-list '("DVI to PDF" "dvipdf %d" TeX-run-command nil ; ask for confirmation t ; active in all modes :help "Convert DVI->PDF")) You can find more information on the syntax of these format strings with C-h v ...


2

The following code \documentclass{article} \usepackage{ifthen} \newcommand{\foo}[1]{% \ifthenelse{\equal{#1}{True}}{gagagag}{blablabla}% } \begin{document} \foo{\val} \end{document} yields gagagag when compiled with pdflatex '\def\val{True}\input' file.tex and blablabla when compiled with pdflatex '\def\val{something else}\input' temp.tex ...


2

As you can see from the command line, you've pressed the button 'PDFLaTeX' but you're invoking winedt.exe instead of pdflatex.exe. This means that you've made a mess with your configuration. First of all, be sure that you have a TeX distribution installed, either MiKTeX ot TeX Live. Then, in WinEdt, go to 'Options' -> 'Execution Modes'. There, press the ...


2

Please do not edit the question to ask unrelated questions, it makes the site impossible to follow later, open a new question for new questions. The original problem was exactly as indicated by TeX, a missing } meant that the argument for \emph{.... was not closed before the end of file. The new problem is that LaTeX commands like \documentclass are not ...


2

Note: The following works on all TeXLive-based distributions, but not with MikTeX. I usually put stuff like this in a project-local texmf subfolder. To have pdflatex and others actually search this folder, it has to be added to the TEXINPUTS environment variable. I usually have a sourceme.bash file that I source in the shell: export ...


2

Here is a solution. I make it only with 2 tags but you can add more \documentclass{article} \newif\ifbytag %-------------- here we make the chice by tag or by date (if false) \bytagtrue %\bytagfalse \newcommand{\cartag}{car maintainence} % may one add formatting : bold, space ... \newcommand{\worldtag}{world domination} % may one add formatting ...


2

Combining texcount + knitr + R allows for dynamic in-text word count estimation. The code chunk below works on a Mac by calling the Texcount perl script, running it on "myfile.tex" and then returning a limited set of stats (the -total option) including the sum of all words (the -sum) option. As noted elsewhere in this thread, you may want to adjust the ...


1

Overleaf (Web) Overleaf is the new collaborative writing and publishing system developed by the team behind the popular writeLaTeX editor. Overleaf is designed to make the whole process of writing, editing and producing scientific papers much quicker for both authors and publishers. BaKoMa TeX BaKoMa TeX is an innovative TeX/LaTeX ...


1

I've personally found the following to work just fine for me: { "cmd": ["pdflatex", "$file"] } Here's an explanation as requested. This is the build file code that I use in Sublime Text 3 (this works fine in ST2 as well) to compile my LaTeX (I use MikTex). If you go to Tools -> Build System -> New Build System you can use what I have to build your .tex ...


1

sudo apt-get install texlive-fonts-recommended After installing the recommended fonts the compliation worked like a charm.


1

In build --> define outputfiles --> command line argument to pass to: just delete line command and put instead -interaction=nonstopmode "%pm" when you use latex=>pdf. I think it works !


1

Sorry for opening an old issue, but the above did not work for me. What worked for me was to "Refresh FNDB" from MiKTeX Options (Start -> MiKTeX 2.9 -> Maintenance -> Settings). Note also that a warning box popped up after clicking Settings, which goes away after refreshing FNDB.


1

An alternative route may be to use compat_freebsd - setup for running FreeBSD binaries under emulation and use the FreeBSD XeTeX port.


1

Seems like you have local copy of textcomp in D:\Documentos\Tesis\Circuitos Eléctricos\Latex\Filtros\01. Capacitivo\graficos\scripts\primero\textcomp.sty that is out of date. You should use the Miktex package manager to install textcomp.


1

This is because you use \section*{\centering Article Card}. All sectioning titles are saved by tex4ht and use of \centering seems to break this. \TocTitle is internal tex4ht command containing the saved title, and it is redefined at each sectioning command, so it can't help if you declare it at another place. You shouldn't use such formatting command in ...


1

The biggest culprit (seems to me) would be a large (file size) image, such as a graph with way too many data points or a bitmap with much higher resolution than you need. (I have a friend back in the day generate a Matlab graph of a several second signal from raw data sampled at 40 kHz; the resulting EPS was hundreds of kilobytes and caused similar ...


1

I believe I found the problem. Though I am not clear on why this happened, it appears that a number of my floats broke all at once. I had them referenced as "float: Model" (a custom module), and at some point they all were redesignated to the blank float choice. "float: model" appeared instead, but if you clicked on the float tag (the tab on the top left ...



Only top voted, non community-wiki answers of a minimum length are eligible