Re: [NTG-context] placing image on layer is sketchy

2008-06-23 Thread Wolfgang Schuster
On Fri, Jun 20, 2008 at 9:54 PM, Uwe Koloska [EMAIL PROTECTED] wrote:
 Hello,

 still working on the CD booklet ;-)

 While trying to include the pictures I have some problems with placing a
 picture onto a layer: The following code should place the picture into the
 lower right corner of the upper part and then goes to the left. The part that
 goes over the page border is for the bleeding.
 But the result (as seen in the attached pdf) is a sketchy position of the
 right, bottom corner it looks like the same offset in x and -y direction.

 Two more observations:
 - with the offset=-1mm in the layerframe configuration there is only an
 offset in -y direction left (offset=0mm is not enough)
 - without the frame it works as expected (and so my problem is solved)

 \setuppapersize[CD][CD,oversized]
 \setuppagenumbering[location=,state=stop]

 \setuplayout
  [location=middle]

 \showframe[edge]

 \useexternalfigure[page12][dummy]

 \definelayer
  [p12]
  [width=\paperwidth,
  height=\paperheight]

 \setlayerframed [p12]
  [x=\paperwidth,y=74mm,
  location={left,top}]
  [width=124mm,height=77mm,
  %offset=-1mm,
  frame=on]
  {\externalfigure[page12][width=126mm,height=77mm]}
 %\setlayer [p12]
 %  [x=\paperwidth,y=74mm,
 %  location={left,top}]
 %  {\externalfigure[page12][width=124mm,height=77mm]}

\setlayer
  [p12]
  [preset=righttop,
   voffset=74mm]
  {\offset[location=rt,rightoffset=-3mm]
 
{\tlap{\externalfigure[page12][width=\dimexpr\paperwidth+6mm\relax,height=77mm]}}}

 \starttext
 \setupbackgrounds[page][background=p12]
 \startstandardmakeup
 \stopstandardmakeup
 \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] error: Attempt to node.insert_before() a non-existing node

2008-06-23 Thread Taco Hoekwater


Khaled Hosny wrote:
 I get this error when I attempt to generate this file with
 \setcharactermirroring[1], and text directionality gets broken.
 

IIRC, this is a bug in luatex 0.25.3 that is fixed in SVN.
There'll be a new snapshot luatex release later in the week
that should fix it. (or you could fetch SVN trunk right now)

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] Booklet hint

2008-06-23 Thread Wolfgang Schuster
On Fri, Jun 20, 2008 at 4:18 PM, Diego Depaoli [EMAIL PROTECTED] wrote:
 2008/6/20 Wolfgang Schuster [EMAIL PROTECTED]:
 What kind and size of font you suggest to maximize readability saving paper?

 I use myself a size between 8 and 10pt but it depends on the font and
 8pt could be too small for a few fonts. You could also try to adjust the
 margins to get more text on the page.
 Thanks, 9pt was my original choice, but someone complained about this size.
 In the meanwhile I got another problem.
 The central page of this booklet should contain a text  which fits an
 A4 sheet so we will have
 [A5][A4, landscape] papersize on pages 1-8, 2-7, 3-6 and [A4,
 rotated][A4,landscape] in pages 4-5.
 My trivial code (obviously) doesn't work and searching wiki and ml
 didn't give much help:

 \setuppapersize[A5][A4, landscape]
 \setuparranging[2UP]
 \startpostponing[4]
 \setuppapersize[A4,rotated][A4,landscape]
 \input knuth
 \page
 \stoppostponing
 \startext
 \dorecurse{50}{\input hawking}
 \stoptext

 How can I achieve the desired result?

Write the text for the A4 page in a seperate document and
include it as a figure.

\setupexternalfigures[location={local,global,default}]

\setuppapersize[A5][A4, landscape]
\setuparranging[2UP]

\startpostponing[4]
\offset
  [leftoffset=-\backspace,
   topoffset=-\dimexpr\topspace+\headerheight\relax]
  {\clip
 [width=\paperwidth]
 {\externalfigure[cow][width=2\paperwidth,height=\paperheight]}}
