Re: [NTG-context] Keeping up-to-date under TeXLive

2007-12-22 Thread Joel C. Salomon
On Dec 21, 2007 9:17 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
> Create $HOME/texmf. Download justtex.zip, and cont-tmf.zip, cont-fnt.zip
> from pragma's website, and unzip them inside $HOME/texmf. Download the
> font files from TeX Gyre and unzip then in $HOME/texmf.

Do I need to set the TEXMFHOME environment variable?

Also: will downloading linuxtex.zip to the same place give me
up-to-date luatex, or will it just mess up my installation?

> Remake the formats, move the stubs and few programs to the path, and you
> are done.

Is there a command to remake the pdftex and xetex formats together?

Rather than moving programs, might it be easier to add
~/texmf//bin to the PATH?

> The only drawback of this is that you have to update manually. ctxtools
> --updatecontext unzip the file in TEXMFLOCAL, and not TEXMFHOME, so it
> does not work with this setup.

Hmm...  will the rsync update work, or do I need to download the zips?

Thanks for the suggestion; I'll report back on what works.

--Joel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Announcement - Windows Installer 1.1

2007-12-22 Thread Vyatcheslav Yatskovsky
Hello,

ANNOUNCEMENT

Mojca and I have updated the Windows installer for context.

http://minimals.contextgarden.net/setup/context-installer/ContextMinimalSetup.exe

It downloads latest distributive files, makes formats, and sets global OS vars. 
Tested with all engines.

Best,
Vyatcheslav Yatskovsky

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Setting up a project

2007-12-22 Thread Joel C. Salomon
On Dec 21, 2007 4:08 PM, Wolfgang Schuster
<[EMAIL PROTECTED]> wrote:
> >   textwidth=288pt, textheight=432pt,
>
> replace these two lines with
>
> width=288pt and height=432pt
>
> don't use textwidth and textheight in \setuplayout.

Actually, "width=288pt, textheight=432pt," gives me exactly the result
I wanted.  I'd just like to be able to set the distance between the
top of the paper and the top of the text area directly, as in
header=12pt, headerdistance=12pt, something=72pt
rather than what I'm currently using:
header=12pt, headerdistance=12pt, topspace=48pt, % 48 = 72 - (12+12)
Is this possible, and what is the something's name?

> leftmargindistance is only the distance between the textarea and the
> left box for the left margin, the layout concept could be a little bit
> confusing.

Ya think maybe? ;)

Thanks for the help,
--Joel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] migrating to ConTeXt

2007-12-22 Thread Gour
On Sat, 22 Dec 2007 21:09:49 +0100
"Mojca Miklavec" <[EMAIL PROTECTED]> wrote:

> > > (We'll drop that letter from our keyboards soon :)
> >
> > Oh, then I'll stay with friendly lyx/latex...
> 
> What does lyx have to do with đ and the (Slovenian) keyboard?

Ahh, I understood you will start a party to remove support for 'đ' from ConTeXt 
as well :-)

> Most problems have been resolved about two years ago. But it's true -
> đ didn't work for at least half a dozen of different reasons :)

ok, ok...I'm 50% sold-out to move to ConTeXt ;)


> 2002? That must be somewhere aroud the bronze age for ConTeXt :-)

Now is golden age?

> Well ... I would say ... you need to start somewhere and once you
> stumble upon something you don't know how to convert, ask on the list.

Sure. I'll soon start posting when attempting to mimic some LaTeX behaviour.

> That's a taboo, that's why your original question has been removed :)

Heh, that's why I felt some bad-smell...well, maybe I'm more persistent this 
time
and/or someone is bold enough to speak about taboos :-)


Sincerely,
Gour
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] migrating to ConTeXt

2007-12-22 Thread Mojca Miklavec
On Dec 22, 2007 3:19 PM, Gour wrote:
>
> > (We'll drop that letter from our keyboards soon :)
>
> Oh, then I'll stay with friendly lyx/latex...

What does lyx have to do with đ and the (Slovenian) keyboard?

> > That was before anyone started complaining about its
> > non-functionality :).
>
> When I was exploring  ConTeXt I was told about that from someone
> else. Strange, it was going on...

Most problems have been resolved about two years ago. But it's true -
đ didn't work for at least half a dozen of different reasons :)

> > Which general utf-8 problems? There might be some issues every now and
> > then (in pdfTeX each character has to be defined separately and in
> > LuaTeX there might be some new unpolished/non-debugged features), but
> > they're usually resolved once someone complains. Exotic scripts don't
> > work in pdfTeX of course.
>
> See ml's archives in '02.

2002? That must be somewhere aroud the bronze age for ConTeXt :-)

> > AUCTeX is LaTeX oriented I guess, but I don't knom the details.
>
> It says it supports ConTeXt and it does ;)

