Re: [NTG-context] luatex 0.30.1

2008-10-19 Thread luigi scarso
On Mon, Oct 20, 2008 at 12:23 AM, Otared Kavian <[EMAIL PROTECTED]> wrote:

> On 19 oct. 08, at 21:50, luigi scarso wrote:
>
> With the finger crossed I will start tomorrow a project in mkiv
>
>
> Good luck, or as you say in Italy "in bocca al lupo!"…
>
(and the answer should be  "crepi il lupo")

> YES! I did it step by step as you say above (mutatis mutandis, that is by
> replacing texmf-linux by texmf-osx-intel): and now I have an mkiv in the
> minimal tree that works fine: the file basic-test.tex results in:
> This file has been typeset on October 19, 2008 at 23:56, mkiv, ConTeXt
> version
> 2008.10.17 10:41, LuaTeX revision 1, (LuaTeX date stamp 2008101818)
> Many many thanks! Grazie mille…
>
Should be a good thing have minimals-beta and minimasl in a separated dir,
and test if the samething works in minimals and  minimals-beta.

>
> A last question: it is really necessary to say (in the appropriate
> directory)
> . setuptex
>
Every time your $PATH has not
/opt/luatex/minimals-beta/tex/texmf-linux/bin
(check with echo $PATH)
For sure, at the beginning of a session :

> context --generate
>
this clear the cache
Tee cache is  /opt/luatex/minimals-beta/tex/texmf-cache
so it's local to the minimals-beta
I do this every time I have a suspect that I have made) something is wrong,
and at the at the beginning of a session .

>
> context --make
>
this make all the formats.
It's need every time you change something in the core, like luatex binary or
some files
in base , not every time you want to make a pdf from your file

To typeset your file, you should use
context yourfile.tex

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

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


[NTG-context] No mac update in the minimals?

2008-10-19 Thread Ruini Xue
It seems that the Mac minimal has not been updated?

-- ruini

___
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] luatex 0.30.1

2008-10-19 Thread Mojca Miklavec
On Mon, Oct 20, 2008 at 12:23 AM, Otared Kavian wrote:
>
> A last question: it is really necessary to say (in the appropriate
> directory)
> . setuptex
> context --generate
> context --make
> for each typesetting session? Or is this a temporary procedure?

. setuptex: yes, but you can also have that it initialisation. I have put
. context/tex/setuptex context/tex
into ~/.bash_profile

context --make and context --generate are only needed the first time
after each update (though they should work automatic; maybe there's
something wrong).

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] luatex 0.30.1

2008-10-19 Thread Otared Kavian

On 19 oct. 08, at 21:50, luigi scarso wrote:


With the finger crossed I will start tomorrow a project in mkiv


Good luck, or as you say in Italy "in bocca al lupo!"…



but I would like to test what Hans, Taco and others are doing, at  
least to help find bugs for the Right to Left typesetting.

It's important, so
I write how I setup my minimals on a linux box
1) mkdir -p /opt/luatex/minimals-beta
2) cd /opt/luatex/minimals-beta
2a) Now put here first-setup.sh (see contextgarden.net/minimals)
3)  ./first-setup.sh
3a)If there are some errors due a luatex version; hit return until  
the end

4) cd tex
5) . setuptex
5a)Now, if you have compiled luatex from svn, put it into texmf- 
linux/bin

6) context --generate
7) context --make
7a)not errors  anymore, I hope.
8)Every time I start a mkiv session
I do
cd /opt/luatex/minimals-beta/tex
. setuptext
as first step
to ensure correct initilizatione of env variables.
9a)context --generate
9b)context --make
to unsure a clean session.
10) always use context to make pdf; ie test your file with
context basic-test.tex



YES! I did it step by step as you say above (mutatis mutandis, that is  
by replacing texmf-linux by texmf-osx-intel): and now I have an mkiv  
in the minimal tree that works fine: the file basic-test.tex results in:
	This file has been typeset on October 19, 2008 at 23:56, mkiv,  
ConTeXt version

2008.10.17 10:41, LuaTeX revision 1, (LuaTeX date stamp 2008101818)
Many many thanks! Grazie mille…

A last question: it is really necessary to say (in the appropriate  
directory)

. setuptex
context --generate
context --make
for each typesetting session? Or is this a temporary procedure?



If you open first-setup.sh and change this line
mtxrun --verbose --script ./bin/mtx-update.lua --update --make -- 
force --engine=all --context=beta --tree=$PWD/tex $@

