# Tag Info

6

PDF files are binary files. They must not copied as text files with automatic line end conversion. Basically a PDF file is a list of objects (indirect objects with object number), whose position in the file is recorded in the cross ref table for fast lookup. When line endings are changed from Unix (1 byte = line feed) to to Windows/DOS (2 bytes = carriage ...

6

If you save an image created in Word, using Save As PDF, it will save a one page document with the image. To turn this document into an image of the right size, you can use the pdfcrop program, which is part of TeX Live (and I assume MikTeX). From the commandline, navigate to your file's folder and then use: pdfcrop <your-pdf-file.pdf> This will ...

5

Package bookmark also supports URI actions in bookmarks, which can be used to link to other files or URLs. \documentclass{article} \usepackage{hyperref} \usepackage{bookmark} \bookmarksetup{open,numbered} \begin{document} \section{Hello World} \bookmark[ level=subsection, uri={http://tex.stackexchange.com/}, ]{URI: TeX.SX} \end{document} However, it ...

4

That's not possible. Whether TeX can continue, heavily depends on the kind of error. \batchmode or \nonstopmode can be used to let TeX continue until the TeX job is finished or aborted. But this does not say anything, whether the PDF file is generated. When an error occurs, TeX cannot clairvoyance. Sometimes the error is fatal with immediate abortion. ...

3

This was done on a smaller scale for a map of Hawaii using a 20x20 grid. For the final version you set the opacity of the map to 1. I find using a checkerboard background helps when aligning links to the map. Using a \parbox instead of tikz \matrix is much faster. I stole the map from http://www.enchantedlearning.com/usa/states/hawaii/map.GIF and ...

2

Add T1 to the font encodings else cm-super won't be used i.e. \usepackage[T1,T2A]{fontenc} - otherwise you'll get OT1 as the default text encoding and the default Computer Modern, I think, which isn't scalable. Since mathabx is causing the problem, you need to ensure that you have scalable versions of mathabx installed correctly. Obviously, you should ...

2

Just for the record: None of the above worked for me, but this thread:http://www.latex-community.org/forum/viewtopic.php?f=5&t=953 Precisely these lines: \usepackage{microtype} \DisableLigatures[f]{encoding=T1} before the \usepackage[T1]{fontenc} line. If all else fails this can be a quick-and-dirty solution. Take care, B

2

\title{} just tells LaTeX what the title is. It doesn't produce any output. To actually typeset the title, use \maketitle. \title{My title} \author{Me} \date{}% if you don't want a date \maketitle

2

The symbols can be set in verbatim mode, e.g.: \documentclass{article} \begin{document} \begin{tabular}{ll} \verb|&| & bitwise and\\ \verb|&&| & logical and\\ \verb|^| & bitwise xor\\ \verb+|+ & bitwise or\\ \verb+||+ & logical or\\ \verb|<| & less than\\ \verb|<=| & less than or equal to\\ ...

1

A more updated answer; the best shot for switching to Preview.app is, in viewPDF.py, to set: if s == "Darwin": viewercmd = ["open", "-a", "Preview"] With this, after compiling, you should be able to execute window.run_command("view_pdf") in the console and it should open the generated pdf with Preview. Then, in makePDF.py, change: if ...

1

I've done the following for including .pdf images in the past... If I want to include an existing .pdf document: \includepdf[offset=30mm -20mm,noautoscale,pages=1-2]{name_of_your.pdf} If I want to include an image, like what you're doing: \begin{figure}[htb] \centering \setlength\fboxrule{0.5pt} ...

1

In evince (a Gnome PDF viewer apparently), I found that there was no Back button by default, but you just have to right-click on the toolbar area, and a toolbar settings menu comes up. You click on that and then drag a Back button to the toolbar area. In operation, you click on this Back button in evince, and it gives a menu of all of the previous pages you ...

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