Re: [NTG-context] color problem with columns
Am 27.03.10 21:34, schrieb Wolfgang Werners-Lucchini: Hallo, on Vers 38 at page 2 (see example) text is green. \setupcolors[state=start] \newcounter\V \def\Vers#1{\increment\V {\color[darkgreen]\rm\bi \V} #1} \def\Vers#1{\increment\V \dontleavehmode{\color[darkgreen]\rm\bi \V} #1} but i think this is better \setupcolors[state=start] \definelabel [Vers] [headstyle=bolditalic, headcolor=darkgreen, command=\groupedcommand\dontleavehmode\space] \starttext \startcolumns text\par\dorecurse{50}{\Vers Dies ist ein Testsatz der gerade lange genug ist, um zu zeigen was zu zeigen ist.\par} \stopcolumns \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] U3D inclusion
On 27-3-2010 18:50, Michail Vidiassov wrote: Most likely a typo bug in lpdf-u3d (at the start of make3dview - if you are listening, Hans ;) Have a fix for that too. what typo? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Interlinespace in headertexts
Thanks Luigi, problema risolto! Willi On 27 Mar 2010, at 04:38, luigi scarso wrote: \setupinterlinespace% ___ 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] Interlinespace in headertexts
Thanks Wolfgang, this explains indeed the behaviour and as mentioned by Luigi one needs to use \setupinterlinespace to reinvoke the interlinespaceing... Willi On 27 Mar 2010, at 15:17, Wolfgang Schuster wrote: Am 26.03.10 23:33, schrieb Willi Egger: Hi, When setting up a headertext in a \vbox there is no interlinespacing. Placing the same text in a \vbox in the text area there is the default interlinespacing. Is there a simple explanation for this behaviour? When ConTeXt puts a page together (add headers, footers etc. to the text) it disables interlinespace between all the elements to avoid unwanted vertical space between header, text, footer ... Because header are added when the page is constructed the disabled interlinespace is active and you get the what you experienced. Normal text is typeset before the page is build and you get therefore the correct interlinespace. Wolfgang __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] color problem with columns
\setupcolors[state=start] \newcounter\V \def\Vers#1{\increment\V {\color[darkgreen]\rm\bi \V} #1} \def\Vers#1{\increment\V \dontleavehmode{\color[darkgreen]\rm\bi \V} #1} but i think this is better \setupcolors[state=start] \definelabel [Vers] [headstyle=bolditalic, headcolor=darkgreen, command=\groupedcommand\dontleavehmode\space] \starttext \startcolumns text\par\dorecurse{50}{\Vers Dies ist ein Testsatz der gerade lange genug ist, um zu zeigen was zu zeigen ist.\par} \stopcolumns \stoptext Thank you very much! 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] letter: backaddress
Hallo Wolfgang, You're mixing different things. What is the difference between \setupletterstyle[option][backaddress=yes] With \setupletterstyle[element=yes|no] you can show or hide elements ok! \setupletterstyle[backaddress][alternative=yes] In 'default.nli' I found \defineletterelement[\v!backaddress][\v!auto] {\doifelselettervalue\c!backaddress {\lettervalue\c!backaddress} {\lettervalue\c!fromname \doiflettervalue\c!fromaddress\\ \lettervalue\c!fromaddress}} what I interpret in the following way: If 'backaddress'=auto If exist a constant 'backaddress' use it else compose one from 'fromname' and 'fromaddress' The constant needs a content, if there is no content for 'backadress' the field is filled with 'fromname' and 'fromaddress'. So let's test if I have understand this: With \setupletterstyle[option][backaddress=no|yes] one can disable|enable a backaddress. With \setupletterstyle[backaddress][alternative=no|yes|auto] one can select between no backadress| a composed backaddress from the fromdata| the yes behaviour if no predefined backaddress is defined And to define such a own backaddress, one uses \setlettervalue{backaddress}{something} Hopefully this is right! 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] pk-directory
Is there a debug-switch which informs the user what and where luatex is searching? If you're working in a shell, try setting the KPATHSEA_DEBUG environment variable to -1, you will get tons of information about path lookups and directory searches. Arthur I thought luatex does not use kpathsearch anymore? 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] pk-directory
Hallo Taco, Dumping a ready-made pk file in the local directory worked last time I tried it. No success! Neiter *.pk nor *.600pk and not with a local subdir /dpi600 What extension have you used? .600pk (but that was ages ago, when I still cared about pk fonts) so it would be nice, if a user could see (from a log) what and where luatex is searching. Isn't there any switch? 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] pk-directory
On 28-3-2010 15:39, Wolfgang Werners-Lucchini wrote: Hallo Taco, Dumping a ready-made pk file in the local directory worked last time I tried it. No success! Neiter *.pk nor *.600pk and not with a local subdir /dpi600 What extension have you used? .600pk (but that was ages ago, when I still cared about pk fonts) so it would be nice, if a user could see (from a log) what and where luatex is searching. Isn't there any switch? --track=resolvers.locating,resolvers.detail - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pk-directory
I thought luatex does not use kpathsearch anymore? You're right, Mark IV doesn't, so my piece of advice wasn't really useful, sorry :-) But it is still there in LuaTeX (the engine). Arthur ___ 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] letter: backaddress
Am 28.03.10 15:39, schrieb Wolfgang Werners-Lucchini: And to define such a own backaddress, one uses \setlettervalue{backaddress}{something} Hopefully this is right! When you want something which can be used for \setupletterstyle[1][alternative=2] you need \defineletterelement[1][2]{...}, which \setlettervalue{A}{B} you set a variable which can be used with \lettervalue{A}, e.g. \usemodule[letter] \defineletterelement[foot][myalternative]{\midaligned{Can you see me?}} \setupletterstyle[footer][alternative=myalternative] \setlettervalue{bankleitzahl}{7643} %\setlettervalue{kontonummer}{} \starttext \startletter \lettervalue{bankleitzahl} \doifelselettervalue{kontonummer} {Die Kontonummer lautet \lettervalue{kontonummer}} {Keine Kontonummer angegeben} \stopletter \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] Vertical alignment in combinations
Hi, Please, advise. I want two pictures to stand side-by side. The first picture has much smaller height. In result, the pictures are aligned by the bottom line. How to move the first figure up in the center or top (at least, manually)? \startcombination[2*1] {\externalfigure[lily02.png]}{} {\externalfigure[scr-4-4.png][scale=750]}{} \stopcombination Please, see attachement BR, Vyatcheslav attachment: 2010-03-28_173245.png___ 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] Vertical alignment in combinations
Hi, You can use offsets: ... {\offset[y=2cm]{\externalfigure[scr-4-4][scale=7500]}{} Willi ... On 28 Mar 2010, at 16:34, Vyatcheslav Yatskovsky wrote: Hi, Please, advise. I want two pictures to stand side-by side. The first picture has much smaller height. In result, the pictures are aligned by the bottom line. How to move the first figure up in the center or top (at least, manually)? \startcombination[2*1] {\externalfigure[lily02.png]}{} {\externalfigure[scr-4-4.png][scale=750]}{} \stopcombination Please, see attachement BR, Vyatcheslav2010-03-28_173245.png ___ 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] Vertical alignment in combinations
Am 28.03.10 16:34, schrieb Vyatcheslav Yatskovsky: Hi, Please, advise. I want two pictures to stand side-by side. The first picture has much smaller height. In result, the pictures are aligned by the bottom line. How to move the first figure up in the center or top (at least, manually)? \startcombination[2*1] {\externalfigure[lily02.png]}{} {\externalfigure[scr-4-4.png][scale=750]}{} \stopcombination Make next time a working minimal example, i.e. add \starttext/\stoptext and use dummy figures or \framed ... \starttext \setupcombinations[location=top] \startcombination[2*1] {\externalfigure[a][width=6cm,height=2cm]}{a} {\externalfigure[a][width=6cm,height=4cm]}{b} \stopcombination \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] pk-directory
Hallo Hans, so it would be nice, if a user could see (from a log) what and where luatex is searching. Isn't there any switch? --track=resolvers.locating,resolvers.detail Hmm! luatex ignores this and luatex --help does not list an option named --track nor does it context. 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] pk-directory
Hallo, I have it found! In chapter 4.1.1.10 of the luatex reference one can read: The argument name is a bit special in this case. Its form is base resdpi/fontname.actual respk 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] pk-directory
On 28-3-2010 22:53, Wolfgang Werners-Lucchini wrote: Hallo Hans, so it would be nice, if a user could see (from a log) what and where luatex is searching. Isn't there any switch? --track=resolvers.locating,resolvers.detail Hmm! luatex ignores this and luatex --help does not list an option named --track nor does it context. you need to run context --trackers=resolvers.locating,resolvers.detail yourfile ... - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] setuptex.bat
Hallo, I don't know if the maintainer of the minimals or Hans is the person I have to ask. Is it possible to change the line set PATH=%TEXMFOS%\bin;%PATH% to set PATH=%TEXMFLOCAL%\bin;%TEXMFOS%\bin;%PATH% or set PATH=%TEXMFPROJECT%\bin;%TEXMFOS%\bin;%PATH% in 'setuptex.bat'? 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] pk-directory
On 28-3-2010 22:59, Wolfgang Werners-Lucchini wrote: Hallo, I have it found! In chapter 4.1.1.10 of the luatex reference one can read: The argument name is a bit special in this case. Its form is base resdpi/fontname.actual respk well, i could turn 600dpi/manfnt.720pk into manfnt.720pk and then assume that it's present someplace (and indexed by luatools --generate) do you have files with such names? (it's then up to the user to make sure that those files are indeed generated and present but anyone who uses bitmaps is supposed to be able to do that) 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setuptex.bat
On 28-3-2010 23:35, Wolfgang Werners-Lucchini wrote: Hallo, I don't know if the maintainer of the minimals or Hans is the person I have to ask. Is it possible to change the line set PATH=%TEXMFOS%\bin;%PATH% to set PATH=%TEXMFLOCAL%\bin;%TEXMFOS%\bin;%PATH% or set PATH=%TEXMFPROJECT%\bin;%TEXMFOS%\bin;%PATH% in 'setuptex.bat'? you can do that in your local copy but adapting in setuptex will for sure break a lot of things ... the paths we use in the minimals are unlikely to change 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pk-directory
I have it found! In chapter 4.1.1.10 of the luatex reference one can read: The argument name is a bit special in this case. Its form is base resdpi/fontname.actual respk well, i could turn 600dpi/manfnt.720pk into manfnt.720pk No, no! That makes sense this way. -- Never change a running system -- 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 ___