Re: [NTG-context] Cyrillic filenames

2008-11-06 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote:
 Hi,
 
 This is a question to dear developers: why can't I use cyrillic 
 filenames, and even spaces in filenames? It is weird to name Russian 
 texts using Latin transliteration.
 
 For example, I'd rather have песня про зайцев. tex instead of 
 pesnya_pro_zaicev.tex. Is this possible?

in xetex and luatex that is possible, since they are no longer 8 bit, 
but even then there is the problem of the underlying operating system 
that needs to use the same encoding for filenames as your tex document 
that uses such files (in for instance \input)

You can just try what happens when you use such names (and use  around 
them).

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
-
___
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] Multicolumn itemizations - again...

2008-11-06 Thread Hans Hagen
Marcin Borkowski wrote:
 Dnia Wed, Nov 05, 2008 at 09:09:06PM +0100, Marcin Borkowski napisa#322;(a):
 Hi,

 I have

 \setupitemize[2][a,paragraph,intro,columns,two][stopper=)]

 in the environment.  In one place, however, I want to have a one-column
 itemization.  What do I do?  I thought that

 \startitemize[columns,one]

 would override the environment setting - but it didn't work.

 I tried to do something like this:

 \defineitemgroup[onecolumnitemize]
 \setuponecolumnitemize[2][a,paragraph,intro][stopper=)]

 but it didn't work - still the settings from \setupitemize[2][...] were
 in use.

 What's going on?
 
 Before anyone asks me for an example, here it is:
 http://wiki.contextgarden.net/User:Mbork
 (the last part)

concerning the intro ... mixed one-two column modes are somewhat tricky 
and have limitations (if only because tex itself has no concept of 
columns); when mkiv is further down the road i'll look into multi 
columns and see if i can provide more control, but for that i need to 
implement a few other things first

nested itemizations are currently not possible (or more precisely: they 
are (they are intercepted simply because there is no guarantee that all 
varianst work); however you can say \startitemize[n=1] at the second 
level and get just one column then



-
   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
-
___
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] latest beta

2008-11-06 Thread Thomas A. Schmitz
Hi all, Hi Hans,

has anything changed in xml processing in the latest beta? My  
beautiful (!) collection of xml entities has stopped working. In my  
environment files, I have stuff such as

\defineXMLentity[textellipsis]{\textellipsis}

but only get the typeset textellipsis in my pdfs when I process them  
with mkiv. Bug or do I have to change anything in my files?

All best

Thomas
___
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] ctx files

2008-11-06 Thread Alan STONE
On Wed, Nov 5, 2008 at 3:44 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan STONE wrote:
  On Mon, Nov 3, 2008 at 2:39 PM, Alan STONE
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  wrote:
 
  Hi Hans,
 
  You wrote ctx:include name='whatever.ctx/ should work
 
  Given the above example, I'd really like to learn how to make it
  work.  :O)
 
  texmfstart texexec --ctx=ctx-main ctx-test
 
 
 
  Should I conclude, by the lack of response, that this feature doesn't
 work ?

 it's more that i have no time now to look into it


Ok Hans. I understand. If there's any way you could have a look into it
sometime (not too) later, I'd really appreciate it.

Thanks in advance.

-- 
Best,
Alan

* TeX engine = LuaTeX
* ConTeXt  minimals ver: 2008.10.31 13:58 MKIV  fmt: 2008.10.31  int:
english/english
* Ubuntu 8.04 Hardy Heron
___
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] Bibtex doubt (was Re: Forward of moderated message)

2008-11-06 Thread Taco Hoekwater


Xan wrote:

 You have no citations, so that's what I would expect. Also, having both
 \placepublications and \completepublications is duplication. Try the
 attached (slightly patched) source file, if you will.

 Yes, with \cite, the references appear not empty.
 But is this not a bug: you could have a list of publications and not 
 citting anyone in the document (I'm thinking in diccionaries or 
 art-writing books as consulting references) (In LaTeX you could have 
 references and no cite anyone)

That is a feature, otherwise people would not be able to use
pre-existing database files that often contain hundreds of
publications.