in
mtxrun --verbose --script ./bin/mtx-update.lua --update --make -- 
force --engine=all  --tree=$PWD/tex $@

and then
1) mkdir -p /opt/luatex/minimals
2)...
you can then end with a minimal installation


I will try these later. In this way one may have various versions at  
the same time.


Best regards: OK___
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] XML

2008-10-19 Thread Johannes Graumann
Wolfgang Schuster wrote:
>> \xmlfilter{main}{office:automatic-styles/style:style/style:text-properties
>> /command(do:style:text-properties)}
>>  \xmlflush{#1}
>>   \egroup
>> \stopxmlsetups
> 
>   \startxmlsetups text:span
> \bgroup
>   \xmlfilter{main}{office:automatic-styles/style:[EMAIL 
> PROTECTED]:name='\xmlatt{#1}{style-name}']/style:text-properties/command(do:style:text-properties)}
>   \xmlflush{#1}
> \egroup
>   \stopxmlsetups

Hello Wolfgang,

I just don't get it to run. Using the attached and 
context --ctx=t-openoffice Attempt.odt
I get the result in the pdf ... strange whitespace and no bold anywhere to be 
seen. Can you give me another nudge ... I start to understand what Hans and you 
are actually doing, but this is still beyond me.

Cheers, Joh

Attempt.odt
Description: application/vnd.oasis.opendocument.text


Attempt.pdf
Description: Adobe PDF document


t-openoffice.ctx
Description: XML document
%context --ctx=t-openoffice BoldAndItalicContent.xml

\startenvironment t-openoffice.tex

  \startxmlsetups office
\xmlsetsetup{main}{text:p|text:span}{*}
  \stopxmlsetups
  \xmlregistersetup{office}

  \startxmlsetups text:p
\xmlflush{#1}\endgraf
  \stopxmlsetups

  \startxmlsetups text:span
    \bgroup
      \xmlfilter{main}{office:automatic-styles/style:[EMAIL PROTECTED]:name='\xmlatt{#1}{style-name}']/style:text-properties/command(do:style:textproperties)}
  \xmlflush{#1}
    \egroup
  \stopxmlsetups

  \startxmlsetups do:style:text-properties
\xmlval{fo:font-weight}{\xmlatt{#1}{font-weight}}{}% todo: namespaces in attributes
\xmlval{fo:font-style}{\xmlatt{#1}{font-style}}{}
  \stopxmlsetups

  \xmlmapvalue{fo:font-weight}{bold}{\bf}
  \xmlmapvalue{fo:font-style}{italic}{\it}

  \starttext
%\xmlprocess{main}{zip:///\inputfilename.odt?name=content.xml}{}
\usezipfile[\inputfilename.odt]
\xmlprocess{main}{*/content.xml}{}
  \stoptext
  
\stopenvironment

___
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 (csh)

2008-10-19 Thread Alan BRASLAU
As a fan of (t)csh, I have adapted setuptex for (t)csh:
"source setuptex.csh".

It would be useful (at least for one user) to include
this in the context minimals, but of course this would
require that it be maintained as needs of setuptex,
(ba)sh version, evolve...

Thanks,
--
Alan


setuptex.csh
Description: C-Shell script
___
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] luatex 0.30.1

2008-10-19 Thread luigi scarso
On Sun, Oct 19, 2008 at 7:56 PM, Otared Kavian <[EMAIL PROTECTED]> wrote:

>
> On 19 oct. 08, at 17:28, luigi scarso wrote:
>
> On Sun, Oct 19, 2008 at 3:37 PM, Otared Kavian <[EMAIL PROTECTED]> wrote:
>
>> Up to now I didn't have installed the minimals through the commands given
>> on the Garden.
>> However, since you told me that it works fine, I just tried to install the
>> minimals too, but while generating the formats I get:
>>
>> ! LuaTeX error
>> ...mini/tex/texmf-context/tex/context/base/luat-tex.lua:322: attempt to
>> perform arithmetic on local 'total' (a nil value). <*>
>> ...texmf-context/tex/context/base/cont-nl.tex \dump
>>
> actually
> luatex is not good
> You should hit return until installation end; then install luatex from
> trunk;
> then remake format with
> context --generate
> context --make
> Now you must have no errors anymore .
>
>

>
> I did again what you suggest, but no better result:
> /Applications/context-mini/tex/texmf-osx-intel/bin/context --generate
> results in
> MtxRun | error unable to identify cnf file
> MtxRun | error unable to identify cnf file
> MtxRun | no cnf files found (TEXMFCNF may not be set/known)
> MtxRun | unknown script: context
> (same thing with /Applications/context-mini/tex/texmf-osx-intel/bin/context
> --make).
>
Did you have made
. setuptex
(watch for the dot!) ?


> Something strange which I don't know whether it is "legal" or not, is that
> if I use the luatols in the Context-Minimal folder, to generate, that is:
> /Applications/context-mini/tex/texmf-osx-intel/bin/luatools --generate
> then luatools uses for some reason what I have in my TeXLive 2008 directory
> that is what is in
> /usr/local/texlive/2008/
> and if I rename the /usr/local/texlive to something else, then
> /Applications/context-mini/tex/texmf-osx-intel/bin/luatools --generate
> returns:
> env: texlua: No such file or directory
>
> I thought what one installs with the Minimals is independent of TeXLive
> 2008 though…
>
>
>
> […]
>>
> Can you try
> context --generate
> context basic-test
>
>
> Again these do not result in anything good: same output as above, when I
> say context --make.
>
> Now that I have done what you suggested, the mkii in the Minimals does not
> ork either :-)
>
Sorry for that !

> Saying
> /Applications/context-mini/tex/texmf-osx-intel/bin/texexec basic-test.tex
> results in:
>
> FatalError  : Your format does not match the base files!
>
> FormatVersion   : 2008.10.08 23:34 MKII
> FilesVersion: 2008.10.17 10:41
> and again the reason seems to be that the texxec in the Minimals uses
> /usr/local/texlive/2008/texmf-dist/tex/context/base/cont-new.tex
> which doesn't seem to be "normal".
>
> I think the best I can do is to wait for something more stable to play
> with.
>
For my serious work I avoid up to now to use mkiv,
>
With the finger crossed I will start tomorrow a project in mkiv


> but I would like to test what Hans, Taco and others are doing, at least to
> help find bugs for the Right to Left typesetting.
>
It's important, so
I write how I setup my minimals on a linux box
1) mkdir -p /opt/luatex/minimals-beta
2) cd /opt/luatex/minimals-beta
2a) Now put here first-setup.sh (see contextgarden.net/minimals)
3)  ./first-setup.sh
3a)If there are some errors due a luatex version; hit return until the end
4) cd tex
5) . setuptex
5a)Now, if you have compiled luatex from svn, put it into texmf-linux/bin
6) context --generate
7) context --make
7a)not errors  anymore, I hope.
8)Every time I start a mkiv session
I do
cd /opt/luatex/minimals-beta/tex
. setuptext
as first step
to ensure correct initilizatione of env variables.
9a)context --generate
9b)context --make
to unsure a clean session.
10) always use context to make pdf; ie test your file with
context basic-test.tex


