[NTG-context] lucida bright on mac os x (gwtex)
Dear context users, Does anyone have experience in setting up Gerben Wierda's gwTex for Mac OS X to use ConTeXt and lucida bright fonts? Could you advice me where to buy the fontset for Mac OS X? And can anyone offer me a pointer to good step-by-step recipe to convert and install the fontset? I know I ask a lot in just a few lines, but my guess is that people have figured out how to do this before. Regards, Jacob ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pagination bug
Hans, I may not have stated the seriousness of this bug adequately. What I meant to say was that after the first page the example doen't paginate at all! TIA Nigel On 25 May 2004, at 18:30, Nigel King wrote: Hans, The following minimum file does not paginate correctly. It overflows the second page. Removing the figure or the second level of itemization fixes the pagination. I have enclosed the text of the file and the file itself for ease of reproduction. I am using the latest stable version from i-installer. I actually think I have had this problem before but not tracked it down. TIA -- Nigel \starttext \placefigure [here] [fig:a] {big figure} {\externalfigure[koe][width=\textwidth,height=\textwidth]} \startitemize[packed,n] \dorecurse{10} {\item repeated} \startitemize[packed,a,columns] \dorecurse{10} {\item repeated indent} \stopitemize \stopitemize \dorecurse{7}{\input zapf \par\relax} \stoptext bug.tex ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cell padding in natural tables
David, One I can answer \bTABLE[option=stretch] Nigel On 26 May 2004, at 19:55, David Munger wrote: Hello, There was that question to which I could not find an answer: http://www.ntg.nl/pipermail/ntg-context/2002/000140.html So, is there a way to set the cell padding in natural tables? And by the way, is there a way to lock the total width of the table without setting the width of individual cells? Regards, David ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] SciTE Mac
Henning Hraban Ramm said this at Thu, 27 May 2004 18:15:05 +0200: I'd be glad if you could write together these tricks. But my installation is so messy (Fink stuff, a lot of self-compiled stuff and several different ports stuff...) that I probably should wait until I set up a clean Panther system. The dependency diagram (with the two main tricks I could remember) are up at: http://homepage.mac.com/atl/tex/gtk-dependencies.pdf Good luck! adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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: Re[4]: [NTG-context] Known nath bugs?
Hi, Nath is a very complex module, easily broken. If you can privately send me your preamble we might be able to find what was breaking it. Or you can try it yourself: move it up line by line until delimiters don't work anymore: you'll find what makes it bomb :) OK, I'll try that. At the moment I'm having all kinds of issues with Let me point out, mainly for the record, that ConTeXt / nath does not seem to work properly under MikTeX. The following script works fine with Linux / teTeX, but with MikTeX, the in-line versions of the math is wrong. -gary -- \usemodule[nath] \starttext $ y = (1 + \frac{}{a}{b}) $ $ y = (1 + \frac{a}{b}) $ $ y = (1 + a\frac{b}{c}{d})$ $$ y = (1 + \frac{}{a}{b}) $$ $$ y = (1 + \frac{a}{b}) $$ $$ y = (1 + a\frac{b}{c}{d})$$ \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \bTABLE[split=yes]
All, I thought the following long table would split but it doesn't seem to using the current beta. Am I missing something? \starttext This is a test of the \type{\TABLE} environment. \bTABLE[split=yes] \bTABLEhead \bTR \bTH Head 1 \eTH \bTH Head 2 \eTH \eTR \eTABLEhead \bTABLEfoot \bTR \bTH Foot 1 \eTH \bTH Foot 2 \eTH \eTR \eTABLEfoot \bTABLEbody \dorecurse{30}{\bTR \bTD[nr=3] left \eTD\bTD right \eTD \eTR \bTR\bTD right \eTD \eTR \bTR[after={\page[yes]}]\bTD right \eTD \eTR} \eTABLEbody \eTABLE \stoptext TIA -- Nigel ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \bTABLE[split=yes]
At 16:50 01/06/2004, you wrote: All, I thought the following long table would split but it doesn't seem to using the current beta. Am I missing something? \starttext This is a test of the \type{\TABLE} environment. \bTABLE[split=yes] \bTABLEhead \bTR \bTH Head 1 \eTH \bTH Head 2 \eTH \eTR \eTABLEhead \bTABLEfoot \bTR \bTH Foot 1 \eTH \bTH Foot 2 \eTH \eTR \eTABLEfoot \bTABLEbody \dorecurse{30}{\bTR \bTD[nr=3] left \eTD\bTD right \eTD \eTR \bTR\bTD right \eTD \eTR \bTR[after={\page[yes]}]\bTD right \eTD \eTR} \eTABLEbody \eTABLE \stoptext split=repeat splitmethod=a|b i still need to fix break prevention within a rowspan Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \bTABLE[split=yes]
On 1 Jun 2004, at 18:18, Hans Hagen wrote: split=repeat splitmethod=a|b \bTABLE[split=repeat] % works \setupTABLE[split=repeat] % does not work which was not so obvious (to me!) I haven't worked out what the difference between splitmethod=a , splitmethod=b and nothing is. Thanks very much for instant response -- Nigel ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re[4]: [NTG-context] Known nath bugs?
At 11:47 30/05/2004, Giuseppe Bilotta wrote: Nath is a very complex module, easily broken. If you can privately send me your preamble we might be able to find what was breaking it. Or you can try it yourself: move it up line by line until delimiters don't work anymore: you'll find what makes it bomb :) one problem is that nath redefines and has no real namespace; once you got things properly working, i'll go over the module and see what needs to be fixed Not yet. Those multi-equation environments are somewhat more difficult to convert to ConTeXt. And I still haven't got a complete grasp on how things work in ConTeXt (esp wrt numbering), so it's a double effort. It's on my TODO list though. just make things so that they work acceptable and i'll handle the nasty details -) Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Wrapping \type{}
At 01:20 30/05/2004, you wrote: In my BNF module I use as an active character that begins and ends terminals in the grammar: regex: branch ; branch, \|, regex. Now, the above doesn't quite work as written, as \ is still active (and so is, in fact | as we're really inside a \starttabulate. What I would like for the pair to do is work as a wrapper for \type{}, so that everything in-between is passed on to \type{}. Is there a way of getting them to do that? This is my current definition: \gdef% {\ifBNFoutsidestring% \global\BNFoutsidestringfalse% \begingroup% \BNFunsetcatcodes% \catcode`\\@@active% \@@bnfterminalstart% \else% \@@bnfterminalstop% \endgroup% \global\BNFoutsidestringtrue% \fi} I figured something like \long\gdef#1% {\type{#1}} might work, but it didn't. It chokes on . where . is also an activated character for terminating a production in the grammar. Any suggestions on how to go about this? I mean, the obvious solution is simply to write regex: branch ; branch, \type{\|}, regex. instead, but I would like to keep the input as clean as possible. nikolai \definestartstop[BNF][before=\startlines\setups{myBNF},after=\stoplines] \startsetups[myBNF] \defineactivecharacter {\bgroup\tttf\setupinlineverbatim\defineactivecharacter {\egroup}} \defineactivecharacter {\mathematics{\string}} \defineactivecharacter {\mathematics{\string}} \stopsetups \starttext \startBNF regex: branch ; branch, |, regex. \stopBNF \stoptext (cross your fingers that this does not interfere with reading files, but normallyare taken care of) an alternative is to write a plugin forthe verbatim environment (see verb-ini to get an idea of what nasty things are involved with catcode changes). Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: pdfTeX questions
At 14:20 31/05/2004, you wrote: On Mon, 31 May 2004, Patrick Gundlach wrote: \externalfigure[example][width=5cm] some text, jpeg-figure is shifted down and to the left. I don't see that it is shifted to the left, but slightly down (I wonder where this is aligned?). Indeed, very slightly. But much better than here. So I just have to update to ConTeXt 2004.4.9. some minor shift may be due to scaling; i recently made things a bit more accurate; also, now and then i compensate for nasty pdf situations (unfortunate cropping and such) so, best use the latest Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: Re[2]: [NTG-context] \=i
At 05:24 29/05/2004, you wrote: On Thu, 27 May 2004 23:47:07 +0200, Hans Hagen [EMAIL PROTECTED] wrote: ah, we stand you sitting there crying over tex, can we? Sometimes I want to curse TeX, believe me... Seriously though, I have a real phobia for all that low low-level stuff... Did u have a chance 2 look at my general solution 4 medium fonts? I would like to generalize it to bold and small caps but I don't understand how to set up a conditionals macro that expands in accordance with the surrounding font. I need sthing like \ifboldtrue \IBARA % parameterized for bold fonts \else \ifsctrue \IBARB % parameterized for sc fonts \else \IBAR % parameterized for medium fonts \fi\fi take a look at font-ini and search for the definition of \em; but since you suffered already a lot: \unprotect \definesystemvariable{sx} \def\definestylecollection {\dotripleargument\dodefinestylecollection} \def\dodefinestylecollection[#1][#2][#3]% {\unexpanded\setvalue{#1}{\styleinstance[#1]}% \setvalue{\??sx#1:#2}{#3}} \unexpanded\def\styleinstance[#1]% {\executeifdefined{\??sx#1:\fontalternative}{\getvalue{\??sx#1:\s!default}}} \protect \definestylecollection[mine][default][sorry] \definestylecollection[mine][bf][\sl] \definestylecollection[mine][sl][\tt] {\bf test \mine test \sl test \mine test \bs oeps \mine oeps} let me know if this works ok, maybe i can add it to the kernel then Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Overwritten metapost files
At 14:55 29/05/2004, you wrote: Le 28 mai 04, à 21:27, Henning Hraban Ramm a écrit : Am Freitag, 28.05.04, um 10:16 Uhr (Europe/Zurich) schrieb Nikolai Weibull: Probably not as good a reason as I think, but yes, the reason being that I want all texexec output to go into a separate directory. Yes, I'd lik that idea very much too! Sometimes, one have many (user) files in the main directory, One can creates subdirectories for well indentified files such as figures for all fil related to figure source (xfig, pstricks, matlab,...) But I think all context build files (and file derived from context like metopost files should go **by default** into a separate directory . (but not the main output file such as myRaport.pdf !) Did you try texexec myfile --result=output/myfile normally context will use a namespace for temp files (for that you need to set \protectbufferstrue in your local cont-sys.tex) you can run on a separate path with texexec.pl --runpath=e:\tmp\oeps test.tex (if this does not work, check texexec.pl: sub RunFiles { my $currentpath = cwd() ; # test if current path is writable if (! -w $currentpath/texexec.tmp) { print current path readonly : $currentpath\n; if ($ENV[TEMP] -e $ENV[TEMP]) { $RunPath = $ENV[TEMP] ; } elsif ($ENV[TMP] -e $ENV[TMP]) { $RunPath = $ENV[TMP] ; } } # test if we need to change paths if (($RunPath ne ) (! -w $RunPath/texexec.tmp)) { print changing to path : $RunPath\n; $InpPath = $currentpath ; chdir ($RunPath) ; } # start working if ($PdfArrange) { ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Getting { in the input.
At 11:59 29/05/2004, you wrote: * in enco-def.tex this is \definecharacter textbraceleft{\mathematics{\{}} which means wrapping {\tt ...} around it doesn't give a teletyped brace but a nice mathematics one. \type-{- the problem is in (1) not all fonts having all chars [esp cmr have gaps] and (2) handling catcodes when args are passed around, in tables this is very nasty (and related to typeset tex in its own language; compare xml where you have to escapeto do the same) \tttf\string{ works quite well unless the scanner wants matching {}'s as do \texescape \leftargument \rightargument Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] %%BoundingBox: (atend)
At 14:24 30/05/2004, you wrote: Hello, ConTeXt does not find the EPS-BoundingBox in EPS files generated by xmgrace. Such a file begins like this: %!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: (atend) and it ends like this: %%Trailer %%BoundingBox: 64 72 709 527 %%DocumentNeededResources: font Times-Roman %%EOF When using \externalfigure, one gets the following error: ERROR: Missing number, treated as zero. --- TeX said --- to be read again ( \EPSllx -( atend) \dogetEPSboundingbox ...m \EPSfound 0 #2=\EPSllx bp#4=\EPSurx bp#3=\EPSlly ... Would it be possible, to enable ConTeXt to read such a file? sure but it could mess up things as well, esp since there can be a couple of (binary) megabytes in between If not, I'm going to write a script, that converts the file. if you have a small demo file i can add that feature to texutil Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] for idris
This one is better: % add to cont-new.tex \unprotect \definesystemvariable{sx} \def\definestylecollection {\dosingleargument\dodefinestylecollection} \def\dodefinestylecollection[#1]% {\iffirstargument \unexpanded\setvalue{#1}{\styleinstance[#1]}% \def\docommand##1{\letbeundefined{\??sx##1:\commalistelement}}% \processcommacommand[\stylelist,\s!default]\docommand \fi} \def\definestyleinstance {\dotripleargument\dodefinestyleinstance} \def\dodefinestyleinstance[#1][#2][#3]% {\ifsecondargument \doifundefined{#1}{\definestylecollection[#1]}% \setvalue{\??sx#1:#2}{#3}% \fi} \unexpanded\def\styleinstance[#1]% {\executeifdefined{\??sx#1:\fontalternative}{\getvalue{\??sx#1:\s!default}}} \protect % so far \definestylecollection[mine] \definestyleinstance[mine][default][sorry] \definestyleinstance[mine][bf][\sl] \definestyleinstance[mine][sl][\tt] {\bf test \mine test \sl test \mine test \bs oeps \mine oeps} (of course you now have to write a MyWay to explain it) Hans - Hans Hagen | PRAGMA ADE/POD/CTS Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: pdfTeX questions
At 14:53 31/05/2004, Patrick Gundlach wrote a quick test shows that /Author (M¸nster) is put in the pdf file, where the Character after the M is 0xfc. Dunno if this is right. dunno either but it is supposed to be in the proper encoding (unicode or pdfdoc) btw, using \pdf... primitives is a bad idea It seems, that there is no key named keywords ? Hans? it's 'keyword' (e.g. keyword={a,b,c}) for patrick (added to setupb/setupinteraction): \variable[\c!trefwoord][\c!text!][] Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Colours in tables
Hi All ! Is there a way in which I can color only the first row (tablehead) of the table gray? I am using \starttables[|p(\ucolf)|p(\ucols)|]. Thanks and Regards, -priya ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context