Re: [NTG-context] countproblem
> Hi all! > > > what is wong? > % > % > % ad the points of each question > \def\getPunkte[#1]{\advance\summeP by \number#1} > % > % show the points on the right side > \def\showP[#1]{\inright{\hfill(#1 P.)}} > % > % handle the points > \def\pkt[#1]% > {% > \showP[#1]% > \getPunkte[#1] > } > % > Using this macro in normal text like > TestQuestion \pkt[5] > it works!!! [...] I'm not sure but consider TestQuestion \pkt[5] {TestQuestion \pkt[5]} TestQuestion \pkt[5] That will probably produce not what you need. Meybe You should use \global\advance\summeP by \number#1 in \getPunkte definition? Let me know if I'm right. Regards, Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] letter style
Am Dienstag, 11.11.03, um 20:44 Uhr (Europe/Zurich) schrieb Willi Egger: Context does not directly know styles. - Of course you can create a layout-file where everything is organized: setup the general layout of the page setup the font setup the logo(s) setup header setup footer Use the layout-file in a file invoice.tex: \input layout-files better use environment files and components (project syntax) Grüßlis vom Hraban! -- http://www.fiee.net/texnique/ (offline - server crashed, no money for a new one) ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] letter style
Hello Janko, At 17:58 11.11.2003, Janko wrote: Hello, my name is Janko Hauser, I'm a new context user, after many years of LaTeX :-) I want to use context for two different projects. 1. Produce styled PDF documents from a web-content-managment-system. This will be web-page based but also complete sets of pages to generate longer documents. One conceptual idea is to have something like a clip-board of visited pages, which can be printed as one document. Ok, this Zope-based site will be an effort going into the next year. I mention it only for background for the coming questions in the next months. 2. I want to generate my invoice and business-letters with context. I searched the mailinglist but the only note I got was a reference to "the last MAPS" which should contain an article about this. Ah and Hans has mentioned that there is something in the making :-) Is there already something to look at? Does someone know a direct link to the mentioned MAPS-article? Context does not directly know styles. - Of course you can create a layout-file where everything is organized: setup the general layout of the page setup the font setup the logo(s) setup header setup footer Use the layout-file in a file invoice.tex: \input layout-files \starttext this is the part where the invoice is placed. \stoptext If you provide me the your postal addres (off line) I will make a copy of the mentioned article for you. Kind regards Willi Egger. Secretary NTG ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] letter style
Hello, my name is Janko Hauser, I'm a new context user, after many years of LaTeX :-) I want to use context for two different projects. 1. Produce styled PDF documents from a web-content-managment-system. This will be web-page based but also complete sets of pages to generate longer documents. One conceptual idea is to have something like a clip-board of visited pages, which can be printed as one document. Ok, this Zope-based site will be an effort going into the next year. I mention it only for background for the coming questions in the next months. 2. I want to generate my invoice and business-letters with context. I searched the mailinglist but the only note I got was a reference to "the last MAPS" which should contain an article about this. Ah and Hans has mentioned that there is something in the making :-) Is there already something to look at? Does someone know a direct link to the mentioned MAPS-article? Thanks in advance, I'm really looking forward to using context. __Janko ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] countproblem
Hi all! what is wong? % % % ad the points of each question \def\getPunkte[#1]{\advance\summeP by \number#1} % % show the points on the right side \def\showP[#1]{\inright{\hfill(#1 P.)}} % % handle the points \def\pkt[#1]% {% \showP[#1]% \getPunkte[#1] } % Using this macro in normal text like TestQuestion \pkt[5] it works!!! But when I use this macro in combination with enumeration I run in a problem example: % \defineenumeration[question][location=inmargin,text=,width=fit] % \question\pkt[5] TestQuestion\par nothing ist count in this case! Thanks for any help. Bernd ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] bold math
Hi all, I would like to use bold greek math symbols (I have the lucida family installed). In the `Fonts in ConTeXt' manual I concluded from page 12 that this should be relatively simple. However all my attempts failed: either I got the normal math symbols or I got all (roman and greek) symbols bold, whereas I want to use them alternately. I tried the description on the pages 13 and 14, but I couldn't get it working. I simply inserted `,boldmath' in the lucida typescript in the file type-exa and it gave me all symbols bold. I must admit that I don't understand much of what is written in the `Fonts in ConTeXt' manual. Can anybody give me a solution of how to achieve this? BTW. Shouldn't this feature be a standard one in ConTeXt? Thanks Sytse ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Easy lucida font use
David, Which operating system are you on? All I can think of as the "easy way" is the possibility listed in cont-sys: % Some styles default to Lucida Bright. You can overload % Lucida by Times cum suis. Watch out, the pos collection % is not scaled relatively. % % \definetypescriptsynonym [lbr] [pos] Which is to say, if you don't have the fonts, all you can do is choose a substitute. If you do have the font *installed*, then it would be: \usetypescript[lbr] And, the reason why I ask which operating system you're on is because a lot of systems have 12 of the Lucida fonts installed because of Java. On MacOSX, with Java 1.4.1, I have a texfont install with symbolic links to the .ttf files. If there's a canonical linux install location for Java, the same thing could be done there, I think. (I'm planning on releasing some Mac OS X/ConTeXt "tricks" soon, but I need to debug the font issues with gwTeX first.) Cheers, adam David Arnold said this at Mon, 10 Nov 2003 22:32:06 -0800: >All, > >There was an easy way shared to use the Lucida fonts without having to do >any special font or map generation via texfont. Something involving Adobe >KB or some such thing. Can someone remind me? >___ >ntg-context mailing list >[EMAIL PROTECTED] >http://www.ntg.nl/mailman/listinfo/ntg-context -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay [EMAIL PROTECTED] Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: reset \use[sub]path
Problem: paths in ConTeXt > OK, I had a close look at it and digged into deeper mechanisms of > path handling in ConTeXt. > > ConTeXt stores the exact location of a file just by the filename. > Once you read x.xml, ConTeXt remembers where it is. You get a hint > when saying \tracefilestrue in your tex source. Next time you read > x.xml, ConTeXt looks into its internal macros (fn..x.xml in this > case) and reads the full path. And this is lofo1 in your case. > > > I don't have a solution for you. Sorry. Thanks anyway. No solution at this point is also some kinf of hint -) Regards, Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context