\stoppostponing

\startpostponing[5]
\noheaderandfooterlines
\offset
  [leftoffset=-\backspace,
   topoffset=-\dimexpr\topspace+\headerheight\relax]
  {\clip
 [hoffset=\paperwidth,width=\paperwidth]
 {\externalfigure[cow][width=2\paperwidth,height=\paperheight]}}
\stoppostponing

\starttext

\dorecurse{50}{\input hawking}

\stoptext

Regards
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] pdfobj runtime question

2008-06-23 Thread Hans Hagen
Peter Rolf wrote:
 hi,
 
 i'm currently struggling with some basic runtime problems in luatex.
 
 are there any rules for directly writing a pdf object? in context this 
 is only done in the tex part.
 especially what pitfalls are there, if you do it in the lua part of the 
 code ( tex.sprint(tex.ctxcatcodes,\\immediate\\pdfobj{})) ) and use 
 \the\pdflastobj (tex or lua) to reference that object?

should be ok if you so it in sequence

that kind of backend stuff is kind of long term dev in luatex, we're 
experimenting with things but this year you will not see such an 
interface; some internals need to be changed/cleaned up etc etc

 and what must be done to make sure that things are done immediatly (in 
 lua), so that one ore more switches between lua--tex always uses the 
 right obj number? i already noticed that you have to use separated lua 
 code for 'creation' and 'reference' (different chunks).

just use the obj interface of context then (see spec-tpd for usage, obj 
references and such)

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] error: Attempt to node.insert_before() a non-existing node

2008-06-23 Thread Hans Hagen
Khaled Hosny wrote:
 On Mon, Jun 23, 2008 at 09:47:45AM +0200, Taco Hoekwater wrote:

 Khaled Hosny wrote:
 I get this error when I attempt to generate this file with
 \setcharactermirroring[1], and text directionality gets broken.

 IIRC, this is a bug in luatex 0.25.3 that is fixed in SVN.
 There'll be a new snapshot luatex release later in the week
 that should fix it. (or you could fetch SVN trunk right now)
 
 I fetched SVN trunk sources and built it, the error has gone, but the
 Arabic text stil broken; letters run from left to right, but English is
 mirrored as expected. See the attached PDF.

we're still not sure how to deal with implicit directionality (idris is 
investigating this); we need to make sure that things don't clash with 
a tagged approach

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] lang-ara.tex (beta)

2008-06-23 Thread Hans Hagen
Peter Rolf wrote:
 hi,
 
 just tested the latest beta.
 
 [..]
 ) (r:/tex/texmf-context/tex/context/base/lang-ura.tex
 loading : Uralic Languages
 ) (r:/tex/texmf-context/tex/context/base/lang-vn.tex
 loading : Vietnamese Language
 )
 ! I can't find file `lang-ara.tex'.
 to be read again
 \relax
 l.330 \loadcorefile{lang-ara.tex}
 
 (Press Enter to retry, or Control-Z to exit)
 Please type another input file name:

(1) is the file in the zip?
(2) if so, did you regenerate the file database

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] error: Attempt to node.insert_before() a non-existing node

2008-06-23 Thread Khaled Hosny
On Mon, Jun 23, 2008 at 04:46:09PM +0200, Hans Hagen wrote:
 Khaled Hosny wrote:
  On Mon, Jun 23, 2008 at 09:47:45AM +0200, Taco Hoekwater wrote:
 
  Khaled Hosny wrote:
  I get this error when I attempt to generate this file with
  \setcharactermirroring[1], and text directionality gets broken.
 
  IIRC, this is a bug in luatex 0.25.3 that is fixed in SVN.
  There'll be a new snapshot luatex release later in the week
  that should fix it. (or you could fetch SVN trunk right now)
  
  I fetched SVN trunk sources and built it, the error has gone, but the
  Arabic text stil broken; letters run from left to right, but English is
  mirrored as expected. See the attached PDF.
 
 we're still not sure how to deal with implicit directionality (idris is 
 investigating this); we need to make sure that things don't clash with 
 a tagged approach
 
