53
votes
0answers
2k 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, ...
32
votes
0answers
750 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} \directlua{...
29
votes
0answers
770 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 ...
27
votes
0answers
377 views

How to best make the transition from LaTeX2e to expl3 syntax

I was peeking at the LaTeX3 github repository and specifically l3auxdata.dtx. There was a surprise for me, as I have been practicing and studying the expl3 syntax and modules for the last couple of ...
27
votes
0answers
538 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 ...
24
votes
0answers
368 views

What is “the” LUA root for context packages?

As package author, I want to write a LUA module which can be found by both lualatex and context. The lualatex prototype works reasonably and I am convinced that this will also be true if I release ...
23
votes
0answers
316 views

Indent text without using trivlist

Quite a lot environments which change margins (e.g. center, quote, addmargin from KOMA) use internally trivlist. This has some drawbacks, e.g., when the list is directly between two sectioning ...
22
votes
0answers
679 views

Changing colors of included cmyk jpg

I am trying to convert a pdf containing grayscale pictures and black text into shades of a single color in cmyk color space (for printing). I was thus very happy to learn, from a side remark in one ...
21
votes
0answers
149 views

How to use luatex's node.hpack so that marks, inserts and vadjusts migrate out?

TeX's hpack routine packages an hlist into a box. While doing that it looks at a global pointer adjust_tail and if that is not "null" it migrates some nodes to a separate list starting at adjust_head....
21
votes
0answers
704 views

TexLive: Why compiling in linux is much faster than windows?

I use TexLive in both linux and windows. However, the project compiles very fast (below 1 sec.) in linux while it takes between 10 to 20 seconds on windows (in the same machine). This has happened ...
20
votes
0answers
2k views

TikZ library for Computer Science

Is there a Computer Science library for TikZ? I am looking for a library for drawing standard data structures (array, linked list, stack, queue, pointers, trees, etc) in a consistent way. I would ...
19
votes
0answers
172 views

Is there a reliable way to get the number of arguments of a command?

While pondering over a test to distinguish two versions of a command I came up with the following example: \documentclass{article} \begin{document} \def\testA#1{\#2->blabla} \typeout{\meaning\...
19
votes
0answers
3k views

Current state of LaTeX on iPad?

I most recently got an iPad and since I have a oldish, heavy laptop, I'd much rather only carry around my iPad instead of my laptop (I'm a student). I do need to create and compile TeX files though ...
18
votes
0answers
273 views

Variable page break penalty for odd/even pages?

I am working on a document that has a large number of external Lilypond files included. These render quite well and (while a bit of a pain to use) lilypond-book is smart enough to render the music ...
16
votes
0answers
529 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 ...
16
votes
0answers
459 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 ...
16
votes
0answers
410 views

Markerless footnote which is page-wide in twocolumn document

I'm using this code to create markerless footnotes in LaTeX (source): \makeatletter \def\blfootnote{\gdef\@thefnmark{}\@footnotetext} \makeatother Furthermore I'm using the footmisc package for ...
15
votes
0answers
124 views

Globally assigning a coffin

