Re: [NTG-context] example online
Henning Hraban Ramm wrote: I got the example service running on the new NTG server: http://www.ntg.nl:8061/exalogin There are a few nice things there, like fonttest, pstopdf, mathml, and of course impose, the page imposition interface Unfortunately the PDF interface can't work on MacOS X (there's no Acrobat Plugin, but only a simple PDF plugin); don't know about Linux. Could you provide a HTML interface also? i will do that once i have made an xml alternative of the underlying styles (interface) also, i will use this demo to show apple that some pdf work is is needed on the mac -) 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How to read syntax descriptions
In the beginner's manual, we have for \startitemize the following: \startitemize[..,..,..][..,..=..,..] ... \stopitemize I was wondering how do you read this in english? Based on the examples, am I correct to say the following? 1) The \startitemize is optionally followed by a comma separated list of parameters enclosed in brackets. 2) Then a set of key-value pairs enclosed in brackets follows. Again this is optional. If this is correct, then what about \setupitemize?. It says \setupitemize[.1.][..,.2.,..][..,..=..,..] So again let me guess .1. stands for a number The third set could be key-value pairs What about the set in the middle? Can we have an explanation for these please. Salman ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Beginner problem with Itemize
* Salman Khilji <[EMAIL PROTECTED]> [Jul 15, 2004 00:30]: Untested, but it should most definitely be a \par inbetween header an text: \starttext Hasselt lies in. \startitemize \head kraamschudden \hfill (child welcoming) \par When a child is born \head nabuurschap (naberschop) \hfill (neighbourship) \par Smaller communities. \stopitemize \stoptext or \starttext Hasselt lies in. \startitemize \head kraamschudden \hfill (child welcoming) When a child is born \head nabuurschap (naberschop) \hfill (neighbourship) Smaller communities. \stopitemize \stoptext enjoy, nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Beginner problem with Itemize
I am trying to run the following example from the beginner's guide: \starttext Hasselt lies in. \startitemize \head kraamschudden \hfill (child welcoming) When a child is born \head nabuurschap (naberschop) \hfill (neighbourship) Smaller communities. \stopitemize \stoptext I get the following error: systems: begin file new at line 1 ! Argument of \complexdoitemgrouphead has an extra }. \par } \doattributes ...A \csname #1#2\endcsname \fi {#4} \dostopattributes \complexdoitemgrouphead ...leur {\ignorespaces #2} }\iftextitems \removeunwan... l.11 ? [EMAIL PROTECTED]:~/Softdev/ConTeXt> pdftex --version pdfTeX (Web2C 7.4.5) 3.14159-1.10b kpathsea version 3.4.5 ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] example online
I got the example service running on the new NTG server: http://www.ntg.nl:8061/exalogin There are a few nice things there, like fonttest, pstopdf, mathml, and of course impose, the page imposition interface Unfortunately the PDF interface can't work on MacOS X (there's no Acrobat Plugin, but only a simple PDF plugin); don't know about Linux. Could you provide a HTML interface also? Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] overstrikes and hyphenation (was Re: synopsis / column(set)s?)
Alexander Klink wrote: Hi Hans, On Tue, Jun 29, 2004 at 10:34:44AM +0200, Hans Hagen wrote: So basically I want to typeset first some text in the leftmost column (over several pages, on a grid), and then the one in the middle and then the one on the right. Is there an easy way to do this using column(set)s? maybe tabulations are more convenient: thanks, this works exactly as I intended it. But now I got yet another problem: I want to show that things have changed in the original document by \overstrike-ing (or \overstrikes-ing) them. Unluckily there seems to be no hyphenation once I do this. This is especially ugly with the columns. Is there a way to turn hyphenation on within \overstrikes? no, the problem is that i kind of fake under/overlines and hyphenation would spoil that game. The good news is that you can do: \setuppapersize[S6][S6] \definetextbackground[underline][location=text,alternative=1,background=,frame=off] \definestartstop [underline] [before={\starttextbackground[underline]}, after=\stoptextbackground] \starttext \input tufte \starttextbackground[underline]\input tufte \stoptextbackground \input tufte \startunderline\input tufte \stopunderline \input tufte \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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] passing arguments to commands while typing
Johan Sandblom wrote: While documenting some Matlab code for barely computer literates I wish to use the positional graphics described in the MetaFun manual. Not sure if this is possible of course. I am not at all successful so far since I cannot get the escaping mechanism to accept my code. It appears that the /hpos works just fine but the {} generate problems. I have tried using <<>> in all ways I could think of but haven't been lucky yet. Is this possible? Minimal example: \setuppapersize[S6][S6] \setuptyping[option=commands] \starttext \starttyping test /hpos{word}{test} test \stoptyping \stoptext \setuppapersize[S6][S6] \setuptyping[option=commands] \starttext \def\naturaltextext#1\relax {\bgroup \prettynaturalfont \def\ascii{#1}% \setnormalcatcodes \restorecatcodes \scantokens\expandafter{\ascii}\ifhmode\unskip\fi \egroup} \let\texy\naturaltextext \starttyping test /naturaltextext\hpos{word}{test}/relax test test /texy \rm is the word/relax test \stoptyping \MPxy{word} \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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \mathpunctuationtrue and latest beta
Peter Münster wrote: Hello, for some reasons I need something like this: \mathpunctuationtrue \def\MyMacro#1{\stoptable\par#1} \starttext \starttable[|c|] \NC1\NC\AR \MyMacro{Peter, Olivier} % problem with comma \stoptext But with the latest beta version, this works no more. Could you help please? Greetings, Peter actually this is a combined problem: (1) in table there is a math switch (the following patch removes that one) and (2) you feed #1 to the macro while still in table mode and therefore in the math mode (outer box) and so the , is active etc etc, a solution for that is (for the unpatched table macro) to do a two step macro \unprotect \def\!ttBeginTableA[#1]{% \if #1u% % "unboxed" table \ifmmode \def\!ttEndTable{%% user had better be in display math mode \relax}%% and have only one table at the outer level \else % user had better be in vertical mode \bgroup \def\!ttEndTable{% \egroup}% \fi \else %\hbox\bgroup $ %\def\!ttEndTable{% % \egroup % for the \vtop, \vbox, or \vcenter, yet to come % $% for math mode % \egroup}% for the \hbox %\if #1t% % \vtop %\else % \if #1b% %\vbox % \else %\vcenter % math mode was essential for this % \fi %\fi % \hbox\bgroup \def\!ttEndTable{\egroup\egroup}% \if#1t% \vtop \else\if#1b% \vbox \else \def\!ttEndTable{\egroup$\egroup}% %$\vcenter \scratchtoks\everymath\everymath\emptytoks$\everymath\scratchtoks\vcenter \fi\fi % \bgroup % for the \vtop, \vbox, or \vcenter \fi \advance\!taRecursionLevel 1 % RecursionLevel governs initialization \let\!ttRightGlue=\relax % This may be changed by \JustCenter, etc \everycr={} \ifnum \!taRecursionLevel=1 \!ttInitializeTable \fi} \protect \mathpunctuationtrue \def\MyMacro{\stoptable\doMyMacro} \def\doMyMacro#1{\par#1} test, test \starttext {\starttable[|c|] \NC1,,10\NC\AR \MyMacro{Peter, Olivier} } \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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] example online
Hi, I got the example service running on the new NTG server: http://www.ntg.nl:8061/exalogin There are a few nice things there, like fonttest, pstopdf, mathml, and of course impose, the page imposition interface Because the server is being set up, the service may not always be available. In you get in by http://www.ntg.nl:8061/login you will get a login screen, just hit submit then since there are no special projects installed. 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context