But there is an option for your requested behaviour already supplied:
you just have to add  criterium=all to the \setuppublications command.

 For the other hand, I read in the wiki that bib module automatically 
 read for \jobname.bib file (this is why I commented it)

 Do you remember which wiki page? That is wrong, it reads the .bbl file
 automatically, but that is bibtex's output.

 Not, I don't remember sorry.

Best read the official manual then:

http://dl.contextgarden.net/modules/t-bib/doc/context/bib/bibmod-doc.pdf

Best wishes,
Taco
___
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] Multicolumn itemizations - again...

2008-11-06 Thread Hans Hagen
Marcin Borkowski wrote:

 However, I tried \startitemize[1] and it didn't work (neither at my
 computer nor in online ConTeXt, with the example I have provided on my
 user page).

[n=1]

 Please do not think that I am angry at you, Hans, or anything like that;
 I really admire your (and not only your) work with ConTeXt.  But I am a
 bit disappointed - and hope that itemizations will eventually work.  And
 now I guess I'll have to work this around in some nasty way (most
 probably, I'll just do the only one-column itemization by hand).

well, although tex can do a lot, there are limitations; column related 
stuff for instance is a matter of programming all possible aspects of 
it; and there can be conflicting demands

 And you may be pretty sure that I will be a good beta-tester for the
 itemization stuff - as I already told, I use itemizations a lot,
 together with math, nesting itemizations, two-column ones etc.  For the
 purpose of testing any new things in this area I'm leaving the examples
 on my user page, too.

ok; but as mentioned before only mkiv will have improved itemizations

 PS. Looking back at the steady progress of ConTeXt  luatex, I am pretty
 sure that this _will_ be solved in finite time anyway, so I can just
 \relax, wait and then test and provide feedback;).

thanks

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
-
___
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] questions about Aditya's thesis

2008-11-06 Thread Mohamed Bana
Hello everyone,


Here's the link to his thesis; 
http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz


1. Is this the new official syntax?

\chapter[chap:01] Introduction

\section Motivation


2. How do I enabled colour links for the bibliography citations? I've 
tried - You'll have to move/delete t-bib.tex if you're running a recent 
ver. of the minimals to get the the doc to compile.

% env-thesis.tex lines 289-291
\setupinteraction[state=start,style=,color=]
\setupinteraction[focus=standard]
\placebookmarks  [chapter,section][chapter]

and

% line 3, macros.tex
\setupcolors[state=start]

% line 8, macros.tex
\setupcite  [interaction=start, compress=no,color=] %darkgreen]

Yet the links are still in black. Here's the pdf; 
http://filebin.ca/mzxxpc/thesis.pdf or http://filebin.ca/mzxxpc


3. The entries in bibliography outflow into the margins; pages 23 
onwards. I don't mind if the line contains huge gaps as long as the 
entries don't flow into the margins.

4. How do I decrease the linespacing? Don't you agree with Minion Pro it 
doesn't look as good as with Palatino.




Mohamed

___
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] questions about Aditya's thesis

2008-11-06 Thread Aditya Mahajan
On Thu, 6 Nov 2008, Mohamed Bana wrote:

 Hello everyone,


 Here's the link to his thesis;
 http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz


 1. Is this the new official syntax?

 \chapter[chap:01] Introduction

 \section Motivation


Well, this has been possible for a long time. I prefer this over 
\section{Motivation} since there is less things to type :-) I don't think 
that this is documented anywhere.


 2. How do I enabled colour links for the bibliography citations? I've
 tried - You'll have to move/delete t-bib.tex if you're running a recent
 ver. of the minimals to get the the doc to compile.

 % env-thesis.tex lines 289-291
 \setupinteraction[state=start,style=,color=]

Change color= to color=darkgreen (or any other color that you like).

 \setupinteraction[focus=standard]
 \placebookmarks  [chapter,section][chapter]

 and

 % line 3, macros.tex
 \setupcolors[state=start]

This will also make all the section heads colored. If you do not like it, 
remove color=something from the \setuphead commands.

 % line 8, macros.tex
 \setupcite  [interaction=start, compress=no,color=] %darkgreen]