If you open first-setup.sh and change this line
mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
--engine=all --context=beta --tree=$PWD/tex $@
in
mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
--engine=all  --tree=$PWD/tex $@
and then
1) mkdir -p /opt/luatex/minimals
2)...
you can then end with a minimal installation

Actually I have
minimals-beta, minimal and  tl2008 completly unrelated
so each installations has is own fonts etc etc.
It's ok, because minimals and minimals-beta are not so huge and I want to be
sure that minimals-beta and minimals work

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

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


Re: [NTG-context] Problems with Palatino sans serif

2008-10-19 Thread Rory Molinari
Hi again,


On Oct 19, 2008, at 7:37 AM, Idris Samawi Hamid ادريس سماوي  
حامد wrote:

> On Sat, 18 Oct 2008 20:10:02 -0600, Aditya Mahajan <[EMAIL PROTECTED]>
> wrote:
>
> What is wrong with my installation (or my document)?

 Can you attach your log file? Does adding \usetypescriptfile[type- 
 gyr]
 on
 top of the document help?
>>>
>>> Adding that line doesn't change the behavior.  I've attached a  
>>> copy of
>>> the
>>> log.
>> Your log file is exactly same as the log file that I get (but I go  
>> get
>> correct font scaling).
>
> Rory, if updating your old ConTeXt mkii is not an option, then try  
> this.
> It's form is also instructive and may help you with future setups.
>

I took Idris's advice and updated ConTeXt (with % sudo ctxtools -- 
updatecontext).  Now the sizing and sans serif commands work fine,  
with and without "\usetypescriptfile[type-gyr]".

I apologize for wasting everyone's time with a problem that was merely  
due to my out-of-date installation.

Idris: thanks for the typescript example.  I find this topic very  
confusing and will enjoy working through it.

