Tag Info

Hot answers tagged

8

I'm using glyphtounicode support file (even with Czech/Slovak related IL2 font encoding) from TeX Live for some time now, I cannot test it with MiKTeX, unfortunately. We run: pdflatex mal-sk.tex pdftotext -enc UTF-8 mal-sk.pdf The result is: 1 ľščťžýáíéäúôň, it shows the page number and the document content. I enclose the code. Please, try it if it fits ...


6

I'm afraid there is no solution for this, apart from using the command \texorpdfstring, that is you have to specify what has to go in the text and what has to go in the bookmarks. Hence, substitute \section{Proof to \Cref{some label}} with \section{Proof to \texorpdfstring{\Cref{some_label}}{Theorem \ref{some_label}}} Note that it isn't a good idea to ...


5

classicthesis already loads hyperref, so you have to use \hypersetup to set the metadata (Hint: do not use pdftex): \documentclass{article} \usepackage{lipsum} \usepackage{url} \usepackage[nochapters]{classicthesis} \usepackage{graphicx} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{mathtools} \usepackage{tabularx} \usepackage{booktabs} ...


4

The PDF format also knows link annotations with named actions, which calls functions of the PDF viewer. The official list of these named actions in the PDF specification for version 1.7 (ISO standard version) is quite short: NextPage, PrevPage FirstPage, LastPage However, the list supported by AcrobatReader is much longer. Section "5 Acrobat-specific ...


3

First method (with shorttoc) The easiest method is to use the command \anothertableofcontents from the shorttoc package, which loads and prints the ToC from an arbitrary .toc file. If your main document is my-report.tex \documentclass{article} \usepackage{blindtext} \begin{document} \tableofcontents \blinddocument \end{document} create a ...


3

\autoref knows only a basic set of names; just teach it what it should substitute for thm: \documentclass{article} \usepackage{hyperref} \usepackage{cleveref} \pdfstringdefDisableCommands{\let\Cref\autoref} \newtheorem{thm}{Theorem} \newcommand{\thmautorefname}{Theorem} \newtheorem{theorem}{Theorem} \begin{document} \section{Section 1} ...


3

You can use the Times font TeX Gyre Termes: \documentclass{article} \usepackage{tgtermes} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \input glyphtounicode \pdfgentounicode=1 \begin{document} \noindent \rmfamily rmfamily: zażółć gęsią jaźń \\ \ttfamily ttfamily: zażółć gęsią jaźń \\ \end{document} Copy and paste from the .pdf gives this ...


2

Your overpic is in a paragrapĥ with indentation. Use \noindent to remove this indentation: \documentclass[a4paper]{article}% ensure identical page size \usepackage[abs]{overpic} \usepackage{tikz} \usepackage{geometry} \geometry{a4paper, top=0mm, left=0mm, right=0mm, bottom=0mm} \setlength\unitlength{1mm} \begin{document} ...


2

I also encountered this problem while trying to achieve exactly the same thing as you with the Friggeri template. This problem comes from a bug with the pdf engine of XeLaTex with OTF font file format when it is at a particular resolution as discussed in http://typophile.com/node/46451. As a workaround, you can use the .ttf version of the font. To do this, ...


2

The scanner does not store the scan as simple bitmap. It uses several bitmaps that are combined using soft masks and the optical content group (OCG) feature. The latter causes the trouble, because some data are stored in the catalog of the PDF document, not in the page or its resources. The TeX engines pdfTeX and LuaTeX only store the page with its ...


1

As I answered for Friggeri resume - Very different rendering in different readers, this problem comes from a bug with the pdf engine of XeLaTex with the OTF font file format when it is at a particular resolution as discussed in http://typophile.com/node/46451. As a workaround, you can download the latest FontAwesome package at ...


1

pdfnup uses pdfjam, which in turn uses the LaTeX package pdfpages. The latter one knows the option rotateoversize, from the documentation: This option allows to rotate oversized pages. E.g. pages in landscape orientation are oversized relatively to their portrait counter- part, because they do not match within the contour of a portrait page without ...


1

The solution is simple. Open your PDF using some PDF viewer/editor. For instance using Foxit Reader. Then print the file using a virtual printer, for example Foxit PDF printer. The printed version of your PDF would be image-based. However, to increase the quality you can choose a higher resolution, such as 300 dpi. The printed PDF file can be easily uploaded ...


1

An unusual short answer from me: The import package is 'only' suitable for importing/inputting/including subdocuments, which in turn might have basically any valid LaTeX code (few exceptions remain, of course). It allows for setting remote paths but the \subimport or \import command cannot be used as a replacement for \includegraphics or \includepdf ...


1

The \Cref command cannot be used in \section when bookmarks are being produced; however, \autoref works (it's less powerful, though). For a simple application like this you can do as follows: \documentclass{article} \usepackage{hyperref} \usepackage{cleveref} \pdfstringdefDisableCommands{\let\Cref\autoref} \newtheorem{theorem}{Theorem} \begin{document} ...


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



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