cite currently does not support changing colors of links. You get the same 
color as interationcolor. I had made some changes in my local copy of 
t-bib, but that won't work because old t-bib uses deprecated method of 
setting variables and constants.

 Yet the links are still in black. Here's the pdf;
 http://filebin.ca/mzxxpc/thesis.pdf or http://filebin.ca/mzxxpc

 3. The entries in bibliography outflow into the margins; pages 23
 onwards. I don't mind if the line contains huge gaps as long as the
 entries don't flow into the margins.

Add something like

\setuptolerance[verytolerant, stretch] before \placepublications. 
Occasionally, I had to edit the bbl file by hand to get the spacing that I 
wanted.

 4. How do I decrease the linespacing? Don't you agree with Minion Pro it
 doesn't look as good as with Palatino.

Change \setupinterlinespace[medium,auto] to [small,auto] or simply 
remove this line.

Aditya
___
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] latest beta

2008-11-06 Thread Hans Hagen
Thomas A. Schmitz wrote:
 Hi all, Hi Hans,
 
 has anything changed in xml processing in the latest beta? My  
 beautiful (!) collection of xml entities has stopped working. In my  
 environment files, I have stuff such as
 
 \defineXMLentity[textellipsis]{\textellipsis}
 
 but only get the typeset textellipsis in my pdfs when I process them  
 with mkiv. Bug or do I have to change anything in my files?

so, how about a test file ...

indeed something has changed, i.e. all encoding stuff is gone, but it 
should not affect too much

do you use mkii xml or mkiv xml

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
-
___
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] Multicolumn itemizations - again...

2008-11-06 Thread Marcin Borkowski
Dnia Thu, Nov 06, 2008 at 01:29:07PM +0100, Hans Hagen napisa#322;(a):
 Marcin Borkowski wrote:
 
  However, I tried \startitemize[1] and it didn't work (neither at my
  computer nor in online ConTeXt, with the example I have provided on my
  user page).
 
 [n=1]
I tried

==
\setupitemize[1][n,intro]
\setupitemize[2][a,paragraph,intro,columns,two][stopper=)]

\starttext
\startitemize
\item Item one
\item Sub-itemize:
  \startitemize
  \item sub-one
  \item sub-two
  \item sub-three
  \item sub-four
  \stopitemize
\item Sub-itemize with one column:
  \startitemize[n=1]
  \item A
  \item B
  \item C
  \stopitemize
\stopitemize
\stoptext
==

on the online ConTeXt (MkIV).  Didn't work...

  Please do not think that I am angry at you, Hans, or anything like that;
  I really admire your (and not only your) work with ConTeXt.  But I am a
  bit disappointed - and hope that itemizations will eventually work.  And
  now I guess I'll have to work this around in some nasty way (most
  probably, I'll just do the only one-column itemization by hand).
 
 well, although tex can do a lot, there are limitations; column related 
 stuff for instance is a matter of programming all possible aspects of 
 it; and there can be conflicting demands

I believe that.  Nested itemizations (possibly with columns) are
definitely non-trivial.

 
  And you may be pretty sure that I will be a good beta-tester for the
  itemization stuff - as I already told, I use itemizations a lot,
  together with math, nesting itemizations, two-column ones etc.  For the
  purpose of testing any new things in this area I'm leaving the examples
  on my user page, too.
 
 ok; but as mentioned before only mkiv will have improved itemizations

I know, I've already installed MkIV on my texlive.

 
  PS. Looking back at the steady progress of ConTeXt  luatex, I am pretty
  sure that this _will_ be solved in finite time anyway, so I can just
  \relax, wait and then test and provide feedback;).
 
 thanks

Well, it's just true:).

 
 Hans

Greets

