Re: [NTG-context] URL bug

2008-09-19 Thread Alan Stone
 ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english

texmfstart texexec --lua test_url

It still doesn't compile.

Log file in attachement.

-- 
Best,
Alan

* ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english
* Windows XP Home SP3

On Fri, Sep 19, 2008 at 8:57 PM, Peter Münster <[EMAIL PROTECTED]> wrote:

> On Fri, Sep 19 2008, Alan Stone wrote:
>
> > \useURL [url] [http://www.a.com] [] [wxyz]   % this does NOT compile
>
> Perhaps an update will help. It works here with:
> MtxRun | current version: 2008.09.16 19:49
> This is LuaTeX, Version snapshot-0.29.0-2008072108
>
> 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
>
> ___
>


test_url.log
Description: Binary data
___
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] units module has bug with markIV?

2008-09-19 Thread Chen Shen
Hi all,

I wonder if anyone could help with this problem with Units in mkiv.
Thanks a lot.

regards,
shenchen

On Wed, Sep 3, 2008 at 9:36 AM, Chen Shen <[EMAIL PROTECTED]> wrote:
> Hi all,
> "\Micro" in the "units" module failed, while "\Nano" and "\Milli" works fine.
> "$\mu$" works, so it doesn't look like a font problem.
> The following code works with pdftex/MarkII, but fails under Luatex
> 0.29beta/MarkIV.
>
> \usemodule[units]
> \starttext Hello world! $1\Micro\Meter$ $1\Micro\Second$
> \stoptext
>
> Any hints? Thanks a lot!
>
> regards,
> shenchen
>
___
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-09-19 Thread Mohamed Bana




Mojca Miklavec wrote:

  On Fri, Sep 19, 2008 at 8:07 PM, Mohamed Bana wrote:
  
  
Hi guys,

Why doesn't this definition use the old style numerals that come with the font?
 It seems to use the latin modern font when I try to use \os.  Small caps are
working fine.

I'd like all the numbers in the document to be typeset in old style numerals
unless I tell it otherwise, btw how do I achieve the latter?

  
  
I didn't tell you that:

