Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am modifying the adobecaslon package to support the Adobe Caslon Expert fonts, basing my work on an old package by Ulrik Vieth for which only some sources are available; I'm also trying to make the package more modular, building on fontinst 1.9.

Adobe Caslon's Expert fonts include st and ct ligatures. To use these, Vieth produced a modified t1.etx encoding file. I would prefer merely to use it an override it. I tried thusly:



%% First load the base encoding

%% Then override some slots
   \comment{The letter `{c}'.}

   \comment{The letter `{s}'.}

 \comment{The `old style' ligature ct}

 \comment{The `old style' ligature st}


This seems to work nicely, but I get warnings from fontinst like this:

This character already appeared in a LIGTABLE LABEL (line 4312).
   (LABEL D 99 
              ) (COMMENT c)  

Indeed, if I check the .vpl files output, I find duplicate entries. However, the later entry contains all the same information as the earlier one, plus my modifications, and the output seems to work OK.

What I'd like to know is, am I doing this the right way, and can I ignore the warnings?

share|improve this question
Have a look at multislot.sty (part of fontinst). –  Robert Aug 1 '13 at 15:49
Thanks. As far as I can tell, none of the possible multislot commands do what I want, as I want to have multiple \setslot...\endslot commands take effect (not just the first) and in the example quoted about changing l to lambda, the "buggy" behavior mentioned is exactly what I want to occur, i.e. retain the original kerns and ligatures. So maybe what I'm doing is right? –  Reuben Thomas Aug 1 '13 at 17:24
For example, in the above, I want to add a ligature for c and for s, while retaining all the existing ligatures and kerns. –  Reuben Thomas Aug 1 '13 at 17:25
Hm, I was especially worried about the double entries for slots 141 and 173, and about the "strange results" that according to multislot.sty might ensue, but if vptovf does the right thing (for you) by selecting the last entry, then maybe you should indeed just ignore the warning. Or else, could you also provide the driver file for further testing? (my fontinst skills have somewhat withered ...) –  Robert Aug 2 '13 at 4:07
Ah yes, of course I want to reset those slots, that is, 141 and 173, but without getting the "first entry only" behavior of \setslot that multislot.sty gives. –  Reuben Thomas Aug 2 '13 at 9:38

1 Answer 1

Since I am making encodings that are mostly like the original, I want to get any updates to the original. I do patch the name of the encoding and change the file name; it would be easier if I could just import the original and override some of its settings, as then I could simply write the new file rather than having to patch the old.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.