Re: [NTG-context] simpleslides with minimals

2009-05-08 Thread Amaël
These files are fine. But still no luck with my sample file (I try to
remove font=Helvetica but it still not works).

Best,
Amaël  

Le jeudi 07 mai 2009 à 17:39 -0400, Aditya Mahajan a écrit :
 On Thu, 7 May 2009, Amaël Broustet wrote:
 
  Ok I just put in my essai.tex size=24pt istead of  size=24 and there
  were no more errors.
  But the generated pdf file is blank (2 pages wihtout test or graphic).
 
 Simpleslides comes with a test script. Try the following
 
mkdir styles
mtxrun --script simpleslides --styles=BigNumber --engine=context
 
 This will create BigNumber-blue.pdf and BigNumber-red.pdf in the styles 
 directory. Are these files correct?
 
 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 
 ___

___
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] simpleslides with minimals : OK

2009-05-08 Thread Amaël
Merci 
Than you very much, it works !
I don't know why.
Just a question : what is the difference between texexec --lua and
context ?

Best,
Amaël 

Le jeudi 07 mai 2009 à 15:08 +0200, Thomas A. Schmitz a écrit :
 On May 7, 2009, at 1:27 PM, Amaël Broustet wrote:
 
  Thank you !!
  As I wrote, I have a blank pdf (size is only 1700 bytes).
  From the log (attached below), s the iit's a problem with fonts :
  there is a whole page of
 
  simpleslides: loading default font setup
  define font | font with name unknown is not found
  define font | unknown font unknown, loading aborted
  define font | unable to define unknown as \*24ptsstfss*
 
  I'm reading messages about beta and font generation, maybe it's  
  related.
 
  Best
  Amaël
 
 Hmm, I get proper output with the test document you sent, and I'm  
 using the same version you are. Just to be safe, could you run these  
 commands
 
 1. rm ~/context/tex/texmf-cache/luatex-cache/*
 
 2. luatools --generate
 
 3. context --make
 
 4. then rm all essai.tu* files and process essai.tex again with mkiv:
 
 5. context essai
 
 Sorry you're having so much trouble, as you may have seen, mkiv is  
 having a particularly busy time right now; things will probably calm  
 down during the next days.
 
 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
 ___

___
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] bugs in beta

2009-05-08 Thread Hans Hagen

Yanrui Li wrote:

On Fri, May 8, 2009 at 5:17 AM, Hans Hagen pra...@wxs.nl wrote:

Alan BRASLAU wrote:

I still get a major sectioning bug using the new beta mkiv
1. minimals from the garden
2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip

Am I alone in seeing this?

i'm still strugling with defaults (it's not so much a matter of not working
but more of how to set up the defaults with reasonable inheritance) so it
will take a while before things stabelize

i uploaded a beta with a (temp) fix



I failed to update the latest beta and got the following error message:


ok, will be fixed in 10 min

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] Inside ConTeXt

2009-05-08 Thread Bostjan Vesnicer

Hi Wolfgang,

I appreciate your solution, but it would be much more useful if the 
solution would be accompanied with a step-by-step explanation of what is 
going on behind the scenes.


A collection of such elegant solutions (together with explanations) 
would be an invaluable source of knowledge for those of us who want to 
learn the TeX programming.


Bostjan

Wolfgang Schuster wrote:
After reading the following code [1] from the wiki again I will 
present here my solution:


\def\TextWithSpaces{\framed\bgroup\afterassignment\obeyspaces\let\next}

[1] 
http://wiki.contextgarden.net/Inside_ConTeXt#Passing_verbatim_text_as_macro_parameter 



Wolfgang


smime.p7s
Description: S/MIME Cryptographic 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
___


Re: [NTG-context] bugs in beta

2009-05-08 Thread Yanrui Li
On Fri, May 8, 2009 at 3:22 PM, Hans Hagen pra...@wxs.nl wrote:
 Yanrui Li wrote:

 On Fri, May 8, 2009 at 5:17 AM, Hans Hagen pra...@wxs.nl wrote:

 Alan BRASLAU wrote:

 I still get a major sectioning bug using the new beta mkiv
 1. minimals from the garden
 2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip

 Am I alone in seeing this?

 i'm still strugling with defaults (it's not so much a matter of not
 working
 but more of how to set up the defaults with reasonable inheritance) so it
 will take a while before things stabelize

 i uploaded a beta with a (temp) fix


 I failed to update the latest beta and got the following error message:

 ok, will be fixed in 10 min


Recently I have found some environment variables in setuptex script
are commented out sometimes, such as TEXMFLOCAL, TEXMFCONTEXT and so
on. Is this be done deliberately?

-- 
Best wishes,
Li Yanrui
___
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] setuptex changes in minimals (was: bugs in beta)

2009-05-08 Thread Mojca Miklavec
On Fri, May 8, 2009 at 11:46, Yanrui Li wrote:

 Recently I have found some environment variables in setuptex script
 are commented out sometimes, such as TEXMFLOCAL, TEXMFCONTEXT and so
 on. Is this be done deliberately?

Yes (we were bored during some Polish talks at BachoTeX).

The reason for setuptex setting all those variables in the old days
was to override tetex's environmental variables, but in principle this
is not needed at all unless tetex is present on computer. The reason
for removing them again was to make sure that Hans' scripts work
properly even when no environmental variable is set (which will be the
case on TeX Live for example).

The only variable change that's really needed is fixing PATH, but it's
so convenient to be able to run
. /path/to/setuptex
instead of typing the long
export PATH=/path/to/minimals/bin:$PATH

We nevertheless left two or three variables since ConTeXt didn't yet
work properly without them, but we'll remove those as well.

If anyone uses minimals on tetex, we can create an additional file
again that would enable complete isolation.

We didn't clean up the windows script yet as it would need some more
testing (and we had enough problem by minimals not running at all on
unix), but that's still on TODO list ...

We also silently added TEXMFHOME (while Hans was not watching), but
maybe we need to change the exact path.

If you have any particular question or request about that, let us know.

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] setuptex changes in minimals (was: bugs in beta)

2009-05-08 Thread Yanrui Li
On Fri, May 8, 2009 at 7:19 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 On Fri, May 8, 2009 at 11:46, Yanrui Li wrote:

 Recently I have found some environment variables in setuptex script
 are commented out sometimes, such as TEXMFLOCAL, TEXMFCONTEXT and so
 on. Is this be done deliberately?

 Yes (we were bored during some Polish talks at BachoTeX).

 The reason for setuptex setting all those variables in the old days
 was to override tetex's environmental variables, but in principle this
 is not needed at all unless tetex is present on computer. The reason
 for removing them again was to make sure that Hans' scripts work
 properly even when no environmental variable is set (which will be the
 case on TeX Live for example).

 The only variable change that's really needed is fixing PATH, but it's
 so convenient to be able to run
    . /path/to/setuptex
 instead of typing the long
    export PATH=/path/to/minimals/bin:$PATH

 We nevertheless left two or three variables since ConTeXt didn't yet
 work properly without them, but we'll remove those as well.

 If anyone uses minimals on tetex, we can create an additional file
 again that would enable complete isolation.

 We didn't clean up the windows script yet as it would need some more
 testing (and we had enough problem by minimals not running at all on
 unix), but that's still on TODO list ...

 We also silently added TEXMFHOME (while Hans was not watching), but
 maybe we need to change the exact path.

 If you have any particular question or request about that, let us know.


Thanks for your explanation. Now I see.

I have no questions for these, only I have to modify instruction of these
variables in the tutorial which I wrote for Chinese users :)

-- 
Best wishes,
Li Yanrui
___
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] Inside ConTeXt

2009-05-08 Thread Wolfgang Schuster


Am 08.05.2009 um 11:33 schrieb Bostjan Vesnicer:


Hi Wolfgang,

I appreciate your solution, but it would be much more useful if the  
solution would be accompanied with a step-by-step explanation of  
what is going on behind the scenes.


It's magic and mages don't explain their tricks :)

A collection of such elegant solutions (together with explanations)  
would be an invaluable source of knowledge for those of us who want  
to learn the TeX programming.


Can you please first take a look in a TeX manual (TeXbook, TeX by  
Topic or TeX for the impatient) and ask then what you don't  
understand, for my example look at the explanation of \afterassignment.


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] Switching Layers on and off

2009-05-08 Thread Markus Hubig
Hi @all,

l'm trying to some vertical text into the margins of my Document.
But I don't wanna have this text on every page so I'm looking for a
solution to switch it on or off ... I tried this but it doesn't work:

*environment File:*

\setupbackgrounds
  [leftpage]
  [background=Watermark-Left]

\definelayer
 [Watermark-Left]
 [width=\paperwidth,
  height=\paperheight,
  state=stop]

\setlayer
 [Watermark-Left]
 [hoffset=1cm, voffset=1cm]
 {\scale[sx=2,sy=3]{\rotate[rotation=-90.0]{margintext}}}

*Project File:*

\startbodymatter
  \setupbackgrounds[lefttpage][state=repeat]
\stopbodymatter

Maybe some knows a solution for this ...

Markus

-- 
---it's like this--
even samurai have teddy bears
and even teddy bears get drunk
___
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] beta (21.04.2008)

2009-05-08 Thread Peter Rolf

Peter Rolf schrieb:

Hans Hagen schrieb:

Peter Rolf wrote:

Hi,

finally found some time to test the latest beta. I get a couple of 
undefined control sequences here (mkiv).


\doPDFpageattribute
\doPDFaddtocatalog
\PDFobjectreferenceB (overprinting)


i have been fizing some issues so maybe a new beta later today


thanks. will keep an eye on that :)

Just tried todays beta and still the same problem. Sadly I can't test 
new betas in my working environment without those macros (current 
working version is from 06.04.2009).


mkii works as expected, but I get warnings about an undefined color
color   : themaintextcolor is not defined

Best wishes,  Peter



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





___ 

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
___ 





___
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] beta (21.04.2008)

2009-05-08 Thread Hans Hagen

Peter Rolf wrote:

Peter Rolf schrieb:

Hans Hagen schrieb:

Peter Rolf wrote:

Hi,

finally found some time to test the latest beta. I get a couple of 
undefined control sequences here (mkiv).


\doPDFpageattribute
\doPDFaddtocatalog
\PDFobjectreferenceB (overprinting)


i have been fizing some issues so maybe a new beta later today


thanks. will keep an eye on that :)

Just tried todays beta and still the same problem. Sadly I can't test 
new betas in my working environment without those macros (current 
working version is from 06.04.2009).


i fixed the transparencyhack (page attribute thing) but cannot do 
anything about the others without a test file


-
  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] setuptex changes in minimals (was: bugs in beta)

2009-05-08 Thread Mojca Miklavec
On Fri, May 8, 2009 at 14:16, Yanrui Li wrote:

 I have no questions for these, only I have to modify instruction of these
 variables in the tutorial which I wrote for Chinese users :)

What exactly do you describe there? Do you write instructions for
users that want to modify their installation?

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] setuptex changes in minimals (was: bugs in beta)

2009-05-08 Thread Yanrui Li
On Sat, May 9, 2009 at 1:43 AM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 On Fri, May 8, 2009 at 14:16, Yanrui Li wrote:

 I have no questions for these, only I have to modify instruction of these
 variables in the tutorial which I wrote for Chinese users :)

 What exactly do you describe there? Do you write instructions for
 users that want to modify their installation?


MkIV have not support Chinese typesetting now, so I modified
scrp-ini.lua and scrp-cjk.lua for compression of Chinese punctuations.
In addition, I wrote a lua program which can solve the
problem of margin alignment of Chinese puncuations appeared on the
right side. To simplify the usage of these modified script files, I
used TEXMFLOCAL instead of the specific path. But this is not a very
serious matter, because I am going to rewrite the related content
easily and only a few Chinese users are interested in MkIV
.

-- 
Best wishes,
Li Yanrui
___
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] setuptex changes in minimals (was: bugs in beta)

2009-05-08 Thread Yanrui Li
On Sat, May 9, 2009 at 2:17 AM, Yanrui Li liyanrui...@gmail.com wrote:
 On Sat, May 9, 2009 at 1:43 AM, Mojca Miklavec
 mojca.miklavec.li...@gmail.com wrote:
 On Fri, May 8, 2009 at 14:16, Yanrui Li wrote:

 I have no questions for these, only I have to modify instruction of these
 variables in the tutorial which I wrote for Chinese users :)

 What exactly do you describe there? Do you write instructions for
 users that want to modify their installation?


 MkIV have not support Chinese typesetting now, so I modified
 scrp-ini.lua and scrp-cjk.lua for compression of Chinese punctuations.
 In addition, I wrote a lua program which can solve the
 problem of margin alignment of Chinese puncuations appeared on the
 right side. To simplify the usage of these modified script files, I
 used TEXMFLOCAL instead of the specific path. But this is not a very
 serious matter, because I am going to rewrite the related content
 easily and only a few Chinese users are interested in MkIV
 .



Sorry!

s/MkIV have not support Chinese typesetting now / MkIV have not
support Chinese typesetting well now/g


-- 
Best wishes,
Li Yanrui
___
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] narrow space in \ldots.

2009-05-08 Thread Ryo Furue
Hello ConTeXt folks,

I'm quite new to ConTeXt.  I like it.
It's way more systematic than LaTeX.

Here's my first question.  When omitting the last
part of  a sentence, I want four periods:

  This is a long sentence which\ldots.

LaTeX produces equally-spaced four periods,
but with ConTeXt, the last space is narrower
than the preceding two.  (See examples below.)
I guess that LaTeX specifically designed
its \ldots with this use (sentence-ending four dots)
in mind.  How can one fix it in ConTeXt?

I use the context package version 2008.05.21-1
on Debian testing.  The LaTeX is from the
texlive-latex packages.

Cheers,
Ryo

%--- ConTeXt version --
\starttext
Hello\ldots.  World.\ldots
\stoptext

%--- LaTeX version --
\documentclass{article}
\begin{document}
Hello\ldots.  World.\ldots
\end{document}
___
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] good layout for tech manual

2009-05-08 Thread Thomas Floeren

Hi,

I’m doing also manuals (utility vehicles), graphics are mainly not  
screenshots but drawings (or photos), but I have also chapters which  
consist mainly in screenshots (of a 640px or so  control device).

My messures refere to A5 landscape.
Best solution for me so far: a constant margin of about 45 mm where I  
can put my images/screenshots in; the images go in as  
\placefloat[margin]; so they are always aligned on top and  
respecting each other;). Sometimes I do a  \margintext or \inmargin  
but preferably vers the end of the production.
It happens that on some pages the margin will be empty. For me this is  
ok.
The advantage is, that you’ll rest quite flexible, when you have to  
insert new things or to replace images. The flow-text flow is quite  
good.


In annexe I put my env-file (a bit cleaned-up), so you can get an idea  
(once again: its a5 landscape).


env_rxt_cleaned.tex
Description: Binary data
Although a bit cleaned it contain s much stuff of a context newby, but  
maybe you get the idea.


Hope I could help

Greetings from Switzerland
Thomas



On May 5, 2009, at 18:17 , Markus Hubig wrote:


Hi @all,

at the moment I'm writing a tech manual with a lt of screenshots  
 plots.
I've played around to find the perfect layout for my document but  
I'm not fully

satisfied with what I have till now.

8---schnipp-

\setuppapersize[A4][A4]
\setuplayout [topspace=25mm,
  bottomspace=50mm,
  backspace=30mm,
  leftmargin=23mm,
  rightmargin=23mm]

8---schnapp-

The big problem I have is because of the many screenshots there's a  
lot

of unused space in my document. Maybe some of you can give me a  tip
for a better layout ...

Markus

--
---it's like this--
even samurai have teddy bears
and even teddy bears get drunk
___
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
___


___
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] bugs in beta

2009-05-08 Thread Alan BRASLAU
On Thursday 07 May 2009 23:17:38 Hans Hagen wrote:
 Alan BRASLAU wrote:
  I still get a major sectioning bug using the new beta mkiv
  1. minimals from the garden
  2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip
 
  Am I alone in seeing this?

 i'm still strugling with defaults (it's not so much a matter of not
 working but more of how to set up the defaults with reasonable
 inheritance) so it will take a while before things stabelize

 i uploaded a beta with a (temp) fix

OK, it sort-of works. I get:

1 first section
1.1 first subsection of first section
1.1.1 subsubsection
1.2 second subsection of first section
2 second section
2.1 first subsection of second section
2.2 second subsection of second section

But now I am being difficult:

\setupsection[section-3][bodypartconversion=Character]
\setupsection[section-4][previousnumber=no,bodypartconversion=number]
\setupsection[section-5][previousnumber=no,bodypartconversion=character]
\starttext
\section{first section}
\subsection{first subsection of first section}
\subsubsection{subsubsection}
\subsection{second subsection of first section}
\section{second section}
\subsection{first subsection of second section}
\subsection{second subsection of second section}
\stoptext

which yields (in mkii):

A first section
1 first subsection of first section
a subsubsection
2 second subsection of first section
B second section
1 first subsection of second section
2 second subsection of second section

but not in mkiv...

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] bugs in beta

2009-05-08 Thread Hans Hagen

Alan BRASLAU wrote:

On Thursday 07 May 2009 23:17:38 Hans Hagen wrote:

Alan BRASLAU wrote:

I still get a major sectioning bug using the new beta mkiv
1. minimals from the garden
2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip

Am I alone in seeing this?

i'm still strugling with defaults (it's not so much a matter of not
working but more of how to set up the defaults with reasonable
inheritance) so it will take a while before things stabelize

i uploaded a beta with a (temp) fix


OK, it sort-of works. I get:

1 first section
1.1 first subsection of first section
1.1.1 subsubsection
1.2 second subsection of first section
2 second section
2.1 first subsection of second section
2.2 second subsection of second section

But now I am being difficult:

\setupsection[section-3][bodypartconversion=Character]
\setupsection[section-4][previousnumber=no,bodypartconversion=number]
\setupsection[section-5][previousnumber=no,bodypartconversion=character]


see top of strc-def.tex ... you need to define sets

no documentation yet

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] Combining figures.

2009-05-08 Thread Robert Blackstone
Hi All,I am working on a text that contains many combined figures, some side
by side,  some arranged vertically. I use, following “ConTeXt, an
excursion”, \startcombination[1*2] and \startcombination[2*1] respectively.
The first one works, the second doesn’t, that is, it also places the figures
one above the other. It happens both with the “MacTeX”-version of ConTeXt
and with the minimals.
What can I do to place two figures side by side with a single caption?
Thanks in advance,
Robert Blackstone
___
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] narrow space in \ldots.

2009-05-08 Thread Hans Hagen

Ryo Furue wrote:

Hello ConTeXt folks,

I'm quite new to ConTeXt.  I like it.
It's way more systematic than LaTeX.

Here's my first question.  When omitting the last
part of  a sentence, I want four periods:

  This is a long sentence which\ldots.


which\unknown


-
  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] Combining figures.

2009-05-08 Thread Mojca Miklavec
On Fri, May 8, 2009 at 21:53, Robert Blackstone wrote:
 Hi All,
 I am working on a text that contains many combined figures, some side by
 side,  some arranged vertically. I use, following “ConTeXt, an excursion”,
 \startcombination[1*2] and \startcombination[2*1] respectively. The first
 one works, the second doesn’t, that is, it also places the figures one above
 the other. It happens both with the “MacTeX”-version of ConTeXt and with the
 minimals.
 What can I do to place two figures side by side with a single caption?

Both variants work for me.

\starttext
\placefigure{some title}
{\startcombination[1*2]
{\framed[width=5cm]{}}{}
{\framed[width=5cm]{}}{}
\stopcombination}
\placefigure{some title}
{\startcombination[2*1]
{\framed[width=5cm]{}}{}
{\framed[width=5cm]{}}{}
\stopcombination}
\stoptext

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] Combining figures.

2009-05-08 Thread Thomas Floeren
For me normally \startcombination[2*1] .. works. MKII; Side by side  
with a single caption.

Please tell me if I didnt understand your problem.

Greetings
Tom


On May 8, 2009, at 21:53 , Robert Blackstone wrote:


Hi All,
I am working on a text that contains many combined figures, some  
side by side,  some arranged vertically. I use, following “ConTeXt,  
an excursion”, \startcombination[1*2] and \startcombination[2*1]  
respectively. The first one works, the second doesn’t, that is, it  
also places the figures one above the other. It happens both with  
the “MacTeX”-version of ConTeXt and with the minimals.

What can I do to place two figures side by side with a single caption?
Thanks in advance,
Robert Blackstone
___
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
___


___
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] narrow space in \ldots.

2009-05-08 Thread Ryo Furue
Hello Hans,

|  Hello ConTeXt folks,
|  I'm quite new to ConTeXt.  I like it.
|  It's way more systematic than LaTeX.
|  Here's my first question.  When omitting the last
|  part of  a sentence, I want four periods:
|This is a long sentence which\ldots.
| 
| which\unknown

Thanks for the answer!  It's close, but not quite.
First, I noticed that \unknown produces three dots, not four.
So, I tried \unknown.  (See the attached.)  In this case,
There is a thin space between the word and the first dot,
so that the output looks like

   which . . . .

Convention says that the fist dot should look like a
sentence-ending period:

   which. . . .

Second, with \unknown., the last space is slightly,
just slightly, narrower than the preceding two.

I guess \unknown is designed to be an inter-sentence
ellipsis:

  This long sentence\unknown is complicated.

For this purpose, it's perfect.  It generates appropriate
spaces before and after the three dots.

Regards,
Ryo

\starttext
Hello\ldots.  World.\ldots

Hello\unknown.  World.\unknown

Hello\unknown World.
\stoptext
___
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] loading bib module breaks colors in tikz figures (mkiv)

2009-05-08 Thread Mojca Miklavec
Hello,

Not that I understand why this happens (bug trigger looks extremely
weird), but if I load bib module, the colors in TikZ graphic are lost.
Commenting out bib module returns the color back. (I remember
reporting lack of colors not so long ago, though I'm not sure if it
was in pdftex or luatex.)

I'm using
- ConTeXt MKIV 2009.05.08 21:48
- LuaTeX beta-0.40.1
- approximately CVS version of TikZ

\usemodule [bib]
\usemodule [tikz]

\starttext
\starttikzpicture
\filldraw[fill=green!20,draw=green!50!black] (0,0) -- (60:3cm) arc
(60:120:3cm) -- cycle;
\stoptikzpicture
\stoptext

Can anyone please confirm the bug? (I often mess with my system too much ...)

Thanks,
Mojca

To Till only: I have a feeling that the command
\node[label=87:$φ$] at (65:1cm) {};
an the image above places the label to a different place from where it
used to place it a few weeks ago (recompiling an old document has
placed the label to a different place).

This is the sequence of command to reproduce the problem using the
latest software versions:

rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh .
./first-setup.sh --context=beta --extras=t-tikz
# go for a coffee
cd tex
. setuptex
luatools --generate
context --make en
cd folder-with-your-test-files
context testfile.tex
___
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] loading bib module breaks colors in tikz figures (mkiv)

2009-05-08 Thread Mojca Miklavec
On Fri, May 8, 2009 at 22:45, Mojca Miklavec wrote:

 To Till only: I have a feeling that the command
    \node[label=87:$φ$] at (65:1cm) {};
 an the image above places the label to a different place from where it
 used to place it a few weeks ago (recompiling an old document has
 placed the label to a different place).

More precisely: the version in TeX Live has a different placement, but
it's quite possible that the old behaviour is worse (buggy). I
remember having problems with placement (a tiny difference in angle
used to place the label to a completely different position).

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] Obeyspaces in tables

2009-05-08 Thread paul morgan
Hi,

Does \obeyspaces work in tables? I cannot determine how to make it do so. In
the following example, I am unable to maintain the space between the words
T H E and P R O J E C T.

\bTABLE[width=.5\hsize,frame=off]
\bTR
\bTD[align=right] {\it {\vi Contractor:}} \\ {\ss An organization} \\
 {\ssx 100 West 27th Street, NY 10001} \eTD

\bTD[ny=2][align=middle] {\obeyspaces {\ssa {\bf T H E   P R O J E C T}}} \\
100 East 10th Street, NY 10003 \eTD
\eTR

\bTR
\bTD[align=right] {\it {\vi Sub-contractor:}} \\ {\ss Another organization}
\\ {\ssx 100 Stagg St., Brooklyn 11206} \eTD
\eTR
\eTABLE


Thank you for any help or advice.
___
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] setuptex changes in minimals (was: bugs in beta)

2009-05-08 Thread Yue Wang
On Sat, May 9, 2009 at 2:20 AM, Yanrui Li liyanrui...@gmail.com wrote:
 Sorry!

 s/MkIV have not support Chinese typesetting now / MkIV have not
 support Chinese typesetting well now/g


We can start a fork of scrp-* on code.google.com/p/ctex-kit,
making a usable version, and later ask Hans to merge back into ConTeXt.

Yue Wang



 --
 Best wishes,
 Li Yanrui
 ___
 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
 ___

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