\definefontfeature
 [default]
 [script=latn,language=dflt,liga=yes,kern=yes,tlig=yes,

(the important setting is only "

The problem is that that's only a dirty trick that is not supposed to
work and might stop working in the future, so I would rather try not
to rely on it. A better interface for XeTeX typescripts (something
similar to fontspec) is missing heavily.



Concerning your first problem: I have tried patching Xsans definitions with

\definefontfeature
  [oldstyle]
  [script=latn,language=dflt,liga=yes,kern=yes,tlig=yes,

\starttypescript[Xserif][all][name]
\definefontsynonym [DummyOldStyle]  [name:\typescripttwo]   [features=oldstyle]
%\definefontsynonym [DummyOldStyle]  [name:'\typescripttwo']
[features=oldstyle]
\definefontsynonym [OldStyle]   [DummyOldStyle]
\stoptypescript

\definetypeface[myface][rm][Xserif][Warnock Pro]
\setupbodyfont[myface, 11pt]

\starttext
{\os 123456789}
\stoptext

but I have no idea why it fails.

kpathsea: Invalid fontname `name:Warnock', contains ':'
! Font \thedefinedfont=name:Warnock not loadable: Metric (TFM) file or installe
d font not found.

   P
 name:Warnock P
 ro
\dotruefontname ... #1\endcsname *#2#3\fi \else #1
  \ifx #2\empty \else *#2#3\...

\dotruefontname ... \??ff \fontclass #1\endcsname
  \else [EMAIL PROTECTED] \redotruefontna...

\dotruefontname ... \??ff \fontclass #1\endcsname
  \else [EMAIL PROTECTED] \redotruefontna...

\symbolicsizedfont ...ntname {\glyphfontfile {#3}}
   at \currentfontbodyscale ...
l.32 {\os
  123456789}

The alternative fails with

kpathsea: Invalid fontname `name:Warnock Pro*oldstyle', contains ':'
! Font \thedefinedfont="name:Warnock Pro*oldstyle" at 11.0pt not loadable: Metr
ic (TFM) file or installed font not found.
 \scaledfont

\symbolicsizedfont ...ntfontbodyscale \scaledfont
  \thedefinedfont
l.32 {\os
  123456789}


Mojca
  

I got something similar;


! Font \thedefinedfont=name:Warnock not loadable: Metric (TFM) file or
installe
d font not found.
 
   P
 name:Warnock P
 ro
\dotruefontname ... #1\endcsname *#2#3\fi \else #1
  \ifx #2\empty \else
*#2#3\...

\dotruefontname ... \??ff \fontclass #1\endcsname 
  \else [EMAIL PROTECTED]
\redotruefontna...

\dotruefontname ... \??ff \fontclass #1\endcsname 
  \else [EMAIL PROTECTED]
\redotruefontna...

\symbolicsizedfont ...ntname {\glyphfontfile {#3}}
   at
\currentfontbodyscale ...
l.7 {\os
 123456789}
?



___
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] mkii colour problem

2008-09-19 Thread Mohamed Bana
Wolfgang Schuster  googlemail.com> writes:

> 
> > test6-mkii.pdf;
> > http://filebin.ca/ghvkcv/test6-mkii.pdf or http://filebin.ca/ghvkcv
> >
> > test6-mkiv.pdf;
> > http://filebin.ca/efqws/test6-mkiv.pdf or http://filebin.ca/efqws
> 
> The links on the second page is colored in both files (Adobe Reader 8.1.2),
> what's your pdf viewer.
> 
> Wolfgang
> 

You're absolutely right, sorry about the trouble caused.

Mohamed

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

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


[NTG-context] Typesetters for Hire wiki page

2008-09-19 Thread Vyatcheslav Yatskovsky
Hello everyone,

I want to make something real using ConTeXt, e.g., typeset a book, but I 
have no orders yet.

Tonight I was surfing Internet and found an open source framework for 
Web, Django. (It is the name of famous gipsy jazz guitarist, btw). The 
interesting point is that the site has the list of  developers seeking 
enployment. Please look at
**http://code.djangoproject.com/wiki/DevelopersForHire

I feel we can create similar wiki section, Typesetters for Hire, and 
promote it in some way. Don't we?

Best regards,
Vyatcheslav Yatskovsky
___
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] Pyramiding \defs

2008-09-19 Thread Aditya Mahajan
On Fri, 19 Sep 2008, Holzminister wrote:

> Hi!
>
> Can perhaps anyone explain to me why the example works in one case, but
> not in the other?

Grouping. For a simpler example

{\def\moretest{More test}}
\moretest

will not work. What you need to do is

{\gdef\moretest{More test}}
\moretest.

Aditya


> \enableregime[utf-8]
> \mainlanguage [de]
>
> % \def\werte#1{\em [#1]}   % +++ works
> \def\werte#1{{\em [#1]}}   % --- doesn't work
>
> \def\moretest{}
>
> \def\test%
> {
>   Testtext
>   \def\moretest%
>   {
>   More Testtext
>   }
> }
>
> \starttext
>
> \werte{\test}
>
> \moretest
>
> \stoptext

>
> Thanks in advance,
> Eyke
> ___
> 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] Interaction and accented letters

2008-09-19 Thread Alan BRASLAU
On Friday 19 September 2008 19:00:42 Flavien Lambert wrote:
> Dear all, is there a way to put accented letters in the interaction command
> ? I tried
> \setupinteraction[state=start,
>   author={Flavien Lambert},
>   title={Optique géométrique},
>   date={Septembre 2008}]
>
> and
>
> \setupinteraction[state=start,
>   author={Flavien Lambert},
>   title={Optique g\'eom\'etrique},
>   date={Septembre 2008}]
>
> but both trials led to strange things in Acrobat Reader and Evince.

\enableregime[utf]
\mainlanguage[fr]
% before \placebookmarks :
\input spec-tst % to prevent turning accented characters
% into their unaccented counterparts
\placebookmarks[chapter,section,subsection][chapter,section]
\setupinteraction[state=start, % make hyperlinks active, etc.
option=bookmark,
title={Titre accentué},
subtitle={etc...},
author={moi-même},
keyword={français}]

Works with acroread and okular...

The "\input spec-tst" trick is somewhere in the documentation or wiki...


___
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] Pyramiding \defs

2008-09-19 Thread Holzminister
Hi!

Can perhaps anyone explain to me why the example works in one case, but
not in the other?

>>>
\enableregime[utf-8]
\mainlanguage [de]

% \def\werte#1{\em [#1]}   % +++ works
\def\werte#1{{\em [#1]}}   % --- doesn't work

\def\moretest{}

\def\test%
{
Testtext
\def\moretest%
{
More Testtext
}
}

\starttext

\werte{\test}

\moretest

\stoptext
>>>

Thanks in advance,
Eyke
___
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] URL bug

2008-09-19 Thread Peter Münster
On Fri, Sep 19 2008, Alan Stone wrote:

> \useURL [url] [http://www.a.com] [] [wxyz]   % this does NOT compile

Perhaps an update will help. It works here with:
MtxRun | current version: 2008.09.16 19:49
This is LuaTeX, Version snapshot-0.29.0-2008072108

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

2008-09-19 Thread Mojca Miklavec
On Fri, Sep 19, 2008 at 8:07 PM, Mohamed Bana wrote:
> Hi guys,
>
> Why doesn't this definition use the old style numerals that come with the 
> font?
>  It seems to use the latin modern font when I try to use \os.  Small caps are
> working fine.
>
> I'd like all the numbers in the document to be typeset in old style numerals
> unless I tell it otherwise, btw how do I achieve the latter?

I didn't tell you that:

\definefontfeature
 [default]
 [script=latn,language=dflt,liga=yes,kern=yes,tlig=yes,onum=yes]

(the important setting is only "onum=yes")

The problem is that that's only a dirty trick that is not supposed to
work and might stop working in the future, so I would rather try not
to rely on it. A better interface for XeTeX typescripts (something
similar to fontspec) is missing heavily.



Concerning your first problem: I have tried patching Xsans definitions with

\definefontfeature
  [oldstyle]
  [script=latn,language=dflt,liga=yes,kern=yes,tlig=yes,onum=yes]

\starttypescript[Xserif][all][name]
\definefontsynonym [DummyOldStyle]  [name:\typescripttwo]   [features=oldstyle]
%\definefontsynonym [DummyOldStyle]  [name:'\typescripttwo']
[features=oldstyle]
\definefontsynonym [OldStyle]   [DummyOldStyle]
\stoptypescript

\definetypeface[myface][rm][Xserif][Warnock Pro]
\setupbodyfont[myface, 11pt]

\starttext
{\os 123456789}
\stoptext

but I have no idea why it fails.

kpathsea: Invalid fontname `name:Warnock', contains ':'
! Font \thedefinedfont=name:Warnock not loadable: Metric (TFM) file or installe
d font not found.

   P
 name:Warnock P
 ro
\dotruefontname ... #1\endcsname *#2#3\fi \else #1
  \ifx #2\empty \else *#2#3\...

\dotruefontname ... \??ff \fontclass #1\endcsname
  \else [EMAIL PROTECTED] 
\redotruefontna...

\dotruefontname ... \??ff \fontclass #1\endcsname
  \else [EMAIL PROTECTED] 
\redotruefontna...

\symbolicsizedfont ...ntname {\glyphfontfile {#3}}
   at \currentfontbodyscale ...
l.32 {\os
  123456789}

The alternative fails with

kpathsea: Invalid fontname `name:Warnock Pro*oldstyle', contains ':'
! Font \thedefinedfont="name:Warnock Pro*oldstyle" at 11.0pt not loadable: Metr
ic (TFM) file or installed font not found.
 \scaledfont

\symbolicsizedfont ...ntfontbodyscale \scaledfont
  \thedefinedfont
l.32 {\os
  123456789}


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] Updating LuaTeX after MacTeX-TeXLive 2008 (again)

2008-09-19 Thread Mojca Miklavec
On Fri, Sep 19, 2008 at 6:56 PM, Otared Kavian wrote:
>
> Has something changed recently in the ways
> TEXMFCNF has to be set?

On Mac, the situation with LuaTeX configuration has changed
*considerably* and in some very important ways after ConTeXt & LuaTeX
have been frozen for TeX Live.

I updated ConTeXt, luatex binary and ConTeXt scripts manually, and it
works fine now, though I never use --updatecontext.

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

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


[NTG-context] XeTeX old style numerals

2008-09-19 Thread Mohamed Bana
Hi guys,

Why doesn't this definition use the old style numerals that come with the font?
 It seems to use the latin modern font when I try to use \os.  Small caps are
working fine.  

I'd like all the numbers in the document to be typeset in old style numerals
unless I tell it otherwise, btw how do I achieve the latter?  As in break out of
onum and typeset in the normal numbers?

I'm using TeXlive 2008 on vista, the pdf reports that I'm using XeTeX version;
2008.05.21 15:21.

\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]

