58
votes
0answers
1k views

Revisiting producing structured PDFs from LaTeX

I am trying to produce a structured or 'tagged' PDF from pdftex (Tex Live 2012) that passes automated tests in Adobe Acrobat for tagging. I need to do this so that LaTeX will be accepted as a way of ...
24
votes
0answers
396 views

Can TeX generate “heap dumps” to analyze+optimize out-of-memory situations?

As package author of the memory-extensive package pgfplots, I have been asked to analyze some out-of-memory situation. I could identify the "culprit"; it was some call to \pdfmdfivesum in which it ...
16
votes
0answers
338 views

A script language for beamer animations?

This is a follow-up question to Clever beamer animation? Writing a script that changes a tikz picture in beamer? as suggested there, I will put a bounty on this one. What I seek is a set of macros, ...
16
votes
0answers
967 views

MultiMarkDown and biblatex citations

I'm using Scrivener to produce LaTeX output with MultiMarkDown. MultiMarkDown uses natbib by default, so footnotes look like this code snips: \footnote{~\citep[<prenote>]{<key>}} The ...
16
votes
0answers
309 views

What are the main differences between AutoLaTeX and LaTeXMk?

I stumbled upon AutoLaTeX today and it seems to be very similar to LaTeXMk indeed. Can you summarise the main differences, which might help me choose between the two tools?
15
votes
0answers
152 views

Problem with a path between pgf 2.1 and pgf 3.0

\documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[domain=0:2] \path[fill=blue] (0,0) -- plot function{x+1} -- (2,0); \end{tikzpicture} ...
15
votes
0answers
138 views

Randomized drawing of individual glyphs

I was reading Knuth's "Mathematical Typography" (Bulletin of the American Mathematical Society 1(2):337-372) and the section "Randomization" called my attention. I quote most of it here. I'd like ...
15
votes
0answers
182 views

Tests for checking kerning and sidebearings

To test the kerning and sidebearings of digital fonts, Bringhurst suggests the following methods: To check the sidebearings typeset consecutive pairs of letters and check the symmetry. For the ...
15
votes
0answers
471 views

Reset nodestyle for tikzpicture in fancytikzposter

Problem I'm using the gorgeous package fancytikzposter to typeset my scientific posters. There I'd like to use tikzpicture to make sketches. Unfortunately the default TikZ styles are overwritten, ...
15
votes
0answers
552 views

Letterspacing/font expansion in LuaLaTeX

I am a few months into learning LaTeX. I would like to use microtype with LuaLaTeX and I would like to obtain letter spacing for my smallcaps. I've tried to follow some of the threads on the subject ...
14
votes
0answers
230 views

Documenting on code revisions

I have made modifications to a few files of a C++ program. I would like to document on these changes in a nice LaTeX report, by showing exactly what I modified and explaining why I did so. Since ...
14
votes
0answers
423 views

A flexible derivative macro with LaTeX3

In an earlier post I asked a question about writing a flexible derivative macro, and someone suggested that a LaTeX3 version might be easier to understand, so I decided to try my hand at writing one. ...
13
votes
0answers
508 views

Speeding up compilation using precompiled preamble with LuaTeX

Compiling my documents with lualatex takes quite long. I have a complex preamble, and noticed it takes long to process this part of the file. Today I came across this website, which proposes a trick ...
13
votes
0answers
226 views

Using XMLTeX to typeset OpenDocument Text

I know that XMLTeX has already been used to typeset TEI documents, but has anyone publicly worked on a set of environment files and stylesheets to typeset OpenDocument Text? I have been looking for ...
12
votes
0answers
327 views

Are there any other methods left to create a spiral of equidistant segments?

I want to create a spiral that is composed of equidistant segments as shown in the following figure. I tried to draw it with various methods. The colors are used to distinguish each method from the ...
11
votes
0answers
130 views

Should packages on CTAN be widely applicable?

I have a couple 'packages' (more appropriately called styles) that I'd like to painlessly distribute to my classmates. The most straightforward way to do this is via CTAN, but I'm not sure if it is ...
11
votes
0answers
88 views

A class with default language settings