Aditya: I'm sorry that I didn't think to get output with '\loggingall'  
before updating my ConTeXt installation.

Cheers,
Rory

> =
> \starttypescript [palatino-ec]
>   % \definebodyfontenvironment %% optional
>   % [palatino]
>   % [default]
>   % [interlinespace=2.7ex]
>   
> \definetypeface [palatino] [rm] [serif] [palatino] [default]
> [encoding=ec]
> \definetypeface [palatino] [ss] [sans]  [modern]   [default]
> [encoding=ec,rscale=1.075]
> \definetypeface [palatino] [tt] [mono]  [modern]   [default]
> [encoding=ec,rscale=1.075]
> \definetypeface [palatino] [mm] [math]  [palatino] [default]
> \quittypescriptscanning
> \stoptypescript
>
> \usetypescript[palatino-ec]
> \setupbodyfont[palatino,12pt]
>
> \starttext
>
> test
>
> \ss Hello world!
>
> {\tfa\ss tfa}
> {\tfb\ss tfb}
> {\tfc\ss tfc}
> {\tfd\ss tfd}
>
> \stoptext
> =
>
> 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
> ___

___
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] luatex 0.30.1

2008-10-19 Thread Otared Kavian


On 19 oct. 08, at 17:28, luigi scarso wrote:

On Sun, Oct 19, 2008 at 3:37 PM, Otared Kavian <[EMAIL PROTECTED]>  
wrote:
Up to now I didn't have installed the minimals through the commands  
given on the Garden.
However, since you told me that it works fine, I just tried to  
install the minimals too, but while generating the formats I get:


! LuaTeX error ...mini/tex/texmf-context/tex/context/base/luat- 
tex.lua:322: attempt to perform arithmetic on local 'total' (a nil  
value). <*> ...texmf-context/tex/context/base/cont-nl.tex \dump

actually
luatex is not good
You should hit return until installation end; then install luatex  
from trunk;

then remake format with
context --generate
context --make
Now you must have no errors anymore .



I did again what you suggest, but no better result:
/Applications/context-mini/tex/texmf-osx-intel/bin/context --generate
results in
MtxRun | error unable to identify cnf file
MtxRun | error unable to identify cnf file
MtxRun | no cnf files found (TEXMFCNF may not be set/known)
MtxRun | unknown script: context
(same thing with /Applications/context-mini/tex/texmf-osx-intel/bin/ 
context --make).


Something strange which I don't know whether it is "legal" or not, is  
that if I use the luatols in the Context-Minimal folder, to generate,  
that is:

/Applications/context-mini/tex/texmf-osx-intel/bin/luatools --generate
then luatools uses for some reason what I have in my TeXLive 2008  
directory that is what is in

/usr/local/texlive/2008/
and if I rename the /usr/local/texlive to something else, then
/Applications/context-mini/tex/texmf-osx-intel/bin/luatools --generate
returns:
env: texlua: No such file or directory

I thought what one installs with the Minimals is independent of  
TeXLive 2008 though…





[…]
Can you try
context --generate
context basic-test



Again these do not result in anything good: same output as above, when  
I say context --make.


Now that I have done what you suggested, the mkii in the Minimals does  
not ork either :-)

Saying
	/Applications/context-mini/tex/texmf-osx-intel/bin/texexec basic- 
test.tex

results in:

FatalError  : Your format does not match the base files!

FormatVersion   : 2008.10.08 23:34 MKII
FilesVersion: 2008.10.17 10:41
and again the reason seems to be that the texxec in the Minimals uses
/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-new.tex
which doesn't seem to be "normal".

I think the best I can do is to wait for something more stable to play  
with.
For my serious work I avoid up to now to use mkiv, but I would like to  
test what Hans, Taco and others are doing, at least to help find bugs  
for the Right to Left typesetting.


Grazie mille e forse a presto…

Best regards: OK

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

2008-10-19 Thread Hans Hagen
Peter Rolf wrote:

> stack traceback:
>   r:/tex/texmf-context/tex/context/base/core-buf.lua:63: in function 
> 'grab'

that line should be

 dn = dn .. "\n" .. bufferdata:sub(1,#bufferdata-1)

-
   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] XeTeX old style numerals

2008-10-19 Thread Mohamed Bana
I ought to mention small caps doesn't work with the last approach.

