RE: [NTG-context] Not seeing the wood because of so many trees

2004-02-17 Thread "Höppner, Dierk"
I would second that. I can use it in computer program documentation for many
different things.

Greetings

Dierk

> -Original Message-
> From: Thomas A.Schmitz [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 17, 2004 9:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [NTG-context] Not seeing the wood because of so 
> many trees
> 
> 
> Sorry for going back to an older thread, but I don't think 
> the question 
> was answered properly. Alexander Klink wanted to know how to typeset 
> "{" and "}". Suggestions were "\type|{| and \type|}|" or "$\{$ and 
> $\}$". Neither of which is satisfactory, because it will typeset them 
> either in typewriter or in math font. We had a discussion 
> about similar 
> questions a while ago. I still think we should have "\{" and 
> "\}" for  
> this kind of thing. As long as this isn't available, I see no better 
> solution than "\getglyph{Serif}{123}" and 
> "\getglyph{Serif}{125}" vel. 
> sim. For those of us working in the humanities, these curly 
> braces are 
> sometimes necessary (e.g., in critical editions), and having them in 
> typewriter or math fonts isn't acceptable. So may I continue my rally 
> for \{ etc.?
> 
> All best
> 
> Thomas
> 
> ___
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not seeing the wood because of so many trees

2004-02-17 Thread Johannes Hüsing
A couple of fonts, including Computer Modern Roman, do not have 
curly braces as glyphs. As Computer Modern Roman is the brick-and-mortar
font of TeX, few people bother that there is no explicit token/command
that evokes it.

You have a point though.

-- 
Johannes Hüsing   There is something fascinating about science. One gets
[EMAIL PROTECTED]  such wholesale returns of conjecture from such a 
  trifling investment of fact.Mark Twain
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bfmath in nath

2004-02-17 Thread Gary Pajer

- Original Message - 
From: "David Munger" <[EMAIL PROTECTED]>

> bold omegas, so the problem has to be in t-nath.tex.
>
> Btw, this nath module is very useful to me. If I'd be able to do some
> debugging into it, I sure would. Could you please point me to some
> ConTeXt hacking references?

Ditto.  I'd be willing to do some debugging as well... maybe some of us
could informally try to smooth it out.

-gary

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] t-nath difficulty

2004-02-17 Thread Gary Pajer

- Original Message - 
From: "William D. Neumann" <[EMAIL PROTECTED]>


> On Mon, 16 Feb 2004, Gary Pajer wrote:
>
> > In the following code, the first formula typesets as I want, and the
> > second doesn't.  But the syntax in the second looks correct.
> > Bug or feature?  or setup problem?
> >
> > \usemodule[nath]
> > \starttext
> >
> > $ y = (1 + \frac{}{a}{b}) $
> >
> > $ y = (1 + \frac{a}{b}) $
> > \stoptext
>
> What problem are you having?  I tried this example and got the following
> output (only typset nicely, of course):
>
> y = (1 + (/a)b)
> y = (1 + a/b)
>
> Which appears to be the correct output.  Are you using the current
> t-nath/t-amsl (from december 2003, I believe)?

I have the dec 03 t-nath and version 2003.12.10 ConTeXt.

for the first line I get

y=(1 + a/b)

what I get for the second line is hard to type, but it's what you would
expect from
$y = (1 + a\frac{b}{)}  $

so it's as if it's screwing up the arguments:  looking for three of them,
putting the first in front of the fraction, the second in the numerator and
the third in the denom.  I've tried several different examples.  They all
behave exactly as if the arguments are munged in this way.

I must be doing something wrong.  But I cut and pasted the code from the
e-mail I sent out and processed it, and I got the error I describe.

If I run it through LaTeX, I get what you describe (and what one would
expect).
It's odd that we get different results. FWIW  I'm on WinXP using MikTeX but
with a ConTeXt from pragma-ade installed in localtexmf.
Oh ... I get the same wrong result on Mac OSX/teTeX/brand new ConTeXt.
I must be doing something wrong.  Clues?

-gary


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bfmath in nath

2004-02-17 Thread David Munger
Hello,

The following outputs a nice bold displayed omega (the first one), and  
a thin normal inline one (the second one):

\usemodule [nath]
\setupbodyfont [12pt]
\definebodyfont [12pt] [mm] [mibf=cmmib10 sa 1]
\starttext
\[\bfmath \omega\] $\bfmath \omega$
\stoptext
Note that replacing nath with amsl in \usemodule[nath] results in two  
bold omegas, so the problem has to be in t-nath.tex.

Btw, this nath module is very useful to me. If I'd be able to do some  
debugging into it, I sure would. Could you please point me to some  
ConTeXt hacking references?

Thanks in advance,

David
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] live ConTeXt

2004-02-17 Thread Willi Egger
Hi Piotr,

There are several possibilities to get a running TeX-system. Normally 
the freely distributed CDs contain a fairly outdated set of files 
including also an aged ConTeXt-version. I would suggest to download TeX 
live from CTAN. Otherwise GUST should be able to provide you an 
up-to-date TeX live. If you have a running TeX system but no ConTeXt you 
can fetch ConTeXt archives from www.pragma-ade.com

Kind regrds
Willi
Piotr Kopszak wrote:

Good evening, 