I'm sorry. I don't know that tool at all.

> > It always depends on source, so creating a general converter is
> > impossible. I would run "search and replace" a few times (depending on
> > source), but that cannot solve everything.
>
> OK. This is not the rush.

Well ... I would say ... you need to start somewhere and once you
stumble upon something you don't know how to convert, ask on the list.

> What about my last point: docs ?

That's a taboo, that's why your original question has been removed :)

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Keeping up-to-date under TeXLive

2007-12-22 Thread Peter Münster
On Fri, Dec 21, 2007 at 12:22:11PM -0500, Joel C. Salomon wrote:
>
> My new Ubuntu installation includes TeXLive version 2007-10.  Is there
> a way for me to keep the ConTeXt part of this up-to-date with current
> (stable) versions?  Considering that I have XeTeX 0.996, do I want to,
> or should I stick with what currently works?

Hello Joel,

Here another alternative:
- don't install any TeX-live package from Ubuntu
- installation of the latest development snapshot of TeX-live (including
  latest versions of luatex, pdftex, metapost and xetex with the command
  "rpmbuild --rebuild --force http://pmrb.free.fr/texlive/texlive.nosrc.rpm";
  (I did not test it on Ubuntu, only on openSUSE, so I would be glad, if
  you could give me feedback if you test it on Ubuntu.)
- ConTeXt update with command "updateConTeXt.sh" (current version) or
  "updateConTeXt beta" (beta version)
- LuaTeX update with command "updateLuaTeX.sh" (trunk version)

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] migrating to ConTeXt

2007-12-22 Thread Gour
On Sat, 22 Dec 2007 14:33:12 +0100
"Mojca Miklavec" <[EMAIL PROTECTED]> wrote:

> Yes, except that there is no beamer package available in ConTeXt , but
> theoretically "anything can be done".

Sure ;)

> 
> In addition to the core functionality:
> http://modules.contextgarden.net/taspresent
> http://modules.contextgarden.net/t-rsteps

Thanks.

> 2.56$ for the first buggy đ found in ConTeXt :-)

He, he...let's try...

> (We'll drop that letter from our keyboards soon :)

Oh, then I'll stay with friendly lyx/latex...

> That was before anyone started complaining about its
> non-functionality :).

When I was exploring  ConTeXt I was told about that from someone
else. Strange, it was going on...

> Now, unless fonts are problematic, it should work flawlessly. (not
> with texfont, since it uses ec.enc which is broken, but texfont is now
> a history anyway)

Let it stay 'history'.

> Which general utf-8 problems? There might be some issues every now and
> then (in pdfTeX each character has to be defined separately and in
> LuaTeX there might be some new unpolished/non-debugged features), but
> they're usually resolved once someone complains. Exotic scripts don't
> work in pdfTeX of course.

See ml's archives in '02. utf-8 support was quite young then and I thought
XML has some value :-)

> You can always write incompatible code (by using XeTeX primitives),

Not soon :-)

> but in general you should be able to process XeTeX (ConTeXt) documents
> with LuaTeX without any problem (the only warning sign is that font
> definitions might still change a bit, but that only means changing a
> few top lines in your style file). i

Ohh, that's cool...the work is under the hood...

> The reverse is not neccessary true  since you cannot use Lua in XeTeX.

Sure.

> > 3) can one run luaTeX on x86_64 (I use Arch Linux & texlive) ?
> 
> Sure.

That's nice. Both laptop & desktop are 64-bit here.

> AUCTeX is LaTeX oriented I guess, but I don't knom the details.

It says it supports ConTeXt and it does ;)

> It always depends on source, so creating a general converter is
> impossible. I would run "search and replace" a few times (depending on
> source), but that cannot solve everything.

OK. This is not the rush.

What about my last point: docs ?

Sincerely,
Gour
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] migrating to ConTeXt

2007-12-22 Thread Gour
On Sat, 22 Dec 2007 12:00:48 +0100
Jean Magnan de Bornier <[EMAIL PROTECTED]> wrote:

[...]

Thanks.

> AucTeX support for ConTeXt is quite good, but I fear that a
> preview-latex equivalent is out of reach now (although is has been
> announced a while back).

I explored mailing-archives a bit, but didn't find much :-(
so I sent a post to the list.

> welcome !

Thank you.


Sincerely,
Gour

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] unable update context minimal

2007-12-22 Thread Mojca Miklavec
On Dec 22, 2007 1:26 PM, raven aloof wrote:
> Hi everybody...
>
> I downloaded 'contex-setup-linux-64.zip minimals' and I have not had any
> problem to install it; but, when I try to make 'ctxtools --update', it
> generates.:

ctxtools --updatecontext:
- is not aware of those changes (texmf-local moved to texmf-context)
- it makes no sense to download and extract from zip files - rsync is
a better way