But I'm explicitly setting the direction, and this problem occurs only
when \setcharactermirroring[1] is set.

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team


signature.asc
Description: Digital 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] lang-ara.tex (beta)

2008-06-23 Thread Peter Rolf
Hans Hagen schrieb:
 Peter Rolf wrote:
 hi,

 just tested the latest beta.

 [..]
 ) (r:/tex/texmf-context/tex/context/base/lang-ura.tex
 loading : Uralic Languages
 ) (r:/tex/texmf-context/tex/context/base/lang-vn.tex
 loading : Vietnamese Language
 )
 ! I can't find file `lang-ara.tex'.
 to be read again
 \relax
 l.330 \loadcorefile{lang-ara.tex}

 (Press Enter to retry, or Control-Z to exit)
 Please type another input file name:
 
 (1) is the file in the zip?
yes

 (2) if so, did you regenerate the file database
no

sorry for the noise. i used 'context --make' instead of my own batch 
files (which includes a 'mktexlsr').
i was testing the new beta in hope it was fixing one of my current problems.

peter

 
 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
 ___
 

___
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] \setupitemize[afterhead=...] not working

2008-06-23 Thread Peter Münster
On Mon, Jun 23 2008, Wolfgang Schuster wrote:

  The parameter afterhead seems to be ignored (MKII and MKIV):
 
 There is no \head in your numeration.

Indeed, but headstyle applies nevertheless.

  \setupitemize[afterhead=:]
 
 Try:
 
 \def\aftercolon{\groupedcommand{}{:}}
 \setupitemize[headstyle=\aftercolon]

Thanks, nice workaround!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

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


Re: [NTG-context] error: Attempt to node.insert_before() a non-existing node

2008-06-23 Thread Hans Hagen
Khaled Hosny wrote:
 On Mon, Jun 23, 2008 at 04:46:09PM +0200, Hans Hagen wrote:
 Khaled Hosny wrote:
 On Mon, Jun 23, 2008 at 09:47:45AM +0200, Taco Hoekwater wrote:
 Khaled Hosny wrote:
 I get this error when I attempt to generate this file with
 \setcharactermirroring[1], and text directionality gets broken.

 IIRC, this is a bug in luatex 0.25.3 that is fixed in SVN.
 There'll be a new snapshot luatex release later in the week
 that should fix it. (or you could fetch SVN trunk right now)
 I fetched SVN trunk sources and built it, the error has gone, but the
 Arabic text stil broken; letters run from left to right, but English is
 mirrored as expected. See the attached PDF.
 we're still not sure how to deal with implicit directionality (idris is 
 investigating this); we need to make sure that things don't clash with 
 a tagged approach
  
 But I'm explicitly setting the direction, and this problem occurs only
 when \setcharactermirroring[1] is set.

ok, i also need to look at whatsit(6) for the initial state

-
   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] Problem with miktex

2008-06-23 Thread TeXWorld
Hi,

Context doesn't work with miktex for several days.
Could you please tell me what happened and when texexec/context will 
work again.

Thank you.


Jack
___
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 minimals installation

2008-06-23 Thread Alan Stone
- Ubuntu 8.04

According to http://wiki.contextgarden.net/ConTeXt_Minimals
I installed the context minimals in

/opt/context

then ( after some research about its definition and use ) created a

.bash_profile

file (using gedit) to which were added the following instructions

#!/bin/bash
source /opt/context/tex/setuptex /opt/context/tex

saved it in /home/alan then logged in again and...

bash doesn't seem to execute ~/.bash_profile
because when launching texexec on a test file,
I'm still receiving as output

ConTeXt  ver: 2007.09.28 16:52 MKII  fmt: 2008.6.18  int: english/english

which, as far as I remember, corresponds to the
ubuntu context installation.

What's missing ?

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] context minimals installation