Pdf; http://filebin.ca/rpctwz/testbackup.pdf or http://filebin.ca/rpctwz

Thanks :)
Mohamed

% file
% engine=xetex
\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]

\starttext
\title {Introduction}

\startlines
123456789
{\os 123456789}
\stoplines

{\sc On the \CONTEXT\ mailing list, occasionally a user asks if
we can post a complete document with the associated style.
One reason for not honouring this request is that we want
users to cook up their own styles. Besides that, there are a
couple of styles in the regular \CONTEXT\ distribution.}

{\it When browsing through this document, a \CONTEXT\ user may
wonder what style was used to achieve its look and feel. We
hope that while reading the text and playing with the
examples, the reader will accomplish the skills to define
more than just simple layouts.}

{\sl When browsing through this document, a \CONTEXT\ user may
wonder what style was used to achieve its look and feel. We
hope that while reading the text and playing with the
examples, the reader will accomplish the skills to define
more than just simple layouts.}

{\it\sc This document is not easy reading. Occasionally we spend
some time explaining features not described in the manuals.
The design of this document is to a large extent determined
by its purpose, and as a result not always functional. Also
the order of presenting features, tips and tricks is kind of
random and unstructured. The idea is that the visual effects
will draw you to the right trick. Also, if you realy want to
benefit from these features, there is no way but to read the
whole story.}

