Re: [NTG-context] annotation MODULE BUG
Am 2011-11-03 um 23:44 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear gang, especially Wolf-gang ;-) AFAIK a wolf gang is called a pack or pride ;-) Greetlings from Lake Constance! 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 ___
[NTG-context] placelist
Hi all, it sound strange but how do I get a TOC where only the sections are placed but not the subsections? The document contains exclusively sections and subsections. With \placecontent[level=section] I get as well the sections as also the subsections. Looking at examples on the wiki I think this should be the right command? Kind regards Willi ___ 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] placelist
On Fri 04 Nov 2011, Willi Egger wrote: it sound strange but how do I get a TOC where only the sections are placed but not the subsections? The document contains exclusively sections and subsections. With \placecontent[level=section] I get as well the sections as also the subsections. Looking at examples on the wiki I think this should be the right command? \placelist[section] should do what you want -- see http://www.mail-archive.com/ntg-context@ntg.nl/msg59165.html . Pont ___ 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] gangs (was: annotation MODULE BUG)
On Fri, Nov 04, 2011 at 08:43:42AM +0100, Henning Hraban Ramm wrote: Am 2011-11-03 um 23:44 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear gang, especially Wolf-gang ;-) AFAIK a wolf gang is called a pack or pride ;-) One says a pack of wolves, a pride of lions, a pod of whales, a flock of sheep, a school of fish, a herd of cows, a swarm of bees, ... and a gang of thugs :) Alan ___ 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] languagespecifics
Hello, Is there something like \startlanguagespecifics[fr] ... \stoplanguagespecifics in mkiv? Does it make sense, to keep the module t-french.tex? I would like to integrate \setcharacterspacing[frenchpunctuation] everywhere (text, headers, footers and so on), but when a user loads the module and changes settings for headers or footers afterwards, that setting would be overwritten. Thus, if there are no methods, to do such things, I would drop the module and french specific settings have to be set up on a per document basis. What do you think? -- Peter ___ 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] reference bug: MkiV
On 3-11-2011 21:24, Wolfgang Schuster wrote: For longer texts you can replace \mymargin{…} with \startmymargin …\stopmymargin. A next version will support \starttext \inmargin[reference=test1]{test} test \at[test2] \page \inmargin[reference=test2]{test} test \at[test1] \stoptext but this does nothing as clever as the annotation code as it's just a basic page reference to the blob that ends up in the margin. 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] Figure Help
On 4-11-2011 03:58, Kip Warner wrote: Hey list, Two questions. Is it possible to define / declare a figure with one command instead of having to do something like... \useexternalfigure[SomeFigure][Images/Figure.svg] \externalfigure[SomeFigure][width=2.5cm] \externalfigure[Images/Figure.svg][width=2.5cm] - 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] xtables in custom macros
On 3-11-2011 23:01, Stefan Müller wrote: \define\Doesnt{\startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable} \starttext \Works \stopxtable %\Doesnt \stoptext \def\test {\setbuffer[demo] \startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable \endbuffer \processxtablebuffer[demo]} -- - 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] xtables in custom macros
On 11/4/11 10:38 AM, Hans Hagen wrote: \def\test {\setbuffer[demo] \startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable \endbuffer \processxtablebuffer[demo]} Hans, is the solution to my xml problem along these lines as well? Example: \startbuffer[test] a table tablerow tablecell One /tablecell tablecell Two /tablecell /tablerow tablerow tablecell Three /tablecell tablecell Four /tablecell /tablerow /table /a \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{main}{a|table|tablerow|tablecell}{xml:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:table \startxtable \xmlflush{#1} \stopxtable \stopxmlsetups \startxmlsetups xml:tablerow \startxrow \xmlflush{#1} \stopxrow \stopxmlsetups \startxmlsetups xml:tablecell \startxcell \xmlflush{#1} \stopxcell \stopxmlsetups \starttext \xmlprocessbuffer{main}{test}{} \stoptext Would like to find a way to use the new mechanism with xml. All best 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] Problems with linespacing
I can't find what I am doing wrong in my tex-file. 1. I have little problems with the linespacing when I use big fontsizes. The text looks uneasy. Here you can see the problem ... (1) and (2) on the image http://www.imagebanana.com/view/bipcpje7/Linespacing.png And why does (3) runs to the right end of the page? ... and here my tex-file: \definefont[Gross] [name:allerlight at 36pt] \starttext \Gross Ich bin Blindtext. Von Geburt an. Es hat lange gedauert, bis ich begriffen habe, was es bedeutet, ein blinder Text zu wer wer wer wer wer wer wer wer wer wer wer keinen Sinn. Man wirkt hier und da aus dem Zusammenhang gerissen. Oft wird man gar nicht erst gelesen. Aber bin ich deshalb ein schlechter Text? Ich weiss, dass ich nie die Chance haben werde, im Stern zu erscheinen. \stoptext 2. And using a very small fontsize, eg. 8pt the linespacing looks to be the same in every line but it is to big. 3. What is to do to have only a small linespacing in a paragraph and a bigger linespacing after a break and then again a small linespacing in the next paragraph, and so on. And I don't want to put \blank after a paragraph. - --- - -- - -- - --- - --- -- Regards Jannis ___ 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] placelist
Hi Pontus, thanks for your quick reply. I tried your suggestion, but there is no success with it. ... test-TOC.tex Description: Binary data Kind regards Willi On 4 Nov 2011, at 09:12, Pontus Lurcock wrote: On Fri 04 Nov 2011, Willi Egger wrote: it sound strange but how do I get a TOC where only the sections are placed but not the subsections? The document contains exclusively sections and subsections. With \placecontent[level=section] I get as well the sections as also the subsections. Looking at examples on the wiki I think this should be the right command? \placelist[section] should do what you want -- see http://www.mail-archive.com/ntg-context@ntg.nl/msg59165.html . Pont ___ 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] gangs (was: annotation MODULE BUG)
Am 2011-11-04 um 09:29 schrieb Alan Braslau: On Fri, Nov 04, 2011 at 08:43:42AM +0100, Henning Hraban Ramm wrote: Am 2011-11-03 um 23:44 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear gang, especially Wolf-gang ;-) AFAIK a wolf gang is called a pack or pride ;-) One says a pack of wolves, a pride of lions, a pod of whales, a flock of sheep, a school of fish, a gaggle of geese, a herd of cows, a swarm of bees, ... and a gang of thugs :) gang of TUGs or Thugs (TeX hugs)? ;-) Greetlings, Hraban (bird of a feather) ___ 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] xtables in custom macros
On 4-11-2011 11:11, Thomas A. Schmitz wrote: On 11/4/11 10:38 AM, Hans Hagen wrote: \def\test {\setbuffer[demo] \startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable \endbuffer \processxtablebuffer[demo]} Hans, is the solution to my xml problem along these lines as well? Example: \startbuffer[test] a table tablerow tablecell One /tablecell tablecell Two /tablecell /tablerow tablerow tablecell Three /tablecell tablecell Four /tablecell /tablerow /table /a \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{main}{a|table|tablerow|tablecell}{xml:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:table \startxtable \xmlflush{#1} \stopxtable \stopxmlsetups \startxmlsetups xml:tablerow \startxrow \xmlflush{#1} \stopxrow \stopxmlsetups \startxmlsetups xml:tablecell \startxcell \xmlflush{#1} \stopxcell \stopxmlsetups \starttext \xmlprocessbuffer{main}{test}{} \stoptext Would like to find a way to use the new mechanism with xml. In the next beta .. still somewhat experimental as we need to deal with all kind of situations, like \asciimode in regular tex. \startbuffer[test] table tablerow tablecell One /tablecell tablecell Two /tablecell /tablerow tablerow tablecell bThree/b /tablecell tablecell Four /tablecell /tablerow /table \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{main}{b|table|tablerow|tablecell}{xml:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:b \bold{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:table \startembeddedxtable \xmlflush{#1} \stopembeddedxtable \stopxmlsetups \startxmlsetups xml:tablerow \startxrow \xmlflush{#1} \stopxrow \stopxmlsetups \startxmlsetups xml:tablecell \startxcell \xmlflush{#1} \stopxcell \stopxmlsetups \starttext \xmlprocessbuffer{main}{test}{} \stoptext 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] languagespecifics
On 4-11-2011 10:11, Peter Münster wrote: Hello, Is there something like \startlanguagespecifics[fr] ... \stoplanguagespecifics in mkiv? Does it make sense, to keep the module t-french.tex? I would like to integrate \setcharacterspacing[frenchpunctuation] everywhere (text, headers, footers and so on), but when a user loads the module and changes settings for headers or footers afterwards, that setting would be overwritten. Thus, if there are no methods, to do such things, I would drop the module and french specific settings have to be set up on a per document basis. What do you think? I'll add a setups option ... \startsetups dutch:cow \externalfigure[cow.pdf][frame=on] \stopsetups \setuplanguage[nl][setups=dutch:cow] \starttext test\language[dutch]test \stoptext - 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] Problems with linespacing
Am 04.11.2011 um 11:17 schrieb Jan Heinen: I can't find what I am doing wrong in my tex-file. 1. I have little problems with the linespacing when I use big fontsizes. The text looks uneasy. Here you can see the problem ... (1) and (2) on the image http://www.imagebanana.com/view/bipcpje7/Linespacing.png And why does (3) runs to the right end of the page? ... and here my tex-file: \definefont[Gross] [name:allerlight at 36pt] \starttext \Gross Ich bin Blindtext. Von Geburt an. Es hat lange gedauert, bis ich begriffen habe, was es bedeutet, ein blinder Text zu wer wer wer wer wer wer wer wer wer wer wer keinen Sinn. Man wirkt hier und da aus dem Zusammenhang gerissen. Oft wird man gar nicht erst gelesen. \Gross \setupinterlinespace … \par You don’t need \par when there is a empty line after the paragraph. You can also write a typescript and enable your typeface, the \setupinterlinespace can than be omitted (my typescript package provides support for Aller): \usetypescriptfile[type-aller] \starttext \start \switchtobodyfont[aller-light,36pt] Ich bin Blindtext. Von Geburt an. Es hat lange gedauert, bis ich begriffen habe, was es bedeutet, ein blinder Text zu wer wer wer wer wer wer wer wer wer wer wer keinen Sinn. Man wirkt hier und da aus dem Zusammenhang gerissen. Oft wird man gar nicht erst gelesen. Aber bin ich deshalb ein schlechter Text? Ich weiss, dass ich nie die Chance haben werde, im Stern zu erscheinen. \stop \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] placelist
Am 04.11.2011 um 12:23 schrieb Willi Egger: Hi Pontus, thanks for your quick reply. I tried your suggestion, but there is no success with it. … You need \placelist but you use \placecontent. 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] Fatal error
Am 04.11.2011 um 02:33 schrieb Kip Warner: On Thu, 2011-11-03 at 05:26 +0100, Wolfgang Schuster wrote: ??? There was so many nonsense on your definition for your CodeExample environment, I don’t know where you found the code but I’m going to explain what was wrong, this will help you write something better next time. What you defined was the following piece of code: \crlf \setupbackground[..,.=.,..] \startbackground \startlines[style=type] \setupalign[right] \starttyping … \stoptyping \stoplines \stopbackground \crlf 1. You used \crlf to add a empty line at the begin and end of the environment, better is to use \blank or \blank[line]. 2. You used the lines environment but it useless here because the typing environment already takes care that each line in the input is also line of its own in the output. 3. The style “type” is also useless because typing will overwrite this setting with its own style which is also “type”. 4. The alignment setup is another setting which is ignored because typing itself has a align key which is used. 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] Problems with linespacing
Wolfgang, thanx for your fast response. The typescript does not find my allerlight. I have tried name:allerlight ... without success. But I am happy with \definefont[name:...] and \setupinterlinespace Now I still need a possibility to have a bigger linespacing after a paragraph and why does (3) runs to the right end of the page? http://www.imagebanana.com/view/bipcpje7/Linespacing.png Regards Jannis ___ 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] Problems with linespacing
Am 04.11.2011 um 15:45 schrieb Jan Heinen: Wolfgang, thanx for your fast response. The typescript does not find my allerlight. I have tried name:allerlight ... without success. The typescript for aller is like all modules a separate package and you have to install it with “first-setup --modules=t-typescripts” But I am happy with \definefont[name:...] and \setupinterlinespace Now I still need a possibility to have a bigger linespacing after a paragraph and why does (3) runs to the right end of the page? http://www.imagebanana.com/view/bipcpje7/Linespacing.png \starttext \start \setupalign[right,broad]\definedfont[file:allerlt*default at 36pt]\setupinterlinespace Ich bin Blindtext. Von Geburt an. Es hat lange gedauert, bis ich begriffen habe, was es bedeutet, ein blinder Text zu wer wer wer wer wer wer wer wer wer wer wer keinen Sinn. Man wirkt hier und da aus dem Zusammenhang gerissen. Oft wird man gar nicht erst gelesen. Aber bin ich deshalb ein schlechter Text? Ich weiss, dass ich nie die Chance haben werde, im Stern zu erscheinen. \stop \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 ___
[NTG-context] xtables
Hi, I uploaded a new beta and also an updated xtables manual. 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] annotation MODULE BUG
Am 03.11.2011 um 23:44 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear gang, especially Wolf-gang ;-) The annotation module seems to cancel indentation, so the paragraph after a note starts with no indentation. Regular inmargin etc does not have this problem: Fixed. The display=yes option brings back the indentation, but it creates another problem: whitespace. This is the purpose if the display option, it should either end the paragraph or add a vertical skip which can be set with space before/spaceafter. 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] xtables in custom macros
On 3-11-2011 23:01, Stefan Müller wrote: \define\Doesnt{\startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable} \starttext \Works \stopxtable %\Doesnt \stoptext \def\test {\setbuffer[demo] \startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable \endbuffer \processxtablebuffer[demo]} Nice! Thank you very much! Stefan -- ___ ey, leute, ich hab so lange gebraucht um mir plan a auszudenken, fragt jetzt doch nicht auch noch nach plan b! Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ___ 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] pdf hyperlinks
Hi, I wanted to use something like ... \def\gotoUserpage[#1]{\expanded{\goto{#1}[\userpage(#1)]}} ... to use it as Keyword \gotoUserpage[Pagenumber] in my index. But this try doesn't work. Anybody has an idea what is the correct code? Steffen ___ 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] xtables in custom macros
On 4-11-2011 18:18, Stefan Müller wrote: On 3-11-2011 23:01, Stefan Müller wrote: \define\Doesnt{\startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable} \starttext \Works \stopxtable %\Doesnt \stoptext \def\test {\setbuffer[demo] \startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable \endbuffer \processxtablebuffer[demo]} Nice! Thank you very much! the manual shows a more convenient way (embeddedxtable) 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] pdf hyperlinks
On 4-11-2011 18:46, Steffen Wolfrum wrote: Hi, I wanted to use something like ... \def\gotoUserpage[#1]{\expanded{\goto{#1}[\userpage(#1)]}} ^ why the backslash to use it as Keyword \gotoUserpage[Pagenumber] in my index. But this try doesn't work. Anybody has an idea what is the correct code? Steffen ___ 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 ___ -- - 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] stacking marginal notes
On Thu, 03 Nov 2011 22:32:56 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 04.11.2011 um 01:06 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear Syndicate, Does stacking work? I've never tried it before, but it would be a godsend to the current porting-to-mkiv project: = \setupmargindata[inmargin][stack=yes] \setupmarginframed[inmargin][stack=yes] I don’t have time to look at your problem but the stack parameter has to bet set with \setupmargindata, \setupmarginframed supports only options from \setupframed (because it’s the command to change the values of the internal \localframed command). Sure, was just trying each to make sure I wasn't missing anything ... and I truly _appreciate_ the invaluable detailed explanations! Hans, can you say something about the status of this feature? Thanks and Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shiʿi Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] stacking marginal notes
On 4-11-2011 21:41, Idris Samawi Hamid ادريس سماوي حامد wrote: On Thu, 03 Nov 2011 22:32:56 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 04.11.2011 um 01:06 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear Syndicate, Does stacking work? I've never tried it before, but it would be a godsend to the current porting-to-mkiv project: = \setupmargindata[inmargin][stack=yes] \setupmarginframed[inmargin][stack=yes] I don’t have time to look at your problem but the stack parameter has to bet set with \setupmargindata, \setupmarginframed supports only options from \setupframed (because it’s the command to change the values of the internal \localframed command). Sure, was just trying each to make sure I wasn't missing anything ... and I truly _appreciate_ the invaluable detailed explanations! Hans, can you say something about the status of this feature? stacking works - 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] stacking marginal notes
On Fri, 04 Nov 2011 14:47:43 -0600, Hans Hagen pra...@wxs.nl wrote: Hans, can you say something about the status of this feature? stacking works lol ... ok, can you tell me what's wrong with the following example: \setupmargindata[inmargin][stack=yes] \starttext \dorecurse{2}{This is a test of the stacking mechanism. }\inmargin{This is a test of the stacking mechanism.} \dorecurse{2}{This is a test of the stacking mechanism. } \dorecurse{2}{This is a test of the stacking mechanism. }\inmargin{This is a test of the stacking mechanism.} \dorecurse{2}{This is a test of the stacking mechanism. } \dorecurse{4}{This is a test of the stacking mechanism. } \stoptext cause there's definitely no stacking here using the latest mkiv :-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shiʿi Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] annotation MODULE BUG
On Fri, 04 Nov 2011 11:07:40 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Fixed. Hmmm: This is LuaTeX, Version beta-0.71.0-2011071409 (rev 4332) : ! LuaTeX error main ctx instance:1: attempt to index global 'thirddata' (a nil value) stack traceback: main ctx instance:1: in main chunk. system tex error on line 21 in file marginindenting.tex: LuaTeX error ... 11 [alternative=command, 12% paragraph=yes, 13% display=no, 14% display=yes, 15% spacebefore=0ex, 16% spaceafter=0ex, 17indenting={medium,yes}, 18command=\MymarginCommand] 19 20 \starttext 21 \dorecurse{2}{This is a test of the annotation module and the indenting mechanism. }\mymargin{This is a test of the annotation module and the indenting mechanism. } \dorecurse{2}{This is a test of the annotation module and the indenting mechanism. } 22 23 \dorecurse{4}{This is a test of the annotation module and the indenting mechanism. } 24 25 \dorecurse{2}{This is a test of the annotation module and the indenting mechanism. }\mymargin{This is a test of the annotation module and the indenting mechanism.} \dorecurse{2}{This is a test of the annotation module and the indenting mechanism. } 26 27 \dorecurse{4}{This is a test of the annotation module and the indenting mechanism. } 28 29 \dorecurse{2}{This is a test of the annotation module and the indenting mechanism. }\inmargin{This is a test of the annotation module and the indenting mechanism.} \dorecurse{2}{This is a test of the annotation module and the indenting mechanism. } 30 31 \dorecurse{4}{This is a test of the annotation module and the indenting mechanism. } \annotation_parameters ... \v!horizontal \fi , }} \normalexpanded {\annotati... \annotation_cmd_content ...2},#1,\c!content ={#3}] \executeifdefined {annotat... to be read again l.21 ...ion module and the indenting mechanism. } \dorecurse{2}{This is a te... ? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shiʿi Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] pdf hyperlinks
Am 04.11.2011 um 21:22 schrieb Hans Hagen: On 4-11-2011 18:46, Steffen Wolfrum wrote: Hi, I wanted to use something like ... \def\gotoUserpage[#1]{\expanded{\goto{#1}[\userpage(#1)]}} ^ why the backslash Why the backslash? Wait a moment ... there's a backslash?? ;o) Thanks a lot! Steffen ___ 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] xtables in custom macros
On 11/04/2011 01:48 PM, Hans Hagen wrote: \startxmlsetups xml:table \startembeddedxtable \xmlflush{#1} \stopembeddedxtable \stopxmlsetups Hans, thanks a lot, I'll play with it tomorrow (was on the road today, from Florence back home...). All best 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] Fatal error
On Fri, 2011-11-04 at 15:15 +0100, Wolfgang Schuster wrote: Am 04.11.2011 um 02:33 schrieb Kip Warner: On Thu, 2011-11-03 at 05:26 +0100, Wolfgang Schuster wrote: ??? There was so many nonsense on your definition for your CodeExample environment, I don’t know where you found the code but I’m going to explain what was wrong, this will help you write something better next time. What you defined was the following piece of code: \crlf \setupbackground[..,.=.,..] \startbackground \startlines[style=type] \setupalign[right] \starttyping … \stoptyping \stoplines \stopbackground \crlf 1. You used \crlf to add a empty line at the begin and end of the environment, better is to use \blank or \blank[line]. 2. You used the lines environment but it useless here because the typing environment already takes care that each line in the input is also line of its own in the output. 3. The style “type” is also useless because typing will overwrite this setting with its own style which is also “type”. 4. The alignment setup is another setting which is ignored because typing itself has a align key which is used. Wolfgang Thanks for the explanation, Wolfgang. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] annotation MODULE BUG
On Fri, 04 Nov 2011 15:33:41 -0600, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: On Fri, 04 Nov 2011 11:07:40 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Fixed. Hmmm: This is LuaTeX, Version beta-0.71.0-2011071409 (rev 4332) : ! LuaTeX error main ctx instance:1: attempt to index global 'thirddata' (a nil value) stack traceback: main ctx instance:1: in main chunk. Testing from home seems to work, I may have unzipped the files incorrectly... My apologies. Still, we should not get a luatex error even in the case of a missing file, just a tex error, so there may be something going on here anyway... THANK YOU, Wolfgang and Hans, for all your help and advice! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 ___