Wolfgang Schuster wrote:
> On Sat, Oct 11, 2008 at 10:10 PM, Mohamed Bana <[EMAIL PROTECTED]> wrote:
>> So ... can someone provide a sample file of a document that uses old
>> style by default?
>>
>> Clearly the following doesn't work;
> 
> The fast way (works only for MkII):
> 
> \definefontfeature[default][deault][script=latn,onum=yes]
> 
>> \definetypeface[myface][rm][Xserif][Minion Pro]
>> % i've also tried
>> %\definetypeface[myface][rm][Xserif][Warnock Pro]
>> \definetypeface[myface][ss][Xsans][Myriad Pro]
>> \definetypeface[myface][tt][Xmono][Consolas]
>> \setupbodyfont[myface, 11pt]
> 
> The better way (works for MkII and MkIV):
> 
> \starttypescript [serif] [minion-pro]
>   \setups[font:fallback:serif]
>   \definefontsynonym [Serif]   [MinionPro-Regular]
> [features=default]
>   \definefontsynonym [SerifBold]   [MinionPro-Bold]   
> [features=default]
>   \definefontsynonym [SerifItalic] [MinionPro-Italic] 
> [features=default]
>   \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic] 
> [features=default]
> \stoptypescript
> 
> \starttypescript [serif] [minion-pro-os]
>   \setups[font:fallback:serif]
>   \definefontsynonym [Serif]   [MinionPro-Regular]
> [features=oldstyle]
>   \definefontsynonym [SerifBold]   [MinionPro-Bold]
> [features=oldstyle]
>   \definefontsynonym [SerifItalic] [MinionPro-Italic]
> [features=oldstyle]
>   \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic]
> [features=oldstyle]
> \stoptypescript
> 
> \starttypescript [serif] [minion-pro,minion-pro-os]
>   \definefontsynonym [MinionPro-Regular][file:MinionPro-Regular]
> [features=default]
>   \definefontsynonym [MinionPro-Bold]   [file:MinionPro-Bold]
> [features=default]
>   \definefontsynonym [MinionPro-Italic] [file:MinionPro-It]
> [features=default]
>   \definefontsynonym [MinionPro-BoldItalic] [file:MinionPro-BoldIt]
> [features=default]
> \stoptypescript
> 
> \starttypescript [minion-pro,minion-pro-os]
>   \definetypeface [minion-pro] [rm] [serif] [\typescriptone] [default]
> \stoptypescript
> 
> %\usetypescript[minion-pro]
> \usetypescript[minion-pro-os]
> \setupbodyfont[minion-pro]
> 
> 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
> ___
> 

___
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] luatex 0.30.1

2008-10-19 Thread luigi scarso
On Sun, Oct 19, 2008 at 3:37 PM, Otared Kavian <[EMAIL PROTECTED]> wrote:

> Dear Luigi,
>
> Thanks for you help. Below are some comments on what you wrote:
>
> On 19 oct. 08, at 14:44, luigi scarso wrote:
>
> On Sun, Oct 19, 2008 at 2:23 PM, Otared Kavian <[EMAIL PROTECTED]> wrote:
>
>> Hi Luigi,
>> Thanks for having taken the time to test the file I gave in my message.
>> Indeed my problem comes from luatex not finding the fonts Latin Modern,
>> which mkii finds without any difficulty…
>>
> So minimals are ok.
>
>
> Not really, since my mkii is the one I have in TexLive 2008, updated to
> ConTeXt ver: 2008.10.17 10:41 MKII fmt: 2008.10.17 int: english/english
> and it works fine.
> Up to now I didn't have installed the minimals through the commands given
> on the Garden.
> However, since you told me that it works fine, I just tried to install the
> minimals too, but while generating the formats I get:
>
> ! LuaTeX error ...mini/tex/texmf-context/tex/context/base/luat-tex.lua:322:
> attempt to perform arithmetic on local 'total' (a nil value). <*>
> ...texmf-context/tex/context/base/cont-nl.tex \dump
>
actually
luatex is not good
You should hit return until installation end; then install luatex from
trunk;
then remake format with
context --generate
context --make
Now you must have no errors anymore .


> Despite this, knowing that I have installed the minimals in a directory
> /Applications/context-mini
> and run the file setuptex contained in
> /Applications/context-mini/tex
> if I say
> /Applications/context-mini/tex/texmf-osx-intel/bin/texexec basic-test.tex
> a correct PDF is created, while if I say
> /Applications/context-mini/tex/texmf-osx-intel/bin/texexec --lua
> basic-test.tex
> again I have a blank PDF and the log file says that the fonts Latin Modern
> are not found.
>
Can you try
context --generate
context basic-test


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

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


Re: [NTG-context] new beta