-- 
Marcin Borkowski (http://mbork.pl)

- Why are vim users so terribly egocentric?
- Because they begin every sentence with `I'.
___
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] ConTeXt MkIV and texlive2008

2008-11-06 Thread Marcin Borkowski
Hi,

assume I've done everything as told on the wiki, so that MkIV works in
texlive2008.  Assume that I used the tl package manager to upgrade
ConTeXt.  Do I have something more to do in order to use it (e.g., run
luatools --generate or context --make or both once again)?

Greets

-- 
Marcin Borkowski (http://mbork.pl)

O ludzką twarz - walka trwa!  Już płoną ognie - chwyćmy za ostrze!
Naszym ogniem Moc Najwyższego,  ostrzem wierność obranej drodze...
Walka trwa!
(Izaiash)
___
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] Multicolumn itemizations - again...

2008-11-06 Thread Wolfgang Schuster

Am 06.11.2008 um 17:24 schrieb Marcin Borkowski:

 Dnia Thu, Nov 06, 2008 at 01:29:07PM +0100, Hans Hagen napisa#322; 
 (a):
 Marcin Borkowski wrote:

 However, I tried \startitemize[1] and it didn't work (neither at my
 computer nor in online ConTeXt, with the example I have provided  
 on my
 user page).

 [n=1]
 I tried

 ==
 \setupitemize[1][n,intro]
 \setupitemize[2][a,paragraph,intro,columns,two][stopper=)]

\setupitemize[2][a,paragraph,intro,columns][stopper=)]

If you want more than two columns by default add n=x
to the third argument but don't use the keywords (one, two, ...).

 \starttext
 \startitemize
 \item Item one
 \item Sub-itemize:
  \startitemize
  \item sub-one
  \item sub-two
  \item sub-three
  \item sub-four
  \stopitemize
 \item Sub-itemize with one column:
  \startitemize[n=1]

You could write \startitemize[n=1] or \startitemize[one]

  \item A
  \item B
  \item C
  \stopitemize
 \stopitemize
 \stoptext

Wolfgang


___
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] latest beta

2008-11-06 Thread Hans Hagen
Thomas A. Schmitz wrote:
 On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote:
 
 so, how about a test file ...

 
 Yes we can! Here comes:

you mean http://www.trouw.nl/redactie/spotprent/woensdag160.gif -)

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
-
___
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] ConTeXt MkIV and texlive2008

2008-11-06 Thread Taco Hoekwater
Marcin Borkowski wrote:
 Hi,
 
 assume I've done everything as told on the wiki, so that MkIV works in
 texlive2008.  Assume that I used the tl package manager to upgrade
 ConTeXt.  Do I have something more to do in order to use it (e.g., run
 luatools --generate or context --make or both once again)?

Generally: yes, both. But right now, there is no updated context
tl package yet.

Best wishes,
Taco
___
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] Bibtex doubt (was Re: Forward of moderated message)

2008-11-06 Thread Taco Hoekwater
Xan wrote:
 
 Another question: with \language [ca], the references title that show 
 \completepublications appeared in english. I could change somehow in 
 catalan language?

There is no translation for [ca] known. You can add one with

   \setupheadtext
  [ca][pubs=References] %  change References to what you want

Best wishes,
Taco
___
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] ConTeXt MkIV and texlive2008

2008-11-06 Thread Mohamed Bana
I put the following in my .bashrc;


alias contextstart='. ~/context-minimals/tex/setuptex 
~/context-minimals/tex'

And when I wish to compile a document;


$ contextstart
Setting /home/mbana/context-minimals/tex as TEXROOT.
$ texexec file.tex


MkIV should work out of the box with texlive 2008, I gave up  last time 
I tried.


Mohamed

Marcin Borkowski wrote:
 Hi,
 
 assume I've done everything as told on the wiki, so that MkIV works in
 texlive2008.  Assume that I used the tl package manager to upgrade
 ConTeXt.  Do I have something more to do in order to use it (e.g., run
 luatools --generate or context --make or both once again)?
 
 Greets
 

___
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] ConTeXt MkIV and texlive2008

2008-11-06 Thread Marcin Borkowski
Dnia Thu, Nov 06, 2008 at 06:20:45PM +0100, Taco Hoekwater napisa#322;(a):
 Marcin Borkowski wrote:
  Hi,
  
  assume I've done everything as told on the wiki, so that MkIV works in
  texlive2008.  Assume that I used the tl package manager to upgrade
  ConTeXt.  Do I have something more to do in order to use it (e.g., run
  luatools --generate or context --make or both once again)?
 
 Generally: yes, both. But right now, there is no updated context
 tl package yet.

Thank you, I suspected that, but wanted to know the *general* answer.

 
 Best wishes,
 Taco

Greets

-- 
Marcin Borkowski (http://mbork.pl)

888 * Nie lękaj się * Ja zawsze będę z Tobą!
___
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] latest beta

2008-11-06 Thread luigi scarso
On Thu, Nov 6, 2008 at 4:38 PM, Thomas A. Schmitz 
[EMAIL PROTECTED] wrote:


 On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote:

  so, how about a test file ...
 

 Yes we can! Here comes:

 \startxmlsetups mytest
 \xmlsetsetup{main}{document|p}{*}
 \stopxmlsetups

 \xmlregistersetup{mytest}

 \startxmlsetups document
 \xmlflush{#1}\par
 \stopxmlsetups

 \startxmlsetups p
 \xmlflush{#1}\par
 \stopxmlsetups
 \defineXMLentity[textbar]{\textbar}
 \defineXMLentity[shorta]{\buildtextaccent\textbreve a}

 \startbuffer[test]
 ?xml version=1.0 encoding=UTF-8?
 document
 pHello textbar; shorta; World!/p
 /document
 \stopbuffer

 \starttext
 \xmlprocessbuffer{main}{test}{}
 \stoptext


not ok here, I suppose.
This is what I see :

Hello [textbar] [shorta] World!


minimals-beta
Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008
i686 GNU/Linux
This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
ConTeXt MtxRun | current version: 2008.11.05 13:51

-- 
luigi
___
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] Multicolumn itemizations - again...

2008-11-06 Thread Hans Hagen
Marcin Borkowski wrote:

 I tried
 \item Sub-itemize with one column:
   \startitemize[n=1]
   \item A
   \item B
   \item C
   \stopitemize
 \stopitemize
 \stoptext

 on the online ConTeXt (MkIV).  Didn't work...

ok, i run an experimental version here; so then you have to wait till 
the update (will be rather drastic this time, so needs some testing here 
first)

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
-
___
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] Multicolumn itemizations - again...

2008-11-06 Thread Marcin Borkowski
Dnia Thu, Nov 06, 2008 at 05:43:29PM +0100, Wolfgang Schuster napisa#322;(a):
 
 Am 06.11.2008 um 17:24 schrieb Marcin Borkowski:
 
  Dnia Thu, Nov 06, 2008 at 01:29:07PM +0100, Hans Hagen napisa#322; 
  (a):
  Marcin Borkowski wrote:
 
  However, I tried \startitemize[1] and it didn't work (neither at my
  computer nor in online ConTeXt, with the example I have provided  
  on my
  user page).
 
  [n=1]
  I tried
 
  ==
  \setupitemize[1][n,intro]
  \setupitemize[2][a,paragraph,intro,columns,two][stopper=)]
 
 \setupitemize[2][a,paragraph,intro,columns][stopper=)]
 
 If you want more than two columns by default add n=x
 to the third argument but don't use the keywords (one, two, ...).
 
  \starttext
  \startitemize
  \item Item one
  \item Sub-itemize:
   \startitemize
   \item sub-one
   \item sub-two
   \item sub-three
   \item sub-four
   \stopitemize
  \item Sub-itemize with one column:
   \startitemize[n=1]
 
 You could write \startitemize[n=1] or \startitemize[one]

WOW!!! It *works*!!!

T   H   HAAANN   K  K      !!
  T H   H   A   A   NN   N   K K   S   !!
  T H   A   N N  N   KK    !!
  T H   H   A   A   N  N N   K KS
  T H   H   A   A   N   NN   K  K      !!

-- 
Marcin Borkowski (http://mbork.pl)

Jezus żyje NAPRAWDĘ.
A Ty?
___
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] apostrophe in a verbatim enviroment

2008-11-06 Thread Alan Bowen
Is it possible to get an apostrophe to typeset as a vertical mark  
( ' ) rather than a curved mark ( ’ ) when using \starttyping and  
MKII? I am trying to get the old “typewriter” look for a brief stretch  
of text.

Alan


___
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] latest beta

2008-11-06 Thread Hans Hagen
Thomas A. Schmitz wrote:
 On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote:
 
 so, how about a test file ...

 
 Yes we can! Here comes

Somehow I could ... new beta ...

\setupxml[entities=mkii]

pA textbar; B shorta; C dotlessi; D adiaeresis; E/p

seems to work ok

-
   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
-
___
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] latest beta

2008-11-06 Thread luigi scarso
On Thu, Nov 6, 2008 at 7:46 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Thomas A. Schmitz wrote:
  On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote:
 
  so, how about a test file ...
 
 
  Yes we can! Here comes

 Somehow I could ... new beta ...

 \setupxml[entities=mkii]

 pA textbar; B shorta; C dotlessi; D adiaeresis; E/p

 seems to work ok

yes .
btw, current version has wrong value

 minimals-beta
Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008
i686 GNU/Linux
This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
ConTeXt MtxRun | current version: 2008.56.06 19:11

-- 
luigi
___
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] latest beta

2008-11-06 Thread Thomas A. Schmitz

On Nov 6, 2008, at 7:46 PM, Hans Hagen wrote:

 Thomas A. Schmitz wrote:
 On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote:

 so, how about a test file ...


 Yes we can! Here comes

 Somehow I could ... new beta ...

Yes, this looks much better - my entities are processed again! Thanks  
Hans!


 \setupxml[entities=mkii]

Is a mkiv version of \defineXMLentity around yet, or is this just a  
placeholder for future developments?

All best

Thomas
___
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] latest beta

2008-11-06 Thread Hans Hagen
Thomas A. Schmitz wrote:
 On Nov 6, 2008, at 7:46 PM, Hans Hagen wrote:
 
 Thomas A. Schmitz wrote:
 On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote:

 so, how about a test file ...

 Yes we can! Here comes
 Somehow I could ... new beta ...
 
 Yes, this looks much better - my entities are processed again! Thanks  
 Hans!
 
 \setupxml[entities=mkii]

 Is a mkiv version of \defineXMLentity around yet, or is this just a  
 placeholder for future developments?

remind me in a few weeks (i have a few solutions in mind but time ...)

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
-
___
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] last beta and fieldstacks

2008-11-06 Thread Wolfgang Schuster
Hi,

the latest beta has a problem with fieldstacks.


\setupinteraction[state=start]

\definefieldstack[symbollist][symbol1,symbol1][frame=off]

\definesymbol[symbol1][1]
\definesymbol[symbol2][2]

\starttext

\fieldstack[symbollist]

\stoptext


PS: Is it possible to change \ctxlatetua to \ctxlatelua in the MkIV
 version of \savetwopassdata (core-two.mkiv).

PPS: context version: 2008.56.06 19:11 :-)

Wolfgang

___
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] can't find file `core-swd'

2008-11-06 Thread Lars Huttar
Hello,
I've just been trying to install context on Ubuntu 8.10.
Today I went to http://minimals.contextgarden.net/setup/
and followed the instructions:

 On unix (linux, mac, freebsd, sun, ...) run:
 
   mkdir context  cd context
   rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
   ./first-setup.sh

The first-setup script initially failed because I did not have ruby
installed. So I installed ruby and then ran it again.

It cranked away for awhile, then ended up with the error:
! I can't find file `core-swd'.
to be read again
   \relax
l.228 \loadmkiifile{core-swd}

The preceding output was:
systeem : markering subsubsubsubonderwerpnummer gedefinieerd
[subsubsubsubonderwerpnummer]
)

