Re: [NTG-context] PDF appearance tuning
2007/6/24, Vyatcheslav Yatskovsky [EMAIL PROTECTED]: Hello, Sorry for a trivial question, but I cannot figure out how to tune appearance of my generated PDF. I want the default scaling to be Page Fit and bookmarks being showed. -- Best regards, Vyatcheslav Yatskovsky Hi, \setupinteraction[state=start] %\setupinteractionscreen[option=bookmark] % open bookmarks \setupinteractionscreen[option=bookmark,option=fit] % closed bookmarks! \placebookmarks[section,subsection][section] \starttext \section{Knuth} \subsection{Tufte} \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?
2007/6/24, Hamid Kamrani [EMAIL PROTECTED]: Taco and Wolfang, Thanks both for your responses. But: 1. The setup offered by Taco does not line up the numerals on the dots. Maybe my problem was misunderstood. 2. With Wolfgang's patch, I think I must be missing some code because I get the Undefined control sequence error. systems : begin file itemize-test02 at line 3 ! Undefined control sequence. \redostartitemgroup ...ands \checkcurrentnofitems \let \listitem \empty \doi... \dostartitemgroup ... \dodostartitemgroup [#2][#3] \else \doifassignmentelse ... l.6 \startitemize[n][style=bold] ? ! Undefined control sequence. \dolistitem ...stelements \optimizelistitemsbreak \noindent \setbox 8\hbox {... Best regards, -Hamid Hi Hamid, I tested my code on the garden and it worked, update your ConTeXt and it should also work for you. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?
2007/6/25, Hamid Kamrani [EMAIL PROTECTED]: On 6/24/07, Hamid Kamrani [EMAIL PROTECTED] wrote: On 6/24/07, Taco Hoekwater [EMAIL PROTECTED] wrote: Hamid Kamrani wrote: Taco and Wolfang, Thanks both for your responses. But: 1. The setup offered by Taco does not line up the numerals on the dots. Maybe my problem was misunderstood. Did you miss this? On a follow-up to previous note: I think this is how I missed the width issue. In my testing, I had both distance and width parameters. I may be doing something wrong but these two conflict. The width value need to be larger than the distance value because the resulting width for the number in your example is width (below 3em) - distance (below 5em) = -2em (5em - 3em). The same problem did also appear in my solution. Wolfgang \unprotect \startsetups [numberitemleft] \hbox to \dimexpr\getitemparameter\itemlevel \c!width - \getitemparameter\itemlevel \c!distance\relax \bgroup\hfill \stopsetups \startsetups [numberitemright] \egroup \stopsetups \protect \starttext \startitemize[n][style=bold] \item As a college student, how do you rate yourself? \startitemize[R,packed][left={\setups[numberitemleft]}, right={\setups[numberitemright]}, stopper={.}, width=3em, style=\sc, distance=5em] \item The first item. \item The second item. \item The third item. \item The fourth item. \item The fifth item. \item The sixth item. \item The seventh item. \item The eighth item. \item The ninth item. \item The tenth item. \stopitemize \stopitemize \stoptext Best, -Hamid I certainly did. I'm sorry, the misunderstanding was on my part. I do like your solution. But how to make it the default? This should be the default behavior and in fact the required width should be calculated by ConTeXt. Otherwise ConTeXt is behaving like MS Word. Please note that, second to paragraphs, lists are the most widely used text blocks. It is imperative that they format correctly. If you're using Arabic numerals then you have the chance to list your first 9 items correctly.But, alas, if you have to use roman numeral. The problem shows up in the second item. (you would not itemize if you had only one item!) Taco, I very much appreciate your solution. It allows me to continue for now but I humbly ask, in fact, beg to have a solution built in the core of ConTeXt. My apologies for discounting your solution too quickly. Best regards, -Hamid Taco wrote: You probably want to increase the 'width' parameter, but that should be straightforward. It should work with width=2pc (two digits and a dot do not fit in the default allocated space, so the 10. sticks out to the right) Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?
Hamid Kamrani wrote: Taco, I very much appreciate your solution. It allows me to continue for now but I humbly ask, in fact, beg to have a solution built in the core of ConTeXt. See the attached file how to make a special version of itemize that has default behaviour like you want. I could have used \setupitemgroup[itemize] directly instead, but I assume you don't want your bullet lists right aligned as well. Since ConTeXt cannot know beforehand how wide the number space should be (neither do eplain and latex), the 'width' key has to be a fixed quantity, but you can still change all of the default parameters where you call \startenumerate, just like you did before with \startitemize, so that should be only a minor nuisance. I do agree it would be better if the core was extended so that the two setups were not necessary. Best wishes, Taco \unprotect \startsetups [numberitemleft] \hbox to \dimexpr\getitemparameter\itemlevel \c!width - \getitemparameter\itemlevel \c!distance\relax \bgroup \hfill \stopsetups \startsetups [numberitemright] \egroup \stopsetups \protect \defineitemgroup [enumerate] \setupitemgroup [enumerate] [each] [n,packed] [left={\setups[numberitemleft]}, right={\setups[numberitemright]}, stopper={.}, width=2pc] \starttext \startenumerate \item The first item. \item The second item. \item The third item. \item The fourth item. \item The fifth item. \item The sixth item. \item The seventh item. \item The eighth item. \item The ninth item. \item The tenth item. \stopenumerate \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] referencing figures with \in
Hans van der Meer wrote: Taco and Wolfgang, Here is your counterexample: \setupcaptions[number=no] % the culprit \starttext Since you are referencing a non-existing number, I cannot say I am very surprised get weird output. The problem is that the reference is actually resolved, but it has no content (thanks to number=no), and that triggers the special handling for anonymous references. If the figure appears on a different page, context will print a triangle pointing to the left or right instead of the dot. In short: it is a feature. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF appearance tuning
Hello Wolfgang, Thank you, but it doesn't work for me and I cannot figure out why. The interaction is started (I know it from other documents), but \setupinteractionscreen and \placebookmarks do nothing. This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) (format=cont-en 2007.6.19) 25 JUN 2007 11:27 entering extended mode \write18 enabled. %-line parsing enabled. (WARNING: translate-file natural.tcx ignored) **test.tex \emergencyend (./test.tex ConTeXt ver: 2007.06.06 09:53 MKII fmt: 2007.6.19 int: english/english language: language en is active system : cont-new loaded (c:/TeXLive2007/texmf-dist/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (c:/TeXLive2007/texmf-dist/tex/context/base/cont-new.mkii)) system : cont-old loaded (c:/TeXLive2007/texmf-dist/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (c:/TeXLive2007/texmf-dist/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (c:/TeXLive2007/texmf-dist/tex/context/user/cont-sys.rme (c:/TeXLive2007/texmf-dist/tex/context/base/type-exa.tex) (c:/TeXLive2007/texmf-dist/tex/context/base/type-syn.tex) (c:/TeXLive2007/texmf-dist/tex/context/base/type-enc.tex) (c:/TeXLive2007/texmf-dist/tex/context/base/type-siz.tex) (c:/TeXLive2007/texmf-dist/tex/context/base/type-map.tex) (c:/TeXLive2007/texmf-dist/tex/context/base/type-spe.tex) (c:/TeXLive2007/texmf-dist/tex/context/base/type-akb.tex) (c:/TeXLive2007/texmf-dist/tex/context/base/type-xtx.tex)) bodyfont: 12pt rm is loaded language: patterns en-default:default-1-2:3 uk-default:default-2- 2:3 de-default:default-3-2:3 fr-default:default-4-2:3 es-default:default -5-2:3 pt-default:default-6-2:3 it-default:default-7-2:3 nl-default:de fault-8-2:3 cz-default:default-9-2:3 sk-default:default-10-2:3 pl-defa ult:default-11-2:3 loaded specials: tex,postscript,rokicki loaded \openout3 = `test.tui'. system : test.top loaded (./test.top specials: loading definition file dpx (c:/TeXLive2007/texmf-dist/tex/context/base/spec-dpx.tex specials: loading definition file fdf (c:/TeXLive2007/texmf-dist/tex/context/base/spec-fdf.tex (c:/TeXLive2007/texmf-dist/tex/context/base/spec-fdf.mkii)) specials: fdf loaded ) specials: fdf,dpx loaded specials: loading definition file xet (c:/TeXLive2007/texmf-dist/tex/context/base/spec-xet.tex) specials: fdf,dpx loaded ) \openout0 = `test-mpgraph.mp'. \openout0 = `mpgraph.mp'. interaction : active (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (c:/TeXLive2007/texmf-dist/tex/context/base/sort-lan.tex loading : Context Sorting Macros (languages) (c:/TeXLive2007/texmf-dist/tex/context/base/sort-lan.mkii)) (./test.tuo) (./test.tuo) systems : begin file test at line 5 section : 1 Knuth subsection : 1.1 Tufte fonts : resetting map file list fonts : using map file: lm-texnansi fonts : using map file: original-base fonts : using map file: lm-ec fonts : using map file: ec-base fonts : using map file: lm-math fonts : using map file: lm-rm fonts : using map file: 8r-base fonts : using map file: t5-base fonts : using map file: texnansi-base fonts : using map file: qx-base fonts : using map file: original-ams-base fonts : using map file: original-ams-euler fonts : using map file: original-public-lm interaction : aspect ratio 597.50787 x 845.04684 (b x h) interaction : DVIPDFMx code inserted [1.1] systems : end file test at line 11 system : cont-err loaded (c:/TeXLive2007/texmf-dist/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) ) Here is how much of TeX's memory you used: 1190 strings out of 58049 19812 string characters out of 548194 4589361 words of memory out of 5521115 41070 multiletter control sequences out of 1+5 86099 words of font info for 38 fonts, out of 120 for 2000 98 hyphenation exceptions out of 8191 47i,19n,51p,263b,725s stack positions out of 5000i,500n,6000p,20b,5000s Output written on test.pdf (1 page). -- Best regards, Vyatcheslav Yatskovsky ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] referencing figures with \in
On Jun 25, 2007, at 9:24, Taco Hoekwater wrote: Hans van der Meer wrote: Taco and Wolfgang, Here is your counterexample: \setupcaptions[number=no] % the culprit \starttext Since you are referencing a non-existing number, I cannot say I am very surprised get weird output. You are right and I should not expect something sensible from number=no, but for my curiosity one question remains: why does \at gives a number that should not exist? Anyway, it is not a problem anymore! The problem is that the reference is actually resolved, but it has no content (thanks to number=no), and that triggers the special handling for anonymous references. If the figure appears on a different page, context will print a triangle pointing to the left or right instead of the dot. In short: it is a feature. Best wishes, Taco Hans van der Meer ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] horizontal list turns into vertical list in framedtext. A bug or feature?
Thank you, Hans, for directing me to use streams. Not only it takes care of this problem it also shows me how to do some other stuff that I had struggled with. -Hamid On 6/24/07, Hans Hagen [EMAIL PROTECTED] wrote: Hamid Kamrani wrote: Hi Wolfgang, Thanks for your explanation and patch. I appreciate it. However, with the patch, now I have the problem of correct indentation. As this example shows: \input core-itm-patch \starttext \usemodule[streams] \definestreamlayer[whatever][width=12cm] \startstreamlayer[whatever] \startitemize[columns,two][after=] \item one \item two \item three \item four \stopitemize \stopstreamlayer \framed[strut=no,align=normal]{\placestreamlayer[whatever]\obeydepth} \starttextstreamlayer[whatever] \startitemize[columns,two] \item one \item two \item three \item four \stopitemize \stoptextstreamlayer \framed[strut=no]{\placetextstreamlayer[whatever]} \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] horizontal list turns into vertical list in framedtext. A bug or feature?
Hamid Kamrani wrote: Thank you, Hans, for directing me to use streams. Not only it takes care of this problem it also shows me how to do some other stuff that I had struggled with. keep in mind that this otr trickery is indeed trickery; in luatex we can do real neat things Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?
Thank you both, Taco and Wolfgang. I will make use of your suggestions and solutions. BTW. It seems that now I have to put some of the styling of the numerals, such as using small caps in the setups of right and left. For example: \unprotect \startsetups [numberitemleft] \hbox to \dimexpr\getitemparameter\itemlevel \c!width - \getitemparameter\itemlevel \c!distance\relax \bgroup\hfill \cap\bgroup( \stopsetups \startsetups [numberitemright] )\egroup \egroup \stopsetups \protect \starttext \startitemize[n][style=bold] \item As a college student, how do you rate yourself? \startitemize[R,packed][left={\setups[numberitemleft]}, right={\setups[numberitemright]}, stopper={.}, width=4.5em, style=\sl, distance=2em] \item The first item. \item The second item. \item The third item. \item The fourth item. \item The fifth item. \item The sixth item. \item The seventh item. \item The eighth item. \item The ninth item. \item The tenth item. \stopitemize \stopitemize \stoptext Thanks again, -Hamid On 6/25/07, Taco Hoekwater [EMAIL PROTECTED] wrote: Hamid Kamrani wrote: Taco, I very much appreciate your solution. It allows me to continue for now but I humbly ask, in fact, beg to have a solution built in the core of ConTeXt. See the attached file how to make a special version of itemize that has default behaviour like you want. I could have used \setupitemgroup[itemize] directly instead, but I assume you don't want your bullet lists right aligned as well. Since ConTeXt cannot know beforehand how wide the number space should be (neither do eplain and latex), the 'width' key has to be a fixed quantity, but you can still change all of the default parameters where you call \startenumerate, just like you did before with \startitemize, so that should be only a minor nuisance. I do agree it would be better if the core was extended so that the two setups were not necessary. Best wishes, Taco ___ 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?
Hamid Kamrani wrote: Thank you both, Taco and Wolfgang. I will make use of your suggestions and solutions. BTW. It seems that now I have to put some of the styling of the numerals, such as using small caps in the setups of right and left. Yes, that is the downside of lack of core support. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Context en TechnicCenter
Beste mensen, *Hoe krijg ik een ConTEXt file aan de praat in in TEXnicCenter (geïnstalleerd met de protext-cd)? * Na de installatie van MiKTEX, TEXnicCenter, Ghostscript en GSview with the Protext-cd, lukt het me wel een Latex file te compileren, maar Context niet. Noch het artikel van Steve Peter ( http://www.tug.org/pracjourn/2005-2/peter/peter.pdf ), noch het verhaal op http://wiki.contextgarden.net/Configure_TeXnicCenter_for_ConTeXt helpt me uit de brand. In de nieuwste Maps schrijft Frans Goddijn een stukje over MikTEX, maar over Context heeft hij het helaas niet. Paul Blaga schreef me: -for the compiler C:\texmf\miktex\bin\texexec.exe -for the command line arguments: --nonstop --interface=nl --pdf %nm For me, it works. Bij mij werkt dit ook niet. Er wordt geen pdf of ander file gemaakt en in het Output Profile staat één regel: *Latex result: 0 Error(s), 0 Waring(s), 0 Bad Box(es), 0 Page(s)* * Steve Peter zegt:* * **For the command-line arguments, you can add any switches you use for **texexec **or **texmfstart**, such as **--pdf**. Use the arrow button to the right of the text box to select a placeholder for the file (for example **%pm **will pass the entire path of the file,along with the extension).* * *Dingen als:: *-interaction=nonstopmode %pm --nonstop --interface=nl --pdf --ps %bm * Werken ook allemaal niet. Ik denk dat mijn informatica/windows kennis hier echt te kort schiet. Heeft iemand een idee? Liesbeth van der Plas -- [EMAIL PROTECTED] www.wiskunde-interactief.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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?
Taco Hoekwater wrote: Hamid Kamrani wrote: Taco, I very much appreciate your solution. It allows me to continue for now but I humbly ask, in fact, beg to have a solution built in the core of ConTeXt. See the attached file how to make a special version of itemize that has default behaviour like you want. I could have used \setupitemgroup[itemize] directly instead, but I assume you don't want your bullet lists right aligned as well. Since ConTeXt cannot know beforehand how wide the number space should be (neither do eplain and latex), the 'width' key has to be a fixed quantity, but you can still change all of the default parameters where you call \startenumerate, just like you did before with \startitemize, so that should be only a minor nuisance. I do agree it would be better if the core was extended so that the two setups were not necessary. I'll upload a beta that supports: \startitemize[n,fit,broad][itemalign=flushright] \dorecurse{100}{\item The first item.} \stopitemize \setupitemgroup[itemize][each][fit] \setupitemgroup[itemize][each][distance=.5em,factor=1,itemalign=flushright] \startitemize[n] \dorecurse{100}{\item The first item.} \stopitemize others should wikify this Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context en TechnicCenter
Liesbeth van der Plas wrote: Beste mensen, *Hoe krijg ik een ConTEXt file aan de praat in in TEXnicCenter (geïnstalleerd met de protext-cd)? * Na de installatie van MiKTEX, TEXnicCenter, Ghostscript en GSview with the Protext-cd, lukt het me wel een Latex file te compileren, maar Context niet. Noch het artikel van Steve Peter ( http://www.tug.org/pracjourn/2005-2/peter/peter.pdf ), noch het verhaal op http://wiki.contextgarden.net/Configure_TeXnicCenter_for_ConTeXt helpt me uit de brand. In de nieuwste Maps schrijft Frans Goddijn een stukje over MikTEX, maar over Context heeft hij het helaas niet. Paul Blaga schreef me: -for the compiler C:\texmf\miktex\bin\texexec.exe -for the command line arguments: --nonstop --interface=nl --pdf %nm For me, it works. Bij mij werkt dit ook niet. how about texmfstart texexec ... i.e. use texmfstart to launch the utilities (it will directly use texexec.rb) Er wordt geen pdf of ander file gemaakt en in het Output Profile staat één regel: *Latex result: 0 Error(s), 0 Waring(s), 0 Bad Box(es), 0 Page(s)* * Steve Peter zegt:* * ** /_For the command-line arguments, you can add any switches you use for _/** /_texexec _/**/ _or _/**/_ texmfstart_/**/_, such as _/ **/_--pdf_/** /_. Use the arrow button to the right of the text box to select a placeholder for the file (for example _/**/_%pm _/** /_will pass the entire path of the file,along with the extension)._/* */_ _/*Dingen als:: * -interaction=nonstopmode %pm --nonstop --interface=nl --pdf --ps %bm * Werken ook allemaal niet. Ik denk dat mijn informatica/windows kennis hier echt te kort schiet. Heeft iemand een idee? Liesbeth van der Plas -- [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www..wiskunde-interactief.nl http://www.wiskunde-interactief.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 : https://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 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] preventing page break in verses
Hello, I have a simple question about verses. How can I prevent a verse to be breaked across pages? Now I use: \definestartstop[verse][before=\startlines, after=\stoplines] -- Best, Vyatcheslav ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] intdenting a chorus
Hello, And how to indent a chorus block? My naive \definestartstop[chorus][before={\startlines[indenting=2em]}, after=\stoplines] doesn't work. -- Best, Vyatcheslav mailto:[EMAIL PROTECTED] ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Setting background for entire header
Hi, I want to set the background of the entire header (from left edge of the paper to the right edge). As far as I could tell, there is no way to coax setupbackgrounds to do this. I can do this using layers or abuse the margin and offset keys of framed to make it cover the remaining area, but is there really no direct way to do this? Here is my attempt so far. \setupbodyfont[14pt] \setuppapersize [S6] [S6] \setuplayout [topspace=0cm, top=0cm, topdistance=0cm, header=3\lineheight, headerdistance=0.5\lineheight, height=middle, footerdistance=0.5\lineheight, footer=2\lineheight, bottomspace=0cm, bottom=0cm, bottomdistance=0cm, backspace=1cm, leftmargin=.5cm, leftmargindistance=.15cm, width=middle, cutspace=.5cm, rightmargin=.25cm, rightmargindistance=.15cm, grid=yes, ] \setupcolors[state=start] What should go here??? \setupbackgrounds[header][background=color,backgroundcolor=blue] \starttext test \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] preventing page break in verses
On Tue, 26 Jun 2007, Vyatcheslav Yatskovsky wrote: Hello, I have a simple question about verses. How can I prevent a verse to be breaked across pages? Now I use: \definestartstop[verse][before=\startlines, after=\stoplines] My first reaction was to use \defineframedtext[verse][width=broad,frame=off,before=\startlines,after=\stoplines] but for some very strange reason this does not work. So, try the following: \defineframedtext[verseframe][width=broad,frame=off] \definestartstop[verse] [before={\startlines\startverseframe}, after={\stopverseframe\stoplines}] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] referencing figures with \in
2007/6/25, Hans van der Meer [EMAIL PROTECTED]: On Jun 25, 2007, at 9:24, Taco Hoekwater wrote: Hans van der Meer wrote: Taco and Wolfgang, Here is your counterexample: \setupcaptions[number=no] % the culprit \starttext Since you are referencing a non-existing number, I cannot say I am very surprised get weird output. You are right and I should not expect something sensible from number=no, but for my curiosity one question remains: why does \at gives a number that should not exist? Anyway, it is not a problem anymore! \in [key] gives the running number of float, this means 1 for the first figure, 2 for the second ... This did only work with numbered figures, you disabled the number in your figure and got only the dummy sign (the bullet) because there was no number to be shown. \at [key] give you the pagenumber, where your figure was placed and this was in your example the first page. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] preventing page break in verses
2007/6/26, Vyatcheslav Yatskovsky [EMAIL PROTECTED]: Hello, I have a simple question about verses. How can I prevent a verse to be breaked across pages? Now I use: \definestartstop[verse][before=\startlines, after=\stoplines] -- Best, Vyatcheslav \definestartstop [verse] [before=\vbox\bgroup\startlines, %before={\page[preference]\vbox\bgroup\startlines}, after=\stoplines\egroup] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] intdenting a chorus
2007/6/26, Vyatcheslav Yatskovsky [EMAIL PROTECTED]: Hello, And how to indent a chorus block? My naive \definestartstop[chorus][before={\startlines[indenting=2em]}, after=\stoplines] doesn't work. -- Best, Vyatcheslav mailto:[EMAIL PROTECTED] \definestartstop [chorus] [before=\startnarrower\startlines, after=\stoplines\stopnarrower] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___