2008-10-19 Thread Hans Hagen
Idris Samawi Hamid ادريس سماوي حامد wrote:
> On Fri, 17 Oct 2008 03:15:19 -0600, Hans Hagen <[EMAIL PROTECTED]> wrote:
> 
>> a next release will have
>> sectioning redone
> 
> so will we finally get
> 
> \start
> \stop
> 
> etc.? :-)

we're testing the new structure modules but i will only add them to the 
core (repace existing onex) when i feel confident that they will be 
mostly compatible

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] installing latest beta (Minimals)

2008-10-19 Thread Hans Hagen
Mojca Miklavec wrote:
> On Sat, Oct 18, 2008 at 1:33 PM, Alan Bowen wrote:
>> My attempt to update my ConTeXtMinimals using ./first-setup.sh failed. The
>> message reported was:
>> mkiv lua stats : loaded fonts  - none
>> ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/luat-tex.lua:322:
>> attempt to perform arithmetic on local 'total' (a nil value).
>> <*> ...texmf-context/tex/context/base/cont-nl.tex
>>   \dump
>> ?
> 
> My first guess is that it's because Hans uploaded a beta that needs a
> not-yet-beta LuaTeX that's not available in minimals. (Another
> possibility is mismatch in luatools version.)
> 
> Hans, what about misusing "alpha" for such cases when one needs some
> not-yet-released luatex?

i wanted to do that but then i'd already been generating beta's for days 
  on my machine for taco and idris to test which means that in my to be 
synced web tree there already would be a beta (and not the best one)

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] Problems with Palatino sans serif

2008-10-19 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Sat, 18 Oct 2008 20:10:02 -0600, Aditya Mahajan <[EMAIL PROTECTED]>  
wrote:

 What is wrong with my installation (or my document)?
>>>
>>> Can you attach your log file? Does adding \usetypescriptfile[type-gyr]  
>>> on
>>> top of the document help?
>>
>> Adding that line doesn't change the behavior.  I've attached a copy of  
>> the
>> log.
> Your log file is exactly same as the log file that I get (but I go get
> correct font scaling).

Rory, if updating your old ConTeXt mkii is not an option, then try this.  
It's form is also instructive and may help you with future setups.

=
\starttypescript [palatino-ec]
% \definebodyfontenvironment %% optional
% [palatino]
% [default]
% [interlinespace=2.7ex]

 \definetypeface [palatino] [rm] [serif] [palatino] [default]  
[encoding=ec]
 \definetypeface [palatino] [ss] [sans]  [modern]   [default]  
[encoding=ec,rscale=1.075]
 \definetypeface [palatino] [tt] [mono]  [modern]   [default]  
[encoding=ec,rscale=1.075]
 \definetypeface [palatino] [mm] [math]  [palatino] [default]
 \quittypescriptscanning
\stoptypescript

\usetypescript[palatino-ec]
\setupbodyfont[palatino,12pt]

\starttext

test

\ss Hello world!

{\tfa\ss tfa}
{\tfb\ss tfb}
{\tfc\ss tfc}
{\tfd\ss tfd}

\stoptext
=

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] luatex 0.30.1

2008-10-19 Thread Otared Kavian

Dear Luigi,

Thanks for you help. Below are some comments on what you wrote:

On 19 oct. 08, at 14:44, luigi scarso wrote:

On Sun, Oct 19, 2008 at 2:23 PM, Otared Kavian <[EMAIL PROTECTED]>  
wrote:

Hi Luigi,

Thanks for having taken the time to test the file I gave in my  
message.
Indeed my problem comes from luatex not finding the fonts Latin  
Modern, which mkii finds without any difficulty…

So minimals are ok.


Not really, since my mkii is the one I have in TexLive 2008, updated to
ConTeXt ver: 2008.10.17 10:41 MKII fmt: 2008.10.17 int: english/english
and it works fine.
Up to now I didn't have installed the minimals through the commands  
given on the Garden.
However, since you told me that it works fine, I just tried to install  
the minimals too, but while generating the formats I get:


! LuaTeX error ...mini/tex/texmf-context/tex/context/base/luat-tex.lua: 
322: attempt to perform arithmetic on local 'total' (a nil value).  
<*> ...texmf-context/tex/context/base/cont-nl.tex \dump


Despite this, knowing that I have installed the minimals in a directory
/Applications/context-mini
and run the file setuptex contained in
/Applications/context-mini/tex
if I say
	/Applications/context-mini/tex/texmf-osx-intel/bin/texexec basic- 
test.tex

