Re: [NTG-context] Installation problem

2006-04-07 Thread Mojca Miklavec
On 4/8/06, Pavel Stupin wrote:
> bodyfont: 12pt rm is loaded
> ! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not found.
> 

To Hans: perhaps cont-lmt.zip should be put back to the page with
downloads? Perhaps even all font files present in the standalone
distribution? I think that many users were already asking for that.

> Could you please advise me what I'm supposed to do to have the metric
> files found and whether I must update my obsolete pdfTeX and eTeX to
> handle the problem.

Updating pdfTeX won't solve that concrete problem, but you might
encounter other problems. So - yes, you are warmly suggested to update
the whole distribution.

Read this carefully: http://wiki.contextgarden.net/TeTeX_3.0_installation

esp. the section with fonts. You have to install Latin Modern fonts:
http://www.ctan.org/info?id=lm

> Also, I'm interested if Russian language is supported by ConTeXt "out of
> the box" or not.

It is, but you have to have some proper fonts installed.
Antykwa-torunska, iwona and kurier have cyrillic glyphs and ship with
minimal context distribution on Pragma's website. There are surely
many other fonts like cm-super, different postscript fonts, ...

It might be that you will have to add some font definitions first, but
I think that people are ready to help you with that.

I'm attaching an example for writing in Russian, but you'll have to
install proper fonts before you'll be able to compile the sample file
(http://www.janusz.nowacki.strefa.pl/torunska.html in that case). I'm
using that font just because I don't have any other cyrillich font
installed: you'll probably want to use some other font anyway. (Search
for file names *t2a*.tfm in your TeX tree.)

Mojca


russian.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Installation problem

2006-04-07 Thread Pavel Stupin
Dear ConTeXt developers and users,

Please excuse me for bothering you with such a trivial question, but I 
still would really appreciate your help.

I've downloaded the current ConTeXt version and generated the format 
files. Now, when I try to invoke texexec to process a test file 
("\starttext Test \stoptext") the script complains the following way:

***

This is pdfeTeX, Version 3.14159-1.10a-2.1 (Web2C 7.4.4) (format=cont-en 
2006.4.8)  8 APR 2006 10:50
entering extended mode
\write18 enabled.
  (/usr/share/texmf/web2c/natural.tcx)
**&cont-en test.tex
(./test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2006.03.25 13:21  fmt: 2006.4.8  int: english  mes: english

systems : pdfTeX version 110 -> please update

systems : eTeX version 201 -> too old (bugs)

language: language en is active

...

bodyfont: 12pt rm is loaded
! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not found.


...

l.1
 \starttext
?
! Font \*7ptrmtf*=ec-lmr7 not loadable: Metric (TFM) file not found.


...




Could you please advise me what I'm supposed to do to have the metric 
files found and whether I must update my obsolete pdfTeX and eTeX to 
handle the problem.

Also, I'm interested if Russian language is supported by ConTeXt "out of 
the box" or not.


Thank you in advance!

Kind regards,
Pavel Stupin.

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Different pagebreaks for component and whole document

2006-04-07 Thread Mojca Miklavec
On 4/3/06, Taco Hoekwater wrote:
> But, since you are not really supposed to compile the project
> file in the first place

Why not / What's [so] wrong with that?

I (mis)use that mechanism for compiling either separate sections
versus the whole document. I miss the functionality of
cross-referencing, automatically numbering the pages & sections & so
on, but I'm aware that that's not trivial to achieve at all.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] xml table reading problem

2006-04-07 Thread Johannes Graumann
Hello,

Derived from the 'figure' and 'table' examples in the XML example document,
I came up with the following set of mapping rules for formating XML tables
with ConTeXt. 

\defineXMLenvironment 
  [table]
  {
\bgroup
\defineXMLpush[caption]
\defineXMLpush[content]
  }
  {
\placetable
  [\XMLpar{table}{location}{here}]
  [\XMLpar{table}{label}{unknown}]
  {\XMLpop{caption}}
  \ix
  \bTABLE
\XMLpop{content}
  \eTABLE
  \x
\egroup
  }
\defineXMLnested  [tr]\bTR\eTR
\defineXMLnested  [td]\bTD\eTD

When compiling a file with this rule set, I get the following error:

