Tag Info

New answers tagged

0

Here's my pdffonts for the tow pdfs : Pdflatex: name type encoding emb sub uni object ID ------------------------------- ---------------- --- --- --- --------- AMTRHA+SFRM1728 Type 1 Custom yes yes no 4 0 DPTCLU+SFRM1200 Type 1 Custom yes yes no 5 0 JVZRKA+CMMI12 Type 1 Builtin ...


2

Apparently the pdftex engine by default embeds Type 1 fonts, while ps2pdf by default (at least in the latex->dvips toolchain) embeds Type 1C. That is the fundamental difference between your two files. But unfortunately I can't tell you what that difference means yet! I await someone else's expertise to complete the answer. Here's the output of pdffonts for ...


1

A much smaller and more configurable option is W32TeX: http://w32tex.org/ If you need a version which isn't license encumbered, then try KerTeX: http://www.kergis.com/en/kertex.html


3

You shouldn't use \fontspec in the document body; it's better to have \newfontfamily. In order to avoid code duplication, it's also better to abstract the commands. \documentclass[a4paper,11pt]{article} \usepackage{fontspec} \newfontfamily\devfont[Script=Devanagari,Mapping=itrans-dvn]{Devanagari MT} ...


2

Not really What you want is only doable with Portable Job Tickets. There is currently no software support for creating them (although that may be possible with LuaTeX) and only high-end printers (or print shops) will handle them.


5

The codes reported by latexmk are those reported by Perl's system function. As stated in the documentation of this function, http://perldoc.perl.org/functions/system.html, these codes are the exit code of the executed program shifted left by 8 bits. (There is some extra information in the low order bits.) Therefore, to get the actual exit code of the ...


0

Your problem is not a downgrade, you should do an upgrade. The current version of biber (you should use) is 1.9, the corresponding version of package biblatex is 2.9a for my MiKTeX system. It is important to use the current version of biblatex to support the possibilities of biber. To get no bad surprises with biber just keep your system up to date ... ...


0

While reducing the preamble, I found it working suddenly. After having a look around again, I found Using \clearpage breaks \hyperref bookmarks stating This package can be used with more or less any normal LaTeX document by specifying in the document preamble \usepackage{hyperref} Make sure it comes last of your loaded packages, to give it a ...


3

Please give more complete examples, but using https://raw.githubusercontent.com/yihui/stat-sci-cranvas/master/imsart.cls https://raw.githubusercontent.com/yihui/stat-sci-cranvas/master/my_imsart.sty the following document \documentclass{imsart} \newcommand{\R}{\mathbb{R}} \begin{document} $\R $ \end{document} produces the error message ! Undefined ...


0

Even though the question was asked long ago, any reader in the future might find this useful: http://texblog.org/2013/08/20/rknitr-automatic-bibliography-generation-with-biblatex-in-rstudio/


2

TeX has no problem with memory limits and can print ten million lines or 217,392 pages on my laptop with the following code: \documentclass{book} \usepackage{luatexbase, luacode} \begin{document} \begin{luacode} for i=1,10000000 do tex.print('x','y','z', '\\par') end \end{luacode} tests \end{document} Actually the limit of ten million lines was ...


0

Directly go to the directory where both l3kernel and l3packages were and simply delete these two subdirectories. When you run the above small code, MiKTeX will install these two packages for you.


3

Usual expansion problem: \documentclass[12pt]{article} \usepackage{comment} \usepackage{forloop} \newcounter{probnum} \forloop{probnum}{1}{\value{probnum} < 6}{% \begingroup\edef\x{\endgroup \noexpand\excludecomment{prob\arabic{probnum}}% }\x } \begin{document} \begin{prob1} hidden \end{prob1} shown \end{document} Alternative version ...


4

I believe that in your figure caption you can include an alternate text for the list of figures. Don't include the cite in the alternate text. \caption[alternate text]{text}


1

To start, at least with TeX Live you can run texdoc IEEE in your OS prompt to obtain: Otherwise, you can dowload the PDF from texdoc.net. As the paper explain, it is assumed that the reader has at least a basic working knowledge of LaTeX. See also How to Use the IEEEtran BIBTEX Style.


6

The bug in this case is the calc library where a line in the definition of \tikz@cc@scan@rot is missing a % character at the end which affects the parsing of angles in coordinate calculations, for example, parsing 90:(0,1) in (0,0)!.5!90:(0,1). I don't know why this didn't affect xelatex though. The corrected definition should read as follows: ...


15

Here's an excerpt from the introductory chapter of the LuaTeX reference guide (version 0.79.2): Features may come and go. The current version of LuaTeX is not meant for production and users cannot depend on stability, nor on functionality staying the same. Nothing is considered stable just yet. This manual therefore simply reflects the current state of ...


4

Output overwriting input... In this case, it is obvious what happens because of using the output extension for the input extension. In olden times, one rather subtle but quite dreadful mistake you could commit was writing \include{chapter1.tex} which resulted in LaTeX writing auxiliary data on a file chapter1.tex.aux which the DOS file system ...


4

Of course, this is LaTeX, not standard TeX. This takes \blacksquare and rotates it 45 degree for the black diamond. Then it insets a white \sffamily\small ? atop it, centered left/right, and .2pt below vertical center. It then uses a \scalebox to make the composite symbol 2x as large (or however large or small you desire). \documentclass{article} ...


