Re: [NTG-context] :: in xml?

2007-07-11 Thread Christopher Creutzig
Christopher Creutzig wrote: > \starttext > \startXML > a::b > \stopXML > \stoptext The problem is the \setpretty`\:=10 in \XMLsetspecials in verb-xml.tex. This should only be done inside <...>. Suggested patch (I hope it survives being sent by mail): --- verb-xml.tex

[NTG-context] :: in xml?

2007-07-10 Thread Christopher Creutzig
Salvete, trying to typeset an unchanged old file with a more recent ConTeXt version, I keep running into problems. I have reduced the first of these (others may or may not be symptoms of the same, I'll see that later) to this input: \starttext \startXML a::b \stopXML \stoptext It seems the

Re: [NTG-context] new release

2006-05-27 Thread Christopher Creutzig
Hans Hagen wrote: > texmfstart --verbose --unix --stubpath= --make all That is a cool feature. But it does not set executable bits on the stubs yet, could you fix that? Regards, Christopher ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] New release and XeTeX - XeConTeXt

2006-05-14 Thread Christopher Creutzig
Hans Hagen wrote: >> Same for me. The problem is that in line 113, we have >> .ge5rö >> in Latin-1 encoding, but XeTeX tries reading the file in UTF-8. > how old is your context Indeed, that was stone age: 2006.05.08 12:59 - more than five days old. :-) > the latest version uses utf patte

Re: [NTG-context] New release and XeTeX - XeConTeXt

2006-05-13 Thread Christopher Creutzig
Otared KAVIAN wrote: sudo texexec --make --xtx en (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-de.pat ! Bad \patterns. \unknownchar ->{ \hbox {\vrule \!!width .5em\!!height 1ex\!!depth \zeropoint }} l.114 .ge s6 ? Same for me. The problem is that

[NTG-context] m-graph: metapost errors in demo

2006-05-08 Thread Christopher Creutzig
Salvete, is it just me or does texexec --pdf -mode=demo m-graph really not work? I get very many metapost errors, starting with a bunch of ! Redundant equation. ; l.140 Gmargin.low=-.07; (which are rather harmless) and continuing with >> 0 >> vacuous ! Not implemen

[NTG-context] Typo in core-mat.tex

2006-04-26 Thread Christopher Creutzig
Salve Hans, \def\leqalignno#1% {\prepareleqaligno should be \preparealignno, with two n. Best regards, Christopher ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] continued examples

2006-04-26 Thread Christopher Creutzig
Salvete, after a long time I got back to some ConTeXt file I had been working on and found that the following construct does not work (I assume it never did): \defineenumeration[example] [sectionnumber=chapter, text=Example, location=hang

Re: [NTG-context] An idea

2005-12-11 Thread Christopher Creutzig
Hans Hagen wrote: > there is no need for verbatim mode when you convert anyway! Technically true, but if a simple \processinlineverbatim solves the same problem as yet-to-write code in almost any language, I's go for the former, since it does already exist. Other than that, I'd use ConTeXt's xm

Re: [NTG-context] The whole (sub)section on a single page

2005-12-06 Thread Christopher Creutzig
Hans Hagen wrote: > Christopher Creutzig wrote: >>The standard trick would be not to explicitly check some numbers but to >>do what in low-level looks like >> >>\!!dimena=\ht0\advance\!!dimena\dp0% >>\penalty1\vskip\!!dimena\penalty10\vskip-\!!dimena >

Re: [NTG-context] Re: ConTeXt "live"

2005-12-03 Thread Christopher Creutzig
Patrick Gundlach wrote: > I'd guess it is pretty much impossible to trace under a webserver. Can Why's that? Can't you just run strace -f -e open -o /tmp/mylog texexec ... instead of plain texexec? Sure, multiple runs will mean you only ever get to see the last log, but on a test system that s

Re: [NTG-context] An idea

2005-12-03 Thread Christopher Creutzig
Nikolai Weibull wrote: > this than I have is welcome to finish it. The \highlight command should > be defined something like this (pseudo-tex-code): > > \pdef\highlight[#1]{#2}% > {\bgroup >\setupcolorforgroup[#1]% >\type{#2}% >\egroup} > > #1 is a group name, such as Statement, O

Re: [NTG-context] The whole (sub)section on a single page

2005-12-01 Thread Christopher Creutzig
Hans Hagen wrote: >>How/where can I get \theremainingpageheight? I saw some strange >>"keywords" like \pagegoal, \pagetotal spread through the source, ... >>but I have no clue what they are for and if they have anyting to do >>with what I'm looking for. >> >> > > that's always tricky, because it

Re: [NTG-context] Bug / feature request tracking

2005-11-19 Thread Christopher Creutzig
Taco Hoekwater wrote: >http://context.literatesolutions.com/collector I especially like the deadline entries. :-) regards, Christopher, catching up on older mails ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/l

Re: [NTG-context] strange (?) exporting from pdf

2005-11-03 Thread Christopher Creutzig
andrea valle wrote: > 3.2 translate in ConTeXt via a regular expression based python script I've been there and done that and I won't do it again. Use a real xml parser; regular expression engines are a wonderful thing, but not really usable for parsing nested structures. I'm sure there are ma

[NTG-context] Hans: requested reminder on texutil extension

2005-11-02 Thread Christopher Creutzig
Salve Hans, you asked me to remind you of the following proposal: I'd like to have a way of making texexec/texutil run a program *after* the *last* TeX run. \doifmode{*last}{\installprogram{...}} does not work, because \installprogram is only honored between two runs. regards, Christ

Re: [NTG-context] \externalfigure[cow.pdf][scale=0.8]

2005-10-23 Thread Christopher Creutzig
Steve Peter wrote: > The scaling factor is in units of 1000. To get 80% size, use [scale=800]. Thanks. Added comment to texshow-web. Christopher ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] \externalfigure[cow.pdf][scale=0.8]

2005-10-23 Thread Christopher Creutzig
Salvete, according to texshow, \externalfigure accepts scale as an option. For me, \starttext \externalfigure[cow.pdf][scale=0.8] \stoptext results in getting ".8.8.8.8" in front of the image. texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeX

[NTG-context] More MathML problems

2005-10-20 Thread Christopher Creutzig
sing. (Unlikely to appear in everyday maths, but can happen.) In my reading of 3.2.3.2, a should be italic, but abc should be upright. (I would be happy if I had to switch this on at only one place, to keep backward compatibility.) regards, Christopher Creutzig

Re: [NTG-context] MathML: Spacing bug

2005-10-17 Thread Christopher Creutzig
Christopher Creutzig wrote: > However, I only get the expected output from the third version. Any > workaround or bugfix? My bad. I forgot the wrapper element. The spacing is perfectly ok (in this example). Christopher ___ ntg-context m

[NTG-context] MathML: Spacing bug

2005-10-17 Thread Christopher Creutzig
Salvete, afaics, the following three mathml snippets encode exactly the same thing: ---[1] a :: b ---[2] a :: b ---[3] a::b However, I only get the expected output from the third version. Any workaround or bugfix? Regards, Chri

[NTG-context] MathML: Please ignore ⁡

2005-10-12 Thread Christopher Creutzig
Salvete, I just started to think about using ConTeXt on XML input files, so I've got a question which should be easy to answer: My MathML source generates presentation code which includes ⁡ between a function symbol and its arguments. I get a black rectangle for that; I'd like ConTeXt to ignore

Re: [NTG-context] esoteric macro expansion bug in t-bib?

2005-10-11 Thread Christopher Creutzig
Taco Hoekwater wrote: > \unexpanded is macro, but it normally expands to \protected, which is an Justto add to the confusion: It expands to what eTeX calls \protected, not to what ConTeXt users get when they type \protected. But Hans' version was there first. :-) regards, Chr

Re: [NTG-context] esoteric macro expansion bug in t-bib?

2005-10-10 Thread Christopher Creutzig
Idris Samawi Hamid wrote: > esoteric macro expansion bug. > \def\IBAR% > {\leavevmode\vbox{\offinterlineskip\lineskip0.295ex% > \ialign{##\cr\USHIFT{120}\hfill\hbox to .21243em{\leaders\hrule > height .07ex\hfill}\hfill\SHIFT{1}\cr\i\cr}}} Could you try \unexpanded\def\IBAR% ... regards,

Re: [NTG-context] Re: function plotting

2005-10-06 Thread Christopher Creutzig
Mojca Miklavec wrote: > about the output quality. You can't express it in percentage. See > http://pub.mojca.org/tex/gnuplot/trlin.pdf for an example graph with > latex/pslatex/mp as rendering terminal. People often (incorrectly) claim you can't argue preferences, but I'd say the MP version wins

[NTG-context] Re: function plotting

2005-10-04 Thread Christopher Creutzig
Mojca Miklavec wrote: > and then "\input file" inside of the main LaTeX file. Gnuplot cannot > make output in ConTeXt (yet), but perhaps you can include the Since afaik ConTeXt does not have an equivalent of LaTeX's picture environment, I don't see much point in teaching gnuplot some sort of Con

[NTG-context] Re: function plotting

2005-10-04 Thread Christopher Creutzig
Alexander Lazic wrote: > On Mon 03.10.2005 19:26, Christopher Creutzig wrote: > >>MetaPost is not really a function plotter. So, yes, you have to use >>some sort of loop, although there may be some predefined macros hiding >>them. > > > Is there a b

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-03 Thread Christopher Creutzig
Alexander Lazic wrote: >>>\stopreusableMPgraphic{sin} >> >>This {sin} at the end is wrong; it's interpreted as text. > > > This have i understand ;-) > I called it sin, sorry for confusion. The name is unimportant – my point is that the \stop... commands don't get arguments. > Thanx. > Have i

Re: [NTG-context] \noalign?

2005-10-03 Thread Christopher Creutzig
Hans Hagen wrote: >>which tables allow using \noalign and in what places? >>\NC one \NC two \NC three \NC\AR >>\HL\noalign{\pause}% >>\NC one \NC two \NC three \NC\AR >>\noalign{\pause}\HL > it all depends on what you want to achieve I want to place a \pdfspecial in front of the \HL. Peter Ro

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-02 Thread Christopher Creutzig
Alexander Lazic wrote: > Oh btw: i have see in the syntax-diagramm sin. > > 1.) is this the sinus function? Sure. (The sine function as used by mathematicians. If you want the sine of an angle expressed in degrees, I believe you want sind.) > 2.) i have try > > --- > \startreusableMPgraphic{

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-02 Thread Christopher Creutzig
Alexander Lazic wrote: > i'm starting to learn context and therefore i have copied some examples > from metafun-p.pdf and get the following error: > > --- > ! Undefined control sequence. > l.42 \externalfile > [mprun.21][width=5cm] Probably a typo in metafun-p.pdf; try \externa

Re: [NTG-context] Modules how?

2005-10-02 Thread Christopher Creutzig
Boris Pedrofiets wrote: > This works when I put the module file in the same directory as my textfile. > When the file is in the same dir as s-mag-01.tex, context can't find it. How Please run texhash or mktexlsr, whichever exists on your system. You need to do that every time you update your T

Re: [NTG-context] \noalign?

2005-10-02 Thread Christopher Creutzig
Peter Rolf wrote: > how about > > \TABLEnoalign (see core-tab.tex for defintion) I did try that. But I don't see why it should help. After all, the place I'm trying to do a \noalign is not inside some other \noalign and that's the only thing \TABLEnoalign adds – as far as I read the source.

Re: [NTG-context] Q: http://wiki.contextgarden.net/Thumb_index

2005-10-01 Thread Christopher Creutzig
Alexander Lazic wrote: > Warning: pdfetex (file \ > /usr/share/texmf/fonts/type1/public/lm/lmr12.pfb): character 120 is \ > mapped to .notdef Please update your latin modern installation. I have no idea if there is a debian package for that already. Christopher

Re: [NTG-context] Beta bib module release

2005-10-01 Thread Christopher Creutzig
Thomas A. Schmitz wrote: > > On Sep 30, 2005, at 4:41 PM, Taco Hoekwater wrote: >> You're welcome. I am actually quite enjoying myself while doing this >> stuff. > > > Glad to hear that. I'll buy you a bear nonetheless... Taco is running a zoo? ;-} Christopher

[NTG-context] \noalign?

2005-09-30 Thread Christopher Creutzig
Salvete, which tables allow using \noalign and in what places? E.g., the first of these works, but I'd also like to be allowed the second one (ignore what \pause does for the moment ...): \starttable[|c|c|c|] \HL \NC one \NC two \NC three \NC\AR \HL\noalign{\pause}% \NC one \NC two \NC three \

Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-28 Thread Christopher Creutzig
Duncan Hothersall wrote: > RTF can capture everything that .doc can (MS update it every time they > rev the .doc format), and it has the advantage that it is defined in a > spec with a grammar, which means that importing routines (like the one Oh, yes, the RTF spec. It really makes you wonder w

Re: [NTG-context] t-rsteps and starttyping

2005-09-28 Thread Christopher Creutzig
Hans Hagen wrote: > Christopher Creutzig wrote: > >> >> Is there a way of having \installprogram for only for after the *last* >> run? (I don't think there could be a systemmode for the last run, but > another option is to use --final in texexec and

Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-28 Thread Christopher Creutzig
Idris Samawi Hamid wrote: > Ok, you guys have lost me now-) Maybe the best thing to do is try something Just ignore the detail of what xslt can and can't do for the moment. That just influences the choice of tools for one particular step and we all agree that there are tools for this step. > it

Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-28 Thread Christopher Creutzig
Idris Samawi Hamid wrote: >>But you should also explore DocBook-in-ConTeXt, which >>uses ConTeXt's native XML processing capabilities. > > > Is it possible to create a Word template that is isomorphic with a DocBook > format? You can write a Word template isomorphic to a (pretty large) subset

Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-27 Thread Christopher Creutzig
Duncan Hothersall wrote: > Well, XSLT seems to have been designed, and certainly tends to be > implemented, as a tool for simple transformations of small XML chunks. No, xslt is a tool for arbitrary xml -> xml conversions (and a little more than that). With a good implementation (say, saxon), wo

Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-27 Thread Christopher Creutzig
Duncan Hothersall wrote: >>Question: Is it possible to design a doc or rtf template that Open Office can >>convert to a sane, consistent xml format? > > > OpenOffice.org does allow you to attach an XSLT stylesheet to an export > process which therefore allows you to do a (limited) transformatio

Re: [NTG-context] ConTeXt to RTF Conversion

2005-09-23 Thread Christopher Creutzig
Idris Samawi Hamid wrote: > Would it be possible to define an xml format for the journal so that I > could more easily process both ConTeXt/LaTeX articles as well as the > docs and rtfs I generally receive? Is this more work than it's worth? > It's a humanities journal, so little-to-no math. Math

Re: Antwort: Re: [NTG-context] XML

2005-09-23 Thread Christopher Creutzig
Adam Lindsay wrote: > I'm not sure I understand the "CVS or something else" part from the Probably a typo for CSV, comma-seperated values. It should be rather easy to typeset csv data in table format. The following tentative code ignores the fact that csv data may optionally be enclosed in ""

Re: [NTG-context] t-rsteps and starttyping

2005-09-23 Thread Christopher Creutzig
Hans Hagen wrote: > also, when collecting and flushing pieces of content, spacing is a > tricky business (watch closely to presentations made quick and you'll > notice those side effects) That is why ppower4 is such a nice alternative: It inserts just some pdf comments and otherwise leaves the t

Re: [NTG-context] ConTeXt to RTF Conversion

2005-09-22 Thread Christopher Creutzig
Maurice Diamantini wrote: > So if I understand wml, I agree that xml is a format for filtering, > not a human writable format. > TeX, LaTeX or conTeXt is in input langage, which should be able to > be converted to the powerfull master XML format. No, sorry. This only works for extremely simple

Re: [NTG-context] utf-based lang-* files?

2005-09-22 Thread Christopher Creutzig
Adam Lindsay wrote: >>Is it possible to simply enclose the file in a >>\startregime[utf]...\stopregime pair or do I risk havoc by doing this? > > > Well, if you're using a regime, it still (usually) depends on symbolic > character names being defined under the hood. Also, such an approach Sure.

[NTG-context] utf-based lang-* files?

2005-09-22 Thread Christopher Creutzig
Salvete, while I am aware that my Japanese is ages away from creating anything releasable, I thought about creating a lang-jap.tex file for my personal use (and maybe for having it corrected by someone actually speaking the language). Now, checking lang-chi.tex, I find it is encoded in a way I d

Re: [NTG-context] formatting \note output

2005-09-22 Thread Christopher Creutzig
Alan Bowen wrote: > Does anyone know how to modify or adapt \note so that the output is a > footnote number in normal/body text format---e.g., “(ref.\ \note > [lemur])” becomes “(ref.\ 9)”---rather than a superscripted numeral? \starttext footnote\footnote[lemur]{test} has number \in[lemur] \stop

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread Christopher Creutzig
David Munger wrote: > Unfortunately, the \StartLong macro is not meant only for producing > line-wise content. In the general case, it contains something else than > just \starttyping block. Please try this: \bgroup \catcode`\^^M=\active \gdef\StartLong{\begingroup\obeylines\let^^M^^J\doStart

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread Christopher Creutzig
David Munger wrote: > \long\def\StartLong#1\StopLong{#1} > > \starttext > \StartLong > \starttyping > hallo > \stoptyping > \StopLong > \stoptext > > This will produce no error, but no output as well. Maybe we could use > some alternate mechanism to define the \StartLong...\StopLong pair. \def\S

Re: [NTG-context] lilypond inclusion + pdf crop

2005-09-17 Thread Christopher Creutzig
Hans Hagen wrote: > andrea valle wrote: > >> >> Here are two of the resulting scores (not totally finished yet) >> www.semiotiche.it/andrea/membrana/nodi-I.pdf >> www.semiotiche.it/andrea/membrana/nodi-II.pdf >> >> and one of the context file >> www.semiotiche.it/andrea/membrana/nodi-I.tex > > >

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Christopher Creutzig
Mojca Miklavec wrote: > Christopher Creutzig wrote: > >> Yes, but those are not suitable for inclusion because they are >>full-size A4 pages. I tried using them first, but couldn't get the >>information needed to properly clip the A4 pages to the required part. >

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Christopher Creutzig
Mojca Miklavec wrote: > Just a note: calling "epstopdf" is pretty optimistic, I'm affraid that Ok, I changed that to "texutil --figures --epstopdf". BTW, Hans, the log messages are flaky, the name of the pdf file is reported incorrectly: option : convert EPS to PDF

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Christopher Creutzig
andrea valle wrote: > So, I was asking myself: is lily direct inclusion in context so > relevant? Why? No, in the same way there is really no absolute need to have MetaPost code directly in you TeX files. Having them in external files, compiling from a Makefile and just using \externalfigure[gfx

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Christopher Creutzig
Henning Hraban Ramm wrote: > Perhaps document what you did and what's missing at the wiki page: > http://wiki.contextgarden.net/LilyPond Patrick, assuming I will find time to improve a few tidbits every now and then, what would be the best way to have an up-to-date module in the garden? Just sen

Re: [NTG-context] lilypond inclusion

2005-09-15 Thread Christopher Creutzig
Hans Hagen wrote: > Christopher Creutzig wrote: > >> - I can't include blank lines in \startlilypond...\stoplilypond, >> because in the buffer I will get a \par for that. There is >> probably some easy way around this, but I haven't found the >> idio

[NTG-context] lilypond inclusion

2005-09-15 Thread Christopher Creutzig
Dear list, especially Hraban, who had asked for sth like this, I had tried sending this yesterday, but with the pdf output included, it was too big for the list. In any case, please find enclosed a tentative lilypond inclusion file and a sample file. The whole thing basically works (though su

Re: [NTG-context] free keycaps font

2005-09-14 Thread Christopher Creutzig
Hans Hagen wrote: > Concerning the 'construct a key' approach, how about the following: > > - provide shapes for a single, double-wide, tripple-wide, tripple > height, enter-shape keys. Wouldn't it be reasonable to just create these borders via MetaFun? That way, I can have \key{\triangleleft ho

Re: [NTG-context] \setupbodyfont[10dd]

2005-09-14 Thread Christopher Creutzig
Mojca Miklavec wrote: > I'm sorry, I was first confused by this example: > > \switchtobodyfont[10pt]\setupinterlinespace\page > \input tufte > \switchtobodyfont[10dd]\setupinterlinespace\page > \input tufte > % interlinespace remained the same for both pt and dd > > which (for whatever reason) l

Re: [NTG-context] Using newly defined sections

2005-09-09 Thread Christopher Creutzig
Elliot Clifton wrote: > sectioning. I understand that it is possible to create a new type of > section using \definesection and setup section but how do I insert an > instance of my new section into my documents? With predefined sections > I can use commands such as \section, \chapter, etc.. You

Re: [NTG-context] Some Footnote Questions (from the Wiki)

2005-09-09 Thread Christopher Creutzig
Brooks Moses wrote: > Not quite, as it doesn't generate a number I can reference. What I'm > thinking of is something that does what \nomarkfootnote does in the > following example: > > A sentence\footnote{With a note\note[footB].}.\nomarkfootnote[footB]{And > another.} \starttext A sentence

[NTG-context] bug in beta?

2005-08-20 Thread Christopher Creutzig
Salvete, I haven't found the time to follow the list lately, so my apologies if this has been mentioned before. (I did try looking in the archives.) Using ConTeXt ver: 2005.06.08 fmt: 2005.6.17 int: english mes: english I can't compile \starttext \startitemize[columns] \item a \item a \

Re: [NTG-context] Basic question on Unicode and ConTeXt

2005-07-22 Thread Christopher Creutzig
Mojca Miklavec wrote: A1.) prepare the files to be used as a source of transformation from "any" character set to utf and prepare a list of synonyms for encodings In my point of view, that should only be a fallback. We already have Iconv in ruby and can, if we know that ISO-8859-2 is a sing

Re: [NTG-context] Basic question on Unicode and ConTeXt

2005-07-20 Thread Christopher Creutzig
Hans Hagen wrote: So why not mapping the characters to unicode first and defining the mapping from unicode to \TeXcommand only once? regi-* files (at least in the meaning they have now) could be prepared automatically by a script, less error-prone and without the need to say "Some more definitio

Re: [NTG-context] "Escaping" tabulate

2005-07-17 Thread Christopher Creutzig
My other mail didn't come back yet, so to answer the question I raised in there: In this context, \start and \stop won't help, since \hbox expects something that expands to { to follow. Christopher ___ ntg-context mailing list ntg-context@ntg.nl ht

Re: [NTG-context] "Escaping" tabulate

2005-07-17 Thread Christopher Creutzig
Radhelorn wrote: Oh, thanks. Can you describe in a few words distinction between {} and \bgroup\egroup? I know that \bgroup\egroup are "implicit characters" and useful in macro definitions but what this really means? You can have \def\startfoo{\bgroup} \def\stopfoo{\egroup} but you cannot

Re: [NTG-context] Re: try compiling Tex showcase source : program_sample.tex

2005-07-17 Thread Christopher Creutzig
olivier Turlier wrote: I was trying to compile Program-sample.tex because I find the transparent white frame over the grey background very nice to see for a pure electronic pdf. In the same range, the vit Zyka font demo catalog Sorry for not answering for such a long time. Please try the fo

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Christopher Creutzig
Radhelorn wrote: I mean parameter values. Then why not have ConTeXt add braces to every parameter? Or there will be slowdown Taco mentioned? Exactly. ConTeXt would need to find out the parameters' boundaries first, and that is the place where things would become slow, since it is not possi

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-14 Thread Christopher Creutzig
Thomas A. Schmitz wrote: like to do with vim - the line numbering alone is wonderful, there is no equivalent in emacs (and I've tried quite a lot of things!). So Not wishing to discredit vim, I'd still like to ask what is missing with the solution presented at www.emacswiki.org/cgi-bin/wi

Re: [NTG-context] Struggling with lists

2005-06-22 Thread Christopher Creutzig
Christopher Creutzig wrote: \placelist[Datei]%[alternative=d,criterium=Topic] Sorry for the line noise. criterium=current solves my problem. Does criterium=section only work for numbered sections? Christopher ___ ntg-context mailing list ntg

[NTG-context] Struggling with lists

2005-06-21 Thread Christopher Creutzig
Salvete, in a presentation, I would like to have some links to external files at the lower end of the menu on the right. My attempts all looked something like the following, but I have not been able to achieve any output at all: \def\gobble#1{} \long\def\Link#1{\showargument{#1}} \defineli

Re: [NTG-context] s-pre-19: page numbers?

2005-06-20 Thread Christopher Creutzig
h h extern wrote: your patch will break the list handler; a quick glance learns me that in I did not expect this dirty hack to “really” work. It was just a desparate short-term measure. \def\dodomenulistelement#1#2#3#4#5#6#7% Thanks, that fixes the problem. regards, Christop

Re: [NTG-context] I need some advices/guidelines before start writing my PhD thesis

2005-06-17 Thread Christopher Creutzig
Alexandra Ribeiro wrote: At this moment I’ve to make a choice: continue using Word or start learning a new tool, which will probably consume much of my time. So, I’m in a dilemma. That’s why I’m asking for help. Off the top of my head, I'd say you have to ask yourself at least the following

Re: [NTG-context] s-pre-19: page numbers?

2005-06-17 Thread Christopher Creutzig
Christopher Creutzig wrote: Taco Hoekwater wrote: Is this not the same problem as the one that was mentioned last week (the one that requires the core-lst.tex that Hans posted as attachment)? As a short term measure, I have included \def\linklisttoelement#1#2#3#4#5% % list location format

Re: [NTG-context] s-pre-19: page numbers?

2005-06-17 Thread Christopher Creutzig
Taco Hoekwater wrote: Is this not the same problem as the one that was mentioned last week (the one that requires the core-lst.tex that Hans posted as attachment)? It might be the same problem, but that file does not solve it. I did remember to run texexec --make --all and to remove web2c/c

[NTG-context] startMPgraphics in texshow?

2005-06-16 Thread Christopher Creutzig
Salvete, it seems that the whole family of MPgraphics commands is missing in texshow – looking for “graphics” turns up no matches. Are they generated by some magical macro or missing because of their capital letters? regards, Christopher Creutzig

[NTG-context] s-pre-19: page numbers?

2005-06-16 Thread Christopher Creutzig
Salvete, with gwTeX, TeXlive 2005 beta, using cont-en : ver: 2005.06.08 fmt: 2005.6.15 mes: english I've got a problem with s-pre-19 I can't get rid of: The menu on the right contains page numbers, set in black \tf, at the lower left corners of the buttons. I have tried gett

Re: [NTG-context] try compiling Tex showcase source : program_sample.tex

2005-05-09 Thread Christopher Creutzig
olivier Turlier wrote: I've tryed to compile program-sample.tex, found after G.Wierda announcement, located at : http://tug.org/texshowcase/program_sample.tex, whithout success. The files are deliberately incomplete. I hope I left enough in there to learn from, but the particular background is

Re: [NTG-context] hyphenation not working

2005-03-21 Thread Christopher Creutzig
Hans Hagen wrote: I do have a file called hyphen.tex. On Hans' suggestion, I copied this to ushyph1.tex and ushyph2.tex. That didn't help. I also changed my cont-usr.tex file, changing all lines that had ushyp* to hyphen. This also didn't work. did you run mktexlsr ? And in case that's unexpec

Re: [NTG-context] Why uses Context 8r encoding used instead of the specified ec encoding?

2005-02-10 Thread Christopher Creutzig
Hans Hagen wrote: \def\loadmapline {\dodoubleempty\loadmapline} \def\loadmapline[#1][#2]% {\loadallfontmapfiles % ! ! ! \doloadmapline{#1}{#2}} I'd be surprised if that worked. The second \def overwrites the first. Christopher ___ ntg-context mai

Re: [NTG-context] m-letter.tex -- backslash interpretation error

2005-01-10 Thread Christopher Creutzig
Hans Hagen wrote: (beware, don't redefine a module m-letter-re since only the first 8 chars count; better put your local variant in an environment BTW: Is this anachronistic limitation to 8 characters planned to disappear? With the additional t- or u- at the front, we've got a limitation to si

Re: [NTG-context] Bib module produces no output

2005-01-04 Thread Christopher Creutzig
ps in this and other universities even use a collective .bib file for all the researchers. (We are just doing too diverse things in this group for that.) rgeards, Christopher Creutzig ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg

[NTG-context] bookmarks problems

2004-12-13 Thread Christopher Creutzig
,section] \starttext \chapter{normal chapter} \section{one} \chapter{\quotation{special} chapter} \bookmark{"special" chapter} \section{two} \section{three} test \stoptext regards, Christopher Creutzig ___ ntg-context mailing list [EMAIL

Re: [NTG-context] Black generation in cmyk output

2004-12-03 Thread Christopher Creutzig
e slightly grudingly accepted rgb grey scale images for the bulk of the book. regards, Christopher Creutzig ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] m-bib, \cite and no year?

2004-11-30 Thread Christopher Creutzig
t using \editor. Which commands do the actual typesetting of the list entries? I only got to \@@pbt and was lost ... regards, Christopher Creutzig ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] \setupsystem[random]

2004-11-29 Thread Christopher Creutzig
Hans Hagen wrote: the problem is that the tex/mp randomizers are based on time and therefore too fragile (too little resolution) on fast machines; so i let texexec set the seed So even in the case where the TeX code contains \setupsystem[seed=212], texexec does some additional calculations? (T

Re: [NTG-context] \setupsystem[random]

2004-11-29 Thread Christopher Creutzig
the number into \setupsystem? rgeards, Christopher Creutzig ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] \setupsystem[random]

2004-11-26 Thread Christopher Creutzig
Salvete, the line \setupsystem[random=261113] causes an error for me: ./CDaufdruck.tex:10: Arithmetic overflow. \verynormalnextrandom ...al \multiply \randomi 31 \global \advance \randomi ... \normalnextrandom ...alyear \verynormalnextrandom

[NTG-context] m-bib, \cite and no year?

2004-11-23 Thread Christopher Creutzig
Salve Taco, I'm using m-bib, with \setupbibtex[database=literatur,sort=author] \setuppublications[sort=bbl,refcommand=authoryear,numbering=yes] This leads to three problems: First, I do have entries such as @Misc{Wikipedia, key = {Wikipedia}, title ={Wikipedia, the free onlin

Re: [NTG-context] Fonts switching and styles ..

2004-11-23 Thread Christopher Creutzig
Dirar BOUGATEF wrote: \definebodyfont[MyFont][karat] \starttext \switchtobodyfont[MyFont] \stoptext I believe \definebodyfont[MyFont][karat] should be \definefontsynonym[MyFont][karat], which should allow \switchtobodyfont[MyFont], but you may also be looking for \definefont[MyFont][karat], whi

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-22 Thread Christopher Creutzig
Hans Hagen wrote: Ok, then what's \protected? Is it performing an \unprotect/\protect pair around the definition? But then, why did it work? in context protext/unprotect is to be used when ! @ ? are used inmacro names which was not the case here I know. So, does ConTeXt's \protected\def tem

Re: [NTG-context] Updated math modules

2004-11-22 Thread Christopher Creutzig
Giuseppe Bilotta wrote: attached to the following please find a .tar.bz2-packed file containing updated t-amsl and t-nath. \def\startnathequation{% \begingroup [EMAIL PROTECTED]@[EMAIL PROTECTED]@cr \let\startdysplaymath\relax \let\stopdysplaymath\relax \contextstartformula

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-19 Thread Christopher Creutzig
Hans Hagen wrote: first of all, \protected is not what you think it is; i had a \protected before etex was around; the context name is \unexpanded Ok, then what's \protected? Is it performing an \unprotect/\protect pair around the definition? But then, why did it work? \let\unprotectedlongrig

Re: [NTG-context] Bugs

2004-11-19 Thread Christopher Creutzig
David Antos wrote: Sure. Think of it as ragged-right and ragged-left. This is one of the first questions in all ConTeXt FAQs, it has deep historical reasons, and If nothing important has crept past me, being the first question in all ConTeXt FAQs is something trivially true, given the number of

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-19 Thread Christopher Creutzig
Nikolai Weibull wrote: ! Undefined control sequence. \dodosmash [#1]->\edef \@@smash {#1}\futurelet \nexttoken \dododosmash \relbar ->\mathrel {\smash -} Uh-uh. The problem is clear: \inlinemath tries (in the definition of \inlinemath@)

Re: [NTG-context] verb-ini and nath \(save|restore)catcode clash

2004-11-18 Thread Christopher Creutzig
Nikolai Weibull wrote: verb-ini and nath both define (incompatible) instances of \save- and \restorecatcode. Simply renaming them in nath to \NATH(save|restore)catcode seems to work fine. Any suggestions? I had sent a patch for that some months ago. Giuseppe, any chance of an updated t-nath.tex

Re: [NTG-context] nath and \(start|stop)formula

2004-11-15 Thread Christopher Creutzig
\dmathon@ \wall\mathopen{}% } \def\stopnathequation{% \return \dmathoff@ \egroup \stopnatheq \nath!stopformula \endgroup } \let\startformula\startnathequation \let\stopformula\stopnathequation regards, Christopher Creutzig

[NTG-context] precompiling inline mp to pdf?

2004-11-02 Thread Christopher Creutzig
is there a more clever way? (Note that I do want the automatic inclusion, since I'm passing the dimensions of external figures etc. to metapost and use the result in a background layer and/or as frame backgrounds.) regards, Christopher Creutzig PS: I didn't have time to anal

Re: [NTG-context] more nath patches

2004-10-26 Thread Christopher Creutzig
Hans Hagen wrote: \!!dimenf=\fontdimen8\textfont2 \!!dimenf\fontdimen8\textfont\syfam OK, I should look those names up. is more independent; maybe i should define symbolic names for the font Independent of what? \textfont2 is exactly the font TeX would use, no? (\!!dimeni+0.5\fracrulet

  1   2   >