! Missing { inserted.

   \edef
\doifsomething #1->\edef
 \!!stringa {#1}\ifx \!!stringa \empty
\expandafter ...

\switchtobodyfont [#1]->\doifsomething {#1}
{\doifdefinedelse {\??ft
\normal...

\XML:ele:/table ...nown}] {\XMLpop {caption}} \ix
  \bTABLE \XMLpop
{content} ...
l.437   

When switching to scroll mode, the tables come out ok, but I'm unable to use 

\defineXMLenvironmentsave
  [textref]
  [name=]
  {}
  {\in{\XMLflush{textref}}[\XMLop{name}]}

to refer to them ...

Any input would be highly appreciated.

On a side note: how do I, in a document with
general '\setupinterlinespace[line=2\bodyfontsize]' switch to 'small'
interlinespace for floatcaptions (and footnotes)?

Tried '\setupcaptions[style={small
\setupinterlinespace[small]},width=\textwidth]', but that doesn't work ...

Thanks, Joh

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Strange t-bib behavior

2006-04-07 Thread Johannes Graumann
Hello,

I attach an example file which produces strange citation behavior: while the
single citations ('\cite[authoryears][cordingley:90]'
or '\cite[authoryears][walker:94]') work perfectly allright, the dual
citation ('\cite[authoryears][cordingley:90,walker:94]') is being screwed
up:

(Cordingley et al., 1990, Walker, 1994 and , )

Any ideas where the problem lies?

Thanks, Joh

error.tar.bz2
Description: BZip2 compressed data
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] More physml/units

2006-04-07 Thread Johannes Graumann
Johannes Graumann wrote:

> 30
> 
> Does not work.
> 
> Joh

Additionally: while \textmu is non-italic thanks to hints from the list
(\usetypescript[modern-base][texnansi] \ \setupbodyfont[12pt,modern]), when
doing something like
30
the mu is italicized again ... how to remedy that?

Joh

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] beta

2006-04-07 Thread Mojca Miklavec
On 4/4/06, Taco Hoekwater wrote:
>
>
> Hans Hagen wrote:
> > Hi,
> >

>> - for mojca: take a look at regi-syn and let me know what vectors need
>> to be be added to the distribution

>
> Mojca, it would be nice if you could give a go/nogo signal quickly.
> I am slowly getting drowned with all the diff files so I am really
> eager to have Hans go ahead and release a new version :)

Taco & Hans: I'm really really really sorry. I didn't notice that
question in thousands of mails on the list.

Thanks a lot for adding the file, Hans!

This line
\defineregimesynonym[cp-1250] [cp1250]
is not really needed: I never spotted any cp125* with a hyphen
inbetween (in contrast to utf or iso encodings), otherwise everything
seems to be working ok.

\defineregimesynonym[1250] [cp1250]
is also OK (didn't thought about it ;).


If you're asking me about the other changes: here's the same list that
I already suggested:

renaming:

windows -> cp1252
il1 -> iso-8858-1
latin2 -> iso-8858-2
iso88595 -> iso-8858-5
grk -> iso-8859-7


And then adding the following definitions (cp1250 is already there):

\defineregimesynonym[utf-8][utf]
\defineregimesynonym[utf8][utf]

\defineregimesynonym[windows-1250][cp1250]
\defineregimesynonym[windows-1251][cp1251]
\defineregimesynonym[windows-1252][cp1252]
\defineregimesynonym[windows-1253][cp1253]
\defineregimesynonym[windows-1254][cp1254]
%defineregimesynonym[windows-1255][cp1255] % not supported yet (Hebrew)
%defineregimesynonym[windows-1256][cp1256] % not supported yet (Arabic)
\defineregimesynonym[windows-1257][cp1257]
%defineregimesynonym[windows-1258][cp1258] % not supported yet (Vietnamese)

% for historical reasons / compatibility
\defineregimesynonym[windows][cp1252]

% 5 - Cyrillic
% 6 - Arabic (not supported)
% 7 - Greek
% 8 - Hebrew (3 signs missing)
% 11 - Thai (not supported)

\defineregimesynonym[il1][iso-8859-1]
\defineregimesynonym[il2][iso-8859-2]
\defineregimesynonym[il3][iso-8859-3]
\defineregimesynonym[il4][iso-8859-4]
\defineregimesynonym[il5][iso-8859-9]
\defineregimesynonym[il6][iso-8859-10]
\defineregimesynonym[il7][iso-8859-13]
%defineregimesynonym[il8][iso-8859-14]
\defineregimesynonym[il9][iso-8859-15]
\defineregimesynonym[il10][iso-8859-16]

\defineregimesynonym[latin1][iso-8859-1]
\defineregimesynonym[latin2][iso-8859-2]
\defineregimesynonym[latin3][iso-8859-3]
\defineregimesynonym[latin4][iso-8859-4]
\defineregimesynonym[latin5][iso-8859-9]
\defineregimesynonym[latin6][iso-8859-10]
\defineregimesynonym[latin7][iso-8859-13]
%defineregimesynonym[latin8][iso-8859-14]
\defineregimesynonym[latin9][iso-8859-15]
\defineregimesynonym[latin10][iso-8859-16]

% for historical reasons / compatibility
\defineregimesynonym[iso88595][iso-8859-5]
\defineregimesynonym[grk][iso-8859-7]



I don't know whether and how often people use all those encodings (I'm
only pretty sure that people use the cp1250 one). LaTeX offers all of
them for example. I would suggest at least to rename the five regimes
mentioned above and to point to the more consistent names using
synonyms. The mentioned regimes are all present on
http://pub.mojca.org/tex/enco/contextbase/, so it's up to you wheter
you add any of the other regimes to the distribution or perhaps better
wait till someone requests them. (There are so many files that taking
them all would almost require a separate folder.) I'm happy now that
cp1250 is in and I'm not using any other regime, so it's really not my
decision.