2008-06-23 Thread Mojca Miklavec
On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote:
 - Ubuntu 8.04

 According to http://wiki.contextgarden.net/ConTeXt_Minimals
 I installed the context minimals in

 /opt/context

 then ( after some research about its definition and use ) created a

 .bash_profile

.bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I
have no idea what Linux distributions out there use to initialize
bash. (Are you using bash or sh or maybe something else?)

In any case you need to open a new terminal once you do the changes.

An alternative should be to put the binary path into PATH.

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] context minimals installation

2008-06-23 Thread Alan Stone
There's a /home/alan/.bashrc so I've put the command line there... doesn't
work either.

Will research about how to proceed with the PATH alternative.

On Mon, Jun 23, 2008 at 7:11 PM, Mojca Miklavec 
[EMAIL PROTECTED] wrote:

 On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote:
  - Ubuntu 8.04
 
  According to http://wiki.contextgarden.net/ConTeXt_Minimals
  I installed the context minimals in
 
  /opt/context
 
  then ( after some research about its definition and use ) created a
 
  .bash_profile

 .bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I
 have no idea what Linux distributions out there use to initialize
 bash. (Are you using bash or sh or maybe something else?)

 In any case you need to open a new terminal once you do the changes.

 An alternative should be to put the binary path into PATH.

 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

 ___

___
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] Problem with miktex

2008-06-23 Thread Idris Samawi Hamid
On Mon, 23 Jun 2008 11:00:35 -0600, TeXWorld [EMAIL PROTECTED] wrote:

 Context doesn't work with miktex for several days.
 Could you please tell me what happened and when texexec/context will
 work again.

Which ConTeXt? mkii? mkiv? the version that came with MikTeX? one  
installed from the minimals?

What error message do you get?

Please give as much detail as possible!

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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 minimals installation

2008-06-23 Thread Mojca Miklavec
On Mon, Jun 23, 2008 at 7:32 PM, Alan Stone wrote:
 There's a /home/alan/.bashrc so I've put the command line there... doesn't
 work either.

What happens if you use

 bash
 export

Can you send some output?

   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] context minimals installation

2008-06-23 Thread Arthur Reutenauer
 There's a /home/alan/.bashrc so I've put the command line there... doesn't
 work either.

  You really need to be more specific.  Are you sure you relaunched bash
after editing .bashrc?  Bash only reads the configuration file once, at
startup, so if you simply edited it you would have missed the change.
Then you should have an environment variable called TEXROOT; check that
echo $TEXROOT returns /opt/context or /opt/context/tex or something
like that.  If so, you should be able to make the formats (texexec
--make --all for Mark II, context --make --all for Mark IV).

Arthur
___
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] Problem with miktex

2008-06-23 Thread Arthur Reutenauer
 Which ConTeXt? mkii? mkiv? the version that came with MikTeX? one  
 installed from the minimals?

  The problem is well-known actually (see a message from Mojca at the
beginning of May).  It has been reported to Christian Schenck who needs
yet to enact upon it.  I don't see if there he has given a schedule, but
everything's on the side of MikTeX now.

Arthur
___
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 minimals installation

2008-06-23 Thread Alan Stone
 In any case you need to open a new terminal once you do the changes.

There's a /home/alan/.bashrc so I've put the command line there... doesn't
work either.

Strange, terminal window says...

Setting /opt/context/tex as TEXROOT.

and nevertheless the ubuntu tex/context gets invoked.


On Mon, Jun 23, 2008 at 7:32 PM, Alan Stone [EMAIL PROTECTED]
wrote:



 Will research about how to proceed with the PATH alternative.


 On Mon, Jun 23, 2008 at 7:11 PM, Mojca Miklavec 
 [EMAIL PROTECTED] wrote:

 On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote:
  - Ubuntu 8.04
 
  According to http://wiki.contextgarden.net/ConTeXt_Minimals
  I installed the context minimals in
 
  /opt/context
 
  then ( after some research about its definition and use ) created a
 
  .bash_profile

 .bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I
 have no idea what Linux distributions out there use to initialize
 bash. (Are you using bash or sh or maybe something else?)

 In any case you need to open a new terminal once you do the changes.

 An alternative should be to put the binary path into PATH.

 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

 ___



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