a correct PDF is created, while if I say
	/Applications/context-mini/tex/texmf-osx-intel/bin/texexec --lua  
basic-test.tex
again I have a blank PDF and the log file says that the fonts Latin  
Modern are not found.




Since I haven't changed anything in my TeX tree, why is so?
Shouldn't mkiv be able to find what mkii can find? :-)
mkii and miv  have different ways to seach files.


I understand that, but why isn't mkiv able to find the default fonts?  
Or are they located at different places?





If you have any hint how to tell mkiv to find the default fonts LM,  
could you please tell us about that?

context --generate
should be ok.
I always run . setuptex every first time I start  a sessione with mkiv
, so I have the correct env variable
But I'm installing a tl2008, so I will be more precise about this.



So once you have an insight please let me know.

Many thanks: OK

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

2008-10-19 Thread Johannes Graumann
olivier Turlier wrote:
> Thanks Johannes for your efforts to port Openoffice into a usable editor
> for context (if I'm guessing right your aim ...)
You are, but my efforts are limited so far ... and what I have has been 
contributed by Hans and Wolfgang ... lutex/context is still far beyond me at 
this point, but I'm trying ...

> I've tried your files, whith corrections from Wolfgang : it's working.
> But then I've added lists and images : it's not working.
G! So far this CAN only do bold and italic text.

> At my user level, I don't understand what you're doing, but maybe others
> are like me : write texts in OO and finely tune them via luatex (given the
> understanding of t-openoffice.tex ...) : so we can easily import existing
> docs, etc.
Don't hold your breath. This is a pure hobbyist tinkering project ... won't be 
fast if it comes about at all ...

Joh

___
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] Problems with Palatino sans serif

2008-10-19 Thread Mojca Miklavec
On Sun, Oct 19, 2008 at 1:13 AM, Rory Molinari wrote:
> Hi,
>
> I'm having problems with Palatino sans serif in my documents.
>
> Consider the following small file:
>
> \usetypescript[palatino][ec]
> \setupbodyfont[palatino,10pt]
>
> \starttext
> \ss Hello world!
>
> {\tfa\ss tfa}
> {\tfb\ss tfb}
> {\tfc\ss tfc}
> {\tfd\ss tfd}
>
> \stoptext
>
>
>
> On live.contextgarden.net this renders correctly, with sans serif text
> and appropriate character sizes.
>
> On my local system, though, all the text is serif and at the same
> size.  There is no size variation with \tfa, \tfb, etc.  If I remove
> all the \ss commands then the sizing works again.
>
> I'm using MacTeX 2008.  Here are my version strings from texexec:
>
> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
> ConTeXt  ver: 2008.04.11 00:07 MKII  fmt: 2008.10.11  int: english/
> english
>
>
> What is wrong with my installation (or my document)?

I don't know the cure. The same thing happens to me with or without
\usetypescriptfile[type-gyr]. I have noticed that a map file that is
present in TeX Liven 2007 is missing in TeX Live 2008 (also using
MacTeX with some random version of ConTeXt).

ss is not defined for Palatino.

But what's also really annoying and might be connected - all my
accented letters written in palatino (URWPalladio) are gone (š is ok,
č looses accent, ž disappears, fi ligatures turn into some weird
accents ...) when I post-process the document with Adobe Acrobat in
order to reduce document size by downsampling photos.

I tried to switch to TeXGyre, but then all the line/page breaks are
broken. I need to lock my computer from me for a week. Maybe it will
obey me better after it takes some break :) :) :)

Maybe fixing a problem with map files might help, but I cannot think right now.

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] luatex 0.30.1

2008-10-19 Thread luigi scarso
On Sun, Oct 19, 2008 at 2:23 PM, Otared Kavian <[EMAIL PROTECTED]> wrote:

> Hi Luigi,
> Thanks for having taken the time to test the file I gave in my message.
> Indeed my problem comes from luatex not finding the fonts Latin Modern,
> which mkii finds without any difficulty…
>
So minimals are ok.

> Since I haven't changed anything in my TeX tree, why is so?
> Shouldn't mkiv be able to find what mkii can find? :-)
>
mkii and miv  have different ways to seach files.

>
> If you have any hint how to tell mkiv to find the default fonts LM, could
> you please tell us about that?
>
context --generate
should be ok.
I always run . setuptex every first time I start  a sessione with mkiv
, so I have the correct env variable
But I'm installing a tl2008, so I will be more precise about this.

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

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


Re: [NTG-context] luatex 0.30.1

2008-10-19 Thread Otared Kavian

