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] 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: 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] 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: [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] 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-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-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] 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
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

[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] 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

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] \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] 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] 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] 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] \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-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

[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

[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

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

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] 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

[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

[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

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] 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

<    1   2