37
votes
0answers
635 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 ...
27
votes
0answers
354 views

PDF/A compatibility with TikZ

When a LaTeX document contains TikZ figures with color gradients, it seems that Acrobat Pro's preflight function can no longer convert the PDF to comply with the PDF/A-1b standard. For instance, the ...
23
votes
0answers
489 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 ...
21
votes
0answers
693 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 ...
20
votes
0answers
262 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 ...
19
votes
0answers
533 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, ...
18
votes
0answers
702 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 ...
17
votes
0answers
1k 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
316 views

wxLua in LuaLaTeX

I have some problems using wxLua in LuaLateX. This works: lua simpleui.lua (print instead of tex.print) But if i try this: lualatex wx.tex it doesn't work. \documentclass{article} ...
16
votes
0answers
511 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. ...
15
votes
0answers
124 views
+200

Differences regarding kerning and ligaturing when using the MacTex2013 and MacTeX2014 versions of LuaLaTeX with .ttc fonts

This posting is a follow-up to the postings Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts and LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on Mac OS). I have ...
14
votes
0answers
297 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 ...
13
votes
0answers
147 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 ...
13
votes
0answers
425 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 ...
12
votes
0answers
73 views

Workaround for open lualatex bug in \scantokens?

As package author I am in need of writing a manual with lots of examples. Now I started to make heavy use of lualatex in order to speed up operations which take a long time in TeX (of my package, not ...
12
votes
0answers
644 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 ...
11
votes
0answers
120 views

How to optimize pdf with many links and simple pages

So... I can play tic-tac-toe (naughts and crosses) in a pdf: each board configuration is one page, and each cell of the board is a link which goes to the page corresponding to playing that move. The ...
11
votes
0answers
108 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} ...
11
votes
0answers
175 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 ...
11
votes
0answers
230 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 ...
11
votes
0answers
270 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 ...
11
votes
0answers
436 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
278 views

Setting different recto/verso margins size (geometry) on this example

CONTEXT. Because of specific University requirements (1), I had to use this nice code found on tex.stackexchange http://tex.stackexchange.com/a/96366/50507 written by David Carlisle, that was ...
10
votes
0answers
71 views

Customizing names of auxiliary file: safe practices?

I maintain a package (morewrites) which requires a temporary auxiliary file to function (written and read right away). This auxiliary file is currently named \jobname.mw, and a user has asked me to ...
10
votes
0answers
170 views

Old ligatures in Siṇhala

I am trying to reproduce a term from an old Siṇhala-English dictionary. I have checked several fonts and the best candidates for the job seemed coming from the Bhashitha font family. The font contains ...
10
votes
0answers
132 views

How to write an arara rule for knitr

I've been trying to write a rule for invoking knitr via arara, but I don't seem to know what I'm doing, apparently. The arara manual explains how to define custom rules. To do so, it is necessary to ...
10
votes
0answers
93 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 ...
9
votes
0answers
77 views

What affects compilation times, especially in longer documents?

I'm about to start working on my dissertation in LaTeX. It will be the first thing I've worked on longer than ~80 pages and will likely include more figures than is usual for me. Since I compile ...
9
votes
0answers
377 views

Y&Y TeX versus TeX Live/MikTeX

I noticed that the formerly commercial Y&Y TeX is available under http://tug.org/yandy/. My question is: compared with a modern MikTeX or TeX Live is there any feature in Y&Y TeX that could be ...
9
votes
0answers
376 views

TeXLive and MikTeX behave differently in handling BOM

It is a followup of my answer that has been converted to comment (click) posted several decades ago. Shortly speaking, MikTeX does not remove leading BOM but TeXLive does as shown in the following ...
9
votes
0answers
2k views

Comparison: Sharelatex vs Writelatex

So far I didn't have the chance to use neither of these services. Before starting, I would like to hear your opinions. What are the advantages and disadvantages? Why should I choose one and not the ...
9
votes
0answers
130 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
298 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
228 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 ...
9
votes
0answers
248 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
747 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. ...
8
votes
0answers
165 views

Future of TeX and LaTeX

Disclaimer: typically soft question. I was reading about expl3 and LaTeX3 development and try to stumble something about overall future of LaTeX. All I can find is one article. The article mostly ...
8
votes
0answers
85 views

Did one manage to get the new dvisvgm driver from PGF 3.0 to work?

Background: PGF 3.0 added a new, direct way to create SVG. It now has a dvisvgm driver (pgfsys-dvisvgm.def) which has fewer (claimed) limitations than the pgfsys-tex4ht.def driver. Except it doesn't ...
8
votes
0answers
107 views

How to pass a LaTeX argument verbatim to lua?

I would like to pass an argument verbatim from LaTeX to lua including LaTeX commands and end of line characters. The example below takes care of the former issue, but not of the latter. Is there a ...
8
votes
0answers
132 views

ConTeXt for non-technical person

A dear person to me has started her own small publishing company (psychology related books -- completely non-technical) and she uses Microsoft Word. It's a one woman operation and she often asks me ...
8
votes
0answers
102 views

Stop Hyphenating Across Page Breaks

How to prevent hyphenation across page breaks? Here is my minexample: \starttext \dorecurse{200}{Aprikosengeschmacksrichtung } \stoptext What I mean is a feature, which many other typographic ...
8
votes
0answers
135 views

LaTeX Visual Novel Engine: Does it exist?

Did anyone in the past use LaTeX to create a "visual novel" engine? I've been using http://www.renpy.org/ for rare presentations when I need functionality the beamer class in LaTeX doesn't easily ...
8
votes
0answers
134 views

Typesetting the Kvanta journal (Задачник «Кванта» по математике)

I've visited a colleague of mine, Karel Horák, a Czech TeXist, in Prague and he presented/gave me a nice TeX problem. He wishes to get PDF file from TeX file. It sounds easy! Issues of the Kvanta ...
8
votes
0answers
201 views

Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts

Consider the following MWE: % !TEX TS-program = lualatex \documentclass{article} \listfiles \usepackage{fontspec} \setmainfont[Ligatures={Common,Rare}]{Hoefler Text} \begin{document} ff fi fl ffi ffl ...
8
votes
0answers
2k views

Angle symbols in LaTeX

I will write a lot about Euclidean Geometry the next time. This means I need to denote angles. The symbol we use in class looks like \sphericalangle, but I've just seen that there is an \angle symbol ...
8
votes
0answers
237 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 ...
8
votes
0answers
105 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
191 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
286 views

Russian and Japanese and biblatex oh my

I'm trying to typeset a book with bibliography entries in English, Russian and Japanese. Getting the bibliography to work right is driving me mad. I have got pretty close (I think) by cobbling ...
8
votes
0answers
519 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 ...

15 30 50 per page