As there are  plenty of live linux distributions on  CDs I was wondering
if there is  one that includes ConTeXt. It  should be relatively easy
to make one based on KNOPPIX (my computer is too weak though). Please,
let me know if you find one. 

Piotr



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] live ConTeXt

2004-02-17 Thread George N. White III
On Tue, 17 Feb 2004, Piotr Kopszak wrote:

> As there are  plenty of live linux distributions on  CDs I was wondering
> if there is  one that includes ConTeXt. It  should be relatively easy
> to make one based on KNOPPIX (my computer is too weak though). Please,
> let me know if you find one.

ConTeXt often needs little fixes, so a simple way to install updates and
generate new efmt files is needed.  Thus it isn't really practical to
rely entirely on a CD-based distro, and in any case, you need something
other than ram to write the output files.  You will do better to stick
with a robust distro like knoppix and find a way to use ConTeXt.

XP users can have texmf trees in their hard disk user data area that
knoppix can read, but writing to NTFS seems a bit dodgy.
Knoppix does, however, include everything you need to create user
accounts with specific UID/GID and mount NFS directories, so if you
can arrange a suitable NFS server, everything can live there.  All
this can be done using knoppix.sh to start the necesary services
and unpack a new home directory from a user.tbz file.  You will need
to save a configs.tbz after adding the required group and user passwd
entry (vigp, adduser, vipw, etc) and creating an fstab entry
for the nfs mount.

Here is the relevant section from a tweaked knoppix.sh:

echo "Starting daemons..."
for i in  ifupdown networking portmap nfs-common sysklogd ; do
[ -x /etc/init.d/$i ] && /etc/init.d/$i start; done
[ -d "$1" ] && CONFIGS="$1/TEXUSER.tbz"
[ -f "$CONFIGS" ] || CONFIGS="/mnt/floppy/TEXUSER.tbz"
if [ -f "$CONFIGS" ]; then
echo "^[[1mExtracting config archive $CONFIGS...^[[0m"
tar -jpPxf "$CONFIGS" ; chown -R UID.GID /home/TEXUSER
fi
mkdir /mnt/NFS_SERVER && mount /mnt/NFS_SERVER

The usual config.tbz file will provide modified fstab, group, passwd, etc.
files.  The TEXUSER.tgz file can provide scripts to add TeX to the
user's PATH, etc.  Use "su TEXUSER" to become the new user.

--
George N. White III  <[EMAIL PROTECTED]>
  Head of St. Margarets Bay, Nova Scotia, Canada

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not seeing the wood because of so many trees

2004-02-17 Thread Thomas A . Schmitz
Sorry for going back to an older thread, but I don't think the question 
was answered properly. Alexander Klink wanted to know how to typeset 
"{" and "}". Suggestions were "\type|{| and \type|}|" or "$\{$ and 
$\}$". Neither of which is satisfactory, because it will typeset them 
either in typewriter or in math font. We had a discussion about similar 
questions a while ago. I still think we should have "\{" and "\}" for  
this kind of thing. As long as this isn't available, I see no better 
solution than "\getglyph{Serif}{123}" and "\getglyph{Serif}{125}" vel. 
sim. For those of us working in the humanities, these curly braces are 
sometimes necessary (e.g., in critical editions), and having them in 
typewriter or math fonts isn't acceptable. So may I continue my rally 
for \{ etc.?

All best

Thomas

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] live ConTeXt

2004-02-17 Thread Piotr Kopszak
Good evening, 

As there are  plenty of live linux distributions on  CDs I was wondering
if there is  one that includes ConTeXt. It  should be relatively easy
to make one based on KNOPPIX (my computer is too weak though). Please,
let me know if you find one. 

Piotr



-- 
   Piotr Kopszak, Ph.D.  
   Polish Art Gallery, National Museum in Warsaw
   ->http://kopszak.mnw.art.pl/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] Not seeing the wood because of so many trees

2004-02-17 Thread "Höppner, Dierk"
Hello Tobias and Alexander,

both works. Thank you. I didnt know that I can use '|' instead of '{'}. But
one thing does not work:

{\bf $\{$} 

does not print the '{' bold faced :-(

Is there a workaround for this problem?

Greetings

Dierk Höppner

> -Original Message-
> From: Tobias Burnus [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 13, 2004 4:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [NTG-context] Not seeing the wood because of so 
> many trees
> 
> 
> Hello,
> 
> On Fri, Feb 13, 2004 at 01:29:48PM +0100, Alexander Klink wrote:
> > > How do I print '{' and '}'. You may answer with RTFM but 
> please name the M
> > > and page!
> > what about \type|{| and \type|}| (just like \verb in LaTeX)?
> Or $\{$ and $\}$ which uses the math font instead of the typewriter
> front.
> 
> Regards,
> 
> Tobias
> ___
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Error with XML and JS

2004-02-17 Thread Hans Hagen
At 00:56 17/02/2004, you wrote:
Hello,

Continuing the ConTeXt exploration with Hans's help:



I'm trying to combine Hans's JS programming with XML processing but an 
error pops up
at the top of your document say:

  \useJSscripts[fld] % and/or others

this will load the script before xml mode is entered

(there are other ways, like usign a different special char regime)

Hans





-
  Hans Hagen | PRAGMA ADE/POD/CTS
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context