Re: [NTG-context] Luatex fails to load a font

2008-09-16 Thread holzminister
2008/9/16 Henning Hraban Ramm <[EMAIL PROTECTED]>:
> Am 2008-09-16 um 20:29 schrieb holzminister:

> OpenType can internally use TrueType outlines or PostScript outlines
> (different algorithms). OpenType with PS outlines normally use
> the .otf extension; OpenType with TrueType outlines are valid TrueType
> fonts and therefore normally use the .ttf extension. But OpenType
> fonts are never valid PostScript fonts.
>
> By far not every TrueType font is OpenType compatible: OT-TT fonts
> have their characters encoded in Unicode and may use OT features;
> "normal" TT fonts often use default/custom one-byte encodings.

Thanks for your explanation.

> The ordering in the TeX tree is probably a matter of taste, but you
> would even more confused to find .ttf fonts within the "truetype" as
> well as "opentype" folders, for you can't know (without tools) what's
> really in the font's guts. And don't you think it would be
> questionable to draw a line between Unicode encoded TrueType fonts
> with and without OpenType features?

OK, in some cases it makes sense to store them separated. But when I
download a font and don't know about its features, I first have to
analyse it to put it into the right folder.

>
> Greetlings from Lake Constance!
> Hraban

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


[NTG-context] The problem of updating context manually using cont-tmf.zip

2008-09-16 Thread Jianning Dong
Hello everyone.

I'm using TeXLive2008, and I have just updated my ConTeXt
for Chinese supporting using the file downloaded from
http://mirror.contextgarden.net/context/current/cont-tmf.zip.

I just unzipped it into texmf-local and execute the command:
   texmfstart texexec --make --all

I think everything is OK, but the problem comes. The version of ConTeXt
is still 2008.05.21 15:21:

context --version

MtxRun | main context file:
/usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex
MtxRun | current version  : 2008.05.21 15:21

I don't know the exactly meaning of "main context file". I think it should
be the file I just
unzipped into /usr/local/texlive/texmf-local. The version of ConTeXt should
be 2008.08.05.

Anyone can help me updating the ConTeXt?
-- 
Hello world!
Every day is a new day.
___
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] Labelling figures

2008-09-16 Thread Wolfgang Schuster
On Tue, Sep 16, 2008 at 4:28 PM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Wolfgang Schuster wrote:
>> Hi all,
>>
>> any new news about my question below.
>>
>> Wolfgang
>>
>> On Fri, Jun 6, 2008 at 9:51 AM, Wolfgang Schuster
>> <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>>
>>> what is the best method to add labels to a figure; I want them not only on
>>> the figure but their position should be relative to the figure size.
>
> how about just using a layer ...

And how could they help me, I want to pisition the label relative to
the figure size with fraction of the figure width and heigth.

I could write my own macros to do this but I hoped you have already
something available to do this.

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] MKIV font name database

2008-09-16 Thread Alan Stone
It must be

\definetypeface [georgia] [rm] [serif] [georgia] [default]



-- 
Best,
Alan

* ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3
___
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] Labelling figures

2008-09-16 Thread Wolfgang Schuster
On Tue, Sep 16, 2008 at 5:44 PM, Alan BRASLAU <[EMAIL PROTECTED]> wrote:
> On Tuesday 16 September 2008 16:28:45 Hans Hagen wrote:
>> >> what is the best method to add labels to a figure; I want them not only
>> >> on the figure but their position should be relative to the figure size.
>>
>> how about just using a layer ...
>
> You might also try pgf/tikz, according to your taste:
>
> \usemodule[tikz]
> \starttikzpicture[scale=]
> \pgftext{\externalfigure[kuh][width=1cm]};
> \draw (x,y) node {label};
> \stoptikzpicture

Thanks for the tip but I won't rely on external packages, before this
will happen I write my own macros.

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] Luatex fails to load a font

2008-09-16 Thread Henning Hraban Ramm
Am 2008-09-16 um 20:29 schrieb holzminister:

> I thought that OpenType is quasi an extended TrueType. Wikipedia says:
> "OpenType Filename extension .otf, .ttf". So it isn't obvious why one
> schould not mix the two parts in one directory.

OpenType can internally use TrueType outlines or PostScript outlines  
(different algorithms). OpenType with PS outlines normally use  
the .otf extension; OpenType with TrueType outlines are valid TrueType  
fonts and therefore normally use the .ttf extension. But OpenType  
fonts are never valid PostScript fonts.

By far not every TrueType font is OpenType compatible: OT-TT fonts  
have their characters encoded in Unicode and may use OT features;  
"normal" TT fonts often use default/custom one-byte encodings.

The ordering in the TeX tree is probably a matter of taste, but you  
would even more confused to find .ttf fonts within the "truetype" as  
well as "opentype" folders, for you can't know (without tools) what's  
really in the font's guts. And don't you think it would be  
questionable to draw a line between Unicode encoded TrueType fonts  
with and without OpenType features?


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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 fails to load a font

2008-09-16 Thread holzminister
I thought that OpenType is quasi an extended TrueType. Wikipedia says:
"OpenType Filename extension .otf, .ttf". So it isn't obvious why one
schould not mix the two parts in one directory.

Cheers,
Eyke

2008/9/16 Arthur Reutenauer <[EMAIL PROTECTED]>:
>> The error appears when I put the font into
>> "context/tex/texmf/fonts/opentype/public". But there are no problems
>> with the font in "context/tex/texmf-context/fonts/truetype". Why?
>
>  The obvious answer would be: because your font has a .ttf extension.
> And the obvious answer would be: since it has a .ttf extension, why do
> you put it in fonts/opentype?
>
>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
> ___
>
___
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] Labelling figures

2008-09-16 Thread Alan BRASLAU
On Tuesday 16 September 2008 16:28:45 Hans Hagen wrote:
> >> what is the best method to add labels to a figure; I want them not only
> >> on the figure but their position should be relative to the figure size.
>
> how about just using a layer ...

You might also try pgf/tikz, according to your taste:

\usemodule[tikz]
\starttikzpicture[scale=]
\pgftext{\externalfigure[kuh][width=1cm]};
\draw (x,y) node {label};
\stoptikzpicture
___
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] MKIV font name database

2008-09-16 Thread Alan Stone
compiled with

texmfstart texexec --lua test001

-- 
Best,
Alan

* ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3
___
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 fails to load a font

2008-09-16 Thread Hans Hagen
holzminister wrote:
> Hmm, that's interesting. I thought it's not relevant where the fonts
> are located.
> 
> The error appears when I put the font into
> "context/tex/texmf/fonts/opentype/public". But there are no problems
> with the font in "context/tex/texmf-context/fonts/truetype". Why?

here i have

texmf-whatever/fonts/data/vendor/collection/somefont.somesuffix

i.e. the whole lot organized by vendor/collection instead of per file type

for that to work, you need to add texmf-whatever/fonts/data// to your 
relevant font paths in texmf.cnf




-
   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] Labelling figures

2008-09-16 Thread Hans Hagen
Wolfgang Schuster wrote:
> Hi all,
> 
> any new news about my question below.
> 
> Wolfgang
> 
> On Fri, Jun 6, 2008 at 9:51 AM, Wolfgang Schuster
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> what is the best method to add labels to a figure; I want them not only on
>> the figure but their position should be relative to the figure size.

how about just using a layer ...