However, when I do a search, I see that there is a file core-swd.mkii.
Its path is context/tex/texmf-context/tex/context/base
(I kid you not -- tex and context each show up three times in the path!)

Can anybody suggest how to fix the problem?

Thanks,
Lars

___
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] can't find file `core-swd'

2008-11-06 Thread Lars Huttar
On 11/6/2008 3:49 PM, Lars Huttar wrote:
 Hello,
 I've just been trying to install context on Ubuntu 8.10.
 Today I went to http://minimals.contextgarden.net/setup/
 and followed the instructions:
 
 On unix (linux, mac, freebsd, sun, ...) run:

  mkdir context  cd context
  rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
  ./first-setup.sh
 
 The first-setup script initially failed because I did not have ruby
 installed. So I installed ruby and then ran it again.
 
 It cranked away for awhile, then ended up with the error:
   ! I can't find file `core-swd'.
   to be read again
  \relax
   l.228 \loadmkiifile{core-swd}
 
 The preceding output was:

Let me add a little more preceding output:
(/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii
loading : Context Core Macros / Sectioning
...

   systeem : markering subsubsubsubonderwerpnummer gedefinieerd
 [subsubsubsubonderwerpnummer]
   )
 
 However, when I do a search, I see that there is a file core-swd.mkii.
 Its path is context/tex/texmf-context/tex/context/base
 (I kid you not -- tex and context each show up three times in the path!)
 
 Can anybody suggest how to fix the problem?