{\bf In spite of all its shortcomings, I hope that you enjoy
reading this (yet unfinished) manual. Keep in mind that this
manual is far from finished.}

{\bi In spite of all its shortcomings, I hope that you enjoy
reading this (yet unfinished) manual. Keep in mind that this
manual is far from finished.}

{\ss\sc In spite of all its shortcomings, I hope that you enjoy
reading this (yet unfinished) manual. Keep in mind that this
manual is far from finished.}

\stoptext

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

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


[NTG-context] Interaction and accented letters

2008-09-19 Thread Flavien Lambert
Dear all, is there a way to put accented letters in the interaction command
? I tried
\setupinteraction[state=start,
  author={Flavien Lambert},
  title={Optique géométrique},
  date={Septembre 2008}]

and

\setupinteraction[state=start,
  author={Flavien Lambert},
  title={Optique g\'eom\'etrique},
  date={Septembre 2008}]

but both trials led to strange things in Acrobat Reader and Evince.

-- 
Flavien.

"Quantum objects are completely crazy but, at least, they are all crazy in
the same way." R.P. Feynman.
___
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] Updating LuaTeX after MacTeX-TeXLive 2008 (again)

2008-09-19 Thread Otared Kavian


On 19 sept. 08, at 18:00, Aditya Mahajan wrote:


On Fri, 19 Sep 2008, Otared KAVIAN wrote:

[…]
luatools --selfupdate

results in:
LuaTools | to be replaced old script /usr/texbin/luatools
LuaTools | unable to locate new script
LuaTools |
LuaTools | runtime: 0.082 seconds


I do not know how MacOX works, but do you have permissions to write  
on /usr/texbin as a user? If not, you would have to run


sudo luatools --selfupdate

and then proceed.



Hi Aditya,

Many thanks for your answer: in fact I tried once with "sudo luatools  
--selfupdate", but the answer is:

LuaTools | error unable to identify cnf file
LuaTools | error unable to identify cnf file
LuaTools | no cnf files found (TEXMFCNF may not be set/known)
LuaTools | to be replaced old script /usr/texbin/luatools
LuaTools | unable to locate new script
LuaTools |
LuaTools | runtime: 0.002 seconds

Nevertheless, I have already issued the command
export TEXMFCNF="/usr/local/texlive/2008/texmf/web2c/"

Can it be that I have to add other paths to TEXMFCNF? In this case how  
one can find all these paths to add? Has something changed recently in  
the ways TEXMFCNF has to be set?


Thanks again: 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] Updating LuaTeX after MacTeX-TeXLive 2008 (again)

2008-09-19 Thread Aditya Mahajan

On Fri, 19 Sep 2008, Otared KAVIAN wrote:


Dear ConTeXters,

I apologize for sending twice this message: since I did not receive it
myself, I thought it has been lost…

So here is my help request:

I just updated my TeX installation with the latest MacTeX-TeXLive 2008, and
since the version of LuaTeX included there was 0.25.0, I built a binary
version
LuaTeX, Version snapshot-0.29.0-2008091817.

Now the problem is that my usual procedure for generating mkiv doesn't work
and I couldn't fix the problem…
(That procedure used to work fine with the previous version of
MacTeX-TeXLive 2008).

More precisely
mtxrun --selfupdate

seems to work fine, but then

luatools --selfupdate

results in:
LuaTools | to be replaced old script /usr/texbin/luatools
LuaTools | unable to locate new script
LuaTools |
LuaTools | runtime: 0.082 seconds


I do not know how MacOX works, but do you have permissions to write on 
/usr/texbin as a user? If not, you would have to run


sudo luatools --selfupdate

and then proceed.

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] Updating LuaTeX after MacTeX-TeXLive 2008 (again)

2008-09-19 Thread Otared KAVIAN
Dear ConTeXters,

I apologize for sending twice this message: since I did not receive it
myself, I thought it has been lost…

So here is my help request:

I just updated my TeX installation with the latest MacTeX-TeXLive 2008, and
since the version of LuaTeX included there was 0.25.0, I built a binary
version
LuaTeX, Version snapshot-0.29.0-2008091817.

Now the problem is that my usual procedure for generating mkiv doesn't work
and I couldn't fix the problem…
(That procedure used to work fine with the previous version of
MacTeX-TeXLive 2008).

More precisely
mtxrun --selfupdate

seems to work fine, but then

luatools --selfupdate

results in:
LuaTools | to be replaced old script /usr/texbin/luatools
LuaTools | unable to locate new script
LuaTools |
LuaTools | runtime: 0.082 seconds

and the command
luatools --generate

apparently works fine, since there is no complaints, as far as I can see.
Now when I issue the command:
luatools --ini --verbose --compile cont-en

