Re: [NTG-context] Natural tables introduces spaces in \type
On 11/5/2014 9:50 PM, Christoph Reller wrote: On 11/5/2014 10:28 AM, Hans Hagen wrote: On 11/5/2014 8:09 AM, Christoph Reller wrote: Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop: \definetype[ctype][compact=absolute] \starttext \bTABLE \bTR \bTD \ctype{\test.txt} \eTD \eTR \eTABLE \stoptext because the absolute cleaner only deals with \foo { and \foo [ If this issue is resolved I will be glad to wikify. i'll add the . to the filter criteria Thank you for the explanation. I am not sure if it is a wise idea to add only . (the full stop). I tried the following characters, and they all are preceded by a space: . - _ # % , ; @ ! Basically, what I want is to write a file system path name such as C:\Path_to-my\file.ext. The above characters are all valid file system characters. Is there a better solution? Or are you willing to add all the above (maybe except for # and %) to the absolute cleaner? we could have a specific filename cleaner but of course there will be users who have paths that have spaces after the \ ... okay, we could just not support evil paths like that Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] Strange behavior with the command \color[]{}
On 11/5/2014 7:41 PM, Fabrice wrote: Hi Hans, For spaces parasites, it is my fault because I copy and paste my code. However, I do not understand why this code does not work : You need to make real small example as I have no clue what to look at or expect (btw, you use \color[geen] which I suppose has to be green). \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[cd] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] \definecolor[H1][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \tikzset{% cube join/.style={ thick, -{Stealth}, }, cube face/.style={ minimum size=1cm, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=white, }, face color/.style={cube face/.append style={ball color=#1}}, pics/cube/.style args={#1 with #2}{ code={ \node [cube face, label={[name=-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2.5cm,align={middle,lohi}] \setupTABLE[column][2][[width=3cm,align={right,lohi},frame=off] \setupTABLE[column][3][[width=8cm,align={right,lohi},frame=off] \setupTABLE[1][1][[width=5cm,align={right,lohi},frame=off] \setupTABLE[1][2,3][bottomframe=off] \setupTABLE[1][3,4][topframe=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[11pt] \bTR \bTD \color[orange]{\tfa Suite d'instructions correspondant au programme de calcul :} \eTD \bTD \eTD \bTD \color[orange]{\tfa Valeur de la variable $X$ après l'exécution de chaque instruction :} \eTD \eTR \bTR \bTD $X$ prend la valeur $7$ \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=2.8mm; r:=0.6; alfa:=45; beta:=0; gamma:=0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (0cm,0cm)--(3cm,0cm) withcolor blue ;\stopMPcode \eTD \bTD On affecte à $X$ la valeur $7$ : la valeur de $X$ est \color[green]{$7$}. \eTD \eTR \bTR \bTD $X$ prend la valeur $2X$ \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=2.8mm; r:=0.6; alfa:=45; beta:=0; gamma:=0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (0cm,0cm)--(3cm,0cm) withcolor red ;\stopMPcode\eTD \bTD On affecte à $X$ la valeur $2X$.\\Comme la valeur de $X$ est \color[green]{$7$}, la nouvelle valeur de $X$ est : $2\times\color[green]{7}$.\\La valeur de $X$ est maintenant \color[green]{$14$}. \eTD \eTR \bTR \bTD $X$ prend la valeur $X+3$ \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=2.8mm; r:=0.6; alfa:=45; beta:=0; gamma:=0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (0cm,0cm)--(3cm,0cm) withcolor green ;\stopMPcode\eTD \eTR \bTD On affecte à $X$ la valeur $X+3$.\\Comme la valeur de $X$ est \color[green]{$14$}, la nouvelle valeur de $X$ est : $\color[green]{14}+3$.\\La valeur de $X$ est maintenant \color[green]{$17$}. \eTD \eTABLE{} \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][[width=4cm,align={right,lohi},frame=on,framecolor=H1] \setupTABLE[column][2][[width=5cm,align={middle,lohi},frame=off] \setupTABLE[column][3][[width=1cm,align={middle,lohi},frame=off] \setupTABLE[column][4][[width=9cm,align={right,lohi},frame=off] \setupTABLE[1][1][frame=off] \setupTABLE[1][2,3][bottomframe=off] \setupTABLE[1][3,4][topframe=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR \bTD \color[red]{ Suite d'instructions :} \eTD \bTD \eTD \bTD \eTD \bTD \color[orange]{ Valeur de la variable $A$ et valeur de la variable $B$ après l'exécution de chaque instruction :}\eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD \starttikzpicture \pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with $A$};\pic [cube face/.append style={ball color=red}] at ( 1, 1) {cube={} with $B$}; \stoptikzpicture \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=2.8mm; r:=0.6; alfa:=45; beta:=0; gamma:=0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (1cm,0cm)--(0cm,0cm) ;\stopMPcode \eTD \bTD La valeur de $A$ est \color[green]{3} et $B$ n'a pas encore de valeur \eTD \eTR \bTR \bTD $B$ prend la valeur $A+1$ \eTD \bTD \starttikzpicture \pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with $A$}; \pic [cube face/.append style={ball color=red}] at ( 1, 1) {cube=4 with $B$}; \stoptikzpicture \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=2.8mm; r:=0.6; alfa:=45; beta:=0; gamma:=0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (1cm,0cm)--(0cm,0cm) ;\stopMPcode \eTD \bTD Comme la valeur de $A$ est \color[green]{$3$}, la valeur
[NTG-context] ConTeXt gobble my mind
Hello, I've made a lot of improvement to my slides format for my teaching material and I've run into a serious issue with gobbleinput that I can express with with simple lines : \starttext \gobbleuntil\stoptyping \starttyping { printf(%d, data); } \stoptyping This is ignored ! \stoptext How can I use correctly gobbleinput to make it works ? Thank you for your help, kind regards, Pierre-François Bonnefoi. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 123 av Albert Thomas| Mrs. Peel, we're needed... 87060 Limoges CEDEX - FRANCE| The Avengers. ___ 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] ConTeXt gobble my mind
On Thu, Nov 6, 2014 at 10:35 AM, Pierre-François Bonnefoi bonne...@unilim.fr wrote: Hello, I've made a lot of improvement to my slides format for my teaching material and I've run into a serious issue with gobbleinput that I can express with with simple lines : \starttext \gobbleuntil\stoptyping \starttyping { printf(%d, data); } \stoptyping This is ignored ! \stoptext How can I use correctly gobbleinput to make it works ? %d in this situation means [][ token comment ] other tokens --- \gobbleuntil neutralizes \starttyping that changes the catcode of '%' --- so you are left with an open group (the { before printf) that needs to be closed. So the first step is to make '%' a letter token \starttext %\tracingall \gobbleuntil\stoptyping \starttyping { printf(\%d, data); } \stoptyping %\tracingnone This is not more ignored ! \stoptext -- luigi ___ 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] ConTeXt gobble my mind
Am 06.11.2014 um 10:35 schrieb Pierre-François Bonnefoi bonne...@unilim.fr: Hello, I've made a lot of improvement to my slides format for my teaching material and I've run into a serious issue with gobbleinput that I can express with with simple lines : \starttext \gobbleuntil\stoptyping \starttyping { printf(%d, data); } \stoptyping This is ignored ! \stoptext How can I use correctly gobbleinput to make it works ? Replace the typing environment with normal buffers and use the \typebuffer command to print the content of the buffer. \starttext \startbuffer { printf(%d, data); } \stopbuffer %\typebuffer This is ignored ! \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 ___
Re: [NTG-context] fallback font not displaying
Am 05.11.2014 um 21:06 schrieb Alan Bowen bowenala...@gmail.com: In the latest beta (ConTeXt ver: 2014.11.04 19:10 MKIV), when I run \definefallbackfamily[mainface][serif][IFAO Grec Unicode] [range={02BB-F8FF,10140-1D513}, protrusion=quality, expansion=quality, mode=node, kern=yes, force=yes, check=no, rscale=0.95] \setupbodyfont[mainface,10pt] \definefont[Greek][IFAO-Grec at 10pt] \starttext ἔφεϲιϲ and τελειότηϲ {\Greek ἔφεϲιϲ and τελειότηϲ} \stoptext the fallback Greek does not display. All I get is: and ἔφεϲιϲ and τελειότηϲ This definition of \definefallbackfamily used to work. Has there been a change in the font mechanism? The fallback setting is only used when you have also a \definefontfamily command in your setup. 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 ___
Re: [NTG-context] ConTeXt gobble my mind
Hello Luigi, thank you for proposing a solution, but it's not suitable to my needs as it modifies the content of the typing region : the backlash is displayed I want to be able to gobble or not the typing region by using a macro without modifying it. On 06 Nov 2014, at 12:16, luigi scarso luigi.sca...@gmail.com wrote: On Thu, Nov 6, 2014 at 10:35 AM, Pierre-François Bonnefoi bonne...@unilim.fr wrote: Hello, I've made a lot of improvement to my slides format for my teaching material and I've run into a serious issue with gobbleinput that I can express with with simple lines : \starttext \gobbleuntil\stoptyping \starttyping { printf(%d, data); } \stoptyping This is ignored ! \stoptext How can I use correctly gobbleinput to make it works ? %d in this situation means [][ token comment ] other tokens --- \gobbleuntil neutralizes \starttyping that changes the catcode of '%' --- so you are left with an open group (the { before printf) that needs to be closed. So the first step is to make '%' a letter token \starttext %\tracingall \gobbleuntil\stoptyping \starttyping { printf(\%d, data); } \stoptyping %\tracingnone This is not more ignored ! \stoptext -- luigi ___ 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 ___ -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 123 av Albert Thomas| Mrs. Peel, we're needed... 87060 Limoges CEDEX - FRANCE| The Avengers. ___ 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] ConTeXt gobble my mind
On Thu, Nov 6, 2014 at 1:36 PM, Pierre-François Bonnefoi bonne...@unilim.fr wrote: Hello Luigi, thank you for proposing a solution, but it's not suitable to my needs as it modifies the content of the typing region : the backlash is displayed I know, infact I have said the first step is...: \gobbleuntil is quite lowlevel macro, it assumes that you do some TeX programming. I want to be able to gobble or not the typing region by using a macro without modifying it. As Wolfgang says, you can use start/stopbuffer: \starttext \startbuffer \starttyping { printf(%d, data); } \stoptyping \stopbuffer This is ignored ! \stoptext -- luigi ___ 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] fallback font not displaying
Sorry, Wolfgang. I cut too much— \definefontfamily[mainface][serif][Antykwa-Poltawskiego] [protrusion=quality, expansion=quality, mode=node, smallcaps, force=yes] \definefallbackfamily[mainface][serif][IFAO Grec Unicode] [range={02BB-F8FF,10140-1D513}, protrusion=quality, expansion=quality, mode=node, kern=yes, force=yes, check=no, rscale=0.95] \setupbodyfont[mainface,10pt] \definefont[Greek][IFAO-Grec at 10pt] \starttext ἔφεϲιϲ and τελειότηϲ {\Greek ἔφεϲιϲ and τελειότηϲ} \stoptext still fails. What I get is: φει and τελειτη ἔφεςις and τελειότης Note that the sigmas in the second line are now incorrect too. Alan On Thu, Nov 6, 2014 at 7:14 AM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 05.11.2014 um 21:06 schrieb Alan Bowen bowenala...@gmail.com: In the latest beta (ConTeXt ver: 2014.11.04 19:10 MKIV), when I run \definefallbackfamily[mainface][serif][IFAO Grec Unicode] [range={02BB-F8FF,10140-1D513}, protrusion=quality, expansion=quality, mode=node, kern=yes, force=yes, check=no, rscale=0.95] \setupbodyfont[mainface,10pt] \definefont[Greek][IFAO-Grec at 10pt] \starttext ἔφεϲιϲ and τελειότηϲ {\Greek ἔφεϲιϲ and τελειότηϲ} \stoptext the fallback Greek does not display. All I get is: and ἔφεϲιϲ and τελειότηϲ This definition of \definefallbackfamily used to work. Has there been a change in the font mechanism? The fallback setting is only used when you have also a \definefontfamily command in your setup. 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] ConTeXt gobble my mind
Hello Wolfgang and Luigi, My example lines are too small to fully understand the purpose of using the gobbleinput instruction : I have made some slides for my students that I can choose or not ton include in the final presentation : \skipSlide \startSlide bla bla bla \startyping language C code \stoptyping bla bla bla \stopSlide I've made some macros to include or not a slide according to its number given into a list or by just putting before the macro \skipSlide. This is very useful as I have students of different levels. The gobbleinput solution is the best solution : I can activate or not a slide according to my audience. If I use the buffer solution, I'll not be able to deactivate the whole slide containing the typing region. From my understanding, I've used the gobbleinput command as in shell : cat EOF one two three EOF And now, I've ran into this problem. On 06 Nov 2014, at 13:12, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 06.11.2014 um 10:35 schrieb Pierre-François Bonnefoi bonne...@unilim.fr: Hello, I've made a lot of improvement to my slides format for my teaching material and I've run into a serious issue with gobbleinput that I can express with with simple lines : \starttext \gobbleuntil\stoptyping \starttyping { printf(%d, data); } \stoptyping This is ignored ! \stoptext How can I use correctly gobbleinput to make it works ? Replace the typing environment with normal buffers and use the \typebuffer command to print the content of the buffer. \starttext \startbuffer { printf(%d, data); } \stopbuffer %\typebuffer This is ignored ! \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 ___ -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 123 av Albert Thomas| Mrs. Peel, we're needed... 87060 Limoges CEDEX - FRANCE| The Avengers. ___ 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] ConTeXt gobble my mind
Am 06.11.2014 um 13:36 schrieb Pierre-François Bonnefoi: thank you for proposing a solution, but it's not suitable to my needs as it modifies the content of the typing region : the backlash is displayed I want to be able to gobble or not the typing region by using a macro without modifying it. \starttext \iffalse % or \iftrue \starttyping { printf(%d, data); } \stoptyping \fi This is not ignored ! \stoptext Herbert ___ 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] ConTeXt gobble my mind
On Thu, Nov 6, 2014 at 1:59 PM, Pierre-François Bonnefoi bonne...@unilim.fr wrote: Hello Wolfgang and Luigi, My example lines are too small to fully understand the purpose of using the gobbleinput instruction : I have made some slides for my students that I can choose or not ton include in the final presentation : \skipSlide \startSlide bla bla bla \startyping language C code \stoptyping bla bla bla \stopSlide I've made some macros to include or not a slide according to its number given into a list or by just putting before the macro \skipSlide. This is very useful as I have students of different levels. The gobbleinput solution is the best solution : I can activate or not a slide according to my audience. If I use the buffer solution, I'll not be able to deactivate the whole slide containing the typing region. Perhaps Modes ? http://wiki.contextgarden.net/Modes -- luigi ___ 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] ConTeXt gobble my mind
I can not define a mode for each of my slide neither I can express a list of activated slides. On 06 Nov 2014, at 14:12, luigi scarso luigi.sca...@gmail.com wrote: On Thu, Nov 6, 2014 at 1:59 PM, Pierre-François Bonnefoi bonne...@unilim.fr wrote: Hello Wolfgang and Luigi, My example lines are too small to fully understand the purpose of using the gobbleinput instruction : I have made some slides for my students that I can choose or not ton include in the final presentation : \skipSlide \startSlide bla bla bla \startyping language C code \stoptyping bla bla bla \stopSlide I've made some macros to include or not a slide according to its number given into a list or by just putting before the macro \skipSlide. This is very useful as I have students of different levels. The gobbleinput solution is the best solution : I can activate or not a slide according to my audience. If I use the buffer solution, I'll not be able to deactivate the whole slide containing the typing region. Perhaps Modes ? http://wiki.contextgarden.net/Modes -- luigi ___ 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 ___ -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 123 av Albert Thomas| Mrs. Peel, we're needed... 87060 Limoges CEDEX - FRANCE| The Avengers. ___ 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] Equivalent of os.resultof(...) in LaTeX
That is not a useful error description ... Herbert More clear than this? Neither this: \directlua{ require lualibs-os tex.sprint(os.resultof(sha256sum \jobname.tex | cut -c -5)) } Blank. Nothing displayed. ___ 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] Equivalent of os.resultof(...) in LaTeX
Am 06.11.2014 um 15:51 schrieb Xan: That is not a useful error description ... Herbert More clear than this? Neither this: \directlua{ require lualibs-os tex.sprint(os.resultof(sha256sum \jobname.tex | cut -c -5)) } Blank. Nothing displayed. \directlua{ require lualibs-os tex.sprint(os.resultof(sha256sum \jobname.tex)) } \bye luatex --shell-escape file will work. Herbert ___ 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] Natural tables introduces spaces in \type
On 11/6/2014 9:58 AM, Hans Hagen wrote: we could have a specific filename cleaner but of course there will be users who have paths that have spaces after the \ ... okay, we could just not support evil paths like that Hans A rigorous filename cleaner would have to treat a huge number of possible Unicodes. This is overkill. I believe the best would be to have a cleaner for all ascii symbols. That would fit most purposes of writing file names and URIs: !#$%'*()+,-./:;=?@[\]^_`{|}~ Of the above characters the following are disallowed on NTFS: */:?| Still I think they should be included in the cleaner. If % or # pose problems then they may be omitted. With the current absolute-cleaner, a space after \ is preserved correctly, so I don't understand your comment: \definetype[ctype][compact=absolute]\starttext \bTABLE\bTR\bTD \ctype{\a\ b} \eTD\eTR\eTABLE\stoptext I would be glad if you could implement such a ascii-symbol-cleaner. Thanks, Christoph ___ 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] ConTeXt gobble my mind
Hi Pierre, I think you are approaching your problem from the wrong direction! The way I understand your problem is that you have certain criteria in your slides when encountered decides whether it should be output or not. If this is the case then what you have is a classical parsing problem. That is you start parsing the content of the slide, until you find the criteria that excludes it or come to the end of the slide. If you find the criteria then you just continue reading to the end of the slide and not output it, otherwise send the gathered content to be output. That would be the most elegant way and can be used for dynamic content. Now, If you already know if the level is know a head of time the slides can be given a level and you can use a custom mode that only outputs the slides to this level. Another way is to build a database or table which is processed from which to choose your slides! Or define a start/stop command that has a user level parameter and use mode to decide output or not! this approach should not interfere with other macros you are using. Hope this helps regards Keith. Am 06.11.2014 um 10:35 schrieb Pierre-François Bonnefoi bonne...@unilim.fr mailto:bonne...@unilim.fr: Hello, I've made a lot of improvement to my slides format for my teaching material and I've run into a serious issue with gobbleinput that I can express with with simple lines : \starttext \gobbleuntil\stoptyping \starttyping { printf(%d, data); } \stoptyping This is ignored ! \stoptext How can I use correctly gobbleinput to make it works ? Thank you for your help, kind regards, Pierre-François Bonnefoi. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr mailto:bonne...@unilim.fr http://libpfb.so/ http://libpfb.so/ Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 123 av Albert Thomas| Mrs. Peel, we're needed... 87060 Limoges CEDEX - FRANCE| The Avengers. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://tex.aanhet.net http://tex.aanhet.net/ archive : http://foundry.supelec.fr/projects/contextrev/ http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net 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] bug in TOC generation
Dear list, using latest beta from 2014.11.06 14:55, TOC is missing from this sample: \starttext \title{Sumario}\placelist[part,chapter] \startfrontmatter \chapter{Prólogo} \part{Introducción} \chapter{\ConTeXt\ y la tipografía digital} \stopfrontmatter \stoptext I think this is a bug. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] mail merge in mkiv?
On 11/05/2014 04:42 PM, Jaroslav Hajtmar wrote: Hello Pablo. I do very often mailmerge using ConTeXt. I do it with my lua library and data in my external CSV file. Unfortunately I do not have a manual to the my lua library. If you send me a minimal example of how you imagine it, I'll send you back solving and my lualibrary too... Hi Jaroslav, many thanks for your reply. Is your library scancsv.lua and is it described at http://public.hajtmar.com/files/TeX/TeXperience2011/knihovna_ScanCSVlua.pdf? (I read a previous English version ;-)). Do you have any plans to release it as a module? Or to publish it at GitHub? The minimal sample would be envelopes such as: \setuppapersize[C6, landscape] \setuppagenumbering[location=] \starttext Name\\ Address\\ Postcode--City\\ \stoptext csv file would be: Name;Address;Postcode;City; Me;Street;;Here; You;Square;;There; Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] Strange behavior with the command \color[]{}
Hi Hans, It's true, I'm a little confused. In fact, the problem is the \ starttikzpicture \ endtikzpicture. \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \tikzset{% cube join/.style={ thick, -{Stealth}, }, cube face/.style={ minimum size=1cm, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=white, }, face color/.style={cube face/.append style={ball color=#1}}, pics/cube/.style args={#1 with #2}{ code={ \node [cube face, label={[name=-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][[width=4cm,align={right,lohi},frame=on,framecolor=H1prime] \setupTABLE[column][2][[width=5cm,align={middle,lohi},frame=off] \setupTABLE[column][3][[width=9cm,align={right,lohi},frame=off] \setupTABLE[1][1][frame=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR \bTD \eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD \starttikzpicture \pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with $A$};\pic [cube face/.append style={ball color=red}] at ( 1, 1) {cube={} with $B$}; \stoptikzpicture \eTD \bTD La valeur de $A$ est \color[green]{3} et $B$ n'a pas encore de valeur \eTD \eTR \eTABLE{} \stoptext Best regards, Fabrice ___ 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] Strange behavior with the command \color[]{}
On Thu, 6 Nov 2014, Fabrice wrote: Hi Hans, It's true, I'm a little confused. In fact, the problem is the \ starttikzpicture \ endtikzpicture. As Hans said, you need to create a smaller example, and explain what you mean by the problem. A blind guess is that \starttikzpicture ... \stoptikzpicture creates a \vbox rather than an \hbox. You can try: \dontleavehode\starttikzpicture ... \stoptikzpicture or \hbox{\starttikzpicture ... \stoptikzpicture} and see if you get the desired output. Aditya ___ 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] Strange behavior with the command \color[]{}
On Thu, Nov 6, 2014 at 7:50 PM, Fabrice couvreur.fabr...@wanadoo.fr wrote: Hi Hans, It's true, I'm a little confused. In fact, the problem is the \ starttikzpicture \ endtikzpicture. \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \tikzset{% cube join/.style={ thick, -{Stealth}, }, cube face/.style={ minimum size=1cm, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=white, }, face color/.style={cube face/.append style={ball color=#1}}, pics/cube/.style args={#1 with #2}{ code={ \node [cube face, label={[name=-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][[width=4cm,align={right,lohi},frame=on,framecolor=H1prime] \setupTABLE[column][2][[width=5cm,align={middle,lohi},frame=off] \setupTABLE[column][3][[width=9cm,align={right,lohi},frame=off] \setupTABLE[1][1][frame=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR \bTD \eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD %\starttikzpicture %\pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with %$A$};\pic [cube face/.append style={ball color=red}] at ( 1, 1) {cube={} %with $B$}; %\stoptikzpicture \eTD \bTD La valeur de $A$ est \color[green]{3} et $B$ n'a pas encore de valeur \eTD \eTR \eTABLE{} \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR \bTD \eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD \starttikzpicture \pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with $A$};\pic [cube face/.append style={ball color=red}] at ( 1, 1) {cube={} with $B$}; \stoptikzpicture \eTD \bTD La valeur de $A$ est \color[green]{3} et $B$ n'a pas encore de valeur \eTD \eTR \eTABLE{} \stoptext The second time La valeur de $A$ est \color[green]{3} is green . -- luigi ___ 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] fallback font not displaying
Actually, Wolfgang, I suspect that \definefallbackfamily is working at all. I get the same output even when I comment it out. On Thu, Nov 6, 2014 at 7:51 AM, Alan Bowen bowenala...@gmail.com wrote: Sorry, Wolfgang. I cut too much— \definefontfamily[mainface][serif][Antykwa-Poltawskiego] [protrusion=quality, expansion=quality, mode=node, smallcaps, force=yes] \definefallbackfamily[mainface][serif][IFAO Grec Unicode] [range={02BB-F8FF,10140-1D513}, protrusion=quality, expansion=quality, mode=node, kern=yes, force=yes, check=no, rscale=0.95] \setupbodyfont[mainface,10pt] \definefont[Greek][IFAO-Grec at 10pt] \starttext ἔφεϲιϲ and τελειότηϲ {\Greek ἔφεϲιϲ and τελειότηϲ} \stoptext still fails. What I get is: φει and τελειτη ἔφεςις and τελειότης Note that the sigmas in the second line are now incorrect too. Alan On Thu, Nov 6, 2014 at 7:14 AM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 05.11.2014 um 21:06 schrieb Alan Bowen bowenala...@gmail.com: In the latest beta (ConTeXt ver: 2014.11.04 19:10 MKIV), when I run \definefallbackfamily[mainface][serif][IFAO Grec Unicode] [range={02BB-F8FF,10140-1D513}, protrusion=quality, expansion=quality, mode=node, kern=yes, force=yes, check=no, rscale=0.95] \setupbodyfont[mainface,10pt] \definefont[Greek][IFAO-Grec at 10pt] \starttext ἔφεϲιϲ and τελειότηϲ {\Greek ἔφεϲιϲ and τελειότηϲ} \stoptext the fallback Greek does not display. All I get is: and ἔφεϲιϲ and τελειότηϲ This definition of \definefallbackfamily used to work. Has there been a change in the font mechanism? The fallback setting is only used when you have also a \definefontfamily command in your setup. 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] Strange behavior with the command \color[]{}
On Thu, Nov 6, 2014 at 8:57 PM, luigi scarso luigi.sca...@gmail.com wrote: \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \tikzset{% cube join/.style={ thick, -{Stealth}, }, cube face/.style={ minimum size=1cm, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=white, }, face color/.style={cube face/.append style={ball color=#1}}, pics/cube/.style args={#1 with #2}{ code={ \node [cube face, label={[name=-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] \setupTABLE[column][2][width=5cm,align={middle,lohi},frame=off] \setupTABLE[column][3][width=9cm,align={right,lohi},frame=off] \setupTABLE[1][1][frame=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR \bTD[n=3] \eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD \starttikzpicture \pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with $A$};\pic [cube face/.append style={ball color=red}] at ( 1, 1) {cube={} with $B$}; \stoptikzpicture \eTD \bTD \tracingall La valeur de $A$ est\color[green]{3} et $B$ n'a pas encore de valeur \tracingnone \eTD \eTR \eTABLE{} \stoptext The problem seems to be %,framecolor=H1prime] -- luigi ___ 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] Strange behavior with the command \color[]{}
On 11/6/2014 8:57 PM, luigi scarso wrote: On Thu, Nov 6, 2014 at 7:50 PM, Fabrice couvreur.fabr...@wanadoo.fr mailto:couvreur.fabr...@wanadoo.fr wrote: Hi Hans, It's true, I'm a little confused. In fact, the problem is the \ starttikzpicture \ endtikzpicture. \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \tikzset{% cube join/.style={ thick, -{Stealth}, }, cube face/.style={ minimum size=1cm, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=white, }, face color/.style={cube face/.append style={ball color=#1}}, pics/cube/.style args={#1 with #2}{ code={ \node [cube face, label={[name=-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][[width=4cm,align={right,lohi},frame=on,framecolor=H1prime] \setupTABLE[column][2][[width=5cm,align={middle,lohi},frame=off] \setupTABLE[column][3][[width=9cm,align={right,lohi},frame=off] \setupTABLE[1][1][frame=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR \bTD \eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD %\starttikzpicture %\pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with %$A$};\pic [cube face/.append style={ball color=red}] at ( 1, 1) {cube={} %with $B$}; %\stoptikzpicture \eTD \bTD La valeur de $A$ est \color[green]{3} et $B$ n'a pas encore de valeur \eTD \eTR \eTABLE{} the color mechanisms probably interfere ... attached is a t-tikz.tex that behaves a bit better ... if it works out ok: feel free to make sure that it ends up someplace distributable Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - t-tikz.tex Description: TeX document ___ 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] Strange behavior with the command \color[]{}
Am 06.11.2014 um 21:16 schrieb luigi scarso: \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] [...] \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] The problem seems to be %,framecolor=H1prime] I have no problem with framecolor=H1prime setting. I am using ConTeXt minimal copied into my up-to-date TL 2014. Herbert ___ 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] fallback font not displaying
Am 06.11.2014 um 13:51 schrieb Alan Bowen bowenala...@gmail.com: Sorry, Wolfgang. I cut too much— \definefontfamily[mainface][serif][Antykwa-Poltawskiego] [protrusion=quality, expansion=quality, mode=node, smallcaps, force=yes] \definefallbackfamily[mainface][serif][IFAO Grec Unicode] [range={02BB-F8FF,10140-1D513}, protrusion=quality, expansion=quality, mode=node, kern=yes, force=yes, check=no, rscale=0.95] \setupbodyfont[mainface,10pt] \definefont[Greek][IFAO-Grec at 10pt] \starttext ἔφεϲιϲ and τελειότηϲ {\Greek ἔφεϲιϲ and τελειότηϲ} \stoptext still fails. What I get is: φει and τελειτη ἔφεςις and τελειότης Note that the sigmas in the second line are now incorrect too. You have to put \definefallbackfamily before \definefontfamily. 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 ___
Re: [NTG-context] fallback font not displaying
Many thanks, Wolfgang: it now works as it should. This is a recent change, I take it. Still, good to know. Alan On Thu, Nov 6, 2014 at 4:52 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 06.11.2014 um 13:51 schrieb Alan Bowen bowenala...@gmail.com: Sorry, Wolfgang. I cut too much— \definefontfamily[mainface][serif][Antykwa-Poltawskiego] [protrusion=quality, expansion=quality, mode=node, smallcaps, force=yes] \definefallbackfamily[mainface][serif][IFAO Grec Unicode] [range={02BB-F8FF,10140-1D513}, protrusion=quality, expansion=quality, mode=node, kern=yes, force=yes, check=no, rscale=0.95] \setupbodyfont[mainface,10pt] \definefont[Greek][IFAO-Grec at 10pt] \starttext ἔφεϲιϲ and τελειότηϲ {\Greek ἔφεϲιϲ and τελειότηϲ} \stoptext still fails. What I get is: φει and τελειτη ἔφεςις and τελειότης Note that the sigmas in the second line are now incorrect too. You have to put \definefallbackfamily before \definefontfamily. 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] bug in TOC generation
On 11/6/2014 6:24 PM, Pablo Rodriguez wrote: Dear list, using latest beta from 2014.11.06 14:55, TOC is missing from this sample: \starttext \title{Sumario}\placelist[part,chapter] \startfrontmatter \chapter{Prólogo} \part{Introducción} \chapter{\ConTeXt\ y la tipografía digital} \stopfrontmatter \stoptext I think this is a bug. Many thanks for your help, fixed in next beta (side effect of cleaning up list code) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] bug in TOC generation
On 11/6/2014 6:24 PM, Pablo Rodriguez wrote: Dear list, using latest beta from 2014.11.06 14:55, TOC is missing from this sample: \starttext \title{Sumario}\placelist[part,chapter] \startfrontmatter \chapter{Prólogo} \part{Introducción} \chapter{\ConTeXt\ y la tipografía digital} \stopfrontmatter \stoptext I think this is a bug. Many thanks for your help, btw: \placelist[part,chapter][criterium=all] can help out - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___