Just for kicks, I tried the following. The prompt said
Please type another input file name:
so I entered core-swd.mkii (i.e. I added the .mkii suffix).
This seemed to satisfy the processor ... until the same error happened
again a little while later (with the same preceding output).
This happened about 4 times total.

Was that a legitimate solution? Or should it really be looking for a
core-swd.tex file?

Thanks,
Lars

___
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] can't find file `core-swd'

2008-11-06 Thread Wolfgang Schuster

Am 06.11.2008 um 23:02 schrieb Lars Huttar:

 On 11/6/2008 3:49 PM, Lars Huttar wrote:
 Hello,
 I've just been trying to install context on Ubuntu 8.10.
 Today I went to http://minimals.contextgarden.net/setup/
 and followed the instructions:

 On unix (linux, mac, freebsd, sun, ...) run:

 mkdir context  cd context
 rsync -ptv rsync://contextgarden.net/minimals/setup/first- 
 setup.sh .
 ./first-setup.sh

 The first-setup script initially failed because I did not have ruby
 installed. So I installed ruby and then ran it again.

 It cranked away for awhile, then ended up with the error:
  ! I can't find file `core-swd'.
  to be read again
 \relax
  l.228 \loadmkiifile{core-swd}

 The preceding output was:

 Let me add a little more preceding output:
   (/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii
   loading : Context Core Macros / Sectioning
   ...

  systeem : markering subsubsubsubonderwerpnummer gedefinieerd
 [subsubsubsubonderwerpnummer]
  )

 However, when I do a search, I see that there is a file core- 
 swd.mkii.
 Its path is context/tex/texmf-context/tex/context/base
 (I kid you not -- tex and context each show up three times in the  
 path!)

 Can anybody suggest how to fix the problem?

 Just for kicks, I tried the following. The prompt said
   Please type another input file name:
 so I entered core-swd.mkii (i.e. I added the .mkii suffix).
 This seemed to satisfy the processor ... until the same error happened
 again a little while later (with the same preceding output).
 This happened about 4 times total.

 Was that a legitimate solution? Or should it really be looking for a
 core-swd.tex file?


