Hot answers tagged

60

I managed to find the perfect solution! For some reason, this didn't show up on my previous Google searches. I tailored my version of this solution: http://nimal.info/blog/2010/latex-on-windows-with-miktex-and-notepad/ My version (on a 64-bit Windows 7 machine) is as follows: Download and install Basic MiKTeX 2.9 (32-bit) Download and install SumatraPDF ...


50

You can choose between TeX Live and MiKTeX. In practice, it does not make a difference in which distribution you use. Especially if you are new to LaTeX. However, you should take care that you install the full version, with all packages, and not a minimal or base version. You get MiKTeX from here (choose the 'MiKTeX 2.9 Net Installer') and TeX Live here. ...


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 ...


33

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.


32

TeXLive has options for running from a USB stick.


31

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


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 ...


25

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

Beside writing a custom template, you can add code to the header using --include-in-header=FILENAME: % filename: fontoptions.tex \setmainfont[ BoldFont = Font-Bold.otf, ItalicFont = Font-Italic.otf, BoldItalicFont = Font-BoldItalic.otf ]{Font-Regular.otf} and call: $ pandoc --pdf-engine=xelatex --include-in-header=fontoptions.tex input.md -o output.pdf ...


23

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. ...


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

You're looking for a TeX distribution. See e.g. TeXLive or MiKTeX.


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.


19

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 ...


18

On my Windows 7 system, the following got things working: Download and install Python 2.7.2 Download and install distribute Add C:\Python27\Scripts to the Windows path (I also added C:\Python27 for general convenience) At the Command Prompt, do easy_install Pygmentize That is it install-wise: the current Pygmentize does come with a Windows executable. You ...


18

Update 2014-02: It has been two years since this response was written. As of February 2014, available packages for USB installation are: TexLive option to run from USB stick (for multiple OSes), MikTex Portable, and TexPortable (both Windows). Original response: I guess you're looking for USBTeX: http://www.exomatik.net/U-Latex/USBTeXEnglish Update 2014-...


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> + ...


16

You must adapt the PATH-variable if you want to use the "other" system. This should work fine. I have a small TeX Live-like LuaTeX-system for testing and it can even share some roots with my main MiKTeX, MiKTeX doesn't complain about the ls-R-files lying around. The only problem I have is that I sometimes get confused and no longer know which system I'm ...


16

I've been doing exactly what you're contemplating doing -- having both TeX Live and MiKTeX on the same system and being able to access one or the other distribution -- for about two years. My front-end is the program editor "winedt" (version 5.6), and all I have to do to switch from one system to the other is to go to "Options" -> "Configurations" and choose ...


16

I'd go with latexmk -- versions exist for at least the following that I can verify: Ubuntu and Debian. It's not part of their old TeX Live installations, but packaged separately TeX Live 2011 on Windows (includes version 4.26) MacTeX 2010 (it's in the disabled engines folder for TeXshop by default, but can be easily enabled) It may be available on other ...


16

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 ...


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 ...


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

Your steps for installing the font appear to be correct. You get no font change in your sample document because you're defining ComicSans as the default "sans serif" font, but you aren't choosing that font family. \begin{document} Somebody would say that this \textsf{Hello world} printed with a fancy font is awful. \end{document} If you want the font to be ...


13

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 ...


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