2008-06-23 Thread Alan Stone
 you need to source ~/.bashrc

In which file do I put that ?

On Mon, Jun 23, 2008 at 7:46 PM, Khaled Hosny [EMAIL PROTECTED] wrote:

 It should be ~/.bashrc (unless you are using another shell than bash),
 you need to source ~/.bashrc to get immediate effect in the current
 shell session.


 On Mon, Jun 23, 2008 at 07:32:08PM +0200, Alan Stone wrote:
  There's a /home/alan/.bashrc so I've put the command line there...
 doesn't work
  either.
 
  Will research about how to proceed with the PATH alternative.
 
  On Mon, Jun 23, 2008 at 7:11 PM, Mojca Miklavec 
 [EMAIL PROTECTED]
   wrote:
 
  On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote:
   - Ubuntu 8.04
  
   According to http://wiki.contextgarden.net/ConTeXt_Minimals
   I installed the context minimals in
  
   /opt/context
  
   then ( after some research about its definition and use ) created a
  
   .bash_profile
 
  .bash_profile works for Mac OS X. Maybe it's .bashrc on your distro?
 I
  have no idea what Linux distributions out there use to initialize
  bash. (Are you using bash or sh or maybe something else?)
 
  In any case you need to open a new terminal once you do the changes.
 
  An alternative should be to put the binary path into PATH.
 
  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
 
 ___
 
 

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


 --
  Khaled Hosny
  Arabic localizer and member of Arabeyes.org team

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)

 iD8DBQFIX+F2RoqITGOuyPIRApK1AJsHZRiDsHNb3qo0KVWXG4xochERDQCcCj3G
 R3/p4e0GzYyMIZqW4OU0p/w=
 =l2bA
 -END PGP SIGNATURE-


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

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

 ___


___
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] Problem with miktex

2008-06-23 Thread Mojca Miklavec
On Mon, Jun 23, 2008 at 7:42 PM, Idris Samawi Hamid wrote:
 On Mon, 23 Jun 2008 11:00:35 -0600, TeXWorld wrote:

 Context doesn't work with miktex for several days.
 Could you please tell me what happened and when texexec/context will
 work again.

 Which ConTeXt?

I guess none. MikTeX stopped shipping ConTeXt in May.

 mkii? mkiv? the version that came with MikTeX? one
 installed from the minimals?

 What error message do you get?

 Please give as much detail as possible!

No need to. It's a known problem.

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] context minimals installation

2008-06-23 Thread Khaled Hosny
'which context' should tell you which file is being executed. I'm running
Hardy and all what I needed is to add that line in my ~/.bashrc.

On Mon, Jun 23, 2008 at 07:46:03PM +0200, Alan Stone wrote:
  In any case you need to open a new terminal once you do the changes.
 
 There's a /home/alan/.bashrc so I've put the command line there... doesn't
 work either.
 
 Strange, terminal window says...
 
 Setting /opt/context/tex as TEXROOT.
 
 and nevertheless the ubuntu tex/context gets invoked.
 
 
 On Mon, Jun 23, 2008 at 7:32 PM, Alan Stone [EMAIL PROTECTED]
 wrote:
 
 
 
 Will research about how to proceed with the PATH alternative.
 
 
 On Mon, Jun 23, 2008 at 7:11 PM, Mojca Miklavec 
 [EMAIL PROTECTED] wrote:
 
 On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote:
  - Ubuntu 8.04
 
  According to http://wiki.contextgarden.net/ConTeXt_Minimals
  I installed the context minimals in
 
  /opt/context
 
  then ( after some research about its definition and use ) created a
 
  .bash_profile
 
 .bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I
 have no idea what Linux distributions out there use to initialize
 bash. (Are you using bash or sh or maybe something else?)
 
 In any case you need to open a new terminal once you do the changes.
 
 An alternative should be to put the binary path into PATH.
 
 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
 
 ___
 
 
 
 

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