As far as I remember there were also some inconsistencies in the
present greek and cyrillic regime.
http://pub.mojca.org/tex/enco/contextbase/regi-vis.tex is slightly
different than the file in the distro (uses named glyphs), but
conceptually the same.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] feature request: clipping option for externalfigure

2006-04-07 Thread Peter Münster
On Fri, 7 Apr 2006, Taco Hoekwater wrote:

> Peter Münster wrote:
> > Hello,
> > I would like to clip an external eps-figure as LaTeX does with the clip
> > option.
> 
> Please browse through core-fig.tex. Around line 2100 there is
> documentation for the \clip and \setiupclipping commands.

Thanks! I tried different options (x=1,y=1 or width=0.5\textwidth etc) but
whenever I use \clip[...]{\externalfigure...} the figure disappears.

What options should I use, to clip just exactly to the bounding-box (as the
LaTeX clip-option)?

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] feature request: clipping option for externalfigure

2006-04-07 Thread Taco Hoekwater
Peter Münster wrote:
> Hello,
> I would like to clip an external eps-figure as LaTeX does with the clip
> option.

Please browse through core-fig.tex. Around line 2100 there is
documentation for the \clip and \setiupclipping commands.

Cheers, taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] version dates confuse me after upgrade

2006-04-07 Thread Sanjoy Mahajan
From:Taco Hoekwater <[EMAIL PROTECTED]>
> > Should I add these steps to the Wiki in the Debian installation page?
> 
> Yes, please. But everything except the 'fmt.d' step sounds applicable
> to other teTeX installations, so maybe you should create a completely
> new 'teTeX update' page.