3

I would say that no such font exists, so I propose another kind of approach. You can pick up your favorite font and extract the glyph as en eps file, and then include it. You can refer to an answer where I explain how I managed to do such a thing. Alternatively, Pick up a svg of this character (for instance, the one at ...


1

Package epstopdf can be reconfigured to remove the additional name suffix from the generated file name. The suffix was added to avoid accidental overwriting of .pdf source files. But if all images are .eps files, then these precaution measure is not necessary. The image file is then included without extension and the graphicx package will find the .pdf file ...


3

\includegraphics should be put inside \put as \psfig. Otherwise the following \put commands are moved to the right by the width of the \includegraphics statement. Also the translation of the \put command for \psfig would be lost. \begin{picture}(8,6)(0.0,-0.5) \put(0.3,-0.3){\includgraphics[width=8cm]{cont_equi}} ...


1

Another alternative is using pdf2svg, as indicated here: Launchpad Bug Report. In Ubuntu, you can install it as sudo apt-get install pdf2svg My overarching goal in reading this post was to be able to edit the raw paths of the PDF in Inkscape, so this accomplishes my goal quite well. EDIT: As a succinct command, you can add the following command: ...


3

The aux files do not contain any information about typesetting. They are generated TeX source files, and their main use is to record numbers used on later runs, such as cross references from \label or the widths of longtable columns etc.


34

pdfTeX is intended to offer complete compatibility with Knuth's TeX, and thus if the e-TeX extensions are not enabled should act in the same way. XeTeX is based on the e-TeX code and does not set out to break any compatibility with Knuth's TeX unless it is absolutely necessary (i.e. there is no reimplementation of algorithms unless this relates to adding ...


4

The T2A encoding idea predates PDF and Unicode support; in order to save a slot and accommodate as many languages as possible, the CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I and its uppercase variant are rendered using the Latin i and I present in the encoding table. There's nothing glyphtounicode can do about it, because the letter that's output is the ...


3

The default linebreaking code is the same in pdflatex and latex, so normally you get identical breaks if using the same fonts, however the microtype package has some options that only work for pdf output so you can get different behaviour depending on the options used (which you don't show).


7

The choice of inter-letter kerns is not done by TeX but by the font designer, Although in your case you are using Computer Modern so the font designer and the designer of TeX are the same person. You can see which kerns have been added by adding \showoutput to your document. ...\hbox(6.83331+1.94444)x345.0, glue set 259.69434fil ....\hbox(0.0+0.0)x15.0 ...


2

In most typefaces, letterforms with angled bottoms such as 'V' extend somewhat below the baseline, because the narrow point appears shorter to the eye than it really is. Your manual kerning is very overdone. Remember that kerning is done to make the text 'look right', whatever that may mean, rather than to conform to some mathematically precise spacing ...


0

I verified the first part of my concept based on the link Steven (@steven-b-segletes) provided in his comment. Here is a short, working example for A4 sized pdf as a background (don't mind the coordinates...): \documentclass[finnish,a4paper,11pt]{article} \usepackage[a4paper]{geometry} \usepackage{setspace} \usepackage[utf8]{inputenc} \usepackage{graphicx} ...


10

As noted in a comment, an ex cathedra answer here really can only come on the pdfTeX mailing list, but hopefully we can at least examine the likely factors involved. As development effort has moved from pdfTeX to LuaTeX, changes to pdfTeX beyond strict bug fixes seems very unlikely. Indeed, the efforts made in developing pdfTeX have had a strong sense of ...


5

In order to use the new fonts, you need to ensure 2 things: that all of the files can be found, and that the fonts are correctly listed in the map files which TeX uses to match different bits of font information. I recommend the following procedure if installing on TeX Live: Test the fonts prior to installing them. To do this, put all the files in one ...


0

not only \begin{tabular} but \begin{table} should be used like below: \begin{table}[h] \begin{tabular}{c||c|c} $\delta$ & authorized (1) & unauthorized (0) \\ \hline \hline MainDoor & PasswordCheck & MainDoor \\ PasswordCheck & MainHall & ...


0

If your thesis is a single file (which is somehow unlikely) it is enough to append your bibtex command with ./auxillary/%. Else, I've written a bash script shared in this answer but it's for linux environments. However you can copy the working in a bat file for windows: first, the script needs to go into the aux folder run bibtex on the main aux copy the ...


2

So, thanks to David it works! To people who might be in the same situation, here is the bash script: #!/bin/bash # This is BibMaker.sh, stupid script for stupidier Bibtex. # # Set execute permission first. # To be used to launch bibtex with a build directory for (Pdf)latex. (-output-directory=<builddir>) # Within TexMaker, call ./BibMaker.sh ...


8

Here is an example. You must compile this document with this two commands to get the two versions (students.pdf and teachers.pdf): pdflatex -jobname=students '\def\student{}\input{main}' pdflatex -jobname=teachers '\def\teachers{}\input{main}' The main.tex document (using etoolbox to simplify the test): \documentclass{beamer} \usepackage{etoolbox} ...



Top 50 recent answers are included