Can your try this:

mtxrun --selfupdate
luatools --selfupdate
context --generate
context --make en

Wolfgang

___
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] can't find file `core-swd'

2008-11-06 Thread Lars Huttar
On 11/6/2008 3:49 PM, Lars Huttar wrote:
 Hello,
 I've just been trying to install context on Ubuntu 8.10.
 Today I went to http://minimals.contextgarden.net/setup/
 and followed the instructions:
 
 On unix (linux, mac, freebsd, sun, ...) run:

  mkdir context  cd context
  rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
  ./first-setup.sh
 
 The first-setup script initially failed because I did not have ruby
 installed. So I installed ruby and then ran it again.
 
 It cranked away for awhile, then ended up with the error:
   ! I can't find file `core-swd'.
   to be read again
  \relax
   l.228 \loadmkiifile{core-swd}
 
 The preceding output was:
   systeem : markering subsubsubsubonderwerpnummer gedefinieerd
 [subsubsubsubonderwerpnummer]
   )
 
 However, when I do a search, I see that there is a file core-swd.mkii.
 Its path is context/tex/texmf-context/tex/context/base

Just to clarify, since I wasn't explicit: there is no core-swd.tex file
in the context/base folder.

Googling core-swd context gives results that indicate there used to be
a core-swd.tex file there. I could use the google cached copy, although
I suppose there was some reason why it was removed?

