Re: [NTG-context] sidebyside figures
Hi, The normal double column mechanism tries to place a graphic, stores it when there is no place, and flushes it as soon as possible. The \startcolumns mechanism works well intermixed with the standard one column mode. In your case, esp for vertical chinese, use columnsets: \startcolumnset \placefigure[tblr:1]{}{} \placefigure[tblr:2]{}{} \input tufte \stopcolumnset This will place the floats on top of the first and second column; an alternative usage is: \placefigure[tblr]{}{} \placefigure[tbrl]{}{} Think of tb meaning flush from top to bottom, and lr to mean from left to right; so, there are quite some ways to place/flush a graphic. Thanks. It place the figures side by side correctly. But, there is another problem. After the two figures, it force a page break and leave a large blank even though the blank area can accommodate the next paragraph. I attached the test file and waht I really want is: One column texts two figures sidebyside One column texts Well, here you run into the difference between columns and columnsets. Columnsets can be mixed with one column mode, but you need to balance (automatic balancing is pretty hard for complex columnsets, so this is not yet in the kernel, but manual balancing is (one can set the number of lines per column). However, it seems that you want something: \starttext \startbuffer \startcombination {\externalfigure[cow][frame=on, width=3cm]} {\placefloatcaption[figure]{x}} {\externalfigure[cow][frame=on, width=3cm]} {\placefloatcaption[figure]{y}} \stopcombination \stopbuffer \placefigure{none}{\getbuffer} \stoptext This special feature (separate captions) was introduced quite some time ago for Karel W so you should buy him a beer. When testing this i foun dout that there is an error in the macro. A few days ago i added the 'distance' key to caption setups, and (of course) i didn't test that with free floating captions (unresolved intermediate macro). So, in page-flt you need to replace the following bit of trivial code: \def\dodosetfloatcaption[#1][#2]#3% to do namespace for number/ascii {\ifnofloatnumber % also handle trialtypesetting [EMAIL PROTECTED]@[EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED] \else \verhoognummer[#1]% \maakhetnummer[#1]% \globallet\flhetnummer\hetnummer [EMAIL PROTECTED]@[EMAIL PROTECTED] {\dofloatreference \redofloatorder{#1}% \doschrijfnaarlijst{#1}{\flhetnummer}{#3}{#1}% \doglobal\convertargument#3\to\flasciititle % \asciititle is global \doifsomething{#2} {\rawreference\s!flt{#2}{{\flhetnummer}{\flasciititle}}}% [EMAIL PROTECTED]@[EMAIL PROTECTED] nills [EMAIL PROTECTED]@[EMAIL PROTECTED] {\preparethenumber{\??kj#1}\flhetnummer\preparednumber \doattributes{\??kj#1}\c!letter\c!kleur {\doattributes{\??kj#1}\c!kopletter\c!kopkleur {\labeltexts{#1}{\preparednumber}}% \doattributes{\??kj#1}\c!tekstletter\c!tekstkleur {\dotfskip{\getvalue{\??kj#1\c!afstand}}#3}}}% THIS LINE WAS WRONG \fi} Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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] Table problem
At 08:50 AM 3/10/2003 +0100, you wrote: Hi Hans, I need to make a set of tables, which are quite simple. I wanted to use the \starttable..\stoptable environment. However I get very strange results in the last column (p-column) Please have a look at the test.tex file. Do I something in a wrong way or is there something broken? as patrick pointed out: use p(dimension) \starttable[|rw(1cm)|lw(3cm)|p(8cm)|] you had something wp(8cm) and the funny w spoils things (probably takes prev one) Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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] m-bib question
Am Dienstag, 11. März 2003 04:35 schrieb Bruce D'Arcus: IIRC, isn't it the case that texexec should take care of the bibtex run needed for mbib? Am finding I need to run bibtex before texexec to get it to work... To my knowledge, m-bib is not yet integrated in texexec. -- Eckhart ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] m-bib question
Am Dienstag, 11. März 2003 05:11 schrieb Bruce D'Arcus: How do I get (Author, Date: cited page)? So, something like (Smith, 1999: 23). -- Weitergeleitete Nachricht -- Subject: Re: [NTG-context] bibtex Date: Freitag, 14. Februar 2003 11:07 From: Adam Lindsay [EMAIL PROTECTED] To: [EMAIL PROTECTED], Idris S Hamid [EMAIL PROTECTED] I believe Idris S Hamid said this around Thu, 13 Feb 2003: I have a more important question for now: Is there an argument to \cite for subdivision references? In LaTeX we have, e.g, \cite[p.\~23]{key}. In m- bib we have \cite[key] but no way to include the `p.\~23'. What is the way users of m-bib get around this? Is there any way to format subdivision references in m-bib? Actually, Eckhart Guthöhrlein came up with a suggestion a week or so ago that does this. He had: \def\citeplus[#1][#2][#3]{% {% \setupcite[#1][right={, #3)}]% \cite[#1][#2]% }% } I simplified it to something like: \def\citepage[#1][#2]{% {% \setupcite[authoryears][right={, #2)}]% \cite[authoryears][#1]% }% } And it is used something like this: \citepage[McAd:84][pp.~4--6] Hope that gives enough of the flavor... cheers, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Adam Lindsay +44(0)1524 594 537 [EMAIL PROTECTED] http://www.comp.lancs.ac.uk/computing/users/atl/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ___ 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] s-mag-01
At 05:15 PM 3/10/2003 -0500, Bruce D'Arcus wrote: Just been playing a bit with the magazine style. First, about this: % This style is used for producing explanationary documents. % Don't misuse it for other purposes, since it may confuse % users. Don't change the title either, since it provides a % way to categorize documents. Hans, are you saying anyone using this to produce a document ought to keep the title specified in the style (which here seems to be {Zero Issue}? In any case, this is confusing (at least to me)... no, i mean the main title (* Way) shoul dremain unchanged. Also, IIRC, shouldn't the grey border surround the entire page, and extend to the edge? I am getting a thinner border in the shape of an L, with white space at the page edge. works ok here, puzzled Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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: lowerleftdoubleninequote
At 11:53 PM 3/10/2003 +0100, you wrote: What ist the correlation between 'punctuation', 'alpha' and 'def' ??? hanging punctuation is the traditional simple model of - , ; : . and ! hanging into the margin; pdftex goes beyond that and let's you hang any char into the margin, so this is why we speak of character protruding; fonthandling in context is currently used for hanging things but can be used for anything font related; the alpha, def etc setups are more or less derived from my personal prferences, thanh's thesis etc What you use all depends on your taste I have understand this, but I am still looking for docus to the 'fonthandler'-commands, becaus I don't understand how this mechanism works. The reason, why I am interesting in fonthandlers, was: To correct the lowerleftdoubleninequote-problem with cmr. To be honest, I am asking myself why this is not working out of the box, because cmr is TeX's standardfont. in that case: grep the base path for guillemots since these are implemented by means of fonthandlers in the aer fonts; with regards to quotes, it may make sense to switch from cmr to aer; also, there is the latin modern coming, which will bring you all the quotes and chars you need [the latin modern family is officially launched at the next dante meeting] Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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: Table problem
At 07:38 PM 3/10/2003 +0100, you wrote: To me this way of coding a table lacks logic. - However it works now. this is the original TaBlE's way of doing things Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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] new version, new manuals, new files
At 03:22 PM 3/10/2003 +0100, you wrote: www.pragma-ade.com/show-fil.pdf (made nicer, watch the new image archive), this one is now really there The mill.png in the cont-img.zip is broken. Gimp tells me that i zipped and uploaded everything again Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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] m-bib question
At 09:15 AM 3/11/2003 +0100, you wrote: Am Dienstag, 11. März 2003 04:35 schrieb Bruce D'Arcus: IIRC, isn't it the case that texexec should take care of the bibtex run needed for mbib? Am finding I need to run bibtex before texexec to get it to work... To my knowledge, m-bib is not yet integrated in texexec. you can do that in your tex doc with a call like: \installprogram{bibsomething \jobname} I don't use bin things so i leave the right call to experts -) Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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] new version, new manuals, new files
Hi Hans, On zondag, maa 9, 2003, at 23:14 Europe/Amsterdam, Hans Hagen wrote: Next in my list of manuals is finishing the correspondence manual (letters and envelops and alike), the pstopdf manual, and a few more. That is nice. From time to time I like to scan sites like pragma for updates I think I need. However the manual items do not have version numbers or a version date such as the context beta download. The stuff is too large to download just for looking at its version inside. Is it a good suggestion to show version/date on the manual items too on the download page? I would appreciate. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: s-mag-01
Bruce D'Arcus [EMAIL PROTECTED] writes: Hans, are you saying anyone using this to produce a document ought to keep the title specified in the style (which here seems to be {Zero Issue}? In any case, this is confusing (at least to me)... The user variant has the title My Way. No number. Also, IIRC, shouldn't the grey border surround the entire page, and extend to the edge? I am getting a thinner border in the shape of an L, with white space at the page edge. with the following document I get a simple magazine text: == \setupencoding[default=8r] \usetypescript[tetex][\defaultencoding] \usemodule[mag-01] \setvariables [magazine] [title={Nonsense in Typography}, author=A.~U.~Thor, ] \startbuffer[abstract] \input knuth \stopbuffer \starttext \setups [titlepage] \setups [title] \section{Preface} \input knuth \section{Useless} \input tufte \stoptext == -- Mehr Buchstaben - mehr Spass ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re[2]: [NTG-context] sidebyside figures
Monday, March 10, 2003 Hans Hagen wrote: HH However, it seems that you want something: HH \starttext HH \startbuffer HH \startcombination HH{\externalfigure[cow][frame=on, width=3cm]} HH {\placefloatcaption[figure]{x}} HH{\externalfigure[cow][frame=on, width=3cm]} HH {\placefloatcaption[figure]{y}} HH \stopcombination HH \stopbuffer HH \placefigure{none}{\getbuffer} HH \stoptext HH This special feature (separate captions) was introduced quite some time ago HH for Karel W so you should buy him a beer. Hey, I thought it was me who requested this feature? (I remember needing it for side by side floating tables when it still wasn't implemented ...) BTW, AFAICS there is no way to make a reference (à la \infigure) to a single element in a /combination/ ... can this be done? -- Giuseppe Oblomov Bilotta ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \inframed in table
Hi, maybe a very simple question: In the following table the formatting of the framed elements is strange - cut - \starttext \bTABLE \bTABLEhead \bTR \bTH Keyboard Shortcut \eTH\bTH Description \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD \inframed{:} + \inframed{q} + \inframed{Enter} \eTD\bTD Quit the program \eTD \eTR \eTABLEbody \eTABLE \stoptext how can I make sure both framed texts stay on one line without using \hbox. There is enough space in the cell so the line break should not occur at all. Vik -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re[2]: [NTG-context] sidebyside figures
At 10:27 AM 3/11/2003 +0100, you wrote: HH This special feature (separate captions) was introduced quite some time ago HH for Karel W so you should buy him a beer. Hey, I thought it was me who requested this feature? (I remember needing it for side by side floating tables when it still wasn't implemented ...) actually, that was the moment it was cleaned up and moved from the particular style to the core files; the reason for decoupling them was in a special kind of float where clicking on the caption brought up a big float in a widget (whichin turn was based on the widget based help system) -) [this is why in page-flt there is still the mapping to old names used in 'uguide'] BTW, AFAICS there is no way to make a reference (à la \infigure) to a single element in a /combination/ ... can this be done? there is a trick for that, but i cannot find it right now; however, the floatcaption command accepts a second optional arg being the ref. Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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[2]: [NTG-context] Displayed material, again
At 11:08 AM 3/11/2003 +0100, you wrote: Tuesday, March 11, 2003 Hans Hagen wrote: HH btw, here are shorter defs: HH \def\startdisplay HH{\relax\ifvmode\else\endgraf\noindent\fi\ignorespaces} HH \def\stopdisplay HH{\par\doifnextcharelse\par\donothing\noindent} HH watch the \relax (prevents lookahead) and \doifnextcharelse Good to know, thanks. BTW, have you had a look at the patches I submitted to the list around 10pm yesterday? What do you think of them? What patch? Yesterday around 10 i was deparately trying to figure out why our (linux) mail server was infected by a spammer (some kind of sendmail bug combined with pop3 things) and in the process (took me the whole morning) probably lost some mails. Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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[3]: [NTG-context] sidebyside figures
Tuesday, March 11, 2003 Hans Hagen wrote: BTW, AFAICS there is no way to make a reference (à la \infigure) to a single element in a /combination/ ... can this be done? HH there is a trick for that, but i cannot find it right now; however, the HH floatcaption command accepts a second optional arg being the ref. Yup, floatcaptions can do it all, nice. Now the question is: is it normal for the combination to stick to the left margin? Shouldn't it be centered horizontally? I can achieve the effect by surrounding it with \midaligned{...} (i.e. \midalgined{\startcombination ... \stopcombination}) but it would be nice if it could be set as an option to combinations ... -- Giuseppe Oblomov Bilotta ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] s-mag-01
On Tuesday, March 11, 2003, at 03:00 AM, Hans Hagen wrote: Hans, are you saying anyone using this to produce a document ought to keep the title specified in the style (which here seems to be {Zero Issue}? In any case, this is confusing (at least to me)... no, i mean the main title (* Way) shoul dremain unchanged. OK, I understand that. But I'm still unclear of the logic here. I understand the style is used for producing explanationary documents, but surely not everyone wants to name such documents the same way, and provides a way to categorize documents seems more applicable to Pragma than to outside users... I'm not sure how (or if) I might want to use the style, but I could imagine student lab manuals maybe (?). In any case, I appreciate your releasing it, as it's a good learning tool at the very least. Bruce ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] s-mag-01
On Tuesday, March 11, 2003, at 03:00 AM, Hans Hagen wrote: Also, IIRC, shouldn't the grey border surround the entire page, and extend to the edge? I am getting a thinner border in the shape of an L, with white space at the page edge. works ok here, puzzled On this, the only thing I changed was to use a different font, since palatino doesn't seem to work from ConTeXt in my new installation. I know this was discussed previously, but don't remember the bottomline point. Shouldn't these fonts that are included with teTeX and TeXLive just work in ConTeXt, without needing any intervention by the user? If yes, whose responsibility is this? Am using Gerben Wierda's OS X installer, but have a feeling this isn't his problem. Or maybe it is? Bruce ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] s-mag-01
At 09:11 AM 3/11/2003 -0500, you wrote: On Tuesday, March 11, 2003, at 03:00 AM, Hans Hagen wrote: Hans, are you saying anyone using this to produce a document ought to keep the title specified in the style (which here seems to be {Zero Issue}? In any case, this is confusing (at least to me)... no, i mean the main title (* Way) shoul dremain unchanged. OK, I understand that. But I'm still unclear of the logic here. I understand the style is used for producing explanationary documents, but surely not everyone wants to name such documents the same way, and provides a way to categorize documents seems more applicable to Pragma than to outside users... i have no time for that I'm not sure how (or if) I might want to use the style, but I could imagine student lab manuals maybe (?). In any case, I appreciate your releasing it, as it's a good learning tool at the very least. sure, i only want to make sure that This Way is used for our stuff only; i have no problem with you using the style with a title other than *Way, like LabLog or so Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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] \inframed in table
At 11:47 AM 3/11/2003 +0100, you wrote: how can I make sure both framed texts stay on one line without using \hbox. There is enough space in the cell so the line break should not occur at all. a typical tex problem, use \noindent or \dontleavehmode; th eproblem is that when a command (using grouping) starts a paragraph these side effects show up. \bTD \dontleavehmode \inframed{:} + \inframed{q} + ... Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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[3]: [NTG-context] sidebyside figures
At 01:26 PM 3/11/2003 +0100, you wrote: Yup, floatcaptions can do it all, nice. Now the question is: is it normal for the combination to stick to the left margin? Shouldn't hm, it probably is when you put some \maxdimen width content in it it be centered horizontally? I can achieve the effect by surrounding it with \midaligned{...} (i.e. \midalgined{\startcombination ... \stopcombination}) but it would be nice if it could be set as an option to combinations ... Hey, since when don't you read source code any more? \starttext \showframe \definieerplaats[mine][location=middle] % have to cook up a [english..italian] name for that one \setupcombinations[align=left,location=top] \placemine \bgroup \startcombination {\externalfigure[cow][width=3cm,height=2cm]} {cow} {\externalfigure[cow][width=3cm,height=1cm]} {cow} \stopcombination \egroup \stoptext (this placement command also takes care of spacing, grid snapping and so, but should only be used in the mlv, not for instance inside floats; it's the same placement that is used in \startframedtext; you can define combinations btw) Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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] s-mag-01
Bruce D'Arcus said this at Tue, 11 Mar 2003 09:34:08 -0500: On Tuesday, March 11, 2003, at 03:00 AM, Hans Hagen wrote: Also, IIRC, shouldn't the grey border surround the entire page, and extend to the edge? I am getting a thinner border in the shape of an L, with white space at the page edge. works ok here, puzzled Bruce, did you try opening the file in Acrobat? It's based on a very nice 2-page spread layout, and the page structure is immediately apparent once you see it that way. On this, the only thing I changed was to use a different font, since palatino doesn't seem to work from ConTeXt in my new installation. One word: texfont. It took me a while to figure out how to actually use it on my MacOSX (TeXLive) install, but it works very nicely, once you figure out a couple stumbling blocks. I actually wrote a My Way tutorial on it, but it ended up being a bit too cranky. Hans took it more as a bug report, and said he'd work on some of the issues I brought up. So I'm not sure whether I should release it as-is, or if I should wait for texfont to change. I know this was discussed previously, but don't remember the bottomline point. Shouldn't these fonts that are included with teTeX and TeXLive just work in ConTeXt, without needing any intervention by the user? If yes, whose responsibility is this? Am using Gerben Wierda's OS X installer, but have a feeling this isn't his problem. Or maybe it is? basically what I did was: set teTeX = /usr/local/teTeX # my tcsh setting of the root tex install cd $teTeX# wherever you have your root tetex directory sudo chgrp -R admin texmf-local # make your texlocal directory sudo chmod -R g+w texmf-local# group-writeable to facilititate changes cd texmf/fonts # copy the fonts into the local font directory for munging the names cp -R afm tfm type1 vf ../../texmf-local/fonts/ cd ../../texmf-local/fonts/afm mv bit bitstrea # correct a TeXLive 7 naming bug gunzip -r * # I think these are shipped as gzipped files sudo texhash cd # or to a safe home directory where temp files can be created # next command is all one line: texfont $teTeX/texmf/context/data/type-tmf.dat --en=texnansi --fontroot=$teTeX/texmf-local --install --makepath it'll make a bunch of font charts in the form of .tex files. To run these (and use the palatino fonts in s-mag) you ought to have \autoloadmapfiletrue in your cont-sys.tex file. I *think* that'll get you started. 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: [NTG-context] Fonts again in ConTeXt
On Tuesday, March 11, 2003, at 09:46 AM, Patrick Gundlach wrote: Yes and no... ConTeXt is looking for fonts with names that are totally unusual compared to the ordinary TeX (LaTeX) System. Most TeX systems (and I guess GW TeX as well) support psnfss, the postscript font system to be used with latex. That means, that you should have fonts named in a cryptic way pplr8r.tfm or such. ConTeXt on the other hand looks for fontnames like 8r-uplr8a.tfm. Almost no one has a font named like this on their system. This kind of thing is just silly. The above named file is no more clearly named than the psnfss version, so what's the point? Anyway, I vote for your first name option for the mapping file: \usetypescript[psnfss] Make sure you send it to Gerben too, so he can get it in the installer sooner rather than later... Bruce ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re[3]: [NTG-context] Displayed material, again
At 12:47 PM 3/11/2003 +0100, you wrote: \def\synchronizeindentation {% \doifvalue{\??dd#1\c!springvolgendein}\v!nee\noindentation \doifvalue{\??dd#1\c!springvolgendein}\v!auto\noindent} }% saves keying and also provides a hook Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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
[NTG-context] table and MPpositiongraphic
Hello, while browsing thru the source and trying some examples, I can't sensible output of the following code. (No MP stuff is visible) %output=pdf \setupcolors[state=start] \def\cw#1{\color[green]{#1}} \def\TableShade#1#2% {\startMPpositiongraphic initialize_area(\MPpos{b:#1},\MPpos{e:#1}) ; show pxy; linear_shade(pxy,0,.4#2,.9#2) ; anchor_area(\MPanchor{b:#1}) ; \stopMPpositiongraphic} \dosetpositionaction{b:x}{\TableShade{x}{red}} \dosetpositionaction{b:y}{\TableShade{y}{green}} \dosetpositionaction{b:z}{\TableShade{z}{blue}} \starttext \starttable[|c|c|c|] \GFC[b:z] \cw{this is a small} \NC \cw{table}\NC in which we \NC \FR \NC \cw{will demonstrate} \GFC[c:y] \cw{that this}\GTC[c] \cw{positioning} \NC \MR \GSC[a:x] \cw{mechanism also} \GTC[b] \cw{works quite well} \NC in tables \NC \LR \stoptable \stoptext Any ideas how to get the MPpositiongraphic working? Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Learning ConTeXt: \setupitemize
I'm learning ConTeXt, and I've chosen to beat up on \setupitemize to see how things work. (If the answers to my question are in some doc somewhere, please tell me where it is!) Consider the file below. I expected to see a hairline above the second itemization, and indeed I do. But if I remove the columns specifier, the hairline does not appear. Is this the correct behavior, or a bug? Also: what does the keyword beforehead do? If I replace before with beforehead in the example, I get nothing. Is it in the docs somewhere? In the lists of keywords for many commands there are parameters listed that I can't figure out. Some of them seem to do nothing, but I always wonder if they only operate in conjunction with some other feature, or I haven't implemented them correctly. Some of them do something, but I can't figure out what the rule is. Is there a doc somewhere describing the keywords? Is it in the manual and I've missed it? Thanks, Gary Pajer ConTeXt 2003.3.9 / up-to-date MikTeX / Win98 - \setupitemize[1][n] \setupitemize[2][a][before=\hairline] % \starttext % \startitemize \item Level One % \startitemize \item first \item second \item third \stopitemize % \stopitemize \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] layout of xsteps-p
Yes, I mean the style. In fact just how have the margin or edge ??? in black (with footer end header), and the great title in (right and horizontal left). Cheers. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Hans Hagen Envoye : lundi 10 mars 2003 22:52 A : [EMAIL PROTECTED] Objet : Re: [NTG-context] layout of xsteps-p At 05:01 PM 3/10/2003 +0100, you wrote: Is it possible to obtain the source of xsteps-p. I suppose that you mean the style? I'm not goint to publish undocumented styles (also, i took a quick look into it and could redo it in 30% less code nowadays [one problem is that there is more code in ther ethan used in the styles, esp alternative style code] I like this layout, but it's difficult to realize the same. what aspect is giving you troubles, i can explain those Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] 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 smime.p7s Description: S/MIME cryptographic signature
Re: [NTG-context] sidebyside figures
Well, here you run into the difference between columns and columnsets. Columnsets can be mixed with one column mode, but you need to balance (automatic balancing is pretty hard for complex columnsets, so this is not yet in the kernel, but manual balancing is (one can set the number of lines per column). However, it seems that you want something: Thanks, it works well as I wanted. This special feature (separate captions) was introduced quite some time ago for Karel W so you should buy him a beer. Which brand he like? :) WangíÊ'µìm¨¥x%Ëg¶(×±¶{`Xm¶ÿÃ'¶ åþf¢f§þX¬¶)ߣùíÊ'µìm
[NTG-context] Re: Learning ConTeXt: \setupitemize
Gary Pajer [EMAIL PROTECTED] writes: Hello Gary, (If the answers to my question are in some doc somewhere, please tell me where it is!) The answers to your questions are in the context's source code ;-) Consider the file below. I expected to see a hairline above the second itemization, and indeed I do. But if I remove the columns specifier, the hairline does not appear. Is this the correct behavior, or a bug? I'd consider this a bug. A while ago I had the same problem with after=... [ But, when looking at the source, I wonder why the \complexdoitemgroupitem ignores \itemlevel\c!voor ] Also: what does the keyword beforehead do? If I replace before with beforehead in the example, I get nothing. Is it in the docs somewhere? The beforehead has to do with the \head command also described in the manual (cont-eni.pdf, cont-enp.pdf). [...] \setupitemize[1][][beforehead=\hairline,afterhead=\hairline] \starttext \startitemize \head Level One [...] gives -- * Level One -- It is not documented as far as I know. In the lists of keywords for many commands there are parameters listed that I can't figure out. Some of them seem to do nothing, but I always wonder if they only operate in conjunction with some other feature, or I haven't implemented them correctly. One never knows... I have the same problem here. Some of them do something, but I can't figure out what the rule is. Is there a doc somewhere describing the keywords? Is it in the manual and I've missed it? No. There is documentation on special topics, such as tables or flowchart module. But for the itemize there is afaik only the main manual. Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: What DTD for a thesis
Hans Hagen said this at Wed, 29 Jan 2003 12:12:17 +0100: well, the x-contml.xds is in the distribution (but probably not 100% ok, since at the time of writing validators differed, and i have removed xml spy from my machine because it claims even txt and log suffixes as being xml) I was discussing some things off-list with Bruce D'Arcus, and we both agree: we can't find anything like an .xsd (or .xds) file anywhere in the distribution. If you have one that is less than 100% okay, we probably can help out with the data model... Cheers, 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: [NTG-context] sidebyside figures
Dear Lei, It's silly, all I did was ask a question. Then Hans starts working on answering it and takes care via you to send me beer. It's generosity to the limit. Don't. We all owe context to hans and to his able debuggers and enjoy using it. For me he has made typesetting documents easier and funnier and beautifullier too. Next time I visit Hasselt I'll bring him a reward. Karel W. On 11 Mar 2003, at 14:48, Lei Wang wrote: Well, here you run into the difference between columns and columnsets. Columnsets can be mixed with one column mode, but you need to balance (automatic balancing is pretty hard for complex columnsets, so this is not yet in the kernel, but manual balancing is (one can set the number of lines per column). However, it seems that you want something: Thanks, it works well as I wanted. This special feature (separate captions) was introduced quite some time ago for Karel W so you should buy him a beer. Which brand he like? :) Wang ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context