Re: [NTG-context] typesetting Arabic today

2008-06-08 Thread Burak Emir
Hi there,

On Sat, Jun 7, 2008 at 11:45 PM, Burak Emir [EMAIL PROTECTED] wrote:


 In any case, after settings fonts up and compiling (texexec --luatex
 traditional_arabic-test.tex), my font is not found currently...

 Here is what I did, in detail

  export OSFONTSDIR=/Users/buraq/Library/Fonts


This was the problem solved: the correct name of the variable was OSFONTDIR.

I was delighted to find out that one can pass in a list of directory names:
only one needs to use ';' (semicolon) as separator instead of colon.

Burak
-- 
Burak Emir
--
http://burak.emir.googlepages.com
___
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] Minimals and FreeBSD

2008-06-08 Thread Dominique Dutoit
  MtxRun | skipping configuration for /texmf-local/web2c from
  
 /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d
  MtxRun | skipping configuration for /texmf/web2c from
  
 /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609
  MtxRun | using script: ./bin/mtx-update.luareport  state: loaded
  report  update: start
  ./bin/mtx-update.lua:181: bad argument #1 to 'pairs' (table expected,  
 got nil)

For some reasons, os.currentplatform() returns generic under FreeBSD  
(tested on 7.0), which is not defined in the platforms table and creates  
this error.

The workaround is to pass the platform name to first-setup.sh:

./first-setup.sh --platform=freebsd

But near the end of the installation process, MtxRun fails to execute the  
binaries because it tries to find them in tex/texmf-generic.

At this stage, I have used the source command to setup the environment and  
executed texexec --make --all to finish up the installation.

So good so far, it seems to work, but I have no idea what's happening  
there.

Bye,
Dominique

___
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] Minimals and FreeBSD

2008-06-08 Thread Mojca Miklavec
On Sun, Jun 8, 2008 at 9:30 AM, Dominique Dutoit wrote:

 For some reasons, os.currentplatform() returns generic under FreeBSD
 (tested on 7.0), which is not defined in the platforms table and creates
 this error.

 The workaround is to pass the platform name to first-setup.sh:

./first-setup.sh --platform=freebsd

 But near the end of the installation process, MtxRun fails to execute the
 binaries because it tries to find them in tex/texmf-generic.

 At this stage, I have used the source command to setup the environment and
 executed texexec --make --all to finish up the installation.

 So good so far, it seems to work, but I have no idea what's happening
 there.

Hello Dominique,

First of all - I'm impressed by the number of FreeBSD users :) Nobody
has ever requested the standalone distribution for ages since it
existed.

LuaTeX needs to support the platform (there's a fixed set of platform
names predefined, but I thought that the issue has been resolved
already). Taco seems to have applied a patch to resolve the issue on
20th May, but that's more recent than the latest luatex beta.

Diego or Yue - maybe you should submit a more recent luatex binary to
current to support FreeBSD on minimals?

Thanks,
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] Minimals and FreeBSD

2008-06-08 Thread Mojca Miklavec
On Sun, Jun 8, 2008 at 9:30 AM, Dominique Dutoit wrote:

 For some reasons, os.currentplatform() returns generic under FreeBSD
 (tested on 7.0), which is not defined in the platforms table and creates
 this error.

Hello Dominique,

can you please try if it works now? Diego commited the new luatex for FreeBSD.

Thanks,
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] Garden unresponsive

2008-06-08 Thread Patrick Gundlach
Hello Oliver and others,

 texshow
 source browser
 modules
 articles

They are up again. I hate software :-)

Patrick ( thanks for the report!)
-- 
ConTeXt wiki and more: 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
___


[NTG-context] zero padding with itemize

2008-06-08 Thread Peter Münster
Hello,

Is it already possible to get 0 padding with \startitemize:
01
02
03
and so on ?

If yes, how? And if no, where is the magic point, where I could apply a
patch (if it's not too difficult ;)

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] Garden unresponsive

2008-06-08 Thread Oliver Buerschaper
 They are up again. I hate software :-)

 Patrick ( thanks for the report!)

Well, thank *you* for fixing it!

Oliver
___
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 minimal install problem? luatex bug?

2008-06-08 Thread Hans Hagen
Burak Emir wrote:

 I have the feeling I will find out what ctx files are good for one day :)

job control ... associating files with environments ... automated 
preprocessing

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] zero padding with itemize