I still update with first-setup.sh (ugly, I know), but that
functionality will move to ctxtools --updatecontext once.

> 
> How do I update 'contex', 'luatex', ...? Or do I download a minimum version
> whenever I want to update, again and again?

No, the idea is to run rsync. (I do it with running first-setup again,
even though that's ugly.)
Once mtx-update.lua (and the location) is stable, it will probably be
integrated into ConTeXt.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] migrating to ConTeXt

2007-12-22 Thread Mojca Miklavec
On Dec 22, 2007 11:01 AM, Gour wrote:

> My writing needs are from short & simple docs (1--few pages long) over 
> preparing
> educational presentations (with handouts) illustrated with graphics (both 
> images & SVG) for
> seminars (beamer-like) to be used with video-projector in classroom-like 
> environments upt to
> the  full size books by using Croatian & English languages and Sanskrit 
> diacritics (not Devanagari
> at the moment :-)
>
> So I'm interested whether:
>
> 1) ConTeXt can support all the above requirements?

Yes, except that there is no beamer package available in ConTeXt , but
theoretically "anything can be done".

In addition to the core functionality:
http://modules.contextgarden.net/taspresent
http://modules.contextgarden.net/t-rsteps

> (In the past there were issues with some Croatian chars - iirc - đ & Đ and 
> some utf-8 problems in
> general.)

2.56$ for the first buggy đ found in ConTeXt :-)
(We'll drop that letter from our keyboards soon :)

That was before anyone started complaining about its non-functionality :).

Now, unless fonts are problematic, it should work flawlessly. (not
with texfont, since it uses ec.enc which is broken, but texfont is now
a history anyway)

Which general utf-8 problems? There might be some issues every now and
then (in pdfTeX each character has to be defined separately and in
LuaTeX there might be some new unpolished/non-debugged features), but
they're usually resolved once someone complains. Exotic scripts don't
work in pdfTeX of course.

> 2) If I start with XeTeX engine, will those documents will be compatible with 
> Mark IV?

You can always write incompatible code (by using XeTeX primitives),
but in general you should be able to process XeTeX (ConTeXt) documents
with LuaTeX without any problem (the only warning sign is that font
definitions might still change a bit, but that only means changing a
few top lines in your style file). The reverse is not neccessary true
since you cannot use Lua in XeTeX.

> 3) can one run luaTeX on x86_64 (I use Arch Linux & texlive) ?

Sure.

> 4) how good is ConTeXt support in AUCTeX and what is the prospect to get 
> preview-ConTeXt?

AUCTeX is LaTeX oriented I guess, but I don't knom the details.

> 5) I read LaTeX in proper ConTeXt pdf, but I'm interested is there some 
> helper to convert classical
> LaTeX book (book class) to ConTeXt? I've two books which I'm considering to 
> publish as one (~1000p)
> in the future, so any help in conversion would be nice.

It always depends on source, so creating a general converter is
impossible. I would run "search and replace" a few times (depending on
source), but that cannot solve everything.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] unable update context minimal

2007-12-22 Thread raven aloof
Hi everybody...

I downloaded 'contex-setup-linux-64.zip minimals' and I have not had any
problem to install it; but, when I try to make 'ctxtools --update', it
generates.:

/opt/context/tex/texmf-linux-64/bin/texmfstart:1755: warning: Insegure world
writable dir /tmp/ in PATH, mode 041777
/op/context/tex/texmf-context/scripts/context/ruby/base/system.rb:16:warning:
Insegure world writable dir /tmp/ in PATH, mode 041777
CtxTools | updating /opt/context/tex/texmf-context:/opt/context/tex/texmf
CtxTools | unable to change to
/opt/context/tex/texmf-context/:/opt/context/tex/texmf

I am owner of '/opt/context' and '/tmp dir' are into '/opt/context/tmp' with
'1777 permissions'. The configuration files are.:

TEXMFCACHE=/opt/contex/tmp
TEXMFTEMP=$TEXMFCACHE
TEXMF_HOME=/opt/context/tex
TEXMF_BIN=${TEXMF_HOME}/texmf-linux-64/bin

PATH=$TEXMFCACHE:$TEXMFTEMP:$TEXMF_HOME:$TEXMF_BIN:$PATH

export TEXMFCACHE TEXMFTEMP TEXMF_HOME TEXMF_BIN PATH

The 'luatex', 'xetex', ... are correct; i.e.:

luatex --version | head -1
This is LuaTeX, Version snapshot-0.20.2-2007121718

xetex --version | head -1
XeTeX 3.141592-2.2-0.997 (Web2C 7.5.6)

How do I update 'contex', 'luatex', ...? Or do I download a minimum version
whenever I want to update, again and again?

Huge work guys and thanks for possible help
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] migrating to ConTeXt