>>
>> I tried start/stopfigure (mentioned as outdated in the source) but the label
>> is not shown.
>>
>> \setupexternalfigures[location={local,global,default}]
>>
>> \starttext
>>
>> \startfigure[kuh][cow]
>> \referring(1,1)(1,1)[r:horn]
>> \stopfigure
>>
>> \externalfigure[kuh]
>>
>> \stoptext
>>
>>
>> After this I tried collector and got with a little extra and a box and to 
>> dimens
>> what I wanted but it's not very elegant.
>>
>> \setupexternalfigures[location={local,global,default}]
>>
>> \starttext
>>
>> \newbox\labelbox \setbox\labelbox\hbox{\externalfigure[cow]}
>>
>> \newdimen\labelwidth  \labelwidth \wd\labelbox
>> \newdimen\labelheight \labelheight\ht\labelbox
>>
>> \definecollector[label][state=repeat]
>>
>> \setcollector[label]{\box\labelbox}
>>
>> \setcollector[label][x=.65\labelwidth,y=.75\labelheight]{udder}
>>
>> \placefigure
>>  {A labelled cow}
>>  {\flushcollector[label]}
>>
>>
>> \stoptext
>>
>>
>> Figurelabel as described in the label manual [1] seem to be the perfect
>> solution but the module isn't finished :-(
>>
>>
>> Is there not better way to achieve what I want and do I have to live with
>> my second method or could I hope for the future.
>>
>>
>> [1] http://pragma-ade.nl/general/manuals/mlabels.pdf
>>
>>
>> Greetings
>> 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
> ___


-- 

-
   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] Breaking/Hyphenating

2008-09-16 Thread Hans Hagen
Mohamed Bana wrote:
> The file seems to typeset almost perfectly with mkii, even without
> \setuplayout[grid=yes] \overfullrule=10pt.

a simpler test file is

\showframe \mainlanguage[uk]

\starttext
 \placefigure[left]{}{} \input zapf
\stoptext

there can be several reasons for the difference (btw, uk patterns cannot 
hyphenate widely)

- different fonts i.e. different glyphs dimensions and spacing (lm 
opentype is not the same as lm type1)
- different hyphenation algorithm (mostly the same as traditional tex, 
but some limitations and optimizations removed)

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] Luatex fails to load a font

2008-09-16 Thread Arthur Reutenauer
> The error appears when I put the font into
> "context/tex/texmf/fonts/opentype/public". But there are no problems
> with the font in "context/tex/texmf-context/fonts/truetype". Why?

  The obvious answer would be: because your font has a .ttf extension.
And the obvious answer would be: since it has a .ttf extension, why do
you put it in fonts/opentype?

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] overprint and currentcolorname in mkiv

2008-09-16 Thread Peter Rolf
Hans Hagen schrieb:
 \setupcolors[state=start]

 \starttext

 No overprinting.

 \startoverprint
 Overprinting is active.
 \stopoverprint

 \stoptext
>>> run ok here, but the question is .. what exactly do you expect to see
>>>
>> to be exact: some orange text :)
> 
> can you check if the current beta is more in sync with pdftex?
> 

orange text *AND* 'OVP 1' mode :)

to put it into one word: perfect!!!

> 
> -
>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] MKIV font name database

2008-09-16 Thread Mohamed Bana
Alan Stone  gmail.com> writes:

> 
> mtxrun --script fonts --list
> 
> output...
> 
> The 2nd column is the font name.
> Tthe 3rd column is the font filename.
> 
> To what corresponds the 1st column ?
> 

Take a look at; http://wiki.contextgarden.net/Fonts_in_LuaTex#Example.  I
remember the same question.




___
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 fails to load a font

2008-09-16 Thread holzminister
Hmm, that's interesting. I thought it's not relevant where the fonts
are located.

The error appears when I put the font into
"context/tex/texmf/fonts/opentype/public". But there are no problems
with the font in "context/tex/texmf-context/fonts/truetype". Why?

Cheers,
Eyke


2008/9/16 Taco Hoekwater <[EMAIL PROTECTED]>:
> Eyke Höft wrote:
>>
>> My code works when I change the definition for example to
>> texgyrebonum-regular.otf.
>>
>> Any ideas why the other font isn't working?
>
> luatools --generate may help.
>
> 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
> ___
>
___
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] Mkiv hyperlink problem

2008-09-16 Thread Mohamed Bana
Jano Kula  tiscali.cz> writes:

> 
> Mohamed Bana wrote:
> > Could someone please try this out;
> > 
> > 1.  This source file; http://pastebin.com/m4dd31559 doesn't work with mkiv, 
> > it
> > fails with; http://pastebin.com/ma9705be (paste below).
> > 2.  I don't get an error when I compile with mkii.  Here's the log of the
> > succesfull compile; http://pastebin.com/m2c98019d.  
> 
> Works here (ConTeXt - 2008.09.10 14:01, pdfTeX-1.40.9, luaTeX-0.28.0) 
> both with mkii and mkiv.
> 
> Jano
> 

Still doesn't work, it fails with (the same message error i think);
http://pastebin.com/m18091197

I ran

> first-setup.bat

> C:\context\tex\setuptex.bat C:\context\tex

> C:\context>context --version
MtxRun | main context file:
C:/context/tex/texmf-context/tex/context/base/context.tex
MtxRun | current version: 2008.09.16 13:34

> C:\context>luatex --version
This is LuaTeX, Version snapshot-0.29.0-2008072009
...
Copyright 2008 Taco Hoekwater, the LuaTeX Team.

Compiled with libpng 1.2.29; using libpng 1.2.29
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with xpdf version 3.02pl2


> C:\context>pdftex --version
pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7)
kpathsea version 3.5.7
...
Compiled with libpng 1.2.31; using libpng 1.2.31
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with xpdf version 3.02pl2





___
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 fails to load a font

2008-09-16 Thread Thomas A. Schmitz

On Sep 16, 2008, at 2:30 PM, holzminister wrote:

> Hi!
>
> Unfortunately that did nothing helpful. I ran first-setup.sh
> additionally, but that didn't help either.
>
> Regards,
> Eyke

So you're using the minimals...

1. Where exactly is TypoOrnaments.ttf?

2. output of
luatools TypoOrnaments.ttf

3. is there a file TypoOrnaments.tma in your texmf-cache/luatex-cache/ 
context//fonts/otf directory?

4. output of luatools --expand-var TEXMF

Thomas


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

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


Re: [NTG-context] Breaking/Hyphenating

2008-09-16 Thread Mohamed Bana
The file seems to typeset almost perfectly with mkii, even without
\setuplayout[grid=yes] \overfullrule=10pt.

Source; http://pastebin.com/m271212a6
Pdf; http://filebin.ca/octdd/test.pdf or http://filebin.ca/octdd


___
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] overprint and currentcolorname in mkiv

2008-09-16 Thread Hans Hagen

>>> \setupcolors[state=start]
>>>
>>> \starttext
>>>
>>> No overprinting.
>>>
>>> \startoverprint
>>> Overprinting is active.
>>> \stopoverprint
>>>
>>> \stoptext
>> run ok here, but the question is .. what exactly do you expect to see
>>
> 
> to be exact: some orange text :)

can you check if the current beta is more in sync with pdftex?


-
   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] MKIV font name database

2008-09-16 Thread Wolfgang Schuster
On Tue, Sep 16, 2008 at 2:47 PM, Alan Stone
<[EMAIL PROTECTED]> wrote:
> (1) >the (simplified) internal name that is used as lookup
>
> so these are names one can use in typescripts instead,
> aka  [name:simplified-internal-name] ?
>
> (2) source: http://wiki.contextgarden.net/Running_Mark_IV#Using_fonts
>
> "Context Mark IV can use non-tex fonts (in OpenType, TrueType or Type1
> format) directly"
>
> What is meant by "directly" ?

You don't need tfm and map files.

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] MKIV font name database

2008-09-16 Thread Alan Stone
(1) >the (simplified) internal name that is used as lookup

 so these are names one can use in typescripts instead,
aka  [name:simplified-internal-name] ?

 (2) source: http://wiki.contextgarden.net/Running_Mark_IV#Using_fonts

"Context Mark IV can use non-tex fonts (in OpenType, TrueType or Type1
format) directly"

What is meant by "directly" ?

-- 
Best,
Alan


 * ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3
 On Tue, Sep 16, 2008 at 1:14 PM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Alan Stone wrote:
>> mtxrun --script fonts --list
>>
>> output...
>>
>> The 2nd column is the font name.
>> Tthe 3rd column is the font filename.
>>
>> To what corresponds the 1st column ?
>
> the (simplified) internal name that is used as lookup, only digits and
> lowercase letters; all requested names are simplified before a lookup
>
> (reason: i don't want to remember upper/lowercase, not funny characters,
> not deal with the usual mess in font (file) names)
>
> Hans
___
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 fails to load a font

2008-09-16 Thread holzminister
Hi!

Unfortunately that did nothing helpful. I ran first-setup.sh
additionally, but that didn't help either.

Regards,
Eyke


2008/9/16 Taco Hoekwater <[EMAIL PROTECTED]>:
> Eyke Höft wrote:
>>
>> My code works when I change the definition for example to
>> texgyrebonum-regular.otf.
>>
>> Any ideas why the other font isn't working?
>
> luatools --generate may help.
>
> 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
> ___
>
___
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 fails to load a font

2008-09-16 Thread Taco Hoekwater
Eyke Höft wrote:
> 
> My code works when I change the definition for example to
> texgyrebonum-regular.otf.
> 
> Any ideas why the other font isn't working?

luatools --generate may help.

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] MKIV font name database

2008-09-16 Thread Hans Hagen
Alan Stone wrote:
> mtxrun --script fonts --list
> 
> output...
> 
> The 2nd column is the font name.
> Tthe 3rd column is the font filename.
> 
> To what corresponds the 1st column ?

the (simplified) internal name that is used as lookup, only digits and 
lowercase letters; all requested names are simplified before a lookup

(reason: i don't want to remember upper/lowercase, not funny characters, 
not deal with the usual mess in font (file) names)

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Luatex fails to load a font

2008-09-16 Thread Eyke Höft
Hi!

I added a font called TypoOrnaments.ttf to my context-tree. Calling
"mtxrun --script fonts --list" gives the result

typoornamentsTypoOrnaments
TypoOrnaments.ttf
typoornamentsmedium  TypoOrnaments
TypoOrnaments.ttf

Now I want to use it in my document with

\definefontsynonym [typoOrn]  [file:TypoOrnaments.ttf][features=default]
\definefont [typoO] [typoOrn sa *]

-> {\typoO test}

But luatex complains that it cannot find the font.

define font | forced type ttf of TypoOrnaments not found
define font | font with name TypoOrnaments is not found
define font | unknown font TypoOrnaments, loading aborted

Same thing with "name:...".

My code works when I change the definition for example to
texgyrebonum-regular.otf.

Any ideas why the other font isn't working?


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] Reading modules from zip files

2008-09-16 Thread Wolfgang Schuster
On Thu, Jul 17, 2008 at 1:53 PM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Wolfgang Schuster wrote:
>> Hi again,
>>
>> is there now a solution for my problem or should ask again in a few months.
>
> ask gain later, i have no time now to look into it  -)

Do you have now time or should I ask again?

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

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


[NTG-context] MKIV font name database

2008-09-16 Thread Alan Stone
mtxrun --script fonts --list

output...

The 2nd column is the font name.
Tthe 3rd column is the font filename.

To what corresponds the 1st column ?

--
Best,
Alan

* ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3
___
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] Labelling figures

2008-09-16 Thread Wolfgang Schuster
Hi all,

any new news about my question below.

Wolfgang

On Fri, Jun 6, 2008 at 9:51 AM, Wolfgang Schuster
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> what is the best method to add labels to a figure; I want them not only on
> the figure but their position should be relative to the figure size.
>
>
> I tried start/stopfigure (mentioned as outdated in the source) but the label
> is not shown.
>
> \setupexternalfigures[location={local,global,default}]
>
> \starttext
>
> \startfigure[kuh][cow]
> \referring(1,1)(1,1)[r:horn]
> \stopfigure
>
> \externalfigure[kuh]
>
> \stoptext
>
>
> After this I tried collector and got with a little extra and a box and to 
> dimens
> what I wanted but it's not very elegant.
>
> \setupexternalfigures[location={local,global,default}]
>
> \starttext
>
> \newbox\labelbox \setbox\labelbox\hbox{\externalfigure[cow]}
>
> \newdimen\labelwidth  \labelwidth \wd\labelbox
> \newdimen\labelheight \labelheight\ht\labelbox
>
> \definecollector[label][state=repeat]
>
> \setcollector[label]{\box\labelbox}
>
> \setcollector[label][x=.65\labelwidth,y=.75\labelheight]{udder}
>
> \placefigure
>  {A labelled cow}
>  {\flushcollector[label]}
>
>
> \stoptext
>
>
> Figurelabel as described in the label manual [1] seem to be the perfect
> solution but the module isn't finished :-(
>
>
> Is there not better way to achieve what I want and do I have to live with
> my second method or could I hope for the future.
>
>
> [1] http://pragma-ade.nl/general/manuals/mlabels.pdf
>
>
> Greetings
> 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] Hyphenating hyperlinks

