Tag Info

New answers tagged

0

A quick but dirty work-around: 1. Convert the stubborn .eps outside of the editing enviornrmetn you are working in to PDF (you can use Inkscape for the conversion). 2. Save the PDF at the desired location. 3. Compile again, but this time epstopdf will skip the conversion since there is already a PDF version of the EPS. 4. Rendering should be fine now.


0

I managed to solve the problem by including opts_chunk$set(fig.path = "./figure/") in paper.Rnw.


1

The problem are not the slashes/backslashes. Neither ksepwhich -progname=latex figure/Fig1.pdf nor ksepwhich -progname=latex figure\Fig1.pdf will work on miktex. If you want to find files in subfolders one must add ./ at the begin: ksepwhich -progname=latex ./figure/Fig1.pdf ksepwhich -progname=latex .\figure\Fig1.pdf will both output ...


0

I've had a similar problem with Texmaker at work (where some computers don't run with administrator privilege by default). I had to run the program as an administrator to 'find' the required packages and style files and successfully install them.


1

If there are only one author and one class (i.e., without using \and), some like this could be enough: \documentclass[11pt]{article} \makeatletter \def\class#1{\gdef\@class{#1}} \def\@class{\@latex@warning@no@line{Hey you, no \noexpand\class given}} \def\@maketitle{% \newpage \null \vskip 2em% \begin{flushright}% \let\footnote\thanks ...


1

You can use xmpincl, "which allows you to add arbitrary metadata in the Adobe XMP (Extensible Metadata Platform) format. But you have to write a separate XML file to do this" (suggested in threads here). They also propose a more recent package hyperxmp. You can find an example .xmpdata file and other files needed on creating high-quality PDF/A documents ...


3

You need to recreate the lualatex format. Try first to do it with miktex-settings (admin). If this doesn't help you probably have a format in your user profile which takes precedence and which the admin tools can't overwrite. In this case you must recreate the format with the user miktex-settings.


0

Just a heads-up, you definitely need to include the trailing /: \graphicspath{{./figures}} won't work but \graphicspath{{./figures/}} will. In case anyone else is scratching their head about this when they should be writing more dissertation sections...


2

At the first startup (or to be more precise, when there is no settings file yet), TXS tries to detect existing LaTeX installations. If you started TXS without having a LaTeX installation, the commands will be empty. You can repeat the detection by restoring to the default settings. If that doesn't work, here is a screenshot of the default command ...


1

As an administrator I do not want to have a lot of work by downloading and installing MiKTeX packages, if users needs them. The best way (for the users and the administrator) is to install the complete MiKTeX (then users need not to ask for a package and have to wait until I (the admin) have time to search, download and install it). All four weeks I would ...


-1

Under Windows just go to C:\Program Files(x86)\MiKTeX2.9\miktex\bin and run the file updmap.exe


1

Upon quick search, the dialog window could be accessed through the executable file to be found as the following directory: If the machine was 64-bit based, it it likely to be found as: C:\Program Files\MiKTeX 2.9\miktex\bin\x64\mo_admin.exe Otherwise, the "MikTex Options" dialog window will be found as: C:\Program Files\MiKTeX ...


2

This code compiles fine with MiKTeX: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \newtheorem{afnSpace}{Definition}[section] \newtheorem{frameDef}[afnSpace]{Definition} %Actually 5th definition \newtheorem{frameDef s1}{Definition}[afnSpace] \begin{document} \setcounter{section}{1} \section{Affine ...


2

Before answering, let me ask again: Do you really want to use plain TeX? If so, here's a document that should compile with pdftex: \input miniltx \input graphicx \includegraphics{Figure10.png} \bye


1

It seems that you must have the optional caption argument if you want that the figure appears in the list of figures. \documentclass[a4paper, 11pt]{scrartcl} \usepackage{graphicx} \usepackage{hvfloat} \begin{document} \listoffigures \section{Testdokumentation} \label{sec:testdokumentation} \hvFloat[ nonFloat=false, capWidth=w, capPos=b, ...


0

What about using nonstopmode instead of batchmode? As far as I know nonstopmode does the same as the normal mode, but does not hold on errors. batchmode is intended not to put a lot of output to the terminal.


0

The following steps worked for me after building format files was not sufficient (pdflatex kept throwing errors re dump file not found and lualatex just quit silently): Uninstall MikTex. Blow away all instances of MikTex folders under all of the user's folders. Reinstall MikTex (the most recent version). In my special scenario there were additional steps ...


0

Just wanted to mention a scenario where I got error 5 'access denied'. I run lualatex from an ASP.NET web site under impersonation. According to this http://support.microsoft.com/en-us/kb/317012 an impersonating user actually uses Default User directory and runs as NETWORK SERVICE. I might be getting it wrong, but the solution is anyway, to create MikTex ...


10

According to Ulrike Fischer comment (see above) "Open Miktex settings, go to the tab Formats, select lualatex and click on Build" First do it in admin mode, then in user mode. Now everything is working!


5

\documentclass{article} \begin{document} \begin{picture}(100,100) \put(20,20){\vector(-1,0){0}} \put(20,20){\vector(1,0){50}} \put(30,60){\makebox(200,5){\upbracefill}} \end{picture} \end{document}


2

pdfTeX consists of TeX and the driver part, which produces PDF. Therefore it is able to detect the bounding/media boxes of the included image files. A manual specifying of the bounding box does not make much sense: The user would have to determine the bounding box values. What's the bounding box of a PNG file? What is the bounding box of the fifth page of ...


0

Solved that by editing \Program Files (x86)\MiKTeX 2.9\miktex\config\texmf-defaults.ini and changing the line save_size=1000000 ;;50000


5

If I compile on my system with save_size=1000000 lualatex bigforest I get no TeX capacity exceeded error, at least until the ! Dimension too large. <recently read> \pgf@x l.4628 \end{forest} error shows up. So one can certainly lift off the limitation on the save size (LuaTeX needs to allocate some special space for it, but it's extendable at ...


0

Since the command line version works for the OP, it looks like a TeXWorks setup problem. The following additions to the TeXWorks compilation options work for me. I am sorry for german texts in the screenshots from my PC. The first one is for setting up a pdfLaTeX compile option with --shell-escape: The second one is for a pdfLaTeX+MakeIndex+BibTeX ...



Top 50 recent answers are included