pdfTeX is an extension of TeX which is capable of directly generating PDF output. Use this tag if the used engine – pdftex/pdflatex – is significant to your question.

learn more… | top users | synonyms (1)

1
vote
0answers
6 views

'Package pgf Error: No shape named is known' for nodes defined in matrix

On my local system \graph is not able to recognize nodes defined \matrix \documentclass{article} % say \usepackage{tikz} \usetikzlibrary{calc,intersections,through,backgrounds} ...
3
votes
0answers
18 views

Issue with pdfminorversion while using pdfx package

Considering the following LaTeX code: \documentclass{book} \pdfminorversion=5 \usepackage[a-1b]{pdfx} \usepackage{graphicx} \begin{document} \begin{figure}[!htb] \centering ...
1
vote
2answers
34 views

Using \c{e} and other special characters in .bib files with pdflatex+biblatex+biber: How to avoid Package inputenc Error?

I use Mendeley to manage my bibliography and have it automatically update .bib files. Unfortunately, this often leads to the "Package inputenc Error" when compiling. I narrowed my problem down to ...
4
votes
3answers
327 views

Unicode symbol for space prints some kind of rising dash?

I have the minimal example \documentclass{article}\begin{document}Here\char"0020{}There\end{document} I wanted to show that a LaTeX document can be written completely without any white spaces. The ...
0
votes
0answers
24 views

How to place an “Export as PDF + Latex from Inkscape”-image above a \includegraphics image (overlay)

When you save images as a PDF, checking the PDF + Latex option, one gets 3 files: filename.pdf filename.pdf_tex filename.svg If you'd like to include this exported image in a Tex document, this ...
2
votes
2answers
90 views

How can I place a 1 cm margin to a set pdf book (a6) to print

So I've already got my book ready set for a6 paper: contents, latex compilation, and I'm already satisfied with the end result of pdf I've got. However I've noticed that it'd be good to add a small ...
2
votes
0answers
26 views

How to put on and off comments while publishing latex documents into PDF [duplicate]

I created a file using TeXstudio, I have lots of comments in the document. I want publish the document one version with the comments and the other without it. Is three a way to put on and off comments ...
1
vote
0answers
30 views

\index command adding spaces after underscores

