Hot answers tagged

39

You can use pdfpages: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages={-},angle=30]{main} \end{document}


36

You have to give yourself the permissions to read and write in MiKTeX 2.9 folder. Go to Program Files and right click MiKTeX 2.9 folder. Then click Properties > Security Tab > Edit Button. Select Users (Bla/Bla) from the list and check all grants. If that is not enough, click Advanced button on the Security Tab. A window named Advanced Security Settings ...


36

Edit October 2015: MikTeX now includes the 64-bit version of Biber. Biber is only included in the 32-bit version of MiKTeX. Either install the 32-bit version (the 64-bit version is still experimental) or download Biber and copy biber.exe to $texfm$\miktex\bin.


27

If either of these two cases (or both) apply:--- [portability problems] examplestyle.sty = a file as described in the original question: namely, a personal .sty file generally available and used by several on-going projects (e.g., in TEXMFHOME or the less convenient place MikTeX likes to put it); [long-term stability problems] use of packages that are under ...


27

As far I know, one nice true WYSIWYG editor that is BaKoMa, although include also a source editor. There are licenses since 55$ but there are a evaluation period, so you can test for free if the ratio quality/price is enough. Another shareware program,Scientific Workplace is a WYSIWYW (what you see is what you want, nearly to a WYSIWYG) that import/...


24

When you compile a document foo.tex with, say, pdflatex through Texmaker, what happens “internally” is that in foo.tex’s directory, pdflatex foo.tex (probably with a few options) is called, as if on the command line. But how does Windows know where pdflatex is? Odds are your document is not in the same directory as your *TeX binaries. The answer is the PATH. ...


22

Python 3.4 and newer come with the package manager pip already included: http://docs.python.org/3.4/whatsnew/3.4.html Setting up minted+Pygments has therefore become very easy: Install the latest Python 3.x (PATH can be set during installation). From a normal command prompt, run python -m pip install -U pygments. This will create a pygmentize.exe in the ...


21

How about the menukeys package? \usepackage[os=win]{menukeys} .... \menu{{Open with}>{VLC media player}} Output:


21

Well, it depends on which distribution you use: 1) TeX Live 2012: Just update via Package Manager, arara is part of TeX Live 2012. 2) MikTeX: Under the assumption that MikTeX does not provide arara (I only use TeX Live) do a) Get the installer from BinTray, under the Downloads section (at the time of this writing, the current version is 3.0) b) Run the ...


20

If windows 8 has as windows7 a search window then type "settings", this should find the miktex settings. Or go in the windows explorer to the miktex/bin folder and start mo.exe.


17

The paths to your LaTeX und PdfLaTeX are wrong. latexsym.sty is a package, which isn’t ever gonna compile anything, and pdfetex.exe is a compiler, but definitely not the one you’re looking for (see e.g. Glossary of TeX and LaTeX terms). If MiKTeX is in your PATH varible (which usually is the case if you installed it normally), you don’t need to specify the ...


17