After using the google cached copy, and rerunning the first-setup
script, the script ends without obvious errors:
TeXExec | runtime: 14.383196
make | done
state | saved

Can anyone confirm that using the cached core-swd.tex indeed solved the
problem, rather than merely masking it?
Maybe core-swd.tex was rightfully removed, and the correct fix would be
to remove the reference to it in the other file?

Thanks,
Lars


 
 Can anybody suggest how to fix the problem?
 
 Thanks,
 Lars
 
 

___
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] can't find file `core-swd'

2008-11-06 Thread Wolfgang Schuster

Am 06.11.2008 um 23:25 schrieb Lars Huttar:

 On 11/6/2008 3:49 PM, Lars Huttar wrote:
 Hello,
 I've just been trying to install context on Ubuntu 8.10.
 Today I went to http://minimals.contextgarden.net/setup/
 and followed the instructions:

 On unix (linux, mac, freebsd, sun, ...) run:

 mkdir context  cd context
 rsync -ptv rsync://contextgarden.net/minimals/setup/first- 
 setup.sh .
 ./first-setup.sh

 The first-setup script initially failed because I did not have ruby
 installed. So I installed ruby and then ran it again.

 It cranked away for awhile, then ended up with the error:
  ! I can't find file `core-swd'.
  to be read again
 \relax
  l.228 \loadmkiifile{core-swd}

 The preceding output was:
  systeem : markering subsubsubsubonderwerpnummer gedefinieerd
 [subsubsubsubonderwerpnummer]
  )

 However, when I do a search, I see that there is a file core- 
 swd.mkii.
 Its path is context/tex/texmf-context/tex/context/base

 Just to clarify, since I wasn't explicit: there is no core-swd.tex  
 file
 in the context/base folder.

 Googling core-swd context gives results that indicate there used  
 to be
 a core-swd.tex file there. I could use the google cached copy,  
 although
 I suppose there was some reason why it was removed?

 After using the google cached copy, and rerunning the first-setup
 script, the script ends without obvious errors:
   TeXExec | runtime: 14.383196
   make | done
   state | saved

 Can anyone confirm that using the cached core-swd.tex indeed solved  
 the
 problem, rather than merely masking it?
 Maybe core-swd.tex was rightfully removed, and the correct fix would  
 be
 to remove the reference to it in the other file?


core-swd.tex is removed in the last beta and the old file was saved
under the name core-swd.mkii

Generate the formats with texexec --make --all and it should work.

Wolfgang

___
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] on imposition and local or external files

2008-11-06 Thread Pablo Rodríguez
Hi there,

I would like to use imposition to rearrange an existing PDF as a 
booklet, but I don' have ConTeXt installed on the machine I would like 
to do it.

Using http://live.contextgarden.net/ might do the job, but I have 
problems to load the local file.

Is there any way to load a local file (or even an URL) with ConTeXt? How 
should I rewrite the following command to load a local file or an URL in 
ConteXt live?

\insertpages[original_file.pdf][width=0pt]

Thanks for your help,


Pablo
___
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] apostrophe in a verbatim enviroment

2008-11-06 Thread Aditya Mahajan

On Thu, 6 Nov 2008, Alan Bowen wrote:


Is it possible to get an apostrophe to typeset as a vertical mark
( ' ) rather than a curved mark ( ’ ) when using \starttyping and
MKII? I am trying to get the old “typewriter” look for a brief stretch
of text.


See 
http://archive.contextgarden.net/message/20060913.020414.752ac0bd.en.html


for a possible solution. See Taco's and Hans's mails in the thread for 
other options.


Aditya___
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
___