I am writing a document with an index of commands that may contain an underscore symbol. Thus, I use entries like: \index{a\_b} However, the .idx file contains code of the form: \indexentry{a\_ ...
0
votes
0answers
13 views

How to center watermark using draftwatermark? \SetWatermarkHorCenter is not working [on hold]

I'm trying to center the watermark on my document using \SetWatermarkHorCenter. It works fine on Windows (MikTex - TexStudio), but it's not working on Linux (Ubuntu Server 14.04). I've managed to ...
1
vote
1answer
20 views

Question marks in cross-referencing after using pdflatex command

I am working on a software, to automatically generate *.tex-files with some predefined and generated text inside. After generating the files, I am calling the Windows command line (CMD) and try to ...
0
votes
0answers
48 views

Error while generating pdf

I get this error while trying to generate PDF. Please help. ! Undefined control sequence. l.19 =1mm \tabulinesep =1mm
0
votes
0answers
40 views

Latex error. Unknown graphics extension: eps, file.eps not found

I am running the following code in texlive (latest version) in linux and got the error Unknown graphics extension: .eps. . I tried removing .eps extension but it gave me file.eps not found. my path is ...
2
votes
1answer
42 views

Separation of two authors using the amsart document class

I want to achieve a similar result to this one (see answer). However, I am using the amsart document class and the result for that code is this: The problem I believe is with the \and command that ...
3
votes
1answer
71 views

Pdflatex refuses to process .bib file with hash sign #

Pdflatex (not Biber) complains in the howpublished line in the bbl about the hastag sign. It does compile when I delete the hastag, but whats wrong, how to prevent this in the first place? Illegal ...
1
vote
1answer
17 views

Texmaker cannot find class file. “LaTeX Error: File `revtex4-1.cls' not found.”

I am using Ubuntu 16.04 with Texlive, and more specifically with the Texmaker graphical editor. I am attempting to use a class file from a third party, .cls, which is located in a subdirectory of ...
0
votes
1answer
10 views

How I can align 2 equations with LaTeX?

I'm writing an article and I would like to write two equations which will be align with the egal sign. My script : \begin{eqnarray} \begin{center} $ X = ( \alpha_i - \alpha_0 ) * cos (\delta_0) \\ Y ...
1
vote
1answer
124 views

How to run shell command with \write18?

I want to use the command \write18 with shell or other excutables rather than only a restricted list of programs as it says here: http://tex.stackexchange.com/a/20446/92620 How can i bypass the ...
1
vote
1answer
30 views

inserting a single unicode character with pdflatex

I would like to include a special character in my LaTex document : Ꝃ (it is used in breton for an abbreviation for "kêr", which means "place" or "house", and used in the naming of locations) Here ...
1
vote
0answers
33 views

How to correct alignment in exam class page layout?

I'm creating MCQ paper using EXAM class. \begin{center} Section II \newline Multiple Correct Answer Type \newline This section contains 10 Multiple Choice questions. Each question has four choices ...
1
vote
0answers
31 views

latex pdflatex version error

LOG FILE: This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9) (preloaded format=pdflatex 2016.5.2) 22 MAY 2016 12:21 entering extended mode **./Rapport1.tex (Rapport1.tex please i need help ...
5
votes
1answer
49 views

pdfTeX warning (ext4): destination with the same identifier (name{choice.1}) has been already used, duplicate ignored

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} ...
2
votes
1answer
98 views

Prevent pdflatex.ini repair when updating packages in miktex

I've installed Miktex for the local user only so it is installed in C:\Users\~\AppData\Local\Programs\MiKTeX 2.9. I had to add save_size=80000 to pdflatex.ini in ..\miktex\config to avoid errors when ...
2
votes
2answers
21 views

Long equation tag/number gets shifted to left hand side, rather than underneath right hand side

So i have an equation which is pretty much the width of my text. The equation number usually (when using pdflatex) shifts below the right hand side of the equation. However, i am now having to ...
3
votes
2answers
41 views

PDF plain text for a macro with a starred version

I'm typesetting a document with PDFLaTeX. In some section titles, I use a macro which has a starred version. In the PDF index (the table of contents that PDF viewers typically show in a side pane), I ...
1
vote
0answers
46 views

Different looks of two different PDF

The first image is my text. The second one is of a professor. Mine looks different from his: my characters are a bit bolder than his and not as easy looking (and reading) as his, perhaps due to ...
0
votes
0answers
26 views

Where should I specify pdftex primitives?

I would like to suppress this type of warning by pdftex: PDF inclusion: multiple PDFs with page group So one solution proposed here is to use this primitive: \pdfsuppresswarningpagegroup=1 ...
2
votes
2answers
32 views

Rotating scope in tikz

Can't able to rotate scope with external image (fig.pdf). \begin{scope} [rotate=30] \node (scope6) at (0,0) {\includegraphics{/tmp/fig1}}; \node at (0,0) [rotate=0,color=black] {Text}; ...
2
votes
1answer
38 views

texshop does not generate pdf, only dvi

I have had no problem with texshop generating pdf files until I tried a new template today. When it compiles, texshop only generates dvi, not pdf. Any clues or suggestions? I clicked "typeset" with ...
2
votes
1answer
38 views

problem with text wrapping in tabular environment

I would like the contents of a cell in a row span several lines. I have the following MWE: \begin{table}[b]{ \begin{center}{ \begin{tabular}{|l|c|c|c|c|} \hline Source & Value & Affected ...
0
votes
0answers
17 views

Error compiling pfdLatex Document on ubuntu 14.01.1 while using the IEEEtran.cls

Am using IEEEtran.cls in my document but every time i try to compile i get the following error message kpathsea: Running mktexmf ptmr7t ! I can't find file `ptmr7t'. <*> ...:=ljfour; mag:=1; ...
3
votes
1answer
72 views

PDF or PDF/A to Latex

I have made a sketch in Visio. I plan to save it to .pdf for use with pdflatex. I have the option of saving as PDF/A-1 (a or b not specified). Would I want to make a habit of saving these images as ...
2
votes
2answers
101 views

pdfTeX error (font expansion): auto expansion is only possible with scalable fonts even with \usepackage[T1]{fontenc}

According to this question: On pdfTeX error (font expansion): auto expansion is only possible with scalable fonts, microtype package, to get rid of the error, a scalable font must be loaded. Package ...
1
vote
1answer
64 views

TeX-based solution to Google Drive sync problems

When files are stored locally in Google Drive, and sync is turned on, problems can occur when compiling a TeX file. For example, using Texmaker with MiKTeX on Windows 10 to build Thesis.tex, I get ...
2
votes
0answers
52 views

\usepackage[T1]{fontenc} produces numerous errors and ruins PDF

All I want is to be able to use \guillemotleft and \guillemotright. I'm on Ubuntu 14.04, 64-bit. These are the packages I load, after declaring documentclass article. \usepackage{mathtools} ...
2
votes
1answer
56 views

Latex missread the equation and provides an error

I have an equation to be written. The equation I expect to have is this one: \begin{align} M &= \left\{ \begin{array} \sqrt{1+0.6275 \frac{l^2}{Dt} -0.003375 \frac{l^4}{D^2 t^2}} if ...
2
votes
1answer
55 views

Shading an Area and puting labeling for special points

I am working on putting nice figures into latex from Matlab using tikz. The problem I am having is that I have a graph written on tikz (a set of continuous points of a density function) I have two ...
2
votes
0answers
46 views

LaTeX can't find .cls files

I recently downloaded MacTeX-2015 and wrote a very short file which I called test.tex: \documentclass{article} \begin{document} Hello world. \[ e^{2\pi i} = 1. \] \end{document} I opened the file ...
2
votes
1answer
25 views

pdflatex/lualatex called from shutdown script can not find installed packages

At work I have set up a little backup script on my Ubuntu 14.04.1 machine. The script backs up my machine to an external hard drive. After this is done it copies a LaTeX project to my Dropbox and ...
1
vote
0answers
89 views

Random errors using pdfLaTeX in Texmaker

I cannot use pdfLaTeX in Texmaker on my laptop. It was working on my desktop with windows 7, and I installed MiKTeX and Texmaker on my laptop with windows 10 and opened the same file and now it gives ...
2
votes
1answer
32 views

tikz: nodes overlapping with edges on graph

I'm trying to reproduce a graph from a paper using Tikz, the graph that I'm trying to reproduce is the following: But without the horizontal curved line and brackets on the left subtree. So far, ...
2
votes
0answers
19 views

How to write below textheight and above footer [duplicate]

MCQ Paper is mentioned below (Thanks to Erik) ; \documentclass[addpoints,answers,10pt]{exam} \setlength\textheight{15cm} \setlength{\footskip}{8.5cm} \providecommand{\myquestion}{% \question ...
1
vote
0answers
22 views

pdftex doesn't run from command line

I just upgraded to El Capitan and downloaded the basic version of MacTeX2015. When I use the command pdftex or pdflatex from the command line, I get an error: pdftex: command not found. I checked ...
1
vote
1answer
15 views

Subfile with \includegraphics not working in the mainfile

I have a problem trying to get my maindocument to compile a subdocument, with an included figure. I have the following file-structure setup: mainfile.tex /chap /chapter1 / ch1.tex ...
2
votes
1answer
44 views

How to add constant height in exam class

I've MCQ Paper created using \documentclass[addpoints,answers,10pt]{exam} ; here on very page I've to provide "Space for Rough Work". Height of "Space for Rough Work" is around 20% of page height. ...
0
votes
1answer
29 views

Pandoc: Format Chapters/Sections

I'm currently using a basic template found on internet and I'm trying to format chapters and sections but nothing happens :(. I include this to my template tex file and update usepackage: ...
1
vote
1answer
42 views

Saving and restoring font settings

I'm using Pandoc to generate a PDF from a Markdown source file, and passing in a custom LaTeX template (effectively a tweaked version of the Pandoc default) to change the style of the final PDF. I ...
3
votes
2answers
32 views

How to make work macros work as values in parameters of psbarcode?

TL;DR- Works \psbarcode{NODATA}{height=0.33 width=1.6 includecheck includetext}{code128} But "parametrized", does not work as expected (produces big transparent output) \def\h{0.33} \def\w{1.6} ...
2
votes
1answer
37 views

pdflatex stating a lot of files

I was trying to compile a latex document, and it was taking forever. I thought it was quite strange when a very simple document wasn't almost instant. When running pdflatex with ptrace, I find it is ...
2
votes
0answers
27 views

How to manually write polynomials long division rather than using the automated polynom?

I very new to LaTeX and currently try to practice writing engineering reports with it as a replacement for Microsoft Word. In one of my assignments I have to do Polynomial Long Divisions. I found ...
0
votes
0answers
104 views

PdfLatex stops compilling

when I add 'numbers' option for package natbib and compile files, pdflatex starts compiling and stop at the middle of the processs (and cpu is at 25%), maybe an infinite loop... I'm using MikTex 2.7 ...