Re: [NTG-context] crop marks
Thanks Wolfgang and Thomas, that was it. Now, what if I want crop marks only outside the printed area? As it is now, they appear also where the cutting lines cross each other between the single "pages". That way they'll end up on either the one or the other of the adjacent pages, maybe half a line on both, depending on how more or less precise printer and cutting alignments work. Thanks -- Thomas Am 29.06.2016 um 12:37 schrieb Thomas A. Schmitz: On 29 Jun 2016, at 12:14, Thomas Fehige <tho...@fehige.de> wrote: \definepapersize[Labelpaper][width=95mm,height=90mm] \setuppapersize[Labelpaper][A4,portrait] \setuplayout[ backspace=3mm, margin=0mm, topspace=3mm, header=0mm, footer=0mm, width=89mm, height=84mm, nx=2, ny=3, location=middle, marking=on % according to the wiki, % this should show the crop marks ] \showframe% not for the final printing of course \starttext ~ % Dummy text, I'll work with background layers. \stoptext Either put a comma after your last assignment marking=on, or move the closing bracket right after this assignment. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] crop marks
Thanks Wolfgang and Thomas, that was it. Now, what if I want crop marks only outside the printed area? As it is now, they appear also where the cutting lines cross each other between the single "pages". That way they'll end up on either the one or the other of the adjacent pages, maybe half a line on both, depending on how more or less precise printer and cutting alignments work. Thanks -- Thomas Am 29.06.2016 um 12:37 schrieb Thomas A. Schmitz: On 29 Jun 2016, at 12:14, Thomas Fehige <tho...@fehige.de> wrote: \definepapersize[Labelpaper][width=95mm,height=90mm] \setuppapersize[Labelpaper][A4,portrait] \setuplayout[ backspace=3mm, margin=0mm, topspace=3mm, header=0mm, footer=0mm, width=89mm, height=84mm, nx=2, ny=3, location=middle, marking=on % according to the wiki, % this should show the crop marks ] \showframe% not for the final printing of course \starttext ~ % Dummy text, I'll work with background layers. \stoptext Either put a comma after your last assignment marking=on, or move the closing bracket right after this assignment. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] crop marks
I wonder how I can get crop marks to work. This is what I have, but they don't show: %=== MWE = \definepapersize[Labelpaper][width=95mm,height=90mm] \setuppapersize[Labelpaper][A4,portrait] \setuplayout[ backspace=3mm, margin=0mm, topspace=3mm, header=0mm, footer=0mm, width=89mm, height=84mm, nx=2, ny=3, location=middle, marking=on % according to the wiki, % this should show the crop marks ] \showframe% not for the final printing of course \starttext ~ % Dummy text, I'll work with background layers. \stoptext %== ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Text inline fractions
Lovely, thanks Wolfgang! (Wish I knew how to find such things on my own.) Cheers -- Thomas Am 22.06.2016 um 15:45 schrieb Wolfgang Schuster: Thomas Fehige <mailto:tho...@fehige.de> 22. Juni 2016 um 14:34 Is there a clean and easy way in mkiv to create text inline fractions with a slash; something like 1{}^1/_2 to mean one and a half? \definefontfeature[fraction][frac=yes] \definehighlight[textfraction][style={\feature[+][fraction]}] \starttext \m{1\vfrac{1}{2}} 1\textfraction{1/2} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Equivalent in ConTeXt mkiv for LaTeX's picture environment?
The headline says it: As a convert from LaTeX I'm looking for the functionality of LaTeX's picture environment, i.e. the placing of boxes et al. according to absolute coordinates, possibly with calculating measurements and coordinates on the go, like the stuff provided by the picture package on LaTeX. (It's labels for cider bottles this time.) Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Text inline fractions
Is there a clean and easy way in mkiv to create text inline fractions with a slash; something like 1{}^1/_2 to mean one and a half? Thank you -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] basic fontsizes question
Thank you Wolfgang, that solves the mystery. (As the poster is for a philosophical association, "few words" is not applicable here.) Am 08.06.2016 um 11:11 schrieb Wolfgang Schuster: Thomas Fehige <mailto:tho...@fehige.de> 8. Juni 2016 um 10:35 Nevertheless, I prefer to keep all the font and fontsize definitions and tweaks together in the preamble. This poster is not the only work I'm planning to do in ConTeXt, and I need to learn to swim while already in the water ;) . For short texts where you want a certain style and size (e.g. a title page or a poster with few words) \definedfont is the recommended method, for larger amounts of the text (e.g. the abstract of a book) you can use \switchtobodyfont to change the size. Meanwhile I found the command \definebodyfontswitch and defined switches like \normalsize, \scriptsize, \large, \Large etc. The \definebodyfontswitch creates only a command which uses \switchtobodyfont with a fixed number of arguments. But this doesn't explain why \definebodyfontenvironment did not do anything in my MNWE. The fonts book is not very clear on its intended use. You put spaces before and after = which aren’t allowed there. \definebodyfontenvironment [24pt] [ small=22pt, big=28pt, x=22pt, xx=16pt, a=30pt, b=40pt, c=50pt, d=60pt, interlinespace=30pt, em=italic] \setupbodyfont[palatino,24pt] \starttext \startlines \tf tf {\tfa tfa} {\tfb tfb} {\tfc tfc} {\tfd tfd} {\tfx tfx} {\tfxx tfxx} \stoplines \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] basic fontsizes question
Am 06.06.2016 um 22:48 schrieb Wolfgang Schuster: Hi Thomas, [Thanks for the hint re starting a new thread, I didn't know that, sorry.] Thomas Fehige <mailto:tho...@fehige.de> 6. Juni 2016 um 16:05 In the fonts book I found the \definebodyfont command, but it does not to do what I expected. What I need (for a poster) is a set of absolute font sizes. I tried the code below. I put some quirks in, like the huge value for "a", to see if it works, but it doesn't. It just uses the preset proportions relative to the preceding fontsize command (in the example, \tfx is bigger than \tf). \definebodyfontenvironment[palatino][24pt][ text = 24pt, small = 22pt, x = 22pt, scriptscript = 16pt, xx = 16pt, big=28pt, a = 80pt, % 28pt b = 40pt, c = 50pt, d = 50pt, interlinespace = 3ex, em = italic ] \setupbodyfont[palatino,24pt] \starttext \tf tf\\ \tfa tfa\\ \tfb tfb\\ \tfx tfx\\ \tfx tfx \stoptext When you have only a small amount of text the use of \definebodyfontenvironment is overkill because you can use the \definedfont command to set a certain font size. \starttext \start \definedfont[Serif at 20pt] \input ward \stop \startfont[SansBoldItalic at 18pt] \input ward \stopfont \stoptext Wolfgang Nevertheless, I prefer to keep all the font and fontsize definitions and tweaks together in the preamble. This poster is not the only work I'm planning to do in ConTeXt, and I need to learn to swim while already in the water ;) . Meanwhile I found the command \definebodyfontswitch and defined switches like \normalsize, \scriptsize, \large, \Large etc. But this doesn't explain why \definebodyfontenvironment did not do anything in my MNWE. The fonts book is not very clear on its intended use. BTW, I have no idea how all the strange line breaks crept into my code sample again. It seems tabs in a html mail are converted into line breaks somewhere along the line. I'll stick to plain text in the future. Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] basic fontsizes question
In the fonts book I found the \definebodyfont command, but it does not to do what I expected. What I need (for a poster) is a set of absolute font sizes. I tried the code below. I put some quirks in, like the huge value for "a", to see if it works, but it doesn't. It just uses the preset proportions relative to the preceding fontsize command (in the example, \tfx is bigger than \tf). \definebodyfontenvironment[palatino][24pt][ text = 24pt, small = 22pt, x=22pt, scriptscript = 16pt, xx = 16pt, big=28pt, a = 80pt, % 28pt b = 40pt, c = 50pt, d = 50pt, interlinespace = 3ex, em = italic ] \setupbodyfont[palatino,24pt] \starttext \tf tf\\ \tfa tfa\\ \tfb tfb\\ \tfx tfx\\ \tfx tfx \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] basic fontsizes question
edit: Sorry, I meant the command \definebodyfontenvironment, of course, like in the code sample. Am 06.06.2016 um 16:05 schrieb Thomas Fehige: In the fonts book I found the \definebodyfont command, but it does not to do what I expected. What I need (for a poster) is a set of absolute font sizes. I tried the code below. I put some quirks in, like the huge value for "a", to see if it works, but it doesn't. It just uses the preset proportions relative to the preceding fontsize command (in the example, \tfx is bigger than \tf). \definebodyfontenvironment[palatino][24pt][ text = 24pt, small = 22pt, x=22pt, scriptscript = 16pt, xx = 16pt, big=28pt, a = 80pt, % 28pt b = 40pt, c = 50pt, d = 50pt, interlinespace = 3ex, em = italic ] \setupbodyfont[palatino,24pt] \starttext \tf tf\\ \tfa tfa\\ \tfb tfb\\ \tfx tfx\\ \tfx tfx \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] basic fontsizes question
In the fonts book I found the \definebodyfont command, but it does not to do what I expected. What I need (for a poster) is a set of absolute font sizes. I tried the code below. I put some quirks in, like the huge value for "a", to see if it works, but it doesn't. It just uses the preset proportions relative to the preceding fontsize command (in the example, \tfx is bigger than \tf). \definebodyfontenvironment[palatino][24pt][ text = 24pt, small = 22pt, x=22pt, scriptscript = 16pt, xx = 16pt, big=28pt, a = 80pt, % 28pt b = 40pt, c = 50pt, d = 50pt, interlinespace = 3ex, em = italic ] \setupbodyfont[palatino,24pt] \starttext \tf tf\\ \tfa tfa\\ \tfb tfb\\ \tfx tfx\\ \tfx tfx \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Partial \framed
Thank you Wolfgang, that is exactly what I was looking for. I apologize for the incomplete example. I have no idea, however, how all the empty lines got in there. They weren't there when I clicked "send", only when I saw it in the list. Thomas Am 06.06.2016 um 12:32 schrieb Wolfgang Schuster: \startuseMPgraphic{leftbracket} z[0] = (EmWidth,OverlayHeight) ; z[1] = (0,OverlayHeight) ; z[2] = (0,0) ; z[3] = (EmWidth,0) ; draw z[0]--z[1]--z[2]--z[3] withcolor \MPcolor{\overlaylinecolor} ; \stopuseMPgraphic \startuseMPgraphic{rightbracket} z[0] = (-EmWidth,OverlayHeight) ; z[1] = (0,OverlayHeight) ; z[2] = (0,0) ; z[3] = (-EmWidth,0) ; draw z[0]--z[1]--z[2]--z[3] withcolor \MPcolor{\overlaylinecolor} ; \stopuseMPgraphic \installleftframerenderer {bracket}{\useMPgraphic {leftbracket}} \installrightframerenderer{bracket}{\useMPgraphic{rightbracket}} \defineframed [bracketframed] [frame=off, offset=1ex, leftframe=bracket, rightframe=bracket, framecolor=red, foregroundstyle=\ssx, foregroundcolor=darkgray, align=normal, width=max] \starttext \bracketframed{\input knuth } \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Partial \framed
I'm trying to put a piece of text in a partial frame that's meant to look like square brackets aligned with the left and right edges of the textblock. I tried to use two \framed constructions inside each other, the outer one with width=textwidth and negative toffset and boffset, the inner one with a smaller width, a fat rulethickness and the color of the background, expecting it to erase the outer frame where it's not needed: \color[zier]{% \framed[% align=middle, width=\textwidth, toffset=-4mm, boffset=-4mm, strut=no, ]{% \color[paper]{\framed[% align=middle, width=222mm, % i.e. \textwidth-4mm toffset=6mm, boffset=5mm, rulethickness=5mm ]{% \color[zier]{\tfd \strut Here's the text that is menat to look important; its length/number of lines is undetermined.\strut} }}% }% }% ... but it doesn't work. Apparently the inner frame is drawn before the outer one. Putting the wider frame inside the narrower results in alignment problems -- due to the overfull hbox, I presume. Is there a simple solution in ConTeXt that I haven't found yet, or will I have to try some plain TeX box magic myself? Thanks -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Letterspacing
I'm still trying to understand some ConTeXt ways of doing things, being a kind of LaTeX native myself. I bought the context-fonts manual, but still can't figure out how to implement a macro that does the simple(?) following, especially item 3: 1. Make #1 uppercase [OK, in simple situations I could just type the uppercase letters] 2. change #1's color to xxx [not a problem] 3. apply an amount of letterspacing to the capitalized #1 that I can specify myself. Maybe I'm only using the wrong search term, maybe the letterspace feature is well hidden in the documentation, maybe it doesn't exist: I simply don't know and don't see a way to find out. \stretched is not an answer. Any hints appreciated. Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setting up TeXworks
Thanks Jean-Pierre, and no, you're not carrying owls to Athens, in whatever language. ;) I'm very new to ConTeXt and not all that experienced in the Linux world either. My French is honed on cooking recipes rather than computing and coding, but I was able to follow your page allright. 1. I don't have my standalone ConTeXt tree anywhere under /home/... but in /usr/local/context/..., as suggested on the wiki. Would that make a difference? 2. What do "--generate" and "--make" do? I remember having run them at one occasion or other, but to no avail as to the TeXworks problem. Shouldn't they be run by the installation script anyway? I had managed the fonts database stuff, thanks to the wiki and some trial and error. It was time I learned about environment variables in Linux and Xfce anyway. Cheers -- Thomas Am 17.05.2016 um 15:22 schrieb Jean-Pierre Delange: And don't forget to do this before coding : 1) cd /home/[...]/context/tex/. setuptex This command answers this : "Setting "/home/JohnDoe/context/tex" as ConTeXt root." 2) Then : cd .../context/tex/texmf-win64 (or linux64) with a x64 computer 3) Then type : context --generate and type : context --make 4) Finally, if you add fonts (in /usr/share/fonts, or $HOME/.fonts), don't forget to reload the font database (in the same depositery as 3)); the command is as follow : mtxrun --script fonts --reload In order to see which fonts are installed on your system: mtxrun --script fonts --list --all To search a font (like didot) : mtxrun --script fonts --list --pattern=*didot* --all All these commands are the same on windows/linux/OS X More information in French here : https://fr.wikibooks.org/wiki/ConTeXt Hope that ich sende nicht Eulen nach Athens ! JP - Mail original - De: "Thomas Fehige" <tho...@fehige.de> À: ntg-context@ntg.nl Envoyé: Mardi 17 Mai 2016 14:39:27 Objet: Re: [NTG-context] Setting up TeXworks Whew, I've got it running, finally. For some reason, TeXworks needs to tell mtxrun explicitly where its texmf-tree is located. Meaning, an additional argument is required in TeXworks's starter setup, which now looks like this: name: ConTeXt MkIV command: mtxrun arguments: --tree=/usr/local/context/tex<-- this is the one! --autogenerate --script context $fullname In the "Paths to TeX and friends" list I have /usr/local/context/texmf-linux-64 /usr/local/context/bin as the top two entries. I don't know what exactly is going on here, so I don't feel confident to add this to the wiki, but maybe someone else does and will. Thanks for listening -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setting up TeXworks
Am 17.05.2016 um 14:59 schrieb Hans Hagen: Using --tree is quite ok for this. Maybe TeXworks sets some environment variable that interferes otherwise. Normally using the full path should also work, so /usr/local/context/texmf-linux-64/mtxrun Well, it isn't normal, apparently. I remember I tried that at some stage, but it didn't work. The problem was not finding mtxrun and starting it, but rather that mtxrun, once started, couldn't find some of its config files. Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setting up TeXworks
Whew, I've got it running, finally. For some reason, TeXworks needs to tell mtxrun explicitly where its texmf-tree is located. Meaning, an additional argument is required in TeXworks's starter setup, which now looks like this: name: ConTeXt MkIV command: mtxrun arguments: --tree=/usr/local/context/tex<-- this is the one! --autogenerate --script context $fullname In the "Paths to TeX and friends" list I have /usr/local/context/texmf-linux-64 /usr/local/context/bin as the top two entries. I don't know what exactly is going on here, so I don't feel confident to add this to the wiki, but maybe someone else does and will. Thanks for listening -- Thomas Am 17.05.2016 um 13:16 schrieb Thomas Fehige: I tried that, no success (not very different from what I did before either). Are there other tests that I could do? Can't anybody interpret the messages, error and otherwise? Cheers -- Thomas Am 16.05.2016 um 17:55 schrieb Jean-Pierre Delange: At the end of this website page http://lesfichesabebert.fr/index.php/Context/Instalation, there are some explanations about the TeXWorks typesetting setting. There are some screen prints which may help. - Mail original - De: "Thomas Fehige" <tho...@fehige.de> À: ntg-context@ntg.nl Envoyé: Lundi 16 Mai 2016 17:46:13 Objet: Re: [NTG-context] Setting up TeXworks Am 06.05.2016 um 13:39 schrieb L.S.-Soc: I've searched through the mailing list, what the initial post to this topic was, but i couldn't find it. If you're having trouble to make context compile a document, try this: - TeXworks tools.ini doesn't need to be edited manually. It's the file where TW saves the settings from " Edit -> Preferences -> Typesetting ". - First of all make sure, that you downloaded ConTeXt by using "first-setup.exe" That I did. Not *.exe though, being on a Linux OS, Xubuntu to be precise. - Then, you should add the folder where context.exe (and all executables) are stored to your system paths: Use your browser to navigate to the said folder, click on the address bar and copy the full path. For me it looks like this: " F:\Sandbox\ConTeXt\tex\texmf-win64\bin " - Then add this path to your windows system paths: go to your windows control panel, double click " System "-> advanced settings -> environment variables (or something like this), in the lower halfth there is a window with a point " Path " . Double click it and paste your CTX folder pretty much at the top of the section or if there is only one line, add it at the beginning, and use semikolon ( ; ) to seperate it from the rest. Save your settings and you should be good to go. - to test if you did it correctly open your command line and simply enter " context.exe --version ". If command line tells you, that no context.exe was found, then you might try to add the context \bin folder to your system paths again Translating this into Linux, all this works fine. - if command line tells you the version of context, then you can proceed: - start TW, " Edit -> Preferences -> Typesetting ". There check the upper halfth for the context folder you added to your system paths. If you've added it at the beginning, it should be at the top here as well. Alternatively use the arrows to push context\bin it to the very top NOTE: this is important. if you have MikTeX installed for example and if its folder is listed above your context folder, TW will try to use exe files from the MikTeX folder. so make sure that context\bin is above anything related to tex, context or lua. Thanks for your detailed description, but I'm afraid that's not it. Meanwhile I uninstalled all my texlive packets and reinstalled TeXworks without any of the texlive components, and reinstalled ConTeXt standalone strictly according to this: http://wiki.contextgarden.net/Ubuntu#With_ConTeXt_Standalone_.E2.80.93_should_work_with_all_Ubuntu_versions -- and the problem persists. mtxrun is found and started allright, but it complains that it can't find some files, that a database is outdated, and that it can't find some other files and stops without a pdf. Below is the complete console output as shown in TeXworks. Calling "context test" in a terminal window works fine, though. Cheers -- Thomas -- mtxrun | forcing cache reload resolvers | resolving | looking for 'texmfcnf.lua' on given path '/home/thomas/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/local/context/bin' from specification 'selfautoloc:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resol
Re: [NTG-context] Setting up TeXworks
I tried that, no success (not very different from what I did before either). Are there other tests that I could do? Can't anybody interpret the messages, error and otherwise? Cheers -- Thomas Am 16.05.2016 um 17:55 schrieb Jean-Pierre Delange: At the end of this website page http://lesfichesabebert.fr/index.php/Context/Instalation, there are some explanations about the TeXWorks typesetting setting. There are some screen prints which may help. - Mail original - De: "Thomas Fehige" <tho...@fehige.de> À: ntg-context@ntg.nl Envoyé: Lundi 16 Mai 2016 17:46:13 Objet: Re: [NTG-context] Setting up TeXworks Am 06.05.2016 um 13:39 schrieb L.S.-Soc: I've searched through the mailing list, what the initial post to this topic was, but i couldn't find it. If you're having trouble to make context compile a document, try this: - TeXworks tools.ini doesn't need to be edited manually. It's the file where TW saves the settings from " Edit -> Preferences -> Typesetting ". - First of all make sure, that you downloaded ConTeXt by using "first-setup.exe" That I did. Not *.exe though, being on a Linux OS, Xubuntu to be precise. - Then, you should add the folder where context.exe (and all executables) are stored to your system paths: Use your browser to navigate to the said folder, click on the address bar and copy the full path. For me it looks like this: " F:\Sandbox\ConTeXt\tex\texmf-win64\bin " - Then add this path to your windows system paths: go to your windows control panel, double click " System "-> advanced settings -> environment variables (or something like this), in the lower halfth there is a window with a point " Path " . Double click it and paste your CTX folder pretty much at the top of the section or if there is only one line, add it at the beginning, and use semikolon ( ; ) to seperate it from the rest. Save your settings and you should be good to go. - to test if you did it correctly open your command line and simply enter " context.exe --version ". If command line tells you, that no context.exe was found, then you might try to add the context \bin folder to your system paths again Translating this into Linux, all this works fine. - if command line tells you the version of context, then you can proceed: - start TW, " Edit -> Preferences -> Typesetting ". There check the upper halfth for the context folder you added to your system paths. If you've added it at the beginning, it should be at the top here as well. Alternatively use the arrows to push context\bin it to the very top NOTE: this is important. if you have MikTeX installed for example and if its folder is listed above your context folder, TW will try to use exe files from the MikTeX folder. so make sure that context\bin is above anything related to tex, context or lua. Thanks for your detailed description, but I'm afraid that's not it. Meanwhile I uninstalled all my texlive packets and reinstalled TeXworks without any of the texlive components, and reinstalled ConTeXt standalone strictly according to this: http://wiki.contextgarden.net/Ubuntu#With_ConTeXt_Standalone_.E2.80.93_should_work_with_all_Ubuntu_versions -- and the problem persists. mtxrun is found and started allright, but it complains that it can't find some files, that a database is outdated, and that it can't find some other files and stops without a pdf. Below is the complete console output as shown in TeXworks. Calling "context test" in a terminal window works fine, though. Cheers -- Thomas -- mtxrun | forcing cache reload resolvers | resolving | looking for 'texmfcnf.lua' on given path '/home/thomas/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/local/context/bin' from specification 'selfautoloc:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/share/texmf-dist/web2c' from specification 'selfautoloc:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/share/texmf/web2c' from specification 'selfautoloc:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/texmf-dist/web2c' from specification 'selfautoloc:/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/texmf/web2c' from specification 'selfautoloc:/texmf
Re: [NTG-context] Setting up TeXworks
Am 06.05.2016 um 13:39 schrieb L.S.-Soc: I've searched through the mailing list, what the initial post to this topic was, but i couldn't find it. If you're having trouble to make context compile a document, try this: - TeXworks tools.ini doesn't need to be edited manually. It's the file where TW saves the settings from " Edit -> Preferences -> Typesetting ". - First of all make sure, that you downloaded ConTeXt by using "first-setup.exe" That I did. Not *.exe though, being on a Linux OS, Xubuntu to be precise. - Then, you should add the folder where context.exe (and all executables) are stored to your system paths: Use your browser to navigate to the said folder, click on the address bar and copy the full path. For me it looks like this: " F:\Sandbox\ConTeXt\tex\texmf-win64\bin " - Then add this path to your windows system paths: go to your windows control panel, double click " System "-> advanced settings -> environment variables (or something like this), in the lower halfth there is a window with a point " Path ". Double click it and paste your CTX folder pretty much at the top of the section or if there is only one line, add it at the beginning, and use semikolon ( ; ) to seperate it from the rest. Save your settings and you should be good to go. - to test if you did it correctly open your command line and simply enter " context.exe --version ". If command line tells you, that no context.exe was found, then you might try to add the context \bin folder to your system paths again Translating this into Linux, all this works fine. - if command line tells you the version of context, then you can proceed: - start TW, " Edit -> Preferences -> Typesetting ". There check the upper halfth for the context folder you added to your system paths. If you've added it at the beginning, it should be at the top here as well. Alternatively use the arrows to push context\bin it to the very top NOTE: this is important. if you have MikTeX installed for example and if its folder is listed above your context folder, TW will try to use exe files from the MikTeX folder. so make sure that context\bin is above anything related to tex, context or lua. Thanks for your detailed description, but I'm afraid that's not it. Meanwhile I uninstalled all my texlive packets and reinstalled TeXworks without any of the texlive components, and reinstalled ConTeXt standalone strictly according to this: http://wiki.contextgarden.net/Ubuntu#With_ConTeXt_Standalone_.E2.80.93_should_work_with_all_Ubuntu_versions -- and the problem persists. mtxrun is found and started allright, but it complains that it can't find some files, that a database is outdated, and that it can't find some other files and stops without a pdf. Below is the complete console output as shown in TeXworks. Calling "context test" in a terminal window works fine, though. Cheers -- Thomas -- mtxrun | forcing cache reload resolvers | resolving | looking for 'texmfcnf.lua' on given path '/home/thomas/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/local/context/bin' from specification 'selfautoloc:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/share/texmf-dist/web2c' from specification 'selfautoloc:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/share/texmf/web2c' from specification 'selfautoloc:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/texmf-dist/web2c' from specification 'selfautoloc:/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/texmf/web2c' from specification 'selfautoloc:/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/local/context' from specification 'selfautodir:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/share/texmf-dist/web2c' from specification 'selfautodir:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/share/texmf/web2c' from specification 'selfautodir:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path
[NTG-context] ConTeXt and Scite
For the time being, I think I'm giving up on pairing ConTeXt standalone and TeXworks on my Xubuntu machine and try to try out SciTE. In the manual it says that If you want to use ConTEXt, you need to copy the relevant files from /tex/texmf-context/context/data/scite to the path were SciTE keeps its property files (*.properties) Is that the only way? SciTE seems to keep its user-specific properties files in my home directory! I don't want to clutter that up with 16 unhidden files and two directories. At least SciTE's original files are hidden ones. A much more polite way would be if SciTE used a hidden directory named "~/.scite", or, better still, "~/.config/scite", to keep its config stuff in. Can I reconfigure it to use some place like that? Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setting up TeXworks
Now I uninstalled the texlive version of ConTeXt and did a total new install of the standalone version. That did not help at all. There's something wrong happening within the mtxrun. I added a new "compiler" to TeXworks that only executes the command printenv and it lists the following environment settings: TEXROOT=/usr/local/context/tex PATH=/usr/local/context/texmf-linux-64:/usr/local/context/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/context/texmf-linux-64/bin OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts;/home/thomas/.local/share/fonts They look pretty correct to me. But still mtxrun complains: -- ... resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated ... resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) ... mtxrun | unknown script 'context.lua' or 'mtx-context.lua' -- Clueless greetings -- Thomas Am 09.05.2016 um 13:02 schrieb Thomas Fehige: To prevent misunderstandings: This is /not/ the solution, the problem remains that the newly installed standalone mtxrun doesn't find certain configuration files and complains about an outdated something or other, /when started from within TeXworks/, while everything works fine from the command line. Am 07.05.2016 um 12:49 schrieb Thomas Fehige: Am 06.05.2016 um 10:04 schrieb Mojca Miklavec: Can you check the paths in the fourth tab (= Typesetting) of Preferences/Settings? It is possible that you have more than one version of ConTeXt installed and that you see different paths in the Terminal than in the GUI. Mojca Yes I have two versions of ConTeXt. I have TeXlive from the Ubuntu repository and now the newer version as standalone. I added the paths to the new version at the top of that list in TeXwoks' preferences. And it does find and run the new version of mtxrun. Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setting up TeXworks
To prevent misunderstandings: This is /not/ the solution, the problem remains that the newly installed standalone mtxrun doesn't find certain configuration files and complains about an outdated something or other, /when started from within TeXworks/, while everything works fine from the command line. Am 07.05.2016 um 12:49 schrieb Thomas Fehige: Am 06.05.2016 um 10:04 schrieb Mojca Miklavec: Can you check the paths in the fourth tab (= Typesetting) of Preferences/Settings? It is possible that you have more than one version of ConTeXt installed and that you see different paths in the Terminal than in the GUI. Mojca Yes I have two versions of ConTeXt. I have TeXlive from the Ubuntu repository and now the newer version as standalone. I added the paths to the new version at the top of that list in TeXwoks' preferences. And it does find and run the new version of mtxrun. Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setting up TeXworks
Am 06.05.2016 um 10:04 schrieb Mojca Miklavec: Can you check the paths in the fourth tab (= Typesetting) of Preferences/Settings? It is possible that you have more than one version of ConTeXt installed and that you see different paths in the Terminal than in the GUI. Mojca Yes I have two versions of ConTeXt. I have TeXlive from the Ubuntu repository and now the newer version as standalone. I added the paths to the new version at the top of that list in TeXwoks' preferences. And it does find and run the new version of mtxrun. Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Setting up TeXworks
Am 29.04.2016 um 11:05 schrieb Wolfgang Schuster: You need a newer context version. OK, that helps. Everything is fine from the command line. I seem to be overlooking something as to the setup of TeXworks, though. I copied the programme calls from the _tools.ini_ that came with the ConTeXt standalone version into the present _tools.ini_ that lives in my personal TeXworks config folder. Now TW starts _mtxrun_ allright, but the run crashes with mtxrun | unknown script 'context.lua' or 'mtx-context.lua' Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] glyph substitution
Am 25.04.2016 um 22:44 schrieb Wolfgang Schuster: Thomas Fehige <mailto:tho...@fehige.de> 25. April 2016 um 20:12 Possibly the test suite you mean is not the same as the one that's described on this page: http://wiki.contextgarden.net/Test_suite ??? That's where I "searched". http://pragma-ade.com/download-1.htm -> cont-tst.7z Hans, Wolfgang, are you serious? That's just lots of uncommented code snippets, many of them don't do nothing or crash in compilation! I believe I mentioned before that I am very new to ConTeXt. Isn't there any documentation of any of this? Like: "How to make my own otf feature at home" -- the script "extensions-001.tex" seems to try something like that, but it shows no effect on my machine. Or a bit of text that explains the properties and functionalities of \definefontfallback in whole sentences? Pointers like that would be very welcome. Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] glyph substitution
Am 25.04.2016 um 22:47 schrieb Wolfgang Schuster: see s-lingual-de.mkiv I'd do that, if I knew what that is and where I can find it. There should be a file with this name in your ConTeXt folder. But there isn't. After seraching the whole file system, these are all the files with remotely similar names: -- /usr/share/texmf/tex/context/base$ ls s-l*.mkiv s-languages-counters.mkiv s-languages-frequencies.mkiv s-languages-hyphenation.mkiv s-languages-sorting.mkiv s-languages-system.mkiv s-languages-words.mkiv - I have the debian/ubuntu texlive distro that comes with ubuntu 15.10. ConTeXt says: -ConTeXt ver: 2015.05.18 12:26 MKIV current fmt: 2016.3.18 int: english/english - Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] glyph substitution
Am 25.04.2016 um 14:48 schrieb Thomas Fehige: Sorry, all of ConTeXt is still very new to me, and the documentation often confuses me. Am 22.04.2016 um 22:28 schrieb Hans Hagen: you can define your own font .. search in the test suite for fallbacks*.tex etc as well as extensions-*.tex For both searches the test suite answers "No matches found". Possibly the test suite you mean is not the same as the one that's described on this page: http://wiki.contextgarden.net/Test_suite ??? That's where I "searched". Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] glyph substitution
Sorry, all of ConTeXt is still very new to me, and the documentation often confuses me. Am 22.04.2016 um 22:28 schrieb Hans Hagen: you can define your own font .. search in the test suite for fallbacks*.tex etc as well as extensions-*.tex For both searches the test suite answers "No matches found". see s-lingual-de.mkiv I'd do that, if I knew what that is and where I can find it. Googling these brought up some interesting stuff though, which I am trying to read and understand. Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] uppercase, small caps, numerals and German capital sharp s
Thanks for the clarification, Wolfgang. Am 20.04.2016 um 16:25 schrieb Wolfgang Schuster: [...] I was looking for a general way how to substitute one glyph with another depending on context, thus I can't see how there are different problems in my post? But it's good to hear that others have thought at least of a partial solution. Is my guess right that normally the author of a font ought to provide otf features that can be switched on and off to get one result instead of the other? That area seems to be utter chaos in the Calluna fonts. The output of \sc to produce small capitals depends on the font and it’s the font designers job to provide a small ẞ (he could use stilistic sets to let you choose between ß and ẞ). Well, there's the problem, I think. Jos Buivenga, aka exljbris, Calluna's font designer, has done a superb job on the graphics (in my eyes), but his stylistic sets or otf features seem to be full of holes, as far as I understand them, which is perhaps not very far. What I'm looking for is a way on the TeX, LuaTeX or ConTeXt level to define "environments" ('scuse my LaTeX slang) within which certain glyph substitutions happen. Then I could kind of redefine a thing like \sc to use the smallcaps ß and switch to smallcaps lining figures, if available, or, otherwise, scaled-down uppercase lining figures. I have still other fish to fry in this context, but a general hint where to look for something like this would be helpful. Thanks a lot so far -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] uppercase, small caps, numerals and German capital sharp s
Wolfgang, Use separate threads for each problem. The uppercase sharp s replacement with \WORD can be changed in the next beta. %% begin example are you saying, use this example as long as the new beta isn't out yet, or are you saying, this example will work as soon as I'll use the new beta? It doesn't seem to do anything right now, not even an error message. I was looking for a general way how to substitute one glyph with another depending on context, thus I can't see how there are different problems in my post? But it's good to hear that others have thought at least of a partial solution. Is my guess right that normally the author of a font ought to provide otf features that can be switched on and off to get one result instead of the other? That area seems to be utter chaos in the Calluna fonts. Cheers -- Thomas Am 19.04.2016 um 14:05 schrieb Wolfgang Schuster: Thomas Fehige <mailto:tho...@fehige.de> 19. April 2016 um 09:10 Hello, I'm new to ConTeXt and this list. After a long time of using LaTeX and xeLaTeX I was finally lured into trying ConTexT by its ability of grid typesetting. Today's problem is a bit complex. In a book project I have several points where stuff is capitalized or turned into caps+smallcaps or pure smallcaps. My guess is that that should work either with \WORD{Stuff}, \Cap{Stuff} and \cap{Stuff} or with \uppercase, \sc, and {\sc\lowercase{Stuff}}. (Not quite, it seems) I'll use a commercial font called Calluna, but have added Linux Biolinum O to the example for those who don't want to download Calluna (the "Regular" can be "bought" for free, e.g. at https://www.fontspring.com/fonts/exljbris/calluna). Both Calluna and Biolinum contain the glyph "LATIN CAPITAL LETTER SHARP S" at "1E9E. Calluna also has a small caps version at "F727", while Biolinum has it at "E092. I'd like to use these glyphs in the capitalizations mentioned, but that only works erratically (cf. example). Secondly, Calluna comes with oldstyle numerals switched on, which is nice for normal text, but should change to proportional lining numbers in uppercase and to small-cap proportional lining numbers in an all-small-cap text. I'm not sure what I'd want in a caps+smallcaps context, but certainly not oldstyle numerals with their descenders. Use separate threads for each problem. The uppercase sharp s replacement with \WORD can be changed in the next beta. %% begin example \usemodule[lingual-de] \setupbodyfont[libertine] \starttext Gruß Straße Buße \WORD{Gruß Straße Buße} \enabledirectives[fonts.uppercasesharps] \WORD{Gruß Straße Buße} \disabledirectives[fonts.uppercasesharps] \WORD{Gruß Straße Buße} \stoptext %% end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] uppercase, small caps, numerals and German capital sharp s
Hello, I'm new to ConTeXt and this list. After a long time of using LaTeX and xeLaTeX I was finally lured into trying ConTexT by its ability of grid typesetting. Today's problem is a bit complex. In a book project I have several points where stuff is capitalized or turned into caps+smallcaps or pure smallcaps. My guess is that that should work either with \WORD{Stuff}, \Cap{Stuff} and \cap{Stuff} or with \uppercase, \sc, and {\sc\lowercase{Stuff}}. (Not quite, it seems) I'll use a commercial font called Calluna, but have added Linux Biolinum O to the example for those who don't want to download Calluna (the "Regular" can be "bought" for free, e.g. at https://www.fontspring.com/fonts/exljbris/calluna). Both Calluna and Biolinum contain the glyph "LATIN CAPITAL LETTER SHARP S" at "1E9E. I'm not sure if they contain a small or medium caps version. I'd like to use that glyph in the capitalizations mentioned, but it only works erratically (cf. example). Also, Calluna comes with oldstyle numerals switched on, which is nice for normal text, but should change to lining numbers in all-caps and to small-cap lining numbers in all-small-cap text. I'm not sure what I'll want in a caps+smallcaps context, but certainly not oldstyle numbers with their descenders. Any ideas? Thanks for reading! -- Thomas PS: I asked the same question on stackexchange, there's also an image of the result of my example: http://tex.stackexchange.com/questions/302823/context-uppercase-%C3%9F-customizing-glyph-substitution %% \mainlanguage[de] \language[de] \uccode`ß="1E9E% This gives the capital ß to \uppercase \definefontfeature[fcalluna][default][] % I tried all the font features built % into Calluna, to no avail. \definefontfamily [myfamily] [serif][Calluna][features=fcalluna] \definefontfamily [myfamily] [sans] [Linux Biolinum O][features=fcalluna] \definefontfamily [myfamily] [mono] [TeX Gyre Cursor] \setupbodyfont [myfamily] \startTEXpage[offset=10pt] \starttabulate[|l|l|l|] \NC \it Command \NC \it Calluna \NC \it Linux Biolinum \NC\NR \NC\type{\WORD{Gruß134}}: \NC\WORD{Gruß134} \NC {\ss\WORD{Gruß134}} \NC\NR \NC\type{\uppercase{Gruß134}}: \NC\uppercase{Gruß134} \NC{\ss\uppercase{Gruß134}} \NC\NR \NC\type{\sc{Gruß134}}: \NC{\sc Gruß134} \NC{\ss{\sc Gruß134}} \NC\NR \NC\type{\Cap{Gruß134}:} \NC\Cap{Gruß134} \NC{\ss \Cap{Gruß134}} \NC\NR \NC\type{\cap{Gruß134}:} \NC\cap{Gruß134} \NC{\ss \cap{Gruß134}} \NC\NR \NC\type{{\sc\lowercase{Gruß134}}:} \NC{\sc\lowercase{Gruß134}} \NC{\ss\sc\lowercase{Gruß134}} \NC\NR \stoptabulate \stopTEXpage %% ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setting up TeXworks
Am 03.05.2016 um 12:21 schrieb Mojca Miklavec: On 3 May 2016 at 11:51, Thomas Fehige <tho...@fehige.de> wrote: Am 29.04.2016 um 11:05 schrieb Wolfgang Schuster: You need a newer context version. OK, thank you, that helped. Everything is fine from the command line. I seem to be overlooking something as to the setup of TeXworks, though. I copied the programme calls from the tools.ini that came with the ConTeXt standalone version into the present tools.ini that lives in my personal TeXworks config folder. I also added /usr/local/context/bin to the "paths for TeX and friends" in the TW preferences window. Now TW starts the correct mtxrun, but the run crashes with, after a lot of file searching: mtxrun | unknown script 'context.lua' or 'mtx-context.lua' Try to run (the correct) "mtxrun --generate" either from the command line (or from TW just before you start ConTeXt if the command line doesn't help). That wasn't it. Below is the logfile. The command issued by TeXworks should be mtxrun --autogenerate --script context my_extensions001.tex A file "texmfcnf.lua" is found at three places: /usr/share/texlive/texmf-dist/web2c/texmfcnf.lua (last modified: 25/03/2016) /usr/share/texmf/web2c/texmfcnf.lua (last modified: 25/03/2016) /usr/local/context/tex/texmf/web2c/texmfcnf.lua (last modified: 28.11.2012) The last one is the one I installed this morning. Cheers -- Thomas logfile -- mtxrun | forcing cache reload resolvers | resolving | looking for 'texmfcnf.lua' on given path '/home/thomas/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/local/context/bin' from specification 'selfautoloc:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/share/texmf-dist/web2c' from specification 'selfautoloc:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/share/texmf/web2c' from specification 'selfautoloc:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/texmf-dist/web2c' from specification 'selfautoloc:/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/bin/texmf/web2c' from specification 'selfautoloc:/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/local/context' from specification 'selfautodir:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/share/texmf-dist/web2c' from specification 'selfautodir:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/share/texmf/web2c' from specification 'selfautodir:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/texmf-local/web2c' from specification 'selfautodir:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/texmf-dist/web2c' from specification 'selfautodir:/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/context/texmf/web2c' from specification 'selfautodir:/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '$SELFAUTOGRANDPARENT/texmf-local/web2c' from specification '$SELFAUTOGRANDPARENT/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/local' from specification 'selfautoparent:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/share/texmf-local/web2c' from specification 'selfautoparent:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/share/texmf-dist/web2c' from specification 'selfautoparent:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/share/texmf/web2c' from specification 'selfautoparent:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/local/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for
[NTG-context] Setting up TeXworks
Am 29.04.2016 um 11:05 schrieb Wolfgang Schuster: You need a newer context version. OK, thank you, that helped. Everything is fine from the command line. I seem to be overlooking something as to the setup of TeXworks, though. I copied the programme calls from the _tools.ini_ that came with the ConTeXt standalone version into the present _tools.ini_ that lives in my personal TeXworks config folder. I also added _/usr/local/context/bin_ to the "paths for TeX and friends" in the TW preferences window. Now TW starts the correct _mtxrun_, but the run crashes with, after a lot of file searching: mtxrun | unknown script 'context.lua' or 'mtx-context.lua' Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Test Suite Fonts "extensions-001"
Below is a minimal not-working example extracted from "extensions-001.tex" in the fonts section of the test suite. From what I understand of the code, the second line should read "XPrXcXdXPrX" instead of "abracadabra". But it doesn't, it is still "abracadabra". Compiling the original extensions-001 gives me seven lines of "abracadabra". What am I doing wrong? I'm running ConTeXt version 2015.05.18 12:26 MKIV current fmt: 2016.4.28 from the debian/ubuntu texlive packets. \startluacode fonts.handlers.otf.addfeature { name = "stest", type = "substitution", data = { a = "X", b = "P", } } \stopluacode \definefontfeature[stest][stest=yes] \starttext \startTEXpage \definedfont[file:DejaVuSerif.ttf*default]% abracadabra\par {\addff{stest}abracadabra\par} \stopTEXpage \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] glyph substitution
Am 27.04.2016 um 17:10 schrieb Hans Hagen: indeed they are lots of small examples (taken from the list or experiments) but they show what can be done if they crash (no sure what you mean there) it's most likely due to fonts you don't have on your machine Yes, many of the blank pages or obscure (to me) error messages seem to be font-related. I'll have to see to that. a lot has been published in articles in user group journals or for meetings, there is a font manual that you can buy for nominal costs, there are some manuals on the website and an extended version of the more technical one that hardly anyone needs will end up in the distribution some day soon, there are examples on stack exchange, in the mail archive an don the wiki ... a lot of this depends on voluntary work so you can hardly complain about it .. anyone is free to provide more documentation and share experiences Yes, I know, I'm sorry I let my exasperation run free. When I started out with LaTeX /and/ typesetting more than two decades ago, I had one basic book on LaTeX. Over the years my knowledge of LaTeX, typography, layout design and typesetting grew side by side, if somewhat organically and unsystematic. Nowadays there's about a metre and a half of bookshelf occupied by books on LaTeX, TeX and Typography. As I make books myself, I'm obviously not averse to buying them. I guess the ConTeXt books on fonts and layout will do me good. btw, if you want to roll out your own features as in extensions-001 then you also need to know what the font provides (or lacks) .. open type fonts can be pretty complex and there is no consistency in how certain features are implemented Yes, I learned that already. Will these home-made features only work on open type fonts? Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] glyph substitution
Am 25.04.2016 um 22:44 schrieb Wolfgang Schuster: Thomas Fehige <mailto:tho...@fehige.de> 25. April 2016 um 20:12 Possibly the test suite you mean is not the same as the one that's described on this page: http://wiki.contextgarden.net/Test_suite ??? That's where I "searched". http://pragma-ade.com/download-1.htm -> cont-tst.7z Hans, Wolfgang, are you serious? That's just lots of uncommented code snippets, many of them don't do nothing or crash in compilation! I believe I mentioned before that I am very new to ConTeXt. Isn't there any documentation of any of this? Like: "How to make my own otf feature at home" -- the script "extensions-001.tex" seems to try something like that, but it shows no effect on my machine. Or a bit of text that explains the properties and functionalities of \definefontfallback in whole sentences? Pointers like that would be very welcome. Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] glyph substitution
Am 25.04.2016 um 14:48 schrieb Thomas Fehige: Sorry, all of ConTeXt is still very new to me, and the documentation often confuses me. Am 22.04.2016 um 22:28 schrieb Hans Hagen: you can define your own font .. search in the test suite for fallbacks*.tex etc as well as extensions-*.tex For both searches the test suite answers "No matches found". Possibly the test suite you mean is not the same as the one that's described on this page: http://wiki.contextgarden.net/Test_suite ??? That's where I "searched". Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] glyph substitution
Sorry, all of ConTeXt is still very new to me, and the documentation often confuses me. Am 22.04.2016 um 22:28 schrieb Hans Hagen: you can define your own font .. search in the test suite for fallbacks*.tex etc as well as extensions-*.tex For both searches the test suite answers "No matches found". see s-lingual-de.mkiv I'd do that, if I knew what that is and where I can find it. Googling these brought up some interesting stuff though, which I am trying to read and understand. Cheers -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] glyph substitution
Is there a way to tell ConTeXt to use one glyph where it would on its own use another one? Two examples: - In the font "Purisa Medium" the hyphen comes out as a line that is two or three times fatter and even a little longer than the m-dash. That is clearly wrong, and probably the font designer's fault. Other than that, the font has its merits as a not-too-sweet or crazy handwriting font. I'll need to tell ConTeXt to either scale that monster-hyphen down or to use a different glyph altogether, maybe even from another font. - As mentioned in an earlier post, in an \sc group I need the lowercase ß to be replaced with its smallcaps version, which is contained in the font but not accessible via any of its otf features. There are more occasions where I have missed such a feature. Thank you - Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] uppercase, small caps, numerals and German capital sharp s
Thanks for the clarification, Wolfgang. Am 20.04.2016 um 16:25 schrieb Wolfgang Schuster: [...] I was looking for a general way how to substitute one glyph with another depending on context, thus I can't see how there are different problems in my post? But it's good to hear that others have thought at least of a partial solution. Is my guess right that normally the author of a font ought to provide otf features that can be switched on and off to get one result instead of the other? That area seems to be utter chaos in the Calluna fonts. The output of \sc to produce small capitals depends on the font and it’s the font designers job to provide a small ẞ (he could use stilistic sets to let you choose between ß and ẞ). Well, there's the problem, I think. Jos Buivenga, aka exljbris, Calluna's font designer, has done a superb job on the graphics (in my eyes), but his stylistic sets or otf features seem to be full of holes, as far as I understand them, which is perhaps not very far. What I'm looking for is a way on the TeX, LuaTeX or ConTeXt level to define "environments" ('scuse my LaTeX slang) within which certain glyph substitutions happen. Then I could kind of redefine a thing like \sc to use the smallcaps ß and switch to smallcaps lining figures, if available, or, otherwise, scaled-down uppercase lining figures. I have still other fish to fry in this context, but a general hint where to look for something like this would be helpful. Thanks a lot so far -- Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] uppercase, small caps, numerals and German capital sharp s
Wolfgang, Use separate threads for each problem. The uppercase sharp s replacement with \WORD can be changed in the next beta. %% begin example are you saying, use this example as long as the new beta isn't out yet, or are you saying, this example will work as soon as I'll use the new beta? It doesn't seem to do anything right now, not even an error message. I was looking for a general way how to substitute one glyph with another depending on context, thus I can't see how there are different problems in my post? But it's good to hear that others have thought at least of a partial solution. Is my guess right that normally the author of a font ought to provide otf features that can be switched on and off to get one result instead of the other? That area seems to be utter chaos in the Calluna fonts. Cheers -- Thomas Am 19.04.2016 um 14:05 schrieb Wolfgang Schuster: Thomas Fehige <mailto:tho...@fehige.de> 19. April 2016 um 09:10 Hello, I'm new to ConTeXt and this list. After a long time of using LaTeX and xeLaTeX I was finally lured into trying ConTexT by its ability of grid typesetting. Today's problem is a bit complex. In a book project I have several points where stuff is capitalized or turned into caps+smallcaps or pure smallcaps. My guess is that that should work either with \WORD{Stuff}, \Cap{Stuff} and \cap{Stuff} or with \uppercase, \sc, and {\sc\lowercase{Stuff}}. (Not quite, it seems) I'll use a commercial font called Calluna, but have added Linux Biolinum O to the example for those who don't want to download Calluna (the "Regular" can be "bought" for free, e.g. at https://www.fontspring.com/fonts/exljbris/calluna). Both Calluna and Biolinum contain the glyph "LATIN CAPITAL LETTER SHARP S" at "1E9E. Calluna also has a small caps version at "F727", while Biolinum has it at "E092. I'd like to use these glyphs in the capitalizations mentioned, but that only works erratically (cf. example). Secondly, Calluna comes with oldstyle numerals switched on, which is nice for normal text, but should change to proportional lining numbers in uppercase and to small-cap proportional lining numbers in an all-small-cap text. I'm not sure what I'd want in a caps+smallcaps context, but certainly not oldstyle numerals with their descenders. Use separate threads for each problem. The uppercase sharp s replacement with \WORD can be changed in the next beta. %% begin example \usemodule[lingual-de] \setupbodyfont[libertine] \starttext Gruß Straße Buße \WORD{Gruß Straße Buße} \enabledirectives[fonts.uppercasesharps] \WORD{Gruß Straße Buße} \disabledirectives[fonts.uppercasesharps] \WORD{Gruß Straße Buße} \stoptext %% end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :ntg-context@ntg.nl /http://www.ntg.nl/mailman/listinfo/ntg-context webpage :http://www.pragma-ade.nl /http://tex.aanhet.net archive :http://foundry.supelec.fr/projects/contextrev/ wiki :http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] uppercase, small caps, numerals and German capital sharp s
Hello, I'm new to ConTeXt and this list. After a long time of using LaTeX and xeLaTeX I was finally lured into trying ConTexT by its ability of grid typesetting. Today's problem is a bit complex. In a book project I have several points where stuff is capitalized or turned into caps+smallcaps or pure smallcaps. My guess is that that should work either with \WORD{Stuff}, \Cap{Stuff} and \cap{Stuff} or with \uppercase, \sc, and {\sc\lowercase{Stuff}}. (Not quite, it seems) I'll use a commercial font called Calluna, but have added Linux Biolinum O to the example for those who don't want to download Calluna (the "Regular" can be "bought" for free, e.g. at https://www.fontspring.com/fonts/exljbris/calluna). Both Calluna and Biolinum contain the glyph "LATIN CAPITAL LETTER SHARP S" at "1E9E. Calluna also has a small caps version at "F727", while Biolinum has it at "E092. I'd like to use these glyphs in the capitalizations mentioned, but that only works erratically (cf. example). Secondly, Calluna comes with oldstyle numerals switched on, which is nice for normal text, but should change to proportional lining numbers in uppercase and to small-cap proportional lining numbers in an all-small-cap text. I'm not sure what I'd want in a caps+smallcaps context, but certainly not oldstyle numerals with their descenders. Any hints and ideas? Thanks for reading! -- Thomas PS: I asked the same question on stackexchange, there's also an image of the result of my example: http://tex.stackexchange.com/questions/302823/context-uppercase-%C3%9F-customizing-glyph-substitution %% \mainlanguage[de] \language[de] \uccode`ß="1E9E% This gives the capital ß to \uppercase \definefontfeature[fcalluna][default][] % I tried all the font features built into Calluna, to no avail. \definefontfamily [myfamily] [serif][Calluna][features=fcalluna] \definefontfamily [myfamily] [sans] [Linux Biolinum O][features=fcalluna] \definefontfamily [myfamily] [mono] [TeX Gyre Cursor] \setupbodyfont [myfamily] \startTEXpage[offset=10pt] \starttabulate[|l|l|l|] \NC \it Command \NC \it Calluna \NC \it Linux Biolinum \NC\NR \NC\type{\WORD{Gruß134}}: \NC\WORD{Gruß134} \NC {\ss\WORD{Gruß134}} \NC\NR \NC\type{\uppercase{Gruß134}}: \NC\uppercase{Gruß134} \NC{\ss\uppercase{Gruß134}} \NC\NR \NC\type{\sc{Gruß134}}: \NC{\sc Gruß134} \NC{\ss{\sc Gruß134}} \NC\NR \NC\type{\Cap{Gruß134}:} \NC\Cap{Gruß134} \NC{\ss \Cap{Gruß134}} \NC\NR \NC\type{\cap{Gruß134}:} \NC\cap{Gruß134} \NC{\ss \cap{Gruß134}} \NC\NR \NC\type{{\sc\lowercase{Gruß134}}:} \NC{\sc\lowercase{Gruß134}} \NC{\ss\sc\lowercase{Gruß134}} \NC\NR \stoptabulate \stopTEXpage %% ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___