Hi Luigi,

Thanks for having taken the time to test the file I gave in my message.
Indeed my problem comes from luatex not finding the fonts Latin  
Modern, which mkii finds without any difficulty…

Since I haven't changed anything in my TeX tree, why is so?
Shouldn't mkiv be able to find what mkii can find? :-)

If you have any hint how to tell mkiv to find the default fonts LM,  
could you please tell us about that?


Grazie ancora…
Best regards: OK

On 19 oct. 08, at 12:08, luigi scarso wrote:




On Sun, Oct 19, 2008 at 11:32 AM, luigi scarso  
<[EMAIL PROTECTED]> wrote:



On Sun, Oct 19, 2008 at 10:56 AM, Otared Kavian <[EMAIL PROTECTED]>  
wrote:


On 19 oct. 08, at 09:41, luigi scarso wrote:

[…]

If you have a small example , I will check it too .


Hi Luigi,

Here is a small example which doesn' work for me… (I have compiled  
LuaTeX svn checkout 1564, and installed it) but only a blank PDF is  
produced:

It seems ok with minimals beta .

--
luigi


Also with minimals

I have just downloaded tl2008,  I will check  interactions  with  
minimals.


--
luigi

minimals 
.zip 
> 
___
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] luatex 0.30.1

2008-10-19 Thread Otared Kavian


On 19 oct. 08, at 09:41, luigi scarso wrote:

[…]
If you have a small example , I will check it too .


Hi Luigi,

Here is a small example which doesn' work for me… (I have compiled  
LuaTeX svn checkout 1564, and installed it) but only a blank PDF is  
produced:


%% begin file basic-test.tex

\starttext

This file has been typeset
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv}{mkiv, LuaTeX revision \luatexrevision, (LuaTeX  
date stamp \luatexdatestamp)}{mkii},

ConTeXt version \contextversion,
using the command:
\starttyping
texexec --luatex basic-test.tex
\stoptyping
or
\starttyping
texexec --lua basic-test.tex
\stoptyping

\stoptext

%% end file basic-test.tex

The log file begins by saying:

ConTeXt  ver: 2008.10.17 10:41 MKIV  fmt: 2008.10.19  int: english/ 
english


language   : language en is active
bodyfont   : 12pt rm is loaded
define font | font with name lmroman12-regular is not found
define font | unknown font lmroman12-regular, loading aborted
define font | unable to define lmroman12-regular as \*12ptrmtfrm*

and many other such lines regarding the fonts.
I have TeXLive 2008 installed and updated via the rsync method on  
ConTeXt Garden, and am running Mac OS X 10.5.5 on a MacBook Pro Intel  
Duo Core.
(As mentioned above I compiled luatex 0.30.1 version 1564 on my mahine  
and installed it "by hand").

Before TeXLive 2008, the same file used to work on TeXLive 2007.

Thanks for your insight: OK

___
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] luatex 0.30.1

2008-10-19 Thread luigi scarso
On Sun, Oct 19, 2008 at 8:30 AM, Thomas A. Schmitz <
[EMAIL PROTECTED]> wrote:

>
> On Oct 19, 2008, at 5:24 AM, luigi scarso wrote:
>
> >
> >
> > On Sat, Oct 18, 2008 at 8:14 AM, Thomas A. Schmitz <
> [EMAIL PROTECTED]
> > > wrote:
> >
> > On Oct 17, 2008, at 11:58 PM, luigi scarso wrote:
> >
> > > now it works ok with rev 1564
> > > --
> > > luigi
> >
> > What is "it"?
> > revision number
> > svn checkout svn://scm.foundry.supelec.fr/svn/luatex/trunk
> >
>
> I know that. You say "it" works. What is "it"?
>
the Wolfgang's example.
(and also  my xml catalog )
If you have a small example , I will check it too .

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

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


Re: [NTG-context] Problems with Palatino sans serif

2008-10-19 Thread Taco Hoekwater
Aditya Mahajan wrote:
 What is wrong with my installation (or my document)?
>>> Can you attach your log file? Does adding \usetypescriptfile[type-gyr] on
>>> top of the document help?
>> Adding that line doesn't change the behavior.  I've attached a copy of the 
>> log.
> 
> Your log file is exactly same as the log file that I get (but I go get 
> correct font scaling). All fonts and map files are found and correctly 
> loaded. Nothing obvious is wrong. What does pdffonts file.pdf say?

The log file indicates that cont-sys.tex loads adobekb. Is that
standard in texlive2008?

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
___