2008-09-16 Thread Steffen Wolfrum

Am 16.09.2008 um 08:52 schrieb Jano Kula:

> Mohamed Bana wrote:
>> Why aren't the the urls broken across the lines on page2-3. I'm  
>> pretty sure the
>> hyperref package in latex supported this, Am I missing an option  
>> somewhere?
>>
>> Screenshot; http://imagebin.ca/view/VHwQ0w.html.
>>
>> The code used is; \dorecurse{6}{Download Apache at \from[apache]}
>> Full source; http://pastebin.com/m1cf28c3c
>> Pdf; http://filebin.ca/dnoqva/test.pdf or http://filebin.ca/dnoqva.
>
> Here, TeX can't break the paragraph according to the strict paragraph
> layout settings, urls are broken, but they still form "Overfull hbox".
> (And there is no space after urls.)
>
> \setuptolerance[tolerant]
>
> will help.
>
>
> Jano



And there is also \hyphenatedurl{...}


Steffen
___
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-16 Thread Jano Kula
Mohamed Bana wrote:
> Hi everbody,
> 
> 1.  Blank links source; http://pastebin.com/m4dd31559, Doesn't work, but
> strangely enough "color=urlcolour" (the one below) does.  Log;
> http://pastebin.com/m1034c274
> 2.  Colour links source; http://pastebin.com/m70fa91b6.  Log;
> http://pastebin.com/m16be2374
> 
> Just compile the and you'll see for yourself.
> 
> So if I do use "ucolour", the links are shown in black.  I can't compile the
> file with mkiv, see http://thread.gmane.org/gmane.comp.tex.context/44025.

Not sure what you mean. I see nothing strange: mkii and mkiv give the 
same results. Upgrade should help.

Jano

___
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] Mkiv hyperlink problem

2008-09-16 Thread Jano Kula
Mohamed Bana wrote:
> Could someone please try this out;
> 
> 1.  This source file; http://pastebin.com/m4dd31559 doesn't work with mkiv, it
> fails with; http://pastebin.com/ma9705be (paste below).
> 2.  I don't get an error when I compile with mkii.  Here's the log of the
> succesfull compile; http://pastebin.com/m2c98019d.  

Works here (ConTeXt - 2008.09.10 14:01, pdfTeX-1.40.9, luaTeX-0.28.0) 
both with mkii and mkiv.

Jano

___
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] nolist still gives textellipsis???

2008-09-16 Thread Steffen Wolfrum

Am 16.09.2008 um 08:32 schrieb Wolfgang Schuster:

> On Mon, Sep 15, 2008 at 5:09 PM, Steffen Wolfrum <[EMAIL PROTECTED] 
> > wrote:
>> Hi,
>>
>> I remember Henning was fighting with this quite a while ... but
>> eventually this was solved, wasn't it?
>> Shouldn't the following give NO textellipsis in the TOC:
>
> \setuplanguage[de][limittext=]
>
> \mainlanguage[de]
>
>> \starttext
>>
>
> %\setuplist[chapter][limittext={}]
>
>> \completecontent
>>
>> \chapter{aaa\nolist{bbb}ccc}
>>
>> \stoptext


uhh! this is surprising ... but clean and convenient to do it per  
language not per section.

I will correct henning's wiki pages with this issue.

thanks a lot wolfgang!


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