-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team


signature.asc
Description: Digital 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] context minimals installation

2008-06-23 Thread Khaled Hosny
It should be ~/.bashrc (unless you are using another shell than bash),
you need to source ~/.bashrc to get immediate effect in the current
shell session.


On Mon, Jun 23, 2008 at 07:32:08PM +0200, Alan Stone wrote:
 There's a /home/alan/.bashrc so I've put the command line there... doesn't 
 work
 either.
 
 Will research about how to proceed with the PATH alternative.
 
 On Mon, Jun 23, 2008 at 7:11 PM, Mojca Miklavec [EMAIL PROTECTED]
  wrote:
 
 On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote:
  - Ubuntu 8.04
 
  According to http://wiki.contextgarden.net/ConTeXt_Minimals
  I installed the context minimals in
 
  /opt/context
 
  then ( after some research about its definition and use ) created a
 
  .bash_profile
 
 .bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I
 have no idea what Linux distributions out there use to initialize
 bash. (Are you using bash or sh or maybe something else?)
 
 In any case you need to open a new terminal once you do the changes.
 
 An alternative should be to put the binary path into PATH.
 
 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
 
 ___
 
 

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


-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team


signature.asc
Description: Digital 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] context minimals installation

2008-06-23 Thread Mojca Miklavec
On Mon, Jun 23, 2008 at 8:54 PM, Alan Stone wrote:

 Checked again... after invoking Build in sciTE, still getting

 ConTeXt  ver: 2007.09.28 16:52 MKII  fmt: 2008.6.18  int: english/english

 in the output window.

 Some naughty setting in sciTE maybe ?

OK, this explains it. SciTE is not reading your ~/.bashrc, only
terminal is. You either need to run SciTE from terminal or find some
other way to pass some environmental variables (at least PATH) to
SciTE.

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] context minimals installation

2008-06-23 Thread Alan Stone
indeed, when running scite from terminal and building, the output window
shows

ConTeXt  ver: 2008.06.22 17:38 MKII  fmt: 2008.6.23  int: english/english

learned a few new things today.  :O)

thanks to all for helping out

find some other way to pass some environmental variables (at least PATH) to
SciTE

that's for tomorrow, going to sleep now.

z

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] \setupitemize[afterhead=...] not working

2008-06-23 Thread Aditya Mahajan

On Mon, 23 Jun 2008, Peter Münster wrote:


On Mon, Jun 23 2008, Wolfgang Schuster wrote:


The parameter afterhead seems to be ignored (MKII and MKIV):


There is no \head in your numeration.


Indeed, but headstyle applies nevertheless.


Yes, this is how \txt is defined

\appendtoks \letvalue\v!txt  \itemgrouptext  \to \itemgroupcommands

\def\itemgrouptext#1%
{\def\symsymbol{\doitemattributes\currentitemlevel\c!headstyle\c!headcolor{#1}}%
   \settrue\symbollistitem
   \settrue\txtlistitem
   \itemgroupitem}

So, headstyle and headcolor are used, but not afterhead. Actually, is you 
use \head, the result is interesting :)


\setupitemize[afterhead=:]
\starttext
\startitemize
  \head This is a test

what happens here
\stopitemize
\stoptext

Certainly not what I would have expected.

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
___


[NTG-context] A \part command for ConTeXt

2008-06-23 Thread TeXWorld
Hello,

In latex, there is the \part command. If my memory is good, this command 
is available only in the book class (and maybe report).
Is there an equivalent command in ConTeXt ?

Thank you.


Jack
___
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] A \part command for ConTeXt

2008-06-23 Thread Aditya Mahajan
On Tue, 24 Jun 2008, TeXWorld wrote:

 Hello,

 In latex, there is the \part command. If my memory is good, this command
 is available only in the book class (and maybe report).
 Is there an equivalent command in ConTeXt ?

Yes, it is called \part :)

Actually, \part does not work out of the box, you need to do

\setuphead[part][placehead=yes]