luatools stops after executing some commands and finally I get:
LuaTools | using lua initialization file cont-en.luc
LuaTools | running command: luatex --ini --lua="cont-en.luc"
"/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex" \\dump
(/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex
! I can't find file `context.tex'.
l.16 \input context.tex
Please type another input file name:

If I do give a complete path for this file, that is
/usr/local/texlive/texmf-local/tex/context/base/context.tex

(or for another one
/usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex)
again luatools complaints about not finding the file syst-pln.tex… and so
on.

I should say that I execute also the commands
export TEXMFCACHE="/tmp"
export TEXMFCNF="/usr/local/texlive/2008/texmf/web2c/"
export
TEXMF="{/Users/kavian/Library/texmf,/usr/local/texlive/2008/texmf-config,/usr/local/texlive/2008/texmf-var,/usr/local/texlive/2008/../texmf-local,/usr/local/texlive/2008/texmf-dist,/usr/local/texlive/2008/texmf,/usr/local/texlive/texmf-local}"
export
LUAINPUTS="{/usr/local/texlive/texmf-local/tex/context/base,/usr/local/texlive/texmf-local/scripts/context/lua}"
export OSFONTDIR="{/Users/kavian/Library/Fonts,/Library/Fonts}"
export TEXMFSCRIPTS="{$TEXMF/scripts/context/,$TEXMF/tex/context/base}"

before the above.

Since I do most of the operations without really understanding what is going
on, I am sure I am doing something wrong… But what?

Thanks for your help…
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] typescript and font features bug?

2008-09-19 Thread Zhaopeng Xing
btw, the MinionPro version in use is

Version 2.015;PS 002.000;Core 1.0.38;makeotf.lib1.7.9032


2008/9/19 Zhaopeng Xing <[EMAIL PROTECTED]>

> The attachment.
>
> 2008/9/19 Zhaopeng Xing <[EMAIL PROTECTED]>
>
> Hi all,
>>
>> I am using the latest minimal and try to compile the following two files
>> with luatex. The second file, using typescript and font features together,
>> get a serious problem with the final pdf: punctuation centered unexpectedly
>> in lines. For the first files, with no font features specified, it is OK. I
>> do not know whether someone else can replicate this problem. But it
>> happended on my laptop. All compiled are attached in this email.
>>
>> %FILE1: test1.tex
>> \starttypescript[serif][myserif][name]
>> \definefontsynonym[Serif][MinionPro-Regular][]
>> \stoptypescript
>>
>> \definetypeface [myserif] [rm] [serif] [myserif]   [default]
>> \usetypescript[myserif]
>> \setupbodyfont[myserif,rm,12pt]
>>
>> \starttext
>> \input zapf
>> \stoptext
>>
>>
>> %FILE2: test2.tex
>> \definefontfeature[minion][language=dflt, script=latn, mode=node,
>>frac=yes, onum=yes, kern=yes, liga=yes,
>> dlig=yes,
>>protrusion=quality, expansion=quality]
>> \starttypescript[serif][myserif][name]
>> \definefontsynonym[Serif][MinionPro-Regular][features=minion]
>> \stoptypescript
>>
>> \definetypeface [myserif] [rm] [serif] [myserif]   [default]
>> \usetypescript[myserif]
>> \setupbodyfont[myserif,rm,12pt]
>>
>> \starttext
>> \input zapf
>> \stoptext
>>
>>
>>
>> --
>> Zhaopeng XING
>>
>> Tinbergen Institute
>>
>
>
>
> --
> Zhaopeng XING
>
> Tinbergen Institute
>



-- 
Zhaopeng XING

Tinbergen Institute
___
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] typescript and font features bug?

2008-09-19 Thread Zhaopeng Xing
Hi all,

I am using the latest minimal and try to compile the following two files
with luatex. The second file, using typescript and font features together,
get a serious problem with the final pdf: punctuation centered unexpectedly
in lines. For the first files, with no font features specified, it is OK. I
do not know whether someone else can replicate this problem. But it
happended on my laptop. All compiled are attached in this email.

%FILE1: test1.tex
\starttypescript[serif][myserif][name]
\definefontsynonym[Serif][MinionPro-Regular][]
\stoptypescript

\definetypeface [myserif] [rm] [serif] [myserif]   [default]
\usetypescript[myserif]
\setupbodyfont[myserif,rm,12pt]

\starttext
\input zapf
\stoptext


%FILE2: test2.tex
\definefontfeature[minion][language=dflt, script=latn, mode=node,
   frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes,
   protrusion=quality, expansion=quality]