2008-06-08 Thread Hans Hagen
Peter Münster wrote:
 Hello,
 
 Is it already possible to get 0 padding with \startitemize:
 01
 02
 03
 and so on ?
 
 If yes, how? And if no, where is the magic point, where I could apply a
 patch (if it's not too difficult ;)

has always been possible ...

\starttext

\def\mypaddednumber#1{\ifnum#19 0\fi\number#1\relax}

\defineconversion[pn] [\mypaddednumber]

\startitemize[pn,broad]
\item oeps
\item oeps
\item oeps
\stopitemize

\stoptext



-
   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] Howto fit text into a box

2008-06-08 Thread Uwe Koloska
Hello,

for a CD-Cover I have to fit a given text into a fixed box. I have tried to 
achieve this with the help of mag-0010 Good looking shapes but was not 
successful :-(

Can you help me with this?

The conditions:
  - the text is of fixed length
  - the area is of given size (has a given ratio)
  - the text has to fit completely inside this area
  - the last line must be justified, too
  - the fontsize of the text is the variable that can be changed
  - I have the current minimal context installation

and as an addition:
  - if possible the words should not be hyphenated at all or hyphenated
at an arbitrary character without a hyphenation mark (the text
consists of names)

A possible algorithm (similar to the one from mag-0010)
  1 start with a small box with the given ratio
  2 fill the text into the box
  3 if all text fits in with a small penalty we are ready
  4 make the box a bit larger
  5 goto 2

Unfortunately, I'm not able to understand the code from the mag nor can I code 
the algorithm in context ...

I would appreciate any input on this problem!

Thank you
Uwe Koloska
___
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] fontscript for delicious?

2008-06-08 Thread Uwe Koloska
Hello,

does someone have a typescript (or what's now needed) for using the wonderful 
delicious font with context?
  http://www.josbuivenga.demon.nl/delicious.html

It's available in opentype format.

Thank you
Uwe Koloska
___
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] Luatex (actually Aleph) and Bidi_Mirrored chars in RTL mode

2008-06-08 Thread Khaled Hosny
Luatex does not mirror characters that has a Bidi_Mirrored property when
the text direction is set to RTL (TRT in Aleph), according to 
http://unicode.org/reports/tr9/#Mirroring, the different types of
parenthesis that has Bidi_Mirrored property should be mirreored in RTL
mode, but this isn't what I get. Is this a bug, feature, or am I missing
some thing?

Thanks,
 Khaled

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team
% engine=luatex 
\noheaderandfooterlines

\starttext

 \definefontfeature
   [arabic]
   [analyze=yes, clig=yes, curs=yes, dlig=yes,
fina=yes, init=yes, isol=yes, kern=yes,
language=dflt, liga=yes, mark=yes, medi=yes,
mkmk=yes, mode=node, rlig=yes, script=arab]

\font \Arabic = ScheherazadeRegOT*arabic at 24pt

\pardir TRT \textdir TRT

\Arabic
(قوس) و قوس و [قوس] و  «قوس»
\stoptext 


sample.pdf
Description: Adobe PDF document


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
___


[NTG-context] Rendering of ZWNJ and ZWJ

2008-06-08 Thread Khaled Hosny

Using Luatex engine, ZWNJ and ZWJ chars are rendered incorrectly. If the
font has a glyph for it, it does the expected behaviour (force
non-joining or joining respectively) but the glyph get rendered while it
shouldn't. But if the font has no glyphs for it, it has no effect at
all. See the attached example.

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


zwnj_ScheherazadeRegOT.pdf
Description: Adobe PDF document


zwnj_ae_AlMohanad.pdf
Description: Adobe PDF document
% engine=luatex 
\noheaderandfooterlines

\starttext

 \definefontfeature
   [arabic]
   [analyze=yes, clig=yes, curs=yes, dlig=yes,
fina=yes, init=yes, isol=yes, kern=yes,
language=dflt, liga=yes, mark=yes, medi=yes,
mkmk=yes, mode=node, rlig=yes, script=arab]

\font \Arabic = ScheherazadeRegOT*arabic at 24pt
%\font \Arabic = ae_AlMohanad*arabic at 24pt

\pardir TRT \textdir TRT

\Arabic
خ‌ج‌ح
خ‍ ج‍ ح‍
\stoptext 


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
___