\starttext

\part {Something important}

\input tufte

\stoptext

Hans, why is \part defined with placehead=no?

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
___


[NTG-context] Howto float text around an image on layer (in a frame, inside standardmakeup)?

2008-06-23 Thread Uwe Koloska
Hello,

hopefully this is the last dumb question, cause the CD is nearing it's end an 
will be prepared for printing soon ;-)


How can I float text around a picture if I place them on a layer?

What I want to achieve is something like this:

ppp
ppp
...

but typeset onto a layer to position it at my will ...

But I can't get the text flow around the graphic.  Here is a minimal example:
-
\definelayer[test]

\startbuffer[text]
\placefigure[left,none]{}{\framed[height=1cm]{graphic}}
\input tufte
\stopbuffer

\setlayerframed[test]
  [x=.5\paperwidth,y=2em,location=bottom]
  [width=0.8\textwidth,height=0.3\textheight,align=normal]
  {\getbuffer[text]}

\setupbackgrounds[page][background=test]

\starttext
\startstandardmakeup
\stopstandardmakeup
\stoptext
-

and the result can be seen in the attached PDF.

The same happens inside a standardmakeup
-
\startbuffer[text]
\placefigure[left,none]{}{\framed[height=1cm]{graphic}}
\input tufte
\stopbuffer

\starttext
\startstandardmakeup
\getbuffer[text]
\stopstandardmakeup
\stoptext
-

and inside a framedtext
-
\startbuffer[text]
\placefigure[left,none]{}{\framed[height=1cm]{graphic}}
\input tufte
\stopbuffer

\starttext
\startframedtext[width=0.8\textwidth]
\getbuffer[text]
\stopframedtext
\stoptext
-

Neither the mailinglist, nor the wiki or the documentation have given me any 
clue, what to change or where to look further ...

Is there another way to flow text around an image?  The image has a fixed 
position (top left corner of the text) so it don't has to be a float at all.

Thank you for all your help
Uwe


test_layer.pdf
Description: Adobe PDF 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] Booklet hint

2008-06-23 Thread Diego Depaoli
2008/6/23 Wolfgang Schuster [EMAIL PROTECTED]:
 Write the text for the A4 page in a seperate document and
 include it as a figure.

 \setupexternalfigures[location={local,global,default}]

 \setuppapersize[A5][A4, landscape]
 \setuparranging[2UP]

 \startpostponing[4]
 \offset
  [leftoffset=-\backspace,
   topoffset=-\dimexpr\topspace+\headerheight\relax]
  {\clip
 [width=\paperwidth]
 {\externalfigure[cow][width=2\paperwidth,height=\paperheight]}}
 \stoppostponing

 \startpostponing[5]
 \noheaderandfooterlines
 \offset
  [leftoffset=-\backspace,
   topoffset=-\dimexpr\topspace+\headerheight\relax]
  {\clip
 [hoffset=\paperwidth,width=\paperwidth]
 {\externalfigure[cow][width=2\paperwidth,height=\paperheight]}}
 \stoppostponing

 \starttext

 \dorecurse{50}{\input hawking}

 \stoptext

Many thanks Wolfgang, your sample does the goal.
I'll try it in my booklet.
Could be interesting for the wiki?

Cheers,

-- 
Diego Depaoli
___
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 minimals installation

2008-06-23 Thread Diego Depaoli
Due the differences between csh and bash I argued a bit with system
variables set by setuptex.
That's my .login
setenv TEXROOT /home/diego/tex
setenv TEXPATH  /home/diego/tex
setenv TEXOS  texmf-freebsd
setenv TEXMFOS  /home/diego/tex/texmf-freebsd
setenv PATH /home/diego/tex/texmf-freebsd/bin:$PATH
setenv TEXMFCACHE /home/diego/tex/texmf-cache
and until now all works fine.
May be TEXMFLOCAL and OSFONTDIR are missed, but I ask...
are all those variables set by setuptex still needed?

Cheers
-- 
Diego Depaoli
___
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
___