Re: [NTG-context] what happened to hangaround?
Hi Henning! ···date: 2014-03-24, Monday···from: Henning Hraban Ramm··· Hi again, I’d like to flow some text around a picture. There was undocumented \starthangaround (it’s still in cont-new.mkiv in the garden), but it’s unknown in latest beta. Is there a replacement? Try the hanging environment: \setupexternalfigures [location=default] \starttext \starthanging{\externalfigure [cow.pdf][width=3.141cm]} \input ward \stophanging \stoptext I think it is supposed to be the successor to hangaround. Best regards, Philipp pgpWRYfPrrfSu.pgp Description: PGP signature ___ 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] what happened to hangaround?
Am 2014-03-24 um 12:09 schrieb Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de: Hi again, I’d like to flow some text around a picture. There was undocumented \starthangaround (it’s still in cont-new.mkiv in the garden), but it’s unknown in latest beta. Is there a replacement? Try the hanging environment: \setupexternalfigures [location=default] \starttext \starthanging{\externalfigure [cow.pdf][width=3.141cm]} \input ward \stophanging \stoptext I think it is supposed to be the successor to hangaround. Dankeschön! I updated the wiki page: http://wiki.contextgarden.net/Using_Graphics#Flow_text_around_a_picture There are some issues: - \starthanging doesn’t accept parameters (using \setuphanging for every second picture is evil) - As you can see in wiki, the picture stands on the first line of the text. This is a MkII problem, it works with MkIV. - If you try several paragraphs or \startlines, then only the first paragraph flows. Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] what happened to hangaround?
Am 24.03.2014 um 09:02 schrieb Henning Hraban Ramm te...@fiee.net: Am 2014-03-24 um 12:09 schrieb Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de: Hi again, I’d like to flow some text around a picture. There was undocumented \starthangaround (it’s still in cont-new.mkiv in the garden), but it’s unknown in latest beta. Is there a replacement? Try the hanging environment: \setupexternalfigures [location=default] \starttext \starthanging{\externalfigure [cow.pdf][width=3.141cm]} \input ward \stophanging \stoptext I think it is supposed to be the successor to hangaround. Dankeschön! I updated the wiki page: http://wiki.contextgarden.net/Using_Graphics#Flow_text_around_a_picture There are some issues: - \starthanging doesn’t accept parameters (using \setuphanging for every second picture is evil) - As you can see in wiki, the picture stands on the first line of the text. This is a MkII problem, it works with MkIV. - If you try several paragraphs or \startlines, then only the first paragraph flows. The hanging environment in MkII isn’t the same as the hanging in MkIV. The original name for the environment was hang around but when Hans added a few new features (e.g. to move the picture to the right side) he changed in MKIV the name to hanging, a command which all already existed. 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] what happened to hangaround?
Am 2014-03-24 um 14:11 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com: - \starthanging doesn’t accept parameters (using \setuphanging for every second picture is evil) - As you can see in wiki, the picture stands on the first line of the text. This is a MkII problem, it works with MkIV. - If you try several paragraphs or \startlines, then only the first paragraph flows. The hanging environment in MkII isn’t the same as the hanging in MkIV. The original name for the environment was hang around but when Hans added a few new features (e.g. to move the picture to the right side) he changed in MKIV the name to hanging, a command which all already existed. Thanks for the explanation. But is there a way to flow several paragraphs (or „lines“) around a picture? I tried a vbox, but then the picture moves down into the following paragraph. Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] hyperlinks in latest beta?
On 3/22/2014 8:44 PM, Alan Bowen wrote: Hans—there are still some odd failures in hyperlinking between components. At least in the following product file with two components, some links work (\reference), some only sometimes (\at) and others never (\in). The problem seems to be with labels. \startproduct LinkTest \setupinteraction[state=start] \component Test01 \component Test02 \stopproduct \startcomponent Test01 \product LinkTest \reference[startknuth]{}\input knuth \page \input knuth\reference[endknuth]{}\footnote[knuth]{A note.} \section[new]{a title} \input ward \page[makeup] \stopcomponent \startcomponent Test02 \product LinkTest \type{\reference}, pp..\ \at[startknuth]–\at[endknuth] \type{\in} using a label: \at[knuth]n\in[knuth] as well as \at[new] (ref to section). \page[makeup] \stopcomponent The links to labeled items work within a single document: \startcomponent Test03 \setupinteraction[state=start] \section[new]{A title} text\footnote[test]{text.} \page reference to note: \at[test]n\in[test] reference to section: \at[new] \page[makeup] \stopcomponent new beta ... hopefully better ... 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] what happened to hangaround?
On Mar 24, 2014, at 4:43 AM, Henning Hraban Ramm te...@fiee.net wrote: Am 2014-03-24 um 14:11 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com: - \starthanging doesn’t accept parameters (using \setuphanging for every second picture is evil) - As you can see in wiki, the picture stands on the first line of the text. This is a MkII problem, it works with MkIV. - If you try several paragraphs or \startlines, then only the first paragraph flows. The hanging environment in MkII isn’t the same as the hanging in MkIV. The original name for the environment was hang around but when Hans added a few new features (e.g. to move the picture to the right side) he changed in MKIV the name to hanging, a command which all already existed. Thanks for the explanation. But is there a way to flow several paragraphs (or „lines“) around a picture? I tried a vbox, but then the picture moves down into the following paragraph. Why not use \placefigure[left,none]{}{} 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 ___
[NTG-context] Color of the headers of one enumeration
Hi, I have this \defineenumeration [punt] [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit] So I get Punt 1. bla,... How can I achieve that Punt 1. were in darkblue? Now I just have Punt. Thanks in advance, Xan ___ 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] what happened to hangaround?
Am 2014-03-24 um 17:34 schrieb Aditya Mahajan adit...@cim.mcgill.ca: Why not use \placefigure[left,none]{}{} Good question. Just after sending my previous mail I recognized it works this way. Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] Color of the headers of one enumeration
Am 24.03.2014 um 14:39 schrieb Xan dxpubl...@telefonica.net: Hi, I have this \defineenumeration [punt] [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit] So I get Punt 1. bla,... How can I achieve that Punt 1. were in darkblue? Now I just have Punt“. Use the headcolor key: \defineenumeration [punt] [alternative=serried, text={Punt}, stopper={.}, width=fit, distance=0.25em, headstyle=\ss, headcolor=darkblue] 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 ___
[NTG-context] much slower compilation with latest beta
Hans, I’m afraid there might be something wrong with beta from 2014.03.24 00:52. With a book I’m writing, either in complete (from a previous --purgeall) or partial (from previous .tuc and .log files) compilation, the latest beta needs 8 runs to compile a document. It takes about 140 secs with luatex and about 100 with luajittex. Document source is exactly the same in all cases. The same document with beta from 2014.03.07 11:42 (sorry, I don’t have the previous beta) requires a single run for a partial compilation which about 12 secs. Total compilation needs 4 runs that take about 50 secs. I think that the same may happen with the ConTeXt reference manual. Since compilation is not direct, all statistics I can provide is that it took 358.491 secs with latest beta from 2014.03.24 00:52. and 296.778 secs with previous beta from 2014.03.07 11:42. I guess there might be a bug here. 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] [font-otn] bug in node mode
Hi Hans, I’m afraid I have to bother you again with this issue. Consider this code: \font \mainface = file:EBGaramond12-Regular.otf:mode=node \mainface foo \bye This breaks with the latest fontloader because in font-otn local function initialize(sequence,script,language,enabled) local features = sequence.features if features then local order = features.order for i=1,#order do -- ... the table “features” never has a field “order”; “sequence” has one occasionally, though not always. Best, Philipp ···date: 2014-03-14, Friday···from: Hans Hagen··· On 3/14/2014 7:48 AM, Philipp Gesang wrote: Hi Hans, at least the Plain format breaks as soon as you define a font in node mode: \font \testfont = lmroman10-regular.otf:mode=node \testfont foo \bye no, it's: local order = features.order for i=1,#order do -- local kind = order[i] -- - 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 ___ pgpiX_opg32FN.pgp Description: PGP signature ___ 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] hyperlinks in latest beta?
The links between components now function as they should, Hans. Many thanks! Alan On Mon, Mar 24, 2014 at 4:50 AM, Hans Hagen pra...@wxs.nl wrote: On 3/22/2014 8:44 PM, Alan Bowen wrote: Hans--there are still some odd failures in hyperlinking between components. At least in the following product file with two components, some links work (\reference), some only sometimes (\at) and others never (\in). The problem seems to be with labels. \startproduct LinkTest \setupinteraction[state=start] \component Test01 \component Test02 \stopproduct \startcomponent Test01 \product LinkTest \reference[startknuth]{}\input knuth \page \input knuth\reference[endknuth]{}\footnote[knuth]{A note.} \section[new]{a title} \input ward \page[makeup] \stopcomponent \startcomponent Test02 \product LinkTest \type{\reference}, pp..\ \at[startknuth]-\at[endknuth] \type{\in} using a label: \at[knuth]n\in[knuth] as well as \at[new] (ref to section). \page[makeup] \stopcomponent The links to labeled items work within a single document: \startcomponent Test03 \setupinteraction[state=start] \section[new]{A title} text\footnote[test]{text.} \page reference to note: \at[test]n\in[test] reference to section: \at[new] \page[makeup] \stopcomponent new beta ... hopefully better ... 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 ___ ___ 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] Index notation in math mode
Hi, I would like the f in \math{\cal C_f} is identical to that obtained with \math{f}. 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] Different behaviours between header and footer
Thanks a lot! On 24 March 2014 05:37, Wolfgang Schuster schuster.wolfg...@gmail.comwrote: Am 23.03.2014 um 03:58 schrieb Flavien Lambert petit.lep...@gmail.com: Hi guys, a quick reminder if someone can help me on this topic. Disable the strut for the footer with \setupfooter[strut=no] to align the frame with the bottom of the footer. 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] Index notation in math mode
On Tue, 25 Mar 2014, Fabrice Couvreur wrote: Hi, I would like the f in \math{\cal C_f} is identical to that obtained with \math{f}. \math{ {\cal C}_f } 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] much slower compilation with latest beta
On 3/24/2014 8:33 PM, Pablo Rodriguez wrote: Hans, I’m afraid there might be something wrong with beta from 2014.03.24 00:52. With a book I’m writing, either in complete (from a previous --purgeall) or partial (from previous .tuc and .log files) compilation, the latest beta needs 8 runs to compile a document. It takes about 140 secs with luatex and about 100 with luajittex. Document source is exactly the same in all cases. The same document with beta from 2014.03.07 11:42 (sorry, I don’t have the previous beta) requires a single run for a partial compilation which about 12 secs. Total compilation needs 4 runs that take about 50 secs. I think that the same may happen with the ConTeXt reference manual. Since compilation is not direct, all statistics I can provide is that it took 358.491 secs with latest beta from 2014.03.24 00:52. and 296.778 secs with previous beta from 2014.03.07 11:42. i noticed it too .. 8 runs indicates tuc file cycling .. fix tomorrow (normally context gets faster -) 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] [font-otn] bug in node mode
On 3/24/2014 8:40 PM, Philipp Gesang wrote: Hi Hans, I’m afraid I have to bother you again with this issue. Consider this code: \font \mainface = file:EBGaramond12-Regular.otf:mode=node \mainface foo \bye This breaks with the latest fontloader because in font-otn local function initialize(sequence,script,language,enabled) local features = sequence.features if features then local order = features.order for i=1,#order do -- ... the table “features” never has a field “order”; “sequence” has one occasionally, though not always. should be local function initialize(sequence,script,language,enabled) local features = sequence.features if features then local order = sequence.order if order then for i=1,#order do end else -- can't happen end end return false end went unnoticed as context uses a variant 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] much slower compilation with latest beta
On 03/25/2014 02:02 AM, Hans Hagen wrote: On 3/24/2014 8:33 PM, Pablo Rodriguez wrote: [...] I think that the same may happen with the ConTeXt reference manual. Since compilation is not direct, all statistics I can provide is that it took 358.491 secs with latest beta from 2014.03.24 00:52. and 296.778 secs with previous beta from 2014.03.07 11:42. i noticed it too .. 8 runs indicates tuc file cycling .. fix tomorrow (normally context gets faster -) Many thanks for your fast fix, Hans. 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 ___
[NTG-context] extra link border with alternative=c
Hans, I have a the following sample: \setupinteraction[state=start] \enabledirectives[references.border] \setuplist[chapter][alternative=d] \starttext \completecontent \chapter{\TeX} \stoptext It shows that the E from \TeX has an extra frame in content list. I don’t know what might be causing it, but it seems to be wrong. 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 ___