I want to write a class which loads babel and other language aware packages and pass to all of them the option ngerman as default. But if another language is used in the options of the \documentclass ...
11
votes
0answers
367 views

Selecting optical sizes for all fonts in a family

XeTeX and LuaTeX are able to assign optical sizes to fonts when they are provided. In those situations where XeTeX or LuaTex are unable to correctly assign optical sizes I am able to specify them but ...
10
votes
0answers
72 views

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...
10
votes
0answers
371 views

How can I use Dragon NaturallySpeaking to write LaTeX math formulas by voice efficiently?

I write LaTeX documents by voice using Dragon NaturallySpeaking for speech recognition. It allows me to write much faster than if I had to type on a keyboard (~ 100 WPM vs. 50), I find that voice ...
10
votes
0answers
124 views

Why does fake slant only seem to work after italics has been used?

Based on this question, can someone explain this behavior: \documentclass{article} \usepackage{fontspec} \setmainfont[ SlantedFont={Linux Libertine O}, SlantedFeatures={FakeSlant=0.30}, ...
10
votes
0answers
191 views

XeTeX in OpenBSD

How could I get XeTeX in OpenBSD? I have tried to: pkg_add texlive_base-2012, but it tries to install so much more that I ran out of space. run the install-tl perl script for TL13, but even if I ...
9
votes
0answers
89 views

Recommended workflow for fixing several nasty frames in beamer?

I have a pretty long presentation: a course comprising a couple of hundreds frames. Occasionally, I go over the presentation, notice a few corrections in distinct frames. Fixing these requires a ...
9
votes
0answers
128 views

Is there an environment / document class for dictionaries?

Background of this question I've got the idea of creating a math dictionary with LaTeX for quite a while now. My native language is German and I write a lot of blog articles about algorithms and a ...
9
votes
0answers
175 views

How can I translate to English a TeX document without losing compilability?

Is there any way I can translate comments and non-commands from a different language to English ? I tried : Google Search https://www.google.lk/#q=translate+a+latex+code+without+losing+content ...
9
votes
0answers
210 views

Biblatex, Use of prefixnumber changes indentation of all subbibliographies

I have a problem with my three subbibliographies. I am using two styles numeric and alphabetic. In one of the subbibliographies I would like to use a prefixnumber. Unfortunately this affects also the ...
9
votes
0answers
395 views

XeLaTeX and TikZ - how do I ensure my PDFs are using the CMYK color model?

The place I want to print my document at needs the PDF to be provided in CMYK. The document is mostly text, except for a few graphs and plots which are done in TikZ or pgfplots. As suggested in this ...
9
votes
0answers
185 views

How do I get an empty box on each page?

I'd like to have an empty box on the bottom of my pages in a certain chapter. I've messed around with wrapfigure and kinda sorta gotten something that looks okay, but I'd like to do it properly so I ...
8
votes
0answers
49 views

How to find out where additional lines fit in?

I am often confronted with the need of fitting in more content into an already quite crammed document. Given that LaTeX automatically stretches spaces to beautifully and optimally fill the pages, I ...
8
votes
0answers
75 views

Make an index of historical time periods

I'm writing my thesis & I want to make an index with centuries, years, month, day, event & historical periods. So I try to build some commands, but unsatisfactory, I'm looking for your help. ...
8
votes
0answers
59 views

create list of thumbnails for each section

I want to create a cooking book. There I want to define for each receipe a thumbnail image. At the beginning of each chapter I want to show instead of a TOC a gallery of thumbnails of each subsection ...
8
votes
0answers
125 views

Parsing question: Do curly braces affect LaTeX compilation time?

I have an old and slow computer and long LaTeX files. When typing I prefer to use \frac 1{x} instead of \frac{1}{x} or x_i instead of x_{i}. Does the presence or omission of curly braces in these ...
8
votes
0answers
95 views

Is there any compiler-dependent font loadable for pdflatex but not for latex-dvips-ps2pdf?

I want to make sure that I can load the same fonts for each input file either for diagrams and text contents. It is related to my statement below, Even though PSTricks cannot work with pdflatex ...
8
votes
0answers
124 views

Bibliography style per language with biblatex/polyglossia?

This is a followup to Russian and Japanese and biblatex oh my. I've got a lot further now, using the polyglossia-enabled bib latex and writing my own Japanese csquotes and lbx files, but now I'm ...
8
votes
0answers
141 views

Microtype and word spacing

I'm trying to change the default word spacing for some font. I know 2 ways to do it: setting \fontdimens or \spaceskip. With these approaches and microtype's \textls I get two different results, ...
8
votes
0answers
150 views

How to lock the back reference at the top left corner of the bibliography entry?

Anybody knows how to lock the back reference at the top left corner of the bibliography entry by employing BibTeX? The result should be like this: It works to me when using \bibitem (yes, it goes ...
7
votes
0answers
88 views

KOMA - Set documentclass font to 9.5pt

I am using scrbook as documentclass and would like to setup the default font of the whole document to 9.5pt. Just like you do with 9pt, 10pt, ... : \documentclass[fontsize=9.5pt, DIV=calc]{scrbook} ...
7
votes
0answers
117 views

`. shortcut doesn't expand to \cdot

According to latex-suite documentation, `. should expand into \cdot but this is not working for me. All other abbreviations (greek letters and math) do work. I tried looking in ...
7
votes
0answers
106 views

Fore-edge painting package for books?

I would like to add fore-edge painting to the edge of each page, so that when the pages are fanned, it reveals text or an image. It seems it would be easy enough to slice up an image(Tikz/PGF), or ...
7
votes
0answers
174 views

How to use arrowheads from a unicode math font in TikZ diagrams under XeLaTeX or LuaLaTeX?

I like arrowheads in my TikZ diagrams to match the math font arrowheads. For Computer Modern, this is no problem: the TikZ arrows library provides matching arrowheads. But I often use other fonts ...
7
votes
0answers
121 views

How to create vertical Bullet Graphs with PSTricks?

I was looking for a package to create bullet gauge graphs, but I couldn't find any. A good person in this forum show me how he would make it in TikZ, with a little options. I was waiting any moths ...
7
votes
0answers
159 views

High-profile cases of non-compliance with the LaTeX Project Public License?

As I'm getting more and more interested in releasing packages of my own in the future, I just read the LaTeX Project Public License (or LPPL). This document defines, among other things, the rules for ...
7
votes
0answers
114 views

Asymptote generates different output whether running in interactive mode or from pdflatex

I would like to make 3d pictures and put them side-by-side. I can do that nicely creating a file example.asy: settings.render=1; import graph; import graph3; import contour3; material reds = ...
7
votes
0answers
379 views

hyperref fillable forms - breaking the rules

The hyperref manual states clearly: You must put your fields inside a Form environment (only one per file). However, I can put form fields outside of a Form and I can put more than one Form ...
7
votes
0answers
405 views

Convert bib file from BibTeX to biblatex

I have a bib file that I have been using with BibTeX for a number of years. I have now switched to creating my bibliographies with biber and the biblatex package. Every once in a while I need to ...
7
votes
0answers
139 views

Insert pictures into whitespace in document

Okay, I'm not sure if this is even possible. We're currently switching the layouting of our "Basics" university intro booklet from Scribus to LaTeX. A difficulty there is minimising white space after ...
7
votes
0answers
220 views

tikz clip rounded corners

How to apply this Tikz solution (Rounded corners only at one side of a TikZ node) to have the same effect on clipping? I want to clip things (images) using that rectangle with differently rounded ...
7
votes
0answers
145 views

vim-LaTeX does not construct correct argument for bibtex

My pdf compile rule is pdflatex -interaction=nonstopmode $* & bibtex $* & pdflatex -interaction=nonstopmode $* Everything works fine except for the bibtex call. The reason is that "$*" is ...
7
votes
0answers
539 views

Beamer notes on secondary screen doesn't work

I am writing a presentation for at introduction to latex and think it would be nice to show how I have my presentation-notes on my laptop screen (Macbook Air) using Beamer. But it just won't work. ...
7
votes
0answers
120 views

Index problem when using l3doc for LaTeX document writing

I use l3doc to write document for my package. In the document I need describe macros, environments and options of the package. I started using the environment function only. After the tip came from ...

15 30 50 per page