[NTG-context] margintext in mkii and mkiv
Hi. Consider the attached example. When compiled with mkii (texexec) I get text in margin while if I compile the file with mkiv (context) I get only text with nothing in margin. I'm using context minimal: $ context --version | grep version MTXrun | current version: 2010.11.03 19:42 Did I miss something? --- WBR, Vladimir Lomov ex1.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] Problems with bib and \completepublications, \placepublications
On 04/11/2010 20:04, Thomas A. Schmitz wrote: \placepublications[criterium=all] ^^^ That was disappointingly easy. Thanks. -- Michael Murphy ___ 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] Animations (again, but different)
Am 03.11.2010 um 17:38 schrieb Erik Margraf: > Dear Contexters! > In the last few days I could read a few posts about > "animations" in a resulting PDF document. Some > statements mentioned java script as possible means > to create an animation. > Is it possible to do the following (which is rather > simple using html and javascript)? > > -- Have a bunch of thumbnail pictures > -- When you click on a thumbnail you see a > larger version of the same picture > -- With the next mouseclick the picture > vanishes (you see the gallery of thumbnails again) > > if yes, how? > Any hints are welcome. Not perfect (it’s not possible to close the big pictures) but it should give you a first impression: \setupinteraction[state=start] \defineproperty [1] [layer] [state=stop,global=yes] \defineproperty [2] [layer] [state=stop,global=yes] \defineproperty [3] [layer] [state=stop,global=yes] \defineproperty [4] [layer] [state=stop,global=yes] \starttexdefinition properties \startoverlay {\startproperty[1]\overlayfigure{cow}\stopproperty} {\startproperty[2]\overlayfigure{mill}\stopproperty} {\startproperty[3]\overlayfigure{hacker}\stopproperty} {\startproperty[4]\overlayfigure{cow}\stopproperty} \stopoverlay \stoptexdefinition \defineoverlay[properties][\properties] \startTEXpage[background={foreground,properties}] \bTABLE[width=4cm,height=4cm,offset=none] \bTR \bTD \goto{\overlayfigure{cow}}[VideLayer{1}] \eTD \bTD \goto{\overlayfigure{mill}}[VideLayer{2}] \eTD \eTR \bTR \bTD \goto{\overlayfigure{hacker}}[VideLayer{3}] \eTD \bTD \goto{\overlayfigure{cow}}[VideLayer{4}] \eTD \eTR \eTABLE \stopTEXpage 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] Wiki: ConTeXt vs. LaTeX and others
On 2010-11-04 <15:18:24>, Jonas Stein wrote: > for many users it is interesting, to get an overview > how problems are solved in ConTeXt compared to the other > TeX-Flavours. > > I like the wikimatrix for Wikis and i thought it could be > nice to have a simple matrix for TeX. > > I started a table in the wiki to collect this knowledge [2], > but i am not very happy with this table yet. > > Perhaps do you have ideas, how to improve it? Hi Jonas, thanks for extending the wiki. For a start I’d like to recommend two things: (1) as this comparison might grow rather large, so I guess it deserves its own page and a catchy lemma under which you would expect this information to be found; (2) the row ‘utf8 in text’ is ambiguous: concerning mkii and latex2e the functionality depends on the tex engine used. Maybe a subdivision of this row could clarify things? Regards, Philipp > > > [1] http://www.wikimatrix.org/ > [2] http://wiki.contextgarden.net/What_is_ConTeXt > and discussion on http://wiki.contextgarden.net/Talk:What_is_ConTeXt > > kind regards, > > -- > Jonas Stein > > ___ > 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 > ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp4wepL5CAMt.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] Section number inside TABLE
2010/11/4 Wolfgang Schuster > > Am 04.11.2010 um 10:36 schrieb Vedran Miletić: > > > Consider the following code: > > > > %\setuphead[section][after={\hairline}] > > > > \starttext > > > > \bTABLE > > \bTR \bTD > > \iftrialtypesetting\else > > > \section{my section} > > \fi > > > \input tufte > > \eTD \eTR > > \eTABLE > > > > \stoptext > > Thanks! > What do you want to achieve with this, maybe there is a better solution for > your problem. > > It's an attempt to reconstruct in ConTeXt our university standard table form for course description, that looks like: http://www.inf.uniri.hr/~vmiletic/context/plan-i-program-tablica.png (This is a screenshot from a Word doc which I'm not sure whether I'm allowed to post or not.) Any ideas? -- Vedran Miletić P.S. Thanks for so quick responses! ___ 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 bib and \completepublications, \placepublications
On Nov 4, 2010, at 7:09 PM, Michael Murphy wrote: > \starttext > > \startbodymatter > I can cite single authors, like this \cite[Bailey], and I > can also do more than one citation \cite[Bailey,Bay1]. > > \blank[medium] > > \placepublications > \completepublications > > \stopbodymatter > > \startbackmatter > \chapter{Backmatter publications} > \placepublications[criterium=all] ^^^ > \completepublications > \stopbackmatter > > \stoptext 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] Wiki: ConTeXt vs. LaTeX and others
2010/11/4 Aditya Mahajan > Perhaps do you have ideas, how to improve it? > > Perhaps a better way is to update (and wikify) Berend de Boer's LaTeX in > proper ConTeXt. > > Aditya +1 -- Vedran Miletić ___ 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 bib and \completepublications, \placepublications
I can't seem to get a list of publications. The only exception is when I use \placepublications directly after a chapter, which seems to work. In particular, putting the list of references in a separate 'backmatter' doesn't work at all, either with \place- or \completepublications. Minimal example is below. ConTeXt version is 2010.11.03 19:42 -- \setuppublicationlist[samplesize={BGT83},totalnumber=2] \startpublication[k=Bailey,t=article, a={{Bailey},{Swarztrauber}},y=1991, n=1,s=BS91] \artauthor[]{D.~H.}[D.~H.]{}{Bailey} \artauthor[]{P.~N.}[P.~N.]{}{Swarztrauber} \pubyear{1991} \arttitle{The fractional {F}ourier transform and applications} \journal{SIAM Rev.} \volume{33} \issue{3} \pages{389--404} \stoppublication \startpublication[k=Bay1,t=article, a={{Bayliss},{}},y=1983, n=2,s=BGT83] \artauthor[]{A.}[A.]{}{Bayliss} \artauthor[]{C.~I.}[C.~I.]{}{Goldstein} \artauthor[]{E.}[E.]{}{Turkel} \pubyear{1983} \arttitle{An iterative method for the {H}elmholtz equation} \journal{J. Comp. Phys.} \volume{49} \pages{443--457} \stoppublication \starttext \startbodymatter I can cite single authors, like this \cite[Bailey], and I can also do more than one citation \cite[Bailey,Bay1]. \blank[medium] \placepublications \completepublications \stopbodymatter \startbackmatter \chapter{Backmatter publications} \placepublications \completepublications \stopbackmatter \stoptext -- Michael Murphy ___ 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] \setupquotation
- Can I get the first line of the same length as the lower one? - \setupquote[style=bold] works, bit I thougth that \setupquote[style=normal] would set the text in upright?? - I do not understand the meaning of the optional argument location = TEXT margin for \setupquotation. \starttext \setupquotation[style=slanted,before=\hairline,after=\hairline] \setupquote[style=bold] Eine Zeile vor dem Zitat, die keinen weiteren Sinn hat.\par \startquotation Der eine wartet, dass die Zeit sich wandelt, der andere packt sie kräftig an und handelt. Und sagt \quote{So muss es sein}. \stopquotation \stoptext \starttext 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] Page layout: doublesided
\setuppagenumbering[alternative=doublesided] > \starttext \showframe > \dorecurse{10}{\input knuth\par} > \stoptext Greeting Andreas ___ 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] Page layout: doublesided
Hello, although I guess this is one of the really basic tasks, I'm not able to setup successfully page layout for double-sided printing. My idea is to have different free "space" leftwards and rightwards from the text area. I just want to get different width of the left/right area: 2.5 cm left (for binding) and 2 cm right (odd pages); and the same values mirrored for even pages. My code is: --- \setuplayout[location=doublesided] %\setuplayout[location=duplex] %\setuplayout[location=middle] \starttext \showsetups \showlayout \showgrid \dorecurse{1}{\input knuth\par} \stoptext --- You can see the result: 1. The left margin is "pushed" left, so only 2 cm of it is visible (but the margin should have 2.5 cm - see listed value of "leftmargin"). - And obviously there is 0.5 cm extra "space" rightwards from the right margin. Moreover, if any horizontal "pushing" is present, I'd expect shifting to the right to get a bit more space left, so that to allow binding on the left side. (I tried the horizontal shift to the left was the same for single- and double-sided setup.) 2. Horizontal "pushing" (shifting) is the same for even and odd pages. - I succeeded to remove horizontal "pushing" by setting the "backspace" value to 3 cm. But it's strange to me that one has to set this value explicitly, when keeping all other values default. - I'm still not able to provide switching the size of the left/right "space" for even/odd pages. So how to achieve this? Btw: Why the dimensions (<- \showsetups) are printed 5 times? Thank you for patience. Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t-PageSetup.mkiv Description: Binary data t-PageSetup.pdf Description: Adobe PDF 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] Wiki: ConTeXt vs. LaTeX and others
On Thu, 4 Nov 2010, Jonas Stein wrote: for many users it is interesting, to get an overview how problems are solved in ConTeXt compared to the other TeX-Flavours. Also see http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt and http://wiki.contextgarden.net/Latex_Packages I like the wikimatrix for Wikis and i thought it could be nice to have a simple matrix for TeX. I started a table in the wiki to collect this knowledge [2], but i am not very happy with this table yet. I am not sure that such a table will be useful. Feature wise, latex and context are almost equivalent. For a user it makes little difference if a feature is standard or implmented in an external package. Perhaps do you have ideas, how to improve it? Perhaps a better way is to update (and wikify) Berend de Boer's LaTeX in proper ConTeXt. 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] Wiki: ConTeXt vs. LaTeX and others
for many users it is interesting, to get an overview how problems are solved in ConTeXt compared to the other TeX-Flavours. I like the wikimatrix for Wikis and i thought it could be nice to have a simple matrix for TeX. I started a table in the wiki to collect this knowledge [2], but i am not very happy with this table yet. Perhaps do you have ideas, how to improve it? [1] http://www.wikimatrix.org/ [2] http://wiki.contextgarden.net/What_is_ConTeXt and discussion on http://wiki.contextgarden.net/Talk:What_is_ConTeXt kind regards, -- Jonas Stein ___ 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] \quote
On Thu, Nov 04, 2010 at 01:20:48PM +0100, Thomas A. Schmitz wrote: > which is explained in chapter 7.3 of the manual. Btw, don't use something > like \cc in mkiv, prefer proper Unicode characters. IINM, \cc and similar control sequences in MkIV will just insert the proper Unicode character. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___ 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] \quote
On Nov 4, 2010, at 12:59 PM, Alan BRASLAU wrote: > On Thursday 04 November 2010 12:47:44 Herbert Voss wrote: >> the documation says, that \quote gives a single quote. >> Why do I get a double one for french? >> >> \starttext >> \language[nl]\quote{Nederlandse}, >> \language[en]\quote{English}, >> \language[de]\quote{Deutsch} oder >> \language[fr]\quote{Fran\cc ais}. >> \stoptext >> >> mkiv/TeXLive2010 >> >> Herbert > > I do not know what is the correct usage in French, > but single guillemets do exist in unicode: I'm too lazy to look it up now, but most French books I read have double guillemets «» at the outer level and double quotes “” at the inner level. The definitions are in lang-ita.tex, and they do indeed define double guillemet for both quotation and quote: \installlanguage [\s!fr] [\c!leftquote=\leftguillemot, \c!rightquote=\rightguillemot, \c!leftquotation=\leftguillemot, \c!rightquotation=\rightguillemot] This looks wrong to me, but it's something French users must discuss. As for the OP: you can set up any symbol you like, e.g. \setuplanguage[fr] [leftquote=\upperleftdoublesixquote, rightquote=\upperrightdoubleninequote, leftquotation=\leftguillemot, rightquotation=\rightguillemot] which is explained in chapter 7.3 of the manual. Btw, don't use something like \cc in mkiv, prefer proper Unicode characters. 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] \quote
On Thursday 04 November 2010 12:47:44 Herbert Voss wrote: > the documation says, that \quote gives a single quote. > Why do I get a double one for french? > > \starttext > \language[nl]\quote{Nederlandse}, > \language[en]\quote{English}, > \language[de]\quote{Deutsch} oder > \language[fr]\quote{Fran\cc ais}. > \stoptext > > mkiv/TeXLive2010 > > Herbert I do not know what is the correct usage in French, but single guillemets do exist in unicode: $ unicode guillemet U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK UTF-8: c2 ab UTF-16BE: 00ab Decimal: « « Category: Pi (Punctuation, Initial quote) Bidi: ON (Other Neutrals) Character is mirrored U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK UTF-8: c2 bb UTF-16BE: 00bb Decimal: » » Category: Pf (Punctuation, Final quote) Bidi: ON (Other Neutrals) Character is mirrored U+2039 SINGLE LEFT-POINTING ANGLE QUOTATION MARK UTF-8: e2 80 b9 UTF-16BE: 2039 Decimal: ‹ ‹ Category: Pi (Punctuation, Initial quote) Bidi: ON (Other Neutrals) Character is mirrored U+203A SINGLE RIGHT-POINTING ANGLE QUOTATION MARK UTF-8: e2 80 ba UTF-16BE: 203a Decimal: › › Category: Pf (Punctuation, Final quote) Bidi: ON (Other Neutrals) Character is mirrored ___ 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] \quote
the documation says, that \quote gives a single quote. Why do I get a double one for french? \starttext \language[nl]\quote{Nederlandse}, \language[en]\quote{English}, \language[de]\quote{Deutsch} oder \language[fr]\quote{Fran\cc ais}. \stoptext mkiv/TeXLive2010 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 ___
[NTG-context] Dotted leader in index entries
Hello all. [Using Mk II.] I need to produce an index which looks like this: Mainentry Subentry.3 Slightly longer subentry..5 See also X I have the following setup: \def\MyIndexTextCmd#1{#1\dotfill} \setupregister[Index][n=2,textcommand=\MyIndexTextCmd,distance=1em,alternative=A] which gives me something like: Mainentry Subentry.3 Slightly longer subentry.. 5 See also X I can work around the problem of the "See also X" line by adding an \hfilll to avoid the generation of dots. But I really need all pagenumbers to be at the right hand side, and not allow them to break over to the left like in the second example. At the moment I'm putting forced line breaks before the last word to achieve what I need, but I would really like to automate this! Thanks for any help, hope the issue is clear. Duncan ___ 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] Section number inside TABLE
On 4-11-2010 10:42, luigi scarso wrote: 2010/11/4 Vedran Miletić: Consider the following code: %\setuphead[section][after={\hairline}] \starttext \bTABLE \bTR \bTD \section{my section} \input tufte \eTD \eTR \eTABLE \stoptext There are two things that are worth mentioning: 1. When compiling with either MkIV or MkII, section number will appear as 3. 2. Uncommenting the setuphead line makes number appear as 4 in MkII, MkIV doesn't change. Any ideas? I suspect that the \bTABLE..\eTABLE is typesetted a few times before actually put on mvl. indeed, and putting section commands in tables is a bad idea anyway as such heads really assume the mvl unless one sets it up to do otherwise (i.e. decouple the definition from the rendering) 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] register sorting
Hi Hans, I tested all the combinations that Jano set up (see below) and additionally tried the same, but used ch instead of uc. But none of these runs gave this sorting result: East Prussia Eastern enlargement East-West Institute I would would sort it this way, but maybe I am simply wrong? Regards, Steffen Am 30.10.2010 um 02:33 schrieb Jano Kula: > Hi Steffen, > > On 10/29/2010 10:39 PM, Steffen Wolfrum wrote: >> Hi, >> >> I just installed todays beta and I am not sure if regoster sorting is >> working properly. >> >> Eg. I modify (see below) the example from tricky-002.tex and I would like to >> achieve ... >> >> accession >> Action Plan >> association >> >> But none of the four methods (before, after, first, last) gives this result!! >> >> What is wrong? > > Methods were rewritten to give more flexibility. From the Hans' explanation: > > \startquote > > [pzm][mc] = [plus|zero|minus offsets][mapping|cases] > > uc == unicode order > > ok, a bit cryptic but one can now choose methods more explicitly (with the > four predefined) > > cases : lowercasing with shapebased pre/post injection > mapping : given language mapping with shapebased pre/post injection > > Not all combinations make sense so we might need to figure out which ones to > document. With too much simplification (shape based) the sorter will not sort > right as there always need to be some distinction. > > \stopquote > > Bellow is the example with possible combinations, so try which one suits you > best. > > At least method={zm,mc,uc} gives what you want, but I don't know your border > cases. > > Jano > > > > % tricky-006.tex > \setuplayout[topspace=1cm,height=middle] > > \setupbodyfont[11pt] > > \starttext > > \def\Test#1% > {\vbox{{\bf#1}\blank\placeregister[index][language=cz,n=1,method={#1}]}\blank} > > wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank > > \startcolumns[n=3] >\Test{mc,mm,uc} \Test{mc,zm,uc} \Test{mc,pm,uc} >\Test{zc,mm,uc} \Test{zc,zm,uc} \Test{zc,pm,uc} >\Test{pc,mm,uc} \Test{pc,zm,uc} \Test{pc,pm,uc} > \stopcolumns > > \page > > wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank > > \startcolumns[n=3] >\Test{mm,mc,uc} \Test{zm,mc,uc} \Test{pm,mc,uc} >\Test{mm,zc,uc} \Test{zm,zc,uc} \Test{pm,zc,uc} >\Test{mm,pc,uc} \Test{zm,pc,uc} \Test{pm,pc,uc} > \stopcolumns > > \page > > \dorecurse {2} { > \page \recurselevel: >\index{oá} \index{öb} \index{Oč} \index{Öď} >\index{oo} \index{öo} \index{Oo} \index{Öo} >\index{Öq} \index{öř} \index{Oš} \index{oů} > done > } > > > > > > > > > > > > > ___ > 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] Section number inside TABLE
2010/11/4 Vedran Miletić : > Consider the following code: > > %\setuphead[section][after={\hairline}] > > \starttext > > \bTABLE > \bTR \bTD > \section{my section} > \input tufte > \eTD \eTR > \eTABLE > > \stoptext > > There are two things that are worth mentioning: > > 1. When compiling with either MkIV or MkII, section number will appear as 3. > > 2. Uncommenting the setuphead line makes number appear as 4 in MkII, MkIV > doesn't change. > > Any ideas? I suspect that the \bTABLE..\eTABLE is typesetted a few times before actually put on mvl. -- 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] Section number inside TABLE
Am 04.11.2010 um 10:36 schrieb Vedran Miletić: > Consider the following code: > > %\setuphead[section][after={\hairline}] > > \starttext > > \bTABLE > \bTR \bTD \iftrialtypesetting\else > \section{my section} \fi > \input tufte > \eTD \eTR > \eTABLE > > \stoptext What do you want to achieve with this, maybe there is a better solution for your problem. 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] Section number inside TABLE
Consider the following code: %\setuphead[section][after={\hairline}] \starttext \bTABLE \bTR \bTD \section{my section} \input tufte \eTD \eTR \eTABLE \stoptext There are two things that are worth mentioning: 1. When compiling with either MkIV or MkII, section number will appear as 3. 2. Uncommenting the setuphead line makes number appear as 4 in MkII, MkIV doesn't change. Any ideas? -- Vedran Miletić ___ 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] Hairline in header
Thanks, that's it. Cheers, Lukas On Thu, 04 Nov 2010 10:01:18 +0100, Wolfgang Schuster wrote: \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Hairline in header
Am 04.11.2010 um 09:07 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > how to add the hairline (or a kind of the horizontal rule) under the header > area? \setupbackgrounds[header][text][bottomframe=on] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext or \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \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] Hairline in header
Hello, how to add the hairline (or a kind of the horizontal rule) under the header area? I'd like to achieve something like in the 1.pdf (attached; created by LaTeX). My code till now: --- \setuppagenumbering[location=footer,middle] \setupheader[][style=small] \setupheadertexts[LLL][RRR] \starttext AAA \stoptext --- Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t-HeadFoot.mkiv Description: Binary data <>___ 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 ___