LaTeX Error: File `listings.sty' not found. This error message means the source file needs the package listings but the system doesn't have it. MikTeX was designed to be a TeX distribution that can install missing packages automatically, but this feature doesn't work well. Fortunately, you can install packages manually in three steps: Press <Win> + ...


15

Font Awesome provides a number of operating system logos (compile with XeLaTeX/LauLaTeX): \documentclass{article} \usepackage{fontspec,fontawesome} \newcommand{\faWindows}{\FA\symbol{"F17A}} \newcommand{\faLinux}{\FA\symbol{"F17C}} \newcommand{\faApple}{\FA\symbol{"F179}} \begin{document} \verb|Windows:| \faWindows \par \verb|Linux :| \faLinux \par \...


15

I suspect it's a problem with the font cache XeTeX needs to locate the installed fonts; try running fc-cache -fv to rebuild it. On Macintosh systems, fontconfig isn't used, so this problem doesn't occur.


15

In collaborative projects with source files being edited on a variety of platforms, editors, and locales, encoding issues can become a real PITA. In such setting, it is best to define one "right", mandatory encoding (UTF-8), communicate this clearly and stick to it. However, in many cases the collaborators, especially if they stem from the Windows or Mac ...


14

If you want to have a "resume/pause"- like feature when downloading TeXLive then mirroring it on your hard drive is a good approach. Advantages of mirroring TeXLive: We can pause or resume the download. We can share the raw TeX distribution for other users in our local network. As a result, we save internet bandwidth. We can update or sync our single raw ...


14

Add the following to your .emacs file: (set-default 'preview-scale-function 1.2) Adjust the value according to your needs.


14

Unlike pdflatex lualatex doesn't trigger the tfm generation from a mf-source if it can't find the tfm (this is not miktex specific: it doesn't do it in texlive either, but there bbold10.tfm exist in the main tree while miktex installs only the mf-sources). So in miktex one has to first call pdflatex which triggers the creation of the tfm and can then use ...


13

The problem might be due to issues with setuptools (for example with UAC). Here is an installation procedure which is working for me: Install Python 2.7 Install distribute (replacement for setuptools because it is buggy and no more maintained) Add C:\Python27\Scripts to your PATH Install pip: easy_install pip Install pygments: pip install pygments These ...


13

I would probably first try Portable MiKTeX. The website for distribution includes instructions on using it, and adds useful options to the context (right-click) menu for the drive you put it on. Configuring with a non-portable editor might be tricky, so I'd go with the TeXworks editor that is bundled with Portable MiKTeX. If you cannot use the context menu ...


13

everyshi belongs to the ms bundle, which consists of several packages by Martin Schröder. If TeX Live or MiKTeX is used, you don't need to install everyshi as single package, such as by compiling everyshi.ins or everyshi.dtx. Instead, use the package manager (tlmgr or mpm, respectively) to install the ms package provided by both distributions.


12

Starting from TeXmaker 4.0 built on Qt5, with TeXmaker 4.0.1, save it as .tex extension otherwise it will pop up error due to Qt5 file dialog box. It is not saved as .tex automatically starting from new version(4.0) as latex file can have many extensions like .cls .sty .dtx etc.. Update: "It's not a bug, but the default behavior of the Qt5 file dialog" as ...


12

If you have the Surface Pro, you can install MiKTeX or TeX Live as per any other Windows computer. If you have the Surface RT, there is no precompiled TeX distribution available for ARM processors yet. If you'd like to try building TeX Live for ARM, you can check the build procedure.


12

There is probably no latex compiler which supports parallel compilation. The short reason is: The way latex typesets documents is essential linear. If latex would typeset different document parts in parallel, they would need to be merged at the compilation. However to get the same result as in the non-parallel case, you would need to have a compilation run ...


12

Close texworks. Compile your document in some other editor or on the command line so that miktex can do whatever maintenance tasks it wants to do. There is a bug report that texworks currently interferes with miktex: http://sourceforge.net/p/miktex/bugs/2394/. This bug shouldn't affect normal compilation later on.


12

After some search in the internet and tex.sx, I finally know the cause. I have installed a new font into my computer a few days ago but have not run the fc-cache program. Following the post here, here is the solution: go the directory where the Texlive bin resides (in my computer, it is D:\texlive\2016\bin\win32) and execute fc-cache -f (if fc-cache is on ...


11

In OneNote 2010, at least (which is the only version I have), you can enter at least some LaTeX directly in math mode. I say at least some because I am discovering it by experimentation rather than reading about it in OneNote documentation (if any such documentation exists). Here are a few examples (after first selecting the type tool and entering math ...


11

I suggest to download one ISO file from a mirror of your choice or via Torrent. You can find some links here. I think, now more than ever, that this is the most advantagious way to acquire TeXLive because the 2012 version has been released few days ago, so the DVD is really up-to-date at the moment and, with torrent or with a good mirror, you'll have it in ...


11

The name of the DDE server for version Adobe Reader XI (i.e. version 11) must be AcroViewR11, cf. Big Changes in the DDE Naming Convention for Acrobat X. According to the error message you still use acroview. In the blog entry you can also read, that for Adobe Acrobat XI the DDE server would be AcroViewA11.


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