2007-12-22 Thread Jean Magnan de Bornier
Le 22 décembre à 11:01:22 Gour <[EMAIL PROTECTED]> écrit notamment:

| My writing needs are from short & simple docs (1--few pages long) over 
preparing
| educational presentations (with handouts) illustrated with graphics (both 
images & SVG) for
| seminars (beamer-like) to be used with video-projector in classroom-like 
environments upt to
| the  full size books by using Croatian & English languages and Sanskrit 
diacritics (not Devanagari
| at the moment :-)

Hi,
For short documents and presentations you might find emacs-muse handy:
http://mwolson.org/projects/EmacsMuse.html

For more options on presentations see:
http://wiki.contextgarden.net/Presentations

AucTeX support for ConTeXt is quite good, but I fear that a preview-latex
equivalent is out of reach now (although is has been announced a while
back).

welcome !
-- 
Jean
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] migrating to ConTeXt

2007-12-22 Thread Gour
On Sat, 22 Dec 2007 10:13:31 +0100
"luigi scarso" <[EMAIL PROTECTED]> wrote:

> hmm...boh.

:-)

> It depends:
> I prefear one email for each question plus an example to test;

OK. Will remember for the future...

> but maybe your questions are easy, so it's better one email .
> (BTW, it's not easy to say which questions are trivials )

My writing needs are from short & simple docs (1--few pages long) over preparing
educational presentations (with handouts) illustrated with graphics (both 
images & SVG) for
seminars (beamer-like) to be used with video-projector in classroom-like 
environments upt to
the  full size books by using Croatian & English languages and Sanskrit 
diacritics (not Devanagari
at the moment :-)

So I'm interested whether:

1) ConTeXt can support all the above requirements?

(In the past there were issues with some Croatian chars - iirc - đ & Đ and some 
utf-8 problems in
general.)

2) If I start with XeTeX engine, will those documents will be compatible with 
Mark IV?

3) can one run luaTeX on x86_64 (I use Arch Linux & texlive) ?

4) how good is ConTeXt support in AUCTeX and what is the prospect to get 
preview-ConTeXt?

5) I read LaTeX in proper ConTeXt pdf, but I'm interested is there some helper 
to convert classical
LaTeX book (book class) to ConTeXt? I've two books which I'm considering to 
publish as one (~1000p)
in the future, so any help in conversion would be nice.

6) the most important issue - by looking at luaTeX docs & archives I
noticed that it was mentioned there is some book on ConTeXt in
preparation - I gave up on ConTeXt in the past due to this reason -
lack of up-to-date documentation - didn't have enough time to try to
sovle the puzzle by inspecting different 'magazines' etc. cause I was
able to do the kob with LaTeX for which I've documentation in the form
of paper books. I have high appreciation for the ConTeXt package, as
well as the present luaTeX development, but before diving into
adventure of learning the (new) macro package (as investment for the
future), I'm curious to know what is the present situation with the
docs and/or if one can expect to buy some dead-tree version of it in
the not-so-distant future?


I hope the above questions are not too difficult so they justify putting them 
in a single email.

Sincerely,
Gour
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] migrating to ConTeXt

2007-12-22 Thread luigi scarso
> Have several questions, so before firing them up, I'd like to ask about
> general etiquette on the list: should I throw them all in one email or
> divide as one_question/email ?

hmm...boh.

It depends:
I prefear one email for each question plus an example to test;
but maybe your questions are easy, so it's better one email .
(BTW, it's not easy to say which questions are trivials )
-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007

it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] migrating to ConTeXt

2007-12-22 Thread Gour
Hi!

Recently I switched to emacs editor and at considered to leave lyx.

At the same time, I'm again considering ConTeXt (was playing with it some
years ago when it was receiving utf-8 support)  - after reading about
luaTeX & MkIV development.

Have several questions, so before firing them up, I'd like to ask about
general etiquette on the list: should I throw them all in one email or
divide as one_question/email ?

Sincerely,
Gour


signature.asc
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Chemistry in lists

2007-12-22 Thread Shen Chen
Hi all,


I have some chemical formulae in chapter heading and figure captions,
typeset with the chemic module. The chemic module always uses roman font as
desired.

When I include them in table of contents and list of figures, the chemical
formulae appears in math italic font instead of roman font. See the
following code for example. Chemic Manual mentioned using \rm but it doesn't
seem to be the case. $\rm H_2O$ works fine in the list, but not
\chemical{H_2O}. Any suggestions? Thank you.

\usemodule[chemic]
\starttext

\writetolist[chapter]{}{ABC}
\writetolist[chapter]{}{$H_2O$}
\writetolist[chapter]{}{$\rm H_2O$}
\writetolist[chapter]{}{\chemical{H_2O}}
\completecontent

\stoptext


Regards,
shenchen

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___