There is no macro \vcoffin_gset:Nnw. How can I achieve that result? MWE \documentclass{article} \usepackage{expl3}\ExplSyntaxOn \usepackage{mwe} \newcommand\typesetit {\coffin_typeset:Nnnnn\...
15
votes
0answers
250 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 ...
13
votes
0answers
289 views

How to draw topological surfaces?

I am making some notes on differential geometry and topology lecture. As I know in LaTeX we can draw some very nice images. But I was not able to find any examples on surfaces, which I could use. Is ...
13
votes
0answers
160 views

Put Gnuplot mutiple surfaces plot in PGFplots axis environment to overcome z-buffer problem

Although PGFplots is the perfect tool for many depictions, it unfortunately does not have a properly working z buffer for intersecting surfaces (at this time, 10-09-2015). I'm trying to overcome this ...
13
votes
0answers
594 views

Complex ligatures in Devanāgarī

Ligatures are known to the Western European languages, however it isn't that common to spot vertical or complex form of them. As an exercise in typography I tried to get some complex ligatures in ...
13
votes
0answers
271 views

Guidelines for creating an index

This is not necessarily a LaTeX-only question, and it is a bit open-ended, but given that this community is clearly very detail-oriented, and it is a general-interest question, I think that this is a ...
13
votes
0answers
296 views

Is it possible to produce a context free grammar for Tikz path? node?

Even further, I would be happy to see a definition of the tikz language in the usual manner programming languages such as Java and Pascal are defined. The reason I ask is that I keep getting ...
12
votes
0answers
333 views

Microtype configuration for kpfonts

The microtype documentation suggests to use settings matching one's font choice. I am currently using the kpfonts package but have not succeeded to find some matching settings online. As there seem ...
11
votes
0answers
159 views

Should \minipage restore the default definition of \@par?

I came across the issue hinted at in the title while I was reflecting on this question (“Irregular spacing around a user-defined environment”) and its answer. The \@endparenv command is called by ...
11
votes
0answers
97 views

Wrong marginnote positions inside a tikzpicture with XeLaTeX

The marginnote package offers the \marginnote macro. I use this inside a tikzpicture environment to place notes into the margin. While this works without problems when compiling with pdfLaTeX, this ...
11
votes
0answers
666 views

Copy to clipboard feature in PDF output

I want a clickable copy to clipboard feature in my PDF document. Ideally the macro also allows for graphical elements to be embedded inside them (say, a button that will automatically copy paste ...
11
votes
0answers
805 views

Document Blending: An Analysis of the Sex Appeal of Business Instruments

Here is what I'm working with so far: \documentclass{letter} \usepackage{background} \usepackage{lipsum} \backgroundsetup{% scale=4, %% change accordingly angle=0, %% change ...
11
votes
0answers
152 views

Is there a package manager that works directly with CTAN (or local TDS structures)?

Almost out of sheer frustration, I'm on the verge of writing a Python script that will automate the install of both local TDS packages and those retrieved automatically from CTAN, without regard to ...
10
votes
0answers
78 views

Is there a general rule when to write pgfplots keywords together?

When using tikz especially pgfplots I find it often difficult to remember if a keyword is written together or separaded. Examples for keywords written together are: xticklabels enlargelimits ...
10
votes
0answers
142 views

Is CTAN secure against attackers uploading bugged versions of well-known packages?

I was checking out how to make a CTAN package, and I was surprised that it does not involve making it account: you simply have to fill out a form. If you have a new version of a package, you simply ...
10
votes
0answers
113 views

Setting up PDF outlines from Lua

In recent versions of LuaTeX, the PDF outline hierarchy may be set up from the TeX side with \pdfextension outline; for example: \pdfextension outline goto page \the\c@page {} count 1 {Chapter 1} \...
10
votes
0answers
106 views

How to get a list of valid commands?

I want to dynamically create a list of LaTeX commands that are valid in a particular file based on the packages used so that I can use them for code completion. Does LaTeX provide a method for ...
10
votes
0answers
124 views

Cannot use pgf-blur twice with XeLaTex

The following code \documentclass{article} %\def\pgfsysdriver{pgfsys-dvipdfmx.def} %this line does not matter \usepackage{tikz}\usetikzlibrary{shadows.blur} \begin{document} \begin{tikzpicture} ...
10
votes
0answers
446 views

How to exclude or remove weekends from ganttchart

Hi there and sorry for the incomplete question which only a psychic could answer :-) My problem is that I want to have my nice ganttchart or time schedule, but without including weekends. As my ...
10
votes
0answers
410 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 = ...
9
votes
0answers
150 views

Branch TikZ graph always on the same side

I am trying to draw a graph (actually, generate TikZ code automatically) which has a main branch that must be straight; secondary branches must always branch on the left. On each layer there must be ...
9
votes
0answers
64 views

Computer Assisted Tranlsation of LaTeX document

We use LaTeX as our primary documentation source. Aside from execellent looking PDF documents it also provides us with the ability to: share chapters between different versions of tools, auto ...
9
votes
0answers
80 views

Passing special characters to “shorthand” x+y options in TikZ

Update: this is now a bug report on sf.net. I think I understand the rules for special characters in pgfkeys key arguments: If it contains any of {,, =, ]}, it must be protected by putting the entire ...
9
votes
0answers
64 views

Side effects of changing blackboard bold font with \setmathfont

I'm using Latin Modern Math as math font but, since I don't like the blackboard bold letters that come with it, I replace them with the ones from TeX Gyre Termes Math. I believe to achieve this, the ...
9
votes
0answers
121 views

TeX to ScientificWorkplace and back

I use TeXWorks while coauthors are stuck with ScientificWorkplace. They are not (even) able to save the document as Portable LaTeX. Is there a "standard" preamble I could add to the .tex document to ...
9
votes
0answers
663 views

proper alignment of pdfpages import in memoir typeblock

Finding the solution to Setting up pdfpages with memoir? turned out not to be as simple as adding the right layout parameter as an offset. The first finding was that if a twoside documentclass is ...
8
votes
0answers
157 views

LuaTeX 0.95 “incorrect math kerning”

I am trying out the new luatex 0.95 in TeXLive 2016 pretest. There's a problem with math kernel. Below is a MWE \documentclass{article} \usepackage{unicode-math} \setmathfont{Lucida Bright Math OT} \...
8
votes
0answers
103 views

Why is 1.5 the default pdf version?

At least TexLive creates PDFs by default in version 1.5. Why this particular version? This question has been asked before in a comment and didn't receive the attention it deserves. (duh!) This site ...
8
votes
0answers
50 views

Performance difference between different graphics formats in pdflatex

I have a very complex document with many pictures (jpg, png and pdf). In trying to improve compiling performance I tried to convert all pictures to jpg, then all pictures to png and then to pdf (with ...
8
votes
0answers
110 views

Tags, like on TeX.SE, but with the ability to show or hide both the tag--document structure and associated text, as in the multiaudience package

The term "tags" can be understood to mean that which is used to organize and make text more understandable (as in TeX.SE). The term "tags" can also be understood as something used to manipulate the ...
8
votes
0answers
88 views

Adding full non-English Unicode language (Bengali) support to polyglossia

As we can see in this question, Bengali (Bangla) support in polyglossia is incomplete. The major weak areas are, Support for numerals. Support for other language related areas like dates. For ...
8
votes
0answers
92 views

Advanced Math and braille

How does one go about typesetting math books in braille with all parenthesized subscripts and superscripts and are there braille signs for the AmsMath package special symbols?
8
votes
0answers
91 views

Opentype fonts: A few wrong glyphs with current lualatex

As a happy user of TeXLive 2015, I came across a strange problem. With the current version (kept up-to-date with tlmgr), strange glyph substitutions occur with CronosPro and MinionPro, but not with ...

15 30 50 per page