[NTG-context] French spacing with pdfTeX-1.40 and ConTeXt-beta

2006-11-08 Thread Peter Münster
Hello,

my attempt to get correct French spacing before punctuation does no more
work with the latest ConTeXt-beta.
Is there now a new method with pdfTeX-1.40 to get automatically the good
spacing?

Today I try it like this (without success):

%%% module t-french.tex %%%

\def\activateSomeCharacters{%
  \defineactivecharacter « {\leftguillemot\,}%  does not work
  \defineactivecharacter » {\,\rightguillemot}% with utf-encoding
%
%  \defineactivecharacter ; {\,\lettersemicolon}%   does not work
%
  \defineactivecharacter ? {\,\letterquestionmark}%does not work with
  \defineactivecharacter : {\,\lettercolon}% project/product
  \defineactivecharacter ! {\,\letterexclamationmark}}%structure

\startlanguagespecifics[fr]
  \activateSomeCharacters
  \setupitemize[symbol=2]
  \lccode`\'=`\'
\stoplanguagespecifics

\mainlanguage[fr]

\appendtoks\activateSomeCharacters\to\everystarttext


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

2006-11-08 Thread Mojca Miklavec
On 06 Nov 2006 14:33:11 +0100, Antoine Junod wrote:
 Hello list,

 I'm trying to install new fonts in my texmf tree but at each try I
 stop at the same point, when compiling my test file:

 (./type-doulos.tex)
 ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) 
 file
  not found.

 \starttypescript [serif] [doulos] [texnansi]
   \definefontsynonym[DoulosSIL][texnansi-DoulosSILR][encoding=texnansi]
 \stoptypescript

 \starttypescript [serif] [doulos] [name]
   \definefontsynonym[Serif] [DoulosSil]
 \stoptypescript

Does it help if you change
\definefontsynonym[Serif] [DoulosSil]
into
   \definefontsynonym[Serif] [DoulosSIL]
?

For DuolosSil there is currently no synonym defined in the what you
posted above.

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


[NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread Johan Sandblom
On Debian testing/unstable with
texlive-metapost/testing uptodate 2005.dfsg.2-2
texlive-base/testing uptodate 2005.dfsg.2-3
texlive-common/testing uptodate 2005.dfsg.2-3
texlive-base-bin/testing uptodate 2005.dfsg.2-2

and the new context package from www.tug.org/texlive/Debian version
2006.08.08 the following text file processes without error but has no
graphic

\starttext
\startuseMPgraphic{test}
draw (0,0)..(1,0)..(1,1)..(1,0)..cycle scaled 5cm withcolor black ;
\stopuseMPgraphic
\useMPgraphic{test}
\stoptext

Further investigation revealed that

[EMAIL PROTECTED]:~$ mpost -progname=metafun -mem=metafun mptest-mpgraph.mp
This is MetaPost, Version 0.901 (Web2C 7.5.5)
(mptest-mpgraph.mpSegmentation fault

Mpost segfaulted, which I have never seen and have no idea how to
pursue. More details:

[EMAIL PROTECTED]:~$ mpost --version
MetaPost 0.901 (Web2C 7.5.5)
kpathsea version 3.5.5
Copyright 2005 ATT Bell Laboratories.
Kpathsea is copyright 2005 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the MetaPost copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the MetaPost source.
Primary author of MetaPost: John Hobby.
Kpathsea written by Karl Berry, Olaf Weber, and others.


[EMAIL PROTECTED]:~$ locate metafun.mem
/etc/texmf/web2c/metafun.mem
/var/lib/texmf/web2c/metafun.mem
-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread Norbert Preining
On Mit, 08 Nov 2006, Johan Sandblom wrote:
 [EMAIL PROTECTED]:~$ locate metafun.mem
 /etc/texmf/web2c/metafun.mem
 /var/lib/texmf/web2c/metafun.mem

The mem file in /etc/texmf/web2c seems VERY FISHY!!! Please remove it.
Probably metapost loads a wrong metafun.mem file.

Best wishes

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Università di Siena
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
AMERSHAM (n.)
The sneeze which tickles but never comes. (Thought to derive from the
Metropolitan Line tube station of the same name where the rails always
rattle but the train never arrives.)
--- Douglas Adams, The Meaning of Liff
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread Johan Sandblom
I did. No change.

Regards, Johan

2006/11/8, Norbert Preining [EMAIL PROTECTED]:
 On Mit, 08 Nov 2006, Johan Sandblom wrote:
  [EMAIL PROTECTED]:~$ locate metafun.mem
  /etc/texmf/web2c/metafun.mem
  /var/lib/texmf/web2c/metafun.mem

 The mem file in /etc/texmf/web2c seems VERY FISHY!!! Please remove it.
 Probably metapost loads a wrong metafun.mem file.

 Best wishes

 Norbert

 ---
 Dr. Norbert Preining [EMAIL PROTECTED]Università di 
 Siena
 Debian Developer [EMAIL PROTECTED] Debian TeX Group
 gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 
 B094
 ---
 AMERSHAM (n.)
 The sneeze which tickles but never comes. (Thought to derive from the
 Metropolitan Line tube station of the same name where the rails always
 rattle but the train never arrives.)
 --- Douglas Adams, The Meaning of Liff



-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread Norbert Preining
On Mit, 08 Nov 2006, Johan Sandblom wrote:
 texlive-metapost/testing uptodate 2005.dfsg.2-2
 texlive-base/testing uptodate 2005.dfsg.2-3
 texlive-common/testing uptodate 2005.dfsg.2-3
 texlive-base-bin/testing uptodate 2005.dfsg.2-2
 
 and the new context package from www.tug.org/texlive/Debian version
 2006.08.08 the following text file processes without error but has no
 graphic

Strange enough, on my computer I don't see this problem. The file
contains the graphics.

 [EMAIL PROTECTED]:~$ mpost -progname=metafun -mem=metafun mptest-mpgraph.mp
 This is MetaPost, Version 0.901 (Web2C 7.5.5)
 (mptest-mpgraph.mpSegmentation fault

 [EMAIL PROTECTED]:~$ locate metafun.mem
 /etc/texmf/web2c/metafun.mem
 /var/lib/texmf/web2c/metafun.mem

Maybe some other files in /etc/texmf/web2c are interfering. metapost
pool files would be an idea. Can you send me the list of files in
/etc/texmf/web2c?

I have thee ONLY mktex.cnf!!!


Best wishes

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Università di Siena
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
DUNGENESS (n.)
The uneasy feeling that the plastic handles of the overloaded
supermarket carrier bag you are carrying are getting steadily longer.
--- Douglas Adams, The Meaning of Liff
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread Johan Sandblom
Hi,

2006/11/8, Tobias Burnus [EMAIL PROTECTED]:
 Hi,

 Norbert Preining wrote:
  On Mit, 08 Nov 2006, Johan Sandblom wrote:
 
  [EMAIL PROTECTED]:~$ locate metafun.mem
  /etc/texmf/web2c/metafun.mem
  /var/lib/texmf/web2c/metafun.mem
 
  The mem file in /etc/texmf/web2c seems VERY FISHY!!! Please remove it.
  Probably metapost loads a wrong metafun.mem file.
 
 Not necessarily. One might actually be a symbolic link to the other.
 Try the following to check this
   ls -l /etc/texmf/web2c/metafun.mem /var/lib/texmf/web2c/metafun.mem
 and just to make sure also:
  ls -ld /etc/texmf/web2c /var/lib/texmf/web2c

They were not links. No idea where they came from. Removing them did
not solve anything.

 The file used by TeX can actually found using:
kpsewhich metafun.mem
 and gives here:
   /var/lib/texmf/web2c/metafun.mem

[EMAIL PROTECTED]:~$ kpsewhich metafun.mem
/var/lib/texmf/web2c/metafun.mem

Regards, Johan


 Tobias



-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread Tobias Burnus
Hi,

Norbert Preining wrote:
 On Mit, 08 Nov 2006, Johan Sandblom wrote:
   
 [EMAIL PROTECTED]:~$ locate metafun.mem
 /etc/texmf/web2c/metafun.mem
 /var/lib/texmf/web2c/metafun.mem
 
 The mem file in /etc/texmf/web2c seems VERY FISHY!!! Please remove it.
 Probably metapost loads a wrong metafun.mem file.
   
Not necessarily. One might actually be a symbolic link to the other.
Try the following to check this
  ls -l /etc/texmf/web2c/metafun.mem /var/lib/texmf/web2c/metafun.mem
and just to make sure also:
 ls -ld /etc/texmf/web2c /var/lib/texmf/web2c

The file used by TeX can actually found using:
   kpsewhich metafun.mem
and gives here:
  /var/lib/texmf/web2c/metafun.mem

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


Re: [NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread Johan Sandblom
Hi,

2006/11/8, Norbert Preining [EMAIL PROTECTED]:
 On Mit, 08 Nov 2006, Johan Sandblom wrote:
  texlive-metapost/testing uptodate 2005.dfsg.2-2
  texlive-base/testing uptodate 2005.dfsg.2-3
  texlive-common/testing uptodate 2005.dfsg.2-3
  texlive-base-bin/testing uptodate 2005.dfsg.2-2
 
  and the new context package from www.tug.org/texlive/Debian version
  2006.08.08 the following text file processes without error but has no
  graphic

 Strange enough, on my computer I don't see this problem. The file
 contains the graphics.

  [EMAIL PROTECTED]:~$ mpost -progname=metafun -mem=metafun mptest-mpgraph.mp
  This is MetaPost, Version 0.901 (Web2C 7.5.5)
  (mptest-mpgraph.mpSegmentation fault

  [EMAIL PROTECTED]:~$ locate metafun.mem
  /etc/texmf/web2c/metafun.mem
  /var/lib/texmf/web2c/metafun.mem

 Maybe some other files in /etc/texmf/web2c are interfering. metapost
 pool files would be an idea. Can you send me the list of files in
 /etc/texmf/web2c?

 I have thee ONLY mktex.cnf!!!


There were several other files, among them a highly suspicious
plain.mem. However, removing all of them, and reinstalling the context
debian package (and thereby rebuilding the formats) did not solve the
problem. No new files ended up in /etc/texmf/web2c.


 Best wishes

 Norbert

 ---
 Dr. Norbert Preining [EMAIL PROTECTED]Università di 
 Siena
 Debian Developer [EMAIL PROTECTED] Debian TeX Group
 gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 
 B094
 ---
 DUNGENESS (n.)
 The uneasy feeling that the plastic handles of the overloaded
 supermarket carrier bag you are carrying are getting steadily longer.
 --- Douglas Adams, The Meaning of Liff



-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread Johan Sandblom
2006/11/8, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 On Wed, Nov 08, 2006 at 07:01:00PM +0100, Johan Sandblom wrote:
  I did. No change.

 I suspect this is 'the' mismatched array bug in web2c.

 If you have both main_memory.mpost and|or main_memory.metafun
 in your texmf.cnf, and they are not the same value(s), then you
 can get segfaults (as well as various other bugs).

No, that does not appear to be it:

[EMAIL PROTECTED]:/etc/texmf# grep main_memory `kpsewhich texmf.cnf`
% main_memory.hugetex = 2000
% main_memory is relevant only to initex, extra_mem_* only to non-ini.
% Thus, have to redump the .fmt file after changing main_memory; to add
main_memory = 100 % words of inimemory available; also applies to inimfmp
main_memory.context = 150
main_memory.mpost = 150
main_memory.lambda = 220

 It is hard to be more verbose right now because my connection is
 awful, but there should be some more info on this in the
 mailinglist archive.


 Greetings, Taco





-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread Johan Sandblom
It was the crucial clue, however, since I found

/usr/share/texmf-texlive/web2c/texmf.cnf

and removed it, which solved the problem!

Thank you all, Johan Sandblom

2006/11/8, Johan Sandblom [EMAIL PROTECTED]:
 2006/11/8, [EMAIL PROTECTED] [EMAIL PROTECTED]:
  On Wed, Nov 08, 2006 at 07:01:00PM +0100, Johan Sandblom wrote:
   I did. No change.
 
  I suspect this is 'the' mismatched array bug in web2c.
 
  If you have both main_memory.mpost and|or main_memory.metafun
  in your texmf.cnf, and they are not the same value(s), then you
  can get segfaults (as well as various other bugs).

 No, that does not appear to be it:

 [EMAIL PROTECTED]:/etc/texmf# grep main_memory `kpsewhich texmf.cnf`
 % main_memory.hugetex = 2000
 % main_memory is relevant only to initex, extra_mem_* only to non-ini.
 % Thus, have to redump the .fmt file after changing main_memory; to add
 main_memory = 100 % words of inimemory available; also applies to inimfmp
 main_memory.context = 150
 main_memory.mpost = 150
 main_memory.lambda = 220

  It is hard to be more verbose right now because my connection is
  awful, but there should be some more info on this in the
  mailinglist archive.
 
 
  Greetings, Taco
 
 
 


 --
 Johan Sandblom  N8, MRC, Karolinska sjh
 t +46851776108  17176 Stockholm
 m +46735521477  Sweden
 What is wanted is not the will to believe, but the
 will to find out, which is the exact opposite
 - Bertrand Russell



-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread taco
On Wed, Nov 08, 2006 at 08:05:48PM +0100, Johan Sandblom wrote:
 main_memory = 100 % words of inimemory available; also applies to inimfmp
 main_memory.context = 150
 main_memory.mpost = 150
please try deleting this line and see what happens. If that is not,
then probably your executable is the problem (i cannot reproduce the
crash otherwise, on linux nor windows)

Good luck,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new to ConTeXt

2006-11-08 Thread Pablo Rodríguez
Thomas A. Schmitz wrote:
 On Nov 7, 2006, at 9:20 PM, Pablo Rodríguez wrote:
 For those ones who were newbies not so long ago or that come from a
 humanities background, which are the best documents to start learning
 ConTeXt?
 
 Difficult to answer this question because it's a bit vague. What kind  
 of documents do you want to produce with ConTeXt? Articles,  
 presentations, textbooks, lists, interactive screen documents?

Many thanks, Thomas, for your reply.

Maybe the issue here is that I want to learn how to do things in ConTeXt
that I was able to do with LaTeX. But this may be the wrong approach to
ConTeXt (because this might not be a good way to learn ConTeXt using
LaTeX as the background example).

I want ConTeXt to produce mainly articles and textbooks (after learning
that it will be easy to figure out presentations). I know some
references, but I don't know which are the best ones.

BTW, are “ConTeXt, an excursion” and “ConTeXt the manual” good
introductions to start with ConTeXt or are they (too) outdated?

 But to give you a few pointers that may or may not be useful:

Thanks, they are useful.

 - The first stop would be the wiki http://wiki.contextgarden.net .  
 There is a section called Sample documents that may be a good  
 starting point.
 
 - You could have a look at recent issues of the PracTeX journal;  
 there is some stuff about ConTeXt in there, and it should be good for  
 beginners.
 
 - Of course, the Pragma website, but I guess you know that already.
 
 - Finally, for ancient Greek, there is the ancientgreek module http:// 
 modules.contextgarden.net/t-greek which I find superior to all Greek  
 typesetting in LaTeX (because I wrote the module).

With this particular topic, I'm not sure whether I fully understand what
you mean. For me, input and output must be Unicode (it is the best way
to avoid problems) and this can be done with XeTeX. I don't know how
good the integration with ConTeXt is, but for me and before LuaTeX is
released in an stable version, XeTeX is the only way of dealing with
fonts in TeX. Is there something in your Greek module that cannot be
done with XeTeX?

 Don't hesitate to ask here when you have specific questions, but  
 maybe that can get you started. I am a humanities guy and do all my  
 work in ConTeXt...

Actually, I knew that you were the person I wanted to ask about this.
Some time ago, I read somewhere (on the web) that you switched to
ConTeXt, after having to edit a book with Word. And then I discovered
that you teach Classics at Bonn.

Then, if the question is not too personal (it hope not, but sorry if it
is): how did you learn ConTeXt? Only tinkering with already existing
modules? Did you read any manuals? (Again, if this is not too personal,
I assume that our interests in ConTeXt are similar, although I'm not a
classicist and I don't belong to the academia)

Thanks for your help,


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


Re: [NTG-context] Debian/texlive/context: Segfault in mpost

2006-11-08 Thread taco
On Wed, Nov 08, 2006 at 07:01:00PM +0100, Johan Sandblom wrote:
 I did. No change.

I suspect this is 'the' mismatched array bug in web2c. 

If you have both main_memory.mpost and|or main_memory.metafun
in your texmf.cnf, and they are not the same value(s), then you 
can get segfaults (as well as various other bugs).

It is hard to be more verbose right now because my connection is
awful, but there should be some more info on this in the 
mailinglist archive.


Greetings, Taco


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


Re: [NTG-context] new to ConTeXt

2006-11-08 Thread Pablo Rodríguez
Aditya Mahajan wrote:
 On Tue, 7 Nov 2006, Pablo Rodríguez wrote:
 For those ones who were newbies not so long ago or that come from a
 humanities background, which are the best documents to start learning
 ConTeXt?
 
 There is also Berend de Boer's Latex in proper context that can help 
 in the transition.
 
 http://articles.contextgarden.net/article/32

Thanks for the answer, Aditya. I have read it. It helps and it could be
supplemented with http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt (I
guess there are some things not contained in the original article).


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


Re: [NTG-context] new to ConTeXt

2006-11-08 Thread Pablo Rodríguez
nico wrote:
 On Tue, 7 Nov 2006, Pablo Rodríguez wrote:
 Thanks for your answer, Hans. Sorry for not answering before (these days
 I find myself installing a new computer and moving data into it).

 It seems that the task is more difficult than I thought (although
 x-contm.tex seems a very interesting example to begin with).
 
 Since this thread is also talking about some tools, I'll complete the list  
 with dbcontext (http://dblatex.sf.net) on which I contribute, that  
 translates DocBook to ConTeXt via XSL stylesheets. I guess that many  
 aspects could be directly handled by context.

Thanks for your answer. I know that XML can be converted to
TeX/LaTeX/ConTeXt using XSL, but my XML is TEI (http://www.tei-c.org/)
and not DocBook. If I would use XSL transformation, I guess it would be
easier (at least for me) to adapt the already existing TEI-XML-LaTeX
XSL files and adapt them to ConTeXt. I wonder (out of ignorance) whether
this would be a better way than parsing the XML directly with ConTeXt.

Thanks,


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


[NTG-context] the same old \column problem

2006-11-08 Thread Henning Hraban Ramm
Hans et al,

did \column ever work or is it supposed to?
I.e. I guess I should be able jump to the next column in

\startcolumns

...

\column % next column

...

\stopcolumns


Without the \column, it works only for longer paragraphs,
but e.g. not with \startlines - I'm trying to typeset lyrics,
and the column *always* breaks within a verse instead of between,
even if all the verses have the same number of lines, so that
it would be easily possible to balance cleanly.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

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


Re: [NTG-context] new to ConTeXt

2006-11-08 Thread Thomas A. Schmitz

On Nov 8, 2006, at 8:35 PM, Pablo Rodríguez wrote:


 Many thanks, Thomas, for your reply.

 Maybe the issue here is that I want to learn how to do things in  
 ConTeXt
 that I was able to do with LaTeX. But this may be the wrong  
 approach to
 ConTeXt (because this might not be a good way to learn ConTeXt using
 LaTeX as the background example).

No, I think this approach is what many users do. As long as you don't  
insist that you want exactly the same syntax etc, as in LaTeX :-)


 I want ConTeXt to produce mainly articles and textbooks (after  
 learning
 that it will be easy to figure out presentations). I know some
 references, but I don't know which are the best ones.

 BTW, are “ConTeXt, an excursion” and “ConTeXt the manual” good
 introductions to start with ConTeXt or are they (too) outdated?

Most of the basic stuff is still correct, so they should be good  
starters.


 But to give you a few pointers that may or may not be useful:

 Thanks, they are useful.

 - The first stop would be the wiki http://wiki.contextgarden.net .
 There is a section called Sample documents that may be a good
 starting point.

 - You could have a look at recent issues of the PracTeX journal;
 there is some stuff about ConTeXt in there, and it should be good for
 beginners.

 - Of course, the Pragma website, but I guess you know that already.

 - Finally, for ancient Greek, there is the ancientgreek module  
 http://
 modules.contextgarden.net/t-greek which I find superior to all Greek
 typesetting in LaTeX (because I wrote the module).

 With this particular topic, I'm not sure whether I fully understand  
 what
 you mean. For me, input and output must be Unicode (it is the best way
 to avoid problems) and this can be done with XeTeX. I don't know how
 good the integration with ConTeXt is, but for me and before LuaTeX is
 released in an stable version, XeTeX is the only way of dealing with
 fonts in TeX. Is there something in your Greek module that cannot be
 done with XeTeX?

I must admit that I've been too lazy to really test XeTeX, so I may  
be wrong here. You can use Unicode input with the module; the only  
difference would be that you have to wrap all Greek passages in  
\localgreek{} commands or \start ... \stop pairs. I guess XeTeX  
provides proper hyphenation for Greek, but
- the module has support for more fonts than XeTeX;
- does XeTeX allow relative scaling of fonts?
Anyway, only Hans and Taco know to what extent I will have to rewrite  
everything when luatex and support for OpenType fonts are there.


 Don't hesitate to ask here when you have specific questions, but
 maybe that can get you started. I am a humanities guy and do all my
 work in ConTeXt...

 Actually, I knew that you were the person I wanted to ask about this.
 Some time ago, I read somewhere (on the web) that you switched to
 ConTeXt, after having to edit a book with Word. And then I discovered
 that you teach Classics at Bonn.

 Then, if the question is not too personal (it hope not, but sorry  
 if it
 is): how did you learn ConTeXt? Only tinkering with already existing
 modules? Did you read any manuals? (Again, if this is not too  
 personal,
 I assume that our interests in ConTeXt are similar, although I'm not a
 classicist and I don't belong to the academia)

 Thanks for your help,


 Pablo

Yes, I started with already existing modules, and it took me a while  
(and lots of help here on the list) to write my own code. I never  
actually read any manual cover to cover, but the big manual is almost  
always open on my computer for reference. I just finished typesetting  
a book with ConTeXt, complete with dozens of cross-references,  
indexes, bibliography. Nothing very complicated, but it's wonderful  
to see that things work. There are still two or three problems, but  
they are fairly harmless. I love donig my own presentation styles  
with ConTeXt and metafun. The more I use ConTeXt, the more amazed I  
am...

Hope this can inspire you a bit

Thomas


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


Re: [NTG-context] new to ConTeXt

2006-11-08 Thread nico
On Wed, 08 Nov 2006 20:53:37 +0100, Pablo Rodríguez [EMAIL PROTECTED] wrote:

 nico wrote:
 On Tue, 7 Nov 2006, Pablo Rodríguez wrote:
 Thanks for your answer, Hans. Sorry for not answering before (these  
 days
 I find myself installing a new computer and moving data into it).

 It seems that the task is more difficult than I thought (although
 x-contm.tex seems a very interesting example to begin with).

 Since this thread is also talking about some tools, I'll complete the  
 list
 with dbcontext (http://dblatex.sf.net) on which I contribute, that
 translates DocBook to ConTeXt via XSL stylesheets. I guess that many
 aspects could be directly handled by context.

 Thanks for your answer. I know that XML can be converted to
 TeX/LaTeX/ConTeXt using XSL, but my XML is TEI (http://www.tei-c.org/)
 and not DocBook. If I would use XSL transformation, I guess it would be
 easier (at least for me) to adapt the already existing TEI-XML-LaTeX
 XSL files and adapt them to ConTeXt. I wonder (out of ignorance) whether
 this would be a better way than parsing the XML directly with ConTeXt.

I have no experience with handling XML directly with context, but I guess  
it's the most elegant way of processing, since it relies upon only one  
tool (no XSLT processor, no stylesheet, no glue to pass the output to  
texexec), there is no intermediate step, and the code should be smaller.

But for me the drawback is that you need a good perception about how  
context/tex works (things about grouping, how macros expand and other  
funny things) and debugging might be harder. At least XSL gives an output  
that you can tweak until something compiles and gives the expected output  
:-) The other thing is that there are some specific processings that I  
have no idea how it can be implemented with context.

This said, I know there are many people who happily process their XML docs  
directly with context. Maybe they could also give their feedback.

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