\starttypescript[serif][myserif][name]
\definefontsynonym[Serif][MinionPro-Regular][features=minion]
\stoptypescript

\definetypeface [myserif] [rm] [serif] [myserif]   [default]
\usetypescript[myserif]
\setupbodyfont[myserif,rm,12pt]

\starttext
\input zapf
\stoptext



-- 
Zhaopeng XING

Tinbergen Institute
___
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] typescript and font features bug?

2008-09-19 Thread Zhaopeng Xing
The attachment.

2008/9/19 Zhaopeng Xing <[EMAIL PROTECTED]>

> Hi all,
>
> I am using the latest minimal and try to compile the following two files
> with luatex. The second file, using typescript and font features together,
> get a serious problem with the final pdf: punctuation centered unexpectedly
> in lines. For the first files, with no font features specified, it is OK. I
> do not know whether someone else can replicate this problem. But it
> happended on my laptop. All compiled are attached in this email.
>
> %FILE1: test1.tex
> \starttypescript[serif][myserif][name]
> \definefontsynonym[Serif][MinionPro-Regular][]
> \stoptypescript
>
> \definetypeface [myserif] [rm] [serif] [myserif]   [default]
> \usetypescript[myserif]
> \setupbodyfont[myserif,rm,12pt]
>
> \starttext
> \input zapf
> \stoptext
>
>
> %FILE2: test2.tex
> \definefontfeature[minion][language=dflt, script=latn, mode=node,
>frac=yes, onum=yes, kern=yes, liga=yes,
> dlig=yes,
>protrusion=quality, expansion=quality]
> \starttypescript[serif][myserif][name]
> \definefontsynonym[Serif][MinionPro-Regular][features=minion]
> \stoptypescript
>
> \definetypeface [myserif] [rm] [serif] [myserif]   [default]
> \usetypescript[myserif]
> \setupbodyfont[myserif,rm,12pt]
>
> \starttext
> \input zapf
> \stoptext
>
>
>
> --
> Zhaopeng XING
>
> Tinbergen Institute
>



-- 
Zhaopeng XING

Tinbergen Institute


att.tar.gz
Description: GNU Zip compressed data
___
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] URL bug

2008-09-19 Thread Alan Stone
\setupinteraction[state=start]

%\useURL [url] [http://www.a.com] [] [x] % this compiles
%\useURL [url] [http://www.a.com] [] [xy]% this compiles
%\useURL [url] [http://www.a.com] [] [xyz]% this compiles
\useURL [url] [http://www.a.com] [] [wxyz]   % this does NOT compile
%\useURL [url] [http://www.a.com] [] [vwxyz]  % this does NOT compile

%\useURL [url] [http://www.ab.com] [] [x]% this compiles
%\useURL [url] [http://www.ab.com] [] [xy]% this compiles
%\useURL [url] [http://www.ab.com] [] [xyz]   % this compiles
%\useURL [url] [http://www.ab.com] [] [wxyz]  % this does NOT compile
%\useURL [url] [http://www.ab.com] [] [vwxyz]  % this does NOT compile

%\useURL [url] [http://www.abc.com] [] [x]% this compiles
%\useURL [url] [http://www.abc.com] [] [xy]   % this compiles
%\useURL [url] [http://www.abc.com] [] [xyz]   % this compiles
%\useURL [url] [http://www.abc.com] [] [wxyz]  % this does NOT compile
%\useURL [url] [http://www.abc.com] [] [vwxyz] % this does NOT compile

\starttext
\from[url]
\stoptext
-- 
Best,
Alan

* ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3


test_url.log
Description: Binary data
___
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] Additional blank methods

2008-09-19 Thread Wolfgang Schuster
Hi Hans,

can you add

\defineblankmethod [endgraf] {\endgraf}
\defineblankmethod [nobreak] {\penalty\plustenthousand}

to core-spa.tex


Can you also add

\def\previousnumber#1{\number\numexpr#1-1\relax}
\defineconversion [previousnumber] [\previousnumber]

to core-con.tex

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
___