I agree, but the perfect is the enemy of the good so I just put the
instructions on the Debian page for review (hopefully it's all okay).
Pieces can be transplanted to the generic tetex page as people check
them and find them okay.

From:Hans Hagen <[EMAIL PROTECTED]>
> > that method rather than the raw tetex method.  For one, xpdf has
> > recurring buffer overruns being discovered, and tetex (at least on
> >   
> afaik this does not affect pdftex, since it uses only a small part of 
> the xpdf library

You're right.  But tetex-3.0 gets updated quite often for various
reasons (15 updates in the last 12 months, from 3.0-1 to 3.0-15), and
I wanted to make a setup that doesn't involve any extra steps when
that happens (except for the one I cannot avoid now, reupdating
metapost to 0.901 -- but I sent Taco a Makefile to automate most of
that).

> > * deleted the ~/.texmf-var/web2c/{cont-en,mptopdf}.fmt (I didn't have
> >   any metafun formats or I would delete them too).
> >   
> hm, i could let texexec do that

That would be good.  Then I could delete that info from the Wiki
page.

> > * did "(cd ; kpsewhich  --format=fmt cont-en )" to find any other
> >   instances of cont-en.fmt, and then remove it:
> > rm /var/lib/texmf/web2c/cont-en.fmt
> >   Same for mptopdf and (if any) metafun.
> >   
> if you use newtexexe it will report more details about what it finds (it 
> is also more clever in making formats)

I'll have to try it -- although first I want to understand all the
corner cases with texexec.  Context folks develop software faster than
I can even read about it!  By the way, where is newtexexec?  I see the
newtexexec.rb in the .zip file, and could presumably run it with ruby,
but where is it supposed to end up?

> > * As root, ran update-texmf to regenerate /etc/texmf/texmf.cnf
> >   
> ah ...  i hate that kind of duplications ... a source of hard to trace 
> problems;  the teds (tex directory structure) is around for a while and 
> rather stable so i wonder why such config files have to en dup in etc; 
> just don't call it a config file; also, the kpse texmf.cnf model 
> provides for multiple cnf files

They preserve the TDS with a symlink: /usr/share/texmf/web2c/texmf.cnf
points to the /etc/texmf/texmf.cnf file.

> i remember from long ago that there's also some path trickery involved 
> (btw, i'm not sure where the binaries live)

Hmm, tell me more about that if you remember.

-Sanjoy
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] feature request: clipping option for externalfigure

2006-04-07 Thread Peter Münster
Hello,
I would like to clip an external eps-figure as LaTeX does with the clip
option.

Please consider the attachment as an example for en eps with white border
and the following LaTeX and ConTeXt code:

\starttext % no clipping possible here
bla bla bla bla bla bla bla bla bla bla bla bla

\externalfigure[test-img][width=0.5\textwidth]

bla bla bla bla bla bla bla bla bla bla bla bla
\stoptext

\documentclass{article}
\usepackage{graphicx}
\begin{document} % here the white border is clipped away
bla bla bla bla bla bla bla bla bla bla bla bla

\includegraphics[clip,width=0.5\textwidth]{test-img}

bla bla bla bla bla bla bla bla bla bla bla bla
\end{document}

Or is there already such (undocumented) feature?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

test-img.eps
Description: PostScript document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] More physml/units

2006-04-07 Thread Johannes Graumann
30

Does not work.

Joh

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] textmu non-italic?

2006-04-07 Thread Johannes Graumann
Works now with the newest ConTeXt.

Joh

Johannes Graumann wrote:

> Peter,
> 
> 'texnansi' didn't compile, but 'texansi' did ... however under
> \setupbodyfont[modern,12pt] \textmu still delivers an italicized
> version ...
> 
> Peter Münster wrote:
> 
>> On Thu, 6 Apr 2006, Johannes Graumann wrote:
>> 
>>> \defineXMLentity[00B5]  {\textmu}
>>> 
>>> seems to deliver an italic mu when using the standard font. Is there a
>>> way to get a 'straight' one?
>> 
>> I don't know about XML, but perhaps these two lines will help you:
>> 
>> \usetypescript[modern-base][texnansi]
>> \setupbodyfont[modern]
>> 
>> See also http://context.literatesolutions.com/collector/2
>> 
>> Cheers, Peter
>>


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Units and XML

2006-04-07 Thread Johannes Graumann
Something else:
How to define a custom unit (basepairs, bp) with physml/units?

Joh

Johannes Graumann wrote:

>
4
> 
> works with physml, but not with newmmu.
> 
> Geee, looks like I'm starting to find things in the guts of this ;0)
> 
> Joh
> 
> P.S.: What's your favorite beer/drink?
> 
> Joh


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Units and XML

2006-04-07 Thread Johannes Graumann
4

works with physml, but not with newmmu.

Geee, looks like I'm starting to find things in the guts of this ;0)

Joh

P.S.: What's your favorite beer/drink?

Joh

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Error while loading chemml

2006-04-07 Thread Johannes Graumann
Hans Hagen wrote:

> also grep for variant and make that alternative

Fixed. If I come across desirable functionality I'll let you know.

Joh

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XML and subscript

2006-04-07 Thread Johannes Graumann
Hans Hagen wrote:

> \defineXMLargument [sub] \low
Thanks, Hans!

Joh

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] latest stable release

2006-04-07 Thread Thomas A. Schmitz
I can confirm this. Font protrusion seems to be broken in the current  
release; whenever I switch it on, I get a similar error.

Thomas

On Apr 7, 2006, at 3:17 PM, Alan Bowen wrote:

> ! Missing number, treated as zero.
> 
> \relax
> \dododefineprotrudefactor ...pcode \handledfont #1
>\dimexpr #2
> \lproddimen \if...
>  ...ndash\endcsname }{0}{.3}}\donothing
>\let \char
> \normalchar
> \secondoftwoarguments #1#2->#2
>
> \dosetpairhandling ...ng \let \char \normalchar }}
>\fi
>  ...fineprotrudefactor endash 0 .3
>\dosetpairhandling
> \dodode...
> ...

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt Errors

2006-04-07 Thread Browder, Tom
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Renaud AUBIN
> Sent: Thursday, April 06, 2006 1:38 PM
> To: mailing list for ConTeXt users
> Subject: Re: [NTG-context] ConTeXt Errors
...
> I don't know fedora well, but it seems to have tetex already 
> installed (with an old release of ConTeXt) Try texexec --make 
> --all en and see if texexec --version returns something like this:
> 
>  TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
> 
>texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 
> 1997-2005
>texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 
> 1992-2006
>tex : pdfeTeX, 3.141592-1.30.6-2.2 (Web2C 7.5.5)
>context : ver: 2006.03.25 13:21
>cont-en : ver: 2006.03.25 13:21  fmt: 2006.4.4 

Thanks, Renaud.

I tried it, and the version output seems to be correct, but I still get
the same error.

I tried on my unmodified FC 5 installation at home and everything works
fine.

I'll be upgrading at work to FC 5 shortly and I hope to recover the
working installation.

-Tom
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] about the default bullets of itemized lists

2006-04-07 Thread Dalyoung Jeong
Dear all,

It is not a big problem, but I don't know why this curious thing  
happened.

A few days ago, I updated ConTeXt and made a format file for XeConTeXt.
I run a file which was compiled well before and got a strange  
results: at this time.
   all the bullets of the itemized lists are gone(no bullets).

After I changed the first \startitemize to \startitemize[1] only,  
then all the itemized lists in the whole text had a bullet again. If  
I changed [1] to [2] and [3], it disappeared again(including bullets  
for \head).
Is this normal? or are there something wrong in my setup or in my  
document?

Thank you for reading.

Dalyoung


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] latest stable release

2006-04-07 Thread Alan Bowen
The latest stable (ConTeXt  ver: 2006.04.06 23:00  fmt: 2006.4.7   
int: english  mes: english) release fails to compile a file that  
worked previously and returns the error message:


! Missing number, treated as zero.

\relax
\dododefineprotrudefactor ...pcode \handledfont #1
   \dimexpr #2 
\lproddimen \if...
 ...ndash\endcsname }{0}{.3}}\donothing
   \let \char  
\normalchar
\secondoftwoarguments #1#2->#2

\dosetpairhandling ...ng \let \char \normalchar }}
   \fi
 ...fineprotrudefactor endash 0 .3
   \dosetpairhandling  
\dodode...
...
l.97 \setupbodyfont[fourier,10.5pt]


I do not know if this is a problem with the new release—or whether I  
should make changes at my end to get it to work again. Any suggestions?

Alan
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] latest beta

2006-04-07 Thread Thomas A. Schmitz
Oops, I spake too soon. Both issues seem to be resolved with the  
current stable release! Sorry for the noise!

Thomas

On Apr 7, 2006, at 2:29 PM, Thomas A. Schmitz wrote:

> Hans and all,
>
> there are two unpleasant things in the lates releases which may be  
> bugs:
>
> 1. newtexexec --module --pdf does not work, it just doesn't process
> the modules (works with "old" texexec)
>
> 2. not sure if this is a misconfiguration on my system, but when I
> try to use texmfstart, I get this error:
>
> /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/
> kpseremote.rb:8:in `require': No such file to load -- base/kpse/drb
> (LoadError)
>  from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/
> base/kpseremote.rb:8
>  from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/
> texmfstart.rb:39:in `require'
>  from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/
> texmfstart.rb:39
>
> All best
>
> Thomas
> ___
> 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] latest beta

2006-04-07 Thread Thomas A. Schmitz
Hans and all,

there are two unpleasant things in the lates releases which may be bugs:

1. newtexexec --module --pdf does not work, it just doesn't process  
the modules (works with "old" texexec)

2. not sure if this is a misconfiguration on my system, but when I  
try to use texmfstart, I get this error:

/usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
kpseremote.rb:8:in `require': No such file to load -- base/kpse/drb  
(LoadError)
 from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
base/kpseremote.rb:8
 from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
texmfstart.rb:39:in `require'
 from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
texmfstart.rb:39

All best

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Error while loading chemml

2006-04-07 Thread Hans Hagen
Taco Hoekwater wrote:
> Johannes Graumann wrote:
>   
>> Hello,
>>
>> Loading the chemml module I get the following error:
>>
>> system  : macros of module chemml loaded
>> (/usr/share/texmf-tetex/tex/context/base/x-chemml.tex
>> xml : loading module cml
>> (/usr/share/texmf-tetex/tex/context/base/xtag-cml.tex
>> ! Undefined control sequence.
>>  \c!variant
>>   =\v!a
>> \xprocesscommaitem #1,#2->\if ,#1
>>  ,[EMAIL PROTECTED] \xprocesscommaitem \else
>> \if [EMAIL PROTECTED]
>>
>> \xdogetparameters #1]->\xprocesscommaitem #1,]
>>   ,[EMAIL PROTECTED]@
>> l.23 \setupCMLappearance [ion] [\c!variant=\v!a]
>>
>> I assume this will go away once I switch to the most recent ConTeXt?
>> 
>
> No, it will not. You have just discovered a bug in the very latest
> context. Line 23 should read:
>
> \setupCMLappearance [ion] [\c!alternative=\v!a]
>
>   
also grep for variant and make that alternative 

i'll rewrite the cml module (analogue to mml and pml) an dit will end uo in the 
next beta (so if one needs extra functionality ... this is the moment to ask 
for it) 

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

2006-04-07 Thread Renaud AUBIN




Hi all,

Up to now, I used:

\startnarrower[left]
\startitemize[2,packed,joinedup]
\item 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples
  cinématiques de classe V,
\item 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
  et 1 en translation) soit 1 couple cinématique de classe IV,
\item 1 liaison encastrement (pas de degré de liberté).
\stopitemize
\stopnarrower

to obtain:

    Un petit paragraphe juste pour faire une rapide démonstration de
ce que je veux obtenir :
    - 4 liaisons pivot (1 degré de liberté en
rotation) soit 4 couples
  cinématiques de classe V,
    - 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
  et 1 en translation) soit 1 couple cinématique de classe IV,
    - 1 liaison encastrement (pas de degré de liberté).

and I would obtain:

    Un petit paragraphe juste pour faire une
rapide démonstration de
ce que je veux obtenir :
    - 4 liaisons pivot (1 degré de liberté en
rotation) soit 4 couples
cinématiques de classe V,
    - 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
et 1 en translation) soit 1 couple cinématique de classe IV,
    - 1 liaison encastrement (pas de degré de liberté).

How to do that


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Error while loading chemml

2006-04-07 Thread Hans Hagen
Johannes Graumann wrote:
> Hello,
>
> Loading the chemml module I get the following error:
>
> system  : macros of module chemml loaded
> (/usr/share/texmf-tetex/tex/context/base/x-chemml.tex
> xml : loading module cml
> (/usr/share/texmf-tetex/tex/context/base/xtag-cml.tex
> ! Undefined control sequence.
>  \c!variant
>   =\v!a
> \xprocesscommaitem #1,#2->\if ,#1
>  ,[EMAIL PROTECTED] \xprocesscommaitem \else
> \if [EMAIL PROTECTED]
>
> \xdogetparameters #1]->\xprocesscommaitem #1,]
>   ,[EMAIL PROTECTED]@
> l.23 \setupCMLappearance [ion] [\c!variant=\v!a]
>
> I assume this will go away once I switch to the most recent ConTeXt?
>   
can you sen dme your test file? 

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


Re: [NTG-context] Error while loading chemml

2006-04-07 Thread Hans Hagen
Johannes Graumann wrote:
> Hello,
>
> Loading the chemml module I get the following error:
>
> system  : macros of module chemml loaded
> (/usr/share/texmf-tetex/tex/context/base/x-chemml.tex
> xml : loading module cml
> (/usr/share/texmf-tetex/tex/context/base/xtag-cml.tex
> ! Undefined control sequence.
>  \c!variant
>   
that should be 

\setupCMLappearance [ion] [\c!alternative=\v!a]


-
  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


Re: [NTG-context] Error while loading chemml

2006-04-07 Thread Taco Hoekwater


Johannes Graumann wrote:
> Hello,
> 
> Loading the chemml module I get the following error:
> 
> system  : macros of module chemml loaded
> (/usr/share/texmf-tetex/tex/context/base/x-chemml.tex
> xml : loading module cml
> (/usr/share/texmf-tetex/tex/context/base/xtag-cml.tex
> ! Undefined control sequence.
>  \c!variant
>   =\v!a
> \xprocesscommaitem #1,#2->\if ,#1
>  ,[EMAIL PROTECTED] \xprocesscommaitem \else
> \if [EMAIL PROTECTED]
> 
> \xdogetparameters #1]->\xprocesscommaitem #1,]
>   ,[EMAIL PROTECTED]@
> l.23 \setupCMLappearance [ion] [\c!variant=\v!a]
> 
> I assume this will go away once I switch to the most recent ConTeXt?

No, it will not. You have just discovered a bug in the very latest
context. Line 23 should read:

\setupCMLappearance [ion] [\c!alternative=\v!a]

Cheers, taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context2html

2006-04-07 Thread Mojca Miklavec
On 4/6/06, Todd DeVries wrote:
> Hi Everyone,
>
> I am attempting to get html output from a simple Context source
> without much success. Tex4ht has a small note about private
> configuration files and a htcontext script. Is anyone using this or
> should I be looking down another road. I'm running Miktex with an
> early march update of Context.

Most people use XML for that. (Unless you put a lot of effort into
writing some very basic and imperfect ConTeXt->HTML converter for
yourself, you'll have difficulties.)

See also this thread:
http://thread.gmane.org/gmane.comp.tex.context/22638/

(To put it in other words: HTML -> [ConTeXt] -> PDF is doable and not
that difficult, the inverse is almost impossible.)

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XML and chapter specific bibliographies

2006-04-07 Thread Taco Hoekwater


Johannes Graumann wrote:
> 
> Which works just the way I want it to for the first chapter BUT in the next
> one all citations from the first one are being included as well. Is there a
> mechanism to reset the bibliography after a chapter is processed?

\placepublications[criterium=local] should work.

Cheers, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] upload

2006-04-07 Thread Hans Hagen
Hi,

I uploaded new minimals and cdwincontext versions

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


Re: [NTG-context] Units and XML

2006-04-07 Thread Hans Hagen
Johannes Graumann wrote:
> Hello,
>
> Has anyone come up with a sense making way of coding units in XML and
> mapping them onto ConTeXt's 'units' module ... makes a knot in my brain ...
>   
there is a manual on the website ... physml

the old module:

\usemodule[physml]

the new one (newmml):

\usemodule[newmmu]

as in:

\usemodule[newmmu]

\starttext

Quick and dirty in||line units:

\startbuffer

   10 


\stopbuffer

\typebuffer \processXMLbuffer

A more \MATHML||like unit application:

\startbuffer
  
   10 
   
 
\stopbuffer

\typebuffer \processXMLbuffer

A bit more compact:

\startbuffer
  
   10 
   
 
\stopbuffer

\typebuffer \processXMLbuffer

A bit more complicated:

\startbuffer
  
 a   10  
   
 
\stopbuffer

\typebuffer \processXMLbuffer

An alternative (equivalent) for \type {}:

\startbuffer
  
   10   
 
\stopbuffer

\typebuffer \processXMLbuffer

\stoptext

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


Re: [NTG-context] XML and subscript

2006-04-07 Thread Hans Hagen
Johannes Graumann wrote:
> Hello,
>
> Aside from the revelation that I will have to leave my debian tetex and go
> with the newest ConTeXt install for the (relatively) heavy lifting I'm
> doing here, I will now post my accumulated end-of-day questions one by
> one ;0) Here's the first one:
>
> Why does this not work and what makes it work:
>
> \defineXMLgrouped [sub] \low
>   
\defineXMLargument [sub] \low

or 

\defineXMLnestedargument [sub] \low



-
  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