Re: [NTG-context] texexec --version
On 1/28/06, Peter Münster <[EMAIL PROTECTED]> wrote: > Hello, > > "texexec --version" creates always the files texvers-mpgraph.mp and > mpgraph.mp. Is this really necessary? No, you could remove them. > It's not a real problem, since I can make a script "texversion.sh": > #!/bin/sh > texexec --version > rm -f texvers-mpgraph.mp mpgraph.mp > > Greetings, Peter > > -- > http://pmrb.free.fr/contact/ > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] figure library problem
Never mind. I indavertently deleted an opening . Two hours of misery. On Jan 28, 2006, at 8:29 PM, David Arnold wrote: > All, > > My source (section5figs.tex) compiles and produces section5figs- > mpgraph.14 without error message. But when I try to compile > junk.xml with: > > > texexec --pdf --use=fig-make --mode=letter junk.xml > > I get this error: > > (./junk.xml) > ! Too many }'s. > \processXMLfilegrouped ...ifmmode \else \par \fi } > > l.343 \processXMLfilegrouped{\jobfilename.xml} > > ? > > I checked that section5figs-mpgraph.14 compile with mptopdf. > > This is the first time I've experienced any difficulty with the > figure library. > > Any ideas or suggestions? > > > > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] figure library problem
All, My source (section5figs.tex) compiles and produces section5figs- mpgraph.14 without error message. But when I try to compile junk.xml with: texexec --pdf --use=fig-make --mode=letter junk.xml I get this error: (./junk.xml) ! Too many }'s. \processXMLfilegrouped ...ifmmode \else \par \fi } l.343 \processXMLfilegrouped{\jobfilename.xml} ? I checked that section5figs-mpgraph.14 compile with mptopdf. This is the first time I've experienced any difficulty with the figure library. Any ideas or suggestions? College of the Redwoods Mathematics Department Intermediate Algebra Text Chapter 3 Figures for Section 5 section5figs-mpgraph.14 eighteenfinal College of the Redwoods Mathematics Department section5figs-mpgraph.14 Description: Binary data ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Dropped caps, \startlines\stoplines, and indentation question
Radhelorn wrote:Adrian Drury wrote: > Hello, >> I'm having trouble using dropped caps within \startlines\stoplines.> I'm trying to typeset some poetry and I'm using> \setuplines[space=yes]. I'd like to use dropped caps and have the> indented lines be additionally indented by any space at the beginning > of the lines.>> See the following example - the first part shows roughly the result I> want (but with manual formatting/spacing), the second part shows the> result of \DroppedCaps inside \startlines\stoplines, and the third > part uses the lettrine module. The lettrine module comes close, but> Nindent doesn't seem to affect the indented lines within> \startlines\stoplines.>> \usemodule[lettrine]> \def\MyDroppedCaps% > { \DroppedCaps> {} {Serif} {2\baselineskip} {2pt} {1\baselineskip} {2}> }> \setuplines[space=yes]>> \starttext> \MyDroppedCaps S{\sc umer} is icumen in,\crlf > \hbox to .6em{}Lhude sing cuccu!\crlf> Groweth sed, and bloweth med,\crlf> \hbox to .6em{}And springth the wude nu---\crlf> \hbox to 3.3em{}Sing cuccu!>> \startlines> \MyDroppedCaps S{\sc umer} is icumen in, > Lhude sing cuccu!> Groweth sed, and bloweth med,> And springth the wude nu---> Sing cuccu!> \stoplines>> \startlines> \lettrine{S}{umer} is icumen in, > Lhude sing cuccu!> Groweth sed, and bloweth med,> And springth the wude nu---> Sing cuccu!> \stoplines> \stoptext>> Any suggestions for how to do this? I'm a beginning ConTeXt user, so > if there's a better/different way to do this, I'd be happy to hear it!>> Also, I read the list in digest form. For the benefit of people using> threaded mail readers, is there a better way to reply to individual > messages than replying to the digest message and editing the Subject> line appropriately?>> Thanks very much,> Adrian Drury> ___ > ntg-context mailing list > ntg-context@ntg.nl> http://www.ntg.nl/mailman/listinfo/ntg-context>>Try\startlines \vbox{\lettrine{S}{umer} is icumen in,\crlf Lhude sing cuccu!} Groweth sed, and bloweth med,And springth the wude nu---Sing cuccu!\stoplines--Radhelorn < [EMAIL PROTECTED]>Thank you very much for your suggestion - it does most of what I want to do. I have a follow-up question if anybody would like to provide more help! Because lines in \startlines\stoplines with \setuplines[space=yes] can be indented by space characters, I want to set Nindent for the dropped cap to (N * ), so lines can be indented by the exact same amount they would be with spaces in \startlines\stoplines. Is there a way to calculate the width of some number of characters (or a string of characters) to use as a dimension parameter? For example, a macro that returns the width in points of 5 space characters in the current font? I figured hardcoding the width of a space as a percentage of an em might work, but would probably not be consistent across fonts. Is that true, or is it really that simple? I'd also be happy with a way to preserve spaces in the text inside the vbox (and ignore any Nindent dimension calculation), because then I could just add the appropriate number of spaces for indentation after the \crlf, like this: \vbox{\lettrine{S}{umer} is icumen in,\crlf <2 spaces>Lhude sing cuccu!}, as I do in \startlines\stoplines.Thanks very much,Adrian Drury ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Lettrine and \startnarrower question
Hello,Using \lettrine (version 2005.08.29) inside \startnarrower\stopnarrower gives results I didn't expect - see the example below. Part of the text seems to be shifted right by an additional left-indent amount. Is this correct and/or expected behavior? If it is, is there a workaround to shift it back? \usemodule[lettrine]\starttext\input knuth\startnarrower\lettrine{T}{est} \input knuth\stopnarrower\stoptextThanks,Adrian Drury ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] no overfull hbox warning
Hello, unfortunately there is no overfull \hbox warning message, when the line is too long in a section title or a float caption: \starttext \section{\dorecurse{100}x} \placefigure{\dorecurse{100}x}{bla} \stoptext In general, I think there should be more error- or warning-messages in ConTeXt, so that one can grep the output for the words "error" or "warning" to test if all is ok. Quite often, you see a problem only in the pdf-file, but there is no warning message in the output (font issus for example). In this area, LaTeX is much better... Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Using Ralph Smith's Formal Script font
On 1/28/06, Aditya Mahajan wrote: > How do I use Ralph Smith's formal script font [1] within context. I > want to define a command like \mathrsfs{A} that will use A in this > font. There might be a cleaner way, but here's an example that works here (switches to rsfs outside math mode): \def\mathrsfs#1{\text{\definedfont[RalfSmithFormalScript]#1}} $\mathrsfs{A}$ (You can use "\definedfont[rsfs10] A" outside math mode.) Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] hyphenation exceptions
Hello, I don't want to tell TeX about hyphenation exceptions in the text, only once for all in an environment file. How can I do this with words like "DNA-Fragmente" or "$\beta$-Verknüpfung" ? \hyphenation{...} does not seem to work here, and I don't want to write DNA-Frag\-men\-te nor $\beta$-Ver\-knüp\-fung in the text. TIA for any help! Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] texexec --version
Hello, "texexec --version" creates always the files texvers-mpgraph.mp and mpgraph.mp. Is this really necessary? It's not a real problem, since I can make a script "texversion.sh": #!/bin/sh texexec --version rm -f texvers-mpgraph.mp mpgraph.mp Greetings, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] placefigure & headers topframe interactions
On 1/26/06, Renaud AUBIN <[EMAIL PROTECTED]> wrote: > > Hi all, > > I use in my document: > > \setupbackgrounds[header][text][bottomframe=on] > \setupbackgrounds[footer][text][topframe=on] > > in order to obtain black rules. Since I don't want the topframe on in the > chapter's first pages, I use in setuphead the option header=high... > > It works if I have only text in my document, but when I use > \placefigure[here][fig:afigref]{A dummy > label}{\externalfigure[dummy]} to include METAFUN or pdf graphics, I obtain > a black rule (topframe) on top of the first page of the next chapter... > Seems very strange... I tried to solve the problem but, unfortunately, > without success ! I don't know how to deal with the behaviour you describe, but one way to get rid of headers on the first page is \starttext \startstandardmakeup title page \stopstandardmakeup the rest \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \hbox and figures
Thanks, I have never seen it in the docs (at least, in the ones I know). Best -a- On 28 Jan 2006, at 11:59, Taco Hoekwater wrote: > andrea valle wrote: >> Thanks as usual Taco, >> no errors, but doesn't work for me. >> >> >> \starttext >> \dontleavehmode >> >> \hbox {\externalfigure[quarter][png]} test > > You have to remove that empty line between > the \dontleavehmode and the \hbox. > > Taco > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] eqalign name clash
I am afraid that the update of today (28-1-2006) also has generated a problem. This used to work (just a plaintex \eqalign) \starttext \placeformula\startformula \matrix{a&b\cr c&d\cr} \eqalign{ a &= b\cr pq &= t+1\cr } \stopformula \stoptext I see in core-mat.tex a macro \eqalign#1 (line 1514). It is new I think, but its name CLASHES with the standard TeX \eqalign math macro. I do not think that wise and had to comment it out in my working copy. Everything being fine again after that. yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setuptyping
Thanks. It is of course a minor annoyance, because one can always give the font commands themselves. However, I think it is confusing for newcomers when these things are shown in the manual but will not work. One cannot expect from newcomers to delve into the code. As a result they might turn away from context, which would be a pity. So if you don't mind, I will continue to signal such things. Keeps you busy :-) yours sincerely, dr. H. van der Meer On Jan 28, 2006, at 12:23, Taco Hoekwater wrote: > Hans van der Meer wrote: >> I get some unexpected results with setuptyping. >> According to the manual the style-parameter has options normal, >> bold, small, etc. > > AFAICS, this has not worked in a very very long time, and it may > even be a bug in the documentation. But it was easy to fix the code, > so see attached file with a small change to the \setupcommonverbatim > routine. > > for HansH: I did not want to call \startattributes, so I invented > a new macro called '\getstylevalue'. > > Cheers, taco > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] error in patterns treatment?
On Jan 28, 2006, at 12:27, Taco Hoekwater wrote: > Hans van der Meer wrote: >> Has something in the system changed? > > The Januari 27 version, or the one Hans uploaded this morning? The 27 januari version. Downloaded it this morning, about 10.15 or so. I guess from your question there is a new one and see it now on the pragma site. Will download it and see if problem gone. I probably should have woken up somewhat later this morning :-) yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setuptyping
On 1/27/06, Hans van der Meer <[EMAIL PROTECTED]> wrote: > I get some unexpected results with setuptyping. > According to the manual the style-parameter has options normal, bold, > small, etc. > But if I use them I get the option back. > The only thing that seems to work is style=command. > > Example: > \setuptyping[style=bold] > \starttext > \starttyping > abcd > \stoptyping > \stoptext > > Results in typeset text "boldabcd" Yes, I got the same error here with: TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.30.5-2.2 (Web2C 7.5.5) context : ver: 2006.01.28 10:09 cont-en : ver: 2006.01.28 10:09 fmt: 2006.1.28 mes: english But if you change to \setuptyping[style={\bf}] it works fine :-) -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Substack in Context
Taco Hoekwater wrote: > Aditya Mahajan wrote: > >>>The definition from m-newmat is at least partly superceded by the >>>new core math definitions Hans added last week, so a new implementation >>>would be better. >> >>Can you suggest something? > > > Like this maybe? > > \def\substack#1% >{\begingroup > \let\\\cr > \startmathmatrix #1\stopmathmatrix > \endgroup} > > Probably needs a bit of tweaking to make it look better > (perhaps a [strut=no] parameter?). What about use math primitive \atop: \def\substack#1% {\begingroup \let\\\atop #1 \endgroup} Vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problem with German quotes and kerning
Oh my, I shouldn't have asked about this problem... Sorry, but with the latest 'n greatest, I get: \quotation{W} ==> no kerning "`W ==> output is just the quotedblbase, the W is gobbled, and in the log, I see: (\end occurred inside a group at level 1) ### simple group (level 1) entered at line 45 ({) ### bottom level line 45 being where the "` occurs. Sorry for all the confusion I caused Thomas On Jan 27, 2006, at 8:48 PM, Hans Hagen wrote: > then ... wait for the update > > Hans > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Chapters, setupbackgrounds[header] issue & indenting issue
Thanks, It works with the new version without recalculatebackgrounds. i'm uploading a new version that has a better synchronization (i hope) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Substack in Context
Aditya Mahajan wrote: >>The definition from m-newmat is at least partly superceded by the >>new core math definitions Hans added last week, so a new implementation >>would be better. > > Can you suggest something? Like this maybe? \def\substack#1% {\begingroup \let\\\cr \startmathmatrix #1\stopmathmatrix \endgroup} Probably needs a bit of tweaking to make it look better (perhaps a [strut=no] parameter?). Cheers ,taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] error in patterns treatment?
Hans van der Meer wrote: > Has something in the system changed? The Januari 27 version, or the one Hans uploaded this morning? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Chapters, setupbackgrounds[header] issue & indenting issue
Hans Hagen wrote: > i'm uploading a new version that has a better synchronization (i hope) I have no opportunity to write release notes in this weekend, so you will have to wait till monday for that. Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setuptyping
Hans van der Meer wrote: I get some unexpected results with setuptyping. According to the manual the style-parameter has options normal, bold, small, etc. AFAICS, this has not worked in a very very long time, and it may even be a bug in the documentation. But it was easy to fix the code, so see attached file with a small change to the \setupcommonverbatim routine. for HansH: I did not want to call \startattributes, so I invented a new macro called '\getstylevalue'. Cheers, taco ma.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Substack in Context
<--- On Jan 28, Taco Hoekwater wrote ---> > Aditya Mahajan wrote: >> Hi, >> >> What is the context equivalent of latex's substack? How do I type the >> following >> $$ >> \sum_{\substack i \in P \\ j \in Q} a_{ij} >> $$ > > Where is that defined? LateX gives me and 'Undefined control sequence', > and with \usepackage{amsmath} I get no error, but not a stack either. This is defined in amsmath. Sorry, I made a mistake in typing. It should be $$ \sum_{\substack{ a \\ b}} c $$ > The definition from m-newmat is at least partly superceded by the > new core math definitions Hans added last week, so a new implementation > would be better. Can you suggest something? -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \hbox and figures
andrea valle wrote: > Thanks as usual Taco, > no errors, but doesn't work for me. > > > \starttext > \dontleavehmode > > \hbox {\externalfigure[quarter][png]} test You have to remove that empty line between the \dontleavehmode and the \hbox. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Substack in Context
Aditya Mahajan wrote: > Hi, > > What is the context equivalent of latex's substack? How do I type the > following > $$ > \sum_{\substack i \in P \\ j \in Q} a_{ij} > $$ Where is that defined? LateX gives me and 'Undefined control sequence', and with \usepackage{amsmath} I get no error, but not a stack either. The definition from m-newmat is at least partly superceded by the new core math definitions Hans added last week, so a new implementation would be better. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setuptyping
Hans van der Meer wrote: > I get some unexpected results with setuptyping. > According to the manual the style-parameter has options normal, bold, > small, etc. > But if I use them I get the option back. > The only thing that seems to work is style=command. > > Example: > \setuptyping[style=bold] > \starttext > \starttyping > abcd > \stoptyping > \stoptext > > Results in typeset text "boldabcd" > > yours sincerely, > dr. H. van der Meer > > > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > Try \setuptyping[style=\bf] -- always works. -- Radhelorn <[EMAIL PROTECTED]> ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \hbox and figures
Thanks as usual Taco, no errors, but doesn't work for me. \starttext \dontleavehmode \hbox {\externalfigure[quarter][png]} test \stoptext The same as before -a- On 28 Jan 2006, at 11:44, Taco Hoekwater wrote: > \dontleavehmode Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \hbox and figures
andrea valle wrote: > Hi to all, > I guess it's something obvious but... > \hbox {\externalfigure[quarter]} test If TeX sees a \hbox when in vertical mode, it stays in vertical mode, simply adding the box to the page. Only when it sees the 't' from test does it start the next paragraph. To make the box part of the paragraph, TeX has to be told to enter horizontal mode first. That is done by adding \dontleavehmode: \starttext \dontleavehmode \hbox {\externalfigure[quarter]} test \stoptext Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] error in patterns treatment?
Installing the latest context release (cont-tmf only) I now get the following errors when generating the format: (/usr/local/teTeX/share/texmf-local/tex/context/patterns/lang-de.pat ! Nonletter. l.113 .ge5r[ odiaeresis] (/usr/local/teTeX/share/texmf-local/tex/context/patterns/lang-de.pat ! Nonletter. l.140 .k[ udiaeresis]5ra etc. The same occurred with the french patterns, others I did not test. Changing back to context version of 16-1-2006 brought everything back to normal. Has something in the system changed? yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \hbox and figures
Hi to all, I guess it's something obvious but... I was taking a look at the nice cows on p.298 cont-eni: I cannot understand why in compiling this code "test" is always one line down and never on the same line, just on quarter's side. Quarter is a small figure, and I tested with other small figures, both in pdf and png. \starttext \hbox {\externalfigure[quarter]} test \stoptext Many thanks! -a- Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Chapters, setupbackgrounds[header] issue & indenting issue
Renaud AUBIN wrote: > > Thank you very much Hans ! It works now ! > i'm uploading a new version that has a better synchronization (i hope) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] setuptyping
I get some unexpected results with setuptyping. According to the manual the style-parameter has options normal, bold, small, etc. But if I use them I get the option back. The only thing that seems to work is style=command. Example: \setuptyping[style=bold] \starttext \starttyping abcd \stoptyping \stoptext Results in typeset text "boldabcd" yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context