[NTG-context] pdf-Forms

2009-01-04 Thread Holzminister
Hi!

I wanted to test pdf-forms with the latest minimals from contextgarden
and ran into some interesting errors.

The following code compiles, but I cannot change the fieldvalue:


\starttext
Field \fillinfield[test]{Fieldtext}
\stoptext


When I add \setupinteraction[state=start], the compilation breaks with
an error:


! Undefined control sequence.
var :j:fields_1 -
   visible_field  = new Array() ; var
visible_fields = 0...

\docommand ...code {\getvalue {\r!java \r!java #1}
  }\ifoneJSpreamble
\...@ea \se...

\next2 #1,-\docommand {#1}
   \doprocesscommaitem 
argument \relax fields_1,
   Do_Check_Answer
\doprocesscommalist ...aitem \gobbleoneargument #1
  ,]\relax \global
\advance ...

\presetJSpreamble ...[\allJSpreambles ]\docommand 
  \ifoneJSpreamble
\gdef \al... ...
l.6 \stoptext


Neither pdfcontext nor luatex wanted to compile. Can anyone help?

Best regards,
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] pdf-Forms

2009-01-04 Thread Holzminister
 
  When I add \setupinteraction[state=start], the compilation breaks
  with an error:
 
 [...]
 
 This is fixed in the last alpha.
Thanks, it works.


  Neither pdfcontext nor luatex wanted to compile. Can anyone help?
 
 Why the pdf prefix for context?
I thought it was nicer to distinguish the normal pdf-output and luatex.

Do you know some good tutorials or example documents about forms and
JavaScript created with context? mwidget-s.pdf or the wikipage are not
that efficient. I want to create forms with a lot of textfields and
automatic calculations via JavaScript.

Best regards,
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] Wrong cache-path with luatex

2008-10-26 Thread Holzminister
Am Fri, 24 Oct 2008 15:43:45 +0200
schrieb luigi scarso [EMAIL PROTECTED]:

 On Fri, Oct 24, 2008 at 2:23 PM, Holzminister
 [EMAIL PROTECTED]wrote:
 
  Am Fri, 24 Oct 2008 14:05:36 +0200
  schrieb luigi scarso [EMAIL PROTECTED]:
 
   On Fri, Oct 24, 2008 at 1:40 PM, Holzminister
   [EMAIL PROTECTED]wrote:
  
Hi!
   
Within my luatex-chache directory there is the directory
2afa1e18082b2d9b8e2af9f2c6e925a6. But when I call texexec
--lua it searches for a directory called
0aa031a3f94c398f99a9660a610ae9ef. I linked this with the
existing one, but now luatex can't find any fontfiles anymore.
   
Running luatex with --fmt=.../2afa1e18082b2d9b8e2af9f2c6e925a6
everything works fine.
   
luatools --generate says alot about
2afa1e18082b2d9b8e2af9f2c6e925a6.
   
I'm using the latest Contextgarden-Beta.
   
   I suggest to use minimals.
  That's what I meant with Contextgarden-Beta. :)
 
   When I have these kind of problems,
   I delete the cache and then
   context --generate
   Eventually I reinstall from minimals.
  
  I tried this (again) but that doesn't help. Now I get the old
  error-message
 
 Did you run
 . setuptex
 in tex directory (watch for the initial dot!) ?

Hmm, I think this was it. Until now this wasn't necessary. Perhaps
something else changes.

Thanks alot!

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] Wrong cache-path with luatex

2008-10-24 Thread Holzminister
Hi!

Within my luatex-chache directory there is the directory
2afa1e18082b2d9b8e2af9f2c6e925a6. But when I call texexec --lua it 
searches for a directory called 0aa031a3f94c398f99a9660a610ae9ef. I
linked this with the existing one, but now luatex can't find any
fontfiles anymore.

Running luatex with --fmt=.../2afa1e18082b2d9b8e2af9f2c6e925a6
everything works fine.

luatools --generate says alot about 2afa1e18082b2d9b8e2af9f2c6e925a6.

I'm using the latest Contextgarden-Beta.

Any ideas how to solve this?

Best regards,
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] Wrong cache-path with luatex

2008-10-24 Thread Holzminister
Am Fri, 24 Oct 2008 14:05:36 +0200
schrieb luigi scarso [EMAIL PROTECTED]:

 On Fri, Oct 24, 2008 at 1:40 PM, Holzminister
 [EMAIL PROTECTED]wrote:
 
  Hi!
 
  Within my luatex-chache directory there is the directory
  2afa1e18082b2d9b8e2af9f2c6e925a6. But when I call texexec --lua it
  searches for a directory called 0aa031a3f94c398f99a9660a610ae9ef.
  I linked this with the existing one, but now luatex can't find any
  fontfiles anymore.
 
  Running luatex with --fmt=.../2afa1e18082b2d9b8e2af9f2c6e925a6
  everything works fine.
 
  luatools --generate says alot about
  2afa1e18082b2d9b8e2af9f2c6e925a6.
 
  I'm using the latest Contextgarden-Beta.
 
 I suggest to use minimals.
That's what I meant with Contextgarden-Beta. :)

 When I have these kind of problems,
 I delete the cache and then
 context --generate
 Eventually I reinstall from minimals.
 
I tried this (again) but that doesn't help. Now I get the old
error-message

TeXExec | processing document 'test2.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test2.top
TeXExec | using randomseed 180
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | using format
name: 
/[...]/luatex-cache/context/0aa031a3f94c398f99a9660a610ae9ef/formats/cont-en.fmt
LuaTools | no luc/lua with
name: 
/[...]/luatex-cache/context/0aa031a3f94c398f99a9660a610ae9ef/formats/cont-en
___
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] Clickable Subsections in TOC

2008-09-25 Thread holzminister
Hi,

that's a pity. Does anyone know a workaround?

I tried the following code with Luatex:


\setupcolors[state=start]
\setupinteraction[state=start]

\def\ListCommand#1#2#3%
{\tfx\color[darkgreen]{\textbullet\ #2 #3}\quad}

\setuplist
[subsection]
[alternative=none,
command=\ListCommand]

\starttext
\placelist[subsection]

\dorecurse{10}{\subsection{Hello world!}}

\stoptext


But that doesn't break lines at the end. Everything is ut into one
single line ...

Best regards,
Eyke

2008/9/24 Taco Hoekwater [EMAIL PROTECTED]:
 holzminister wrote:
 Hi!

 Nobody an idea?

 It seems that interaction=all is currently not supported by
 alternative d.

 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] Clickable Subsections in TOC

2008-09-24 Thread holzminister
Hi!

Nobody an idea?

Cheers,
Eyke

2008/9/22 holzminister [EMAIL PROTECTED]:
 Hi,

 it's me again. :)

 Why can I only click the green dots left of the words but not the
 words themself? (Tested with luatex an pdftex.)


 \setupcolors
[state=start]

 \setupinteraction
[state=start]

 \setuplist
[subsection]
[interaction=all,
 alternative=d,
 style={\tfx},
 margin=5mm]

 \starttext

 \placelist[subsection][symbol=one]

 \subsection{one}
 \subsection{two}

 \stoptext



 Best regards,
 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] Textbackground with leftframe

2008-09-23 Thread holzminister
Hi!

1) I wanted to color some text inside a columnset-environment. That
works fine for text that stays in one column or spans two consecutive
ones. But if there's a pagebreak after the first page, only the left
column gets the background. From page two on everything is fine again.
Any ideas how this comes?


\setupcolors[state=start]
\definetextbackground[test][
backgroundcolor=yellow,
frame=off,
leftoffset=5mm,
location=paragraph,
color=black]

\definecolumnset[example][n=2,distance=5mm]

\starttext
\startcolumnset[example]

\starttextbackground[test]
\dorecurse{12}{\input knuth \par}
\stoptextbackground

\stopcolumnset
\stoptext


2) And another question: Is there a way to get a leftframe activated
in my defined background?

Have a nice evening,
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] Working with grids and Luatex

2008-09-22 Thread holzminister
Hi!

Is there a command to place text on the grid again, if it is shifted
by a graphic or something like this?


\setuplayout[grid=yes]
\showgrid

\starttext

\input knuth

\framedtext
[height=fit,autowidth=force,offset=0pt]
{
\externalfigure[cow][scale=830]
}

\input knuth

\stoptext


Best regards,
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] Working with grids and Luatex

2008-09-22 Thread holzminister
Thanks! Works great!

Now I found it in the manual, too ... :)

Cheers,
Eyke

2008/9/22 Aditya Mahajan [EMAIL PROTECTED]:
 On Mon, 22 Sep 2008, holzminister wrote:

 Hi!

 Is there a command to place text on the grid again, if it is shifted
 by a graphic or something like this?

 (Untested)

 \startlinecorrection
 ...
 \stoplinecorrection

 Aditya


 \setuplayout[grid=yes]
 \showgrid

 \starttext

 \input knuth

 \framedtext
 [height=fit,autowidth=force,offset=0pt]
 {
   \externalfigure[cow][scale=830]
 }

 \input knuth

 \stoptext


 Best regards,
 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
 ___

___
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] Clickable Subsections in TOC

2008-09-22 Thread holzminister
Hi,

it's me again. :)

Why can I only click the green dots left of the words but not the
words themself? (Tested with luatex an pdftex.)


\setupcolors
[state=start]

\setupinteraction
[state=start]

\setuplist
[subsection]
[interaction=all,
 alternative=d,
 style={\tfx},
 margin=5mm]

\starttext

\placelist[subsection][symbol=one]

\subsection{one}
\subsection{two}

\stoptext



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

2008-09-20 Thread Holzminister
Thanks a lot!

Cheers,
Eyke


Am Fri, 19 Sep 2008 17:18:02 -0400 (EDT)
schrieb Aditya Mahajan [EMAIL PROTECTED]:

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

2008-09-17 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
___


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

2008-09-17 Thread holzminister
That's a good idea. I will try this later on.

Best regards,
Eyke

2008/9/16 Hans Hagen [EMAIL PROTECTED]:
 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
 ___

___
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] Interesting Bug with LuaTex, \setfontfeature{oldstyle}, colors and tikz

2008-09-17 Thread holzminister
Hi!

I wanted to use colors in my tikz-graphics. The following example
gives a nice red line with texexec:


\enableregime[utf-8]
\mainlanguage [de]
\setupcolors[state=start]

\usemodule[tikz]

\definecolor[zeug][r=1, g=0, b=0]

\starttext

\starttikzpicture
 \draw [zeug, line width=1ex, cap=round] (-7.65cm,-1mm) -- 
(7.65cm,-1mm);
\stoptikzpicture

\stoptext


When I compile my document with texexec --lua I get a black line.

Adding \setfontfeature{oldstyle} to the preamble causes texexec
--lua to break with a failure.


Package pgfbase: Error! Unsupported color model `'. Sorry.
error: ...text/tex/texmf-context/tex/context/base/font-otf.lua:1998:
attempt to index local 'tfmdata' (a nil value)
.
\endpgfpicture ... [EMAIL PROTECTED] }\endgroup \hss \egroup
  [EMAIL PROTECTED] \endgrou...


Does anyone know how this comes?

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

2008-09-17 Thread holzminister
How do you do that? Added the relevant font pathes to texmf.cnf?

Cheers,
Eyke


2008/9/17 Wolfgang Schuster [EMAIL PROTECTED]:
 On Wed, Sep 17, 2008 at 8:57 AM, holzminister
 [EMAIL PROTECTED] wrote:


 No, you don't have to do this.

 *.ttf - fonts/truetype
 *.otf - fonts/opentype

 You could also use them from your OS font directory (this is what I did).

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


[NTG-context] How to put descriptionheads into the index?

2008-09-15 Thread Holzminister
Hi!

Let's assume I have a description like the one in the wiki:


\startdescr{Para}
  This is a shorter item label, and some text that talks about it.
  The text is wrapped into a paragraph, with successive lines indented.
\stopdescr


Now I want to have Para in my index. I tried something like


\definedescription[descr][
  command={\index{#1}}]


But that puts only a descr into the index. Is there another automated
way to achieve my wanted effect?


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] Needless empty page at end

2008-09-15 Thread Holzminister
Hi!

Is there nobody who knows something about this?

Best regards,
Eyke

Am Wed, 20 Aug 2008 21:50:01 +0200
schrieb Holzminister [EMAIL PROTECTED]:

 Hi again!
 
 When I compile the example of
 http://wiki.contextgarden.net/Alternating_backgrounds_and_repeating_layers
 with texexec -lua or -pdf I get an additional empty page at the
 end of my document. It shows the watermark but neither text nor the
 pagenumber.
 
 This workaround unfortunately doesn't work:
 http://wiki.contextgarden.net/Empty_page_at_the_end
 
 Any ideas?
 
 I'm using the latest garden-minimal.
 
 Good night,
 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] Line under footer

2008-08-20 Thread Holzminister
Hi there!

I managed to draw a line under my footer (with the help of this
mailing list, of course ;) ), but how can I change its thickness?

This doesn't seem to work:
\setupbackgrounds[footer][text][frame=off, bottomframe=on, height=0pt,
depth=3pt]

Same effect with this one:
\setupbackgrounds[footer][text][frame=off, bottomframe=on, height=3pt]

Regards,
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] Line under footer

2008-08-20 Thread Holzminister
The description of setupframed in texshow-web offered the solution:
rulethickness ...

It's really interesting which ways you have to go to find a solution.

Best wishes,
Eyke


Am Wed, 20 Aug 2008 17:43:32 +0200
schrieb Holzminister [EMAIL PROTECTED]:

 Hi there!
 
 I managed to draw a line under my footer (with the help of this
 mailing list, of course ;) ), but how can I change its thickness?
 
 This doesn't seem to work:
 \setupbackgrounds[footer][text][frame=off, bottomframe=on, height=0pt,
 depth=3pt]
 
 Same effect with this one:
 \setupbackgrounds[footer][text][frame=off, bottomframe=on, height=3pt]
 
 Regards,
 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] Needless empty page at end

2008-08-20 Thread Holzminister
Hi again!

When I compile the example of
http://wiki.contextgarden.net/Alternating_backgrounds_and_repeating_layers
with texexec -lua or -pdf I get an additional empty page at the end
of my document. It shows the watermark but neither text nor the
pagenumber.

This workaround unfortunately doesn't work:
http://wiki.contextgarden.net/Empty_page_at_the_end

Any ideas?

I'm using the latest garden-minimal.

Good night,
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] Differences between \setupfootnotedefinition and \setupfootnotes

2008-08-18 Thread Holzminister
Ah, I see. Thanks!


Am Sun, 17 Aug 2008 22:14:07 +0200
schrieb Hans Hagen [EMAIL PROTECTED]:

 Holzminister wrote:
  Hi!
  
  Can anyone explain the differences between the mentioned commands?
 
 the first one can be used to tune the rendering of footnotes (cf. 
 descriptions), while the second influences the footnote handling and 
 inline symbol
 
 
 -
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
___


[NTG-context] Differences between \setupfootnotedefinition and \setupfootnotes

2008-08-17 Thread Holzminister
Hi!

Can anyone explain the differences between the mentioned commands?

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] Sample code: a textbook

2008-07-30 Thread Holzminister
Am Wed, 30 Jul 2008 17:27:38 +0200
schrieb Jörg Hagmann [EMAIL PROTECTED]:

 Some time ago, I showed a few sample pages of a biochemistry textbook
 I wrote in ConTeXt. I now uploaded the setup file with comments in 
 ContextGarden (http://wiki.contextgarden.net/Biochemistry_textbook).
 I hope that it will be useful for beginners---I found examples
 helpful myself.


Hi!

That looks great! Very helpful details!

Thank you,
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] LinuxLibertine and math with LuaTeX

2008-07-12 Thread Holzminister
Hi!

I tried to use palatino math and LinuxLibertine together, but without
success. The font mechanism seems a bit confusing to me (I use ConTeXt
for two days now ...). Can anyone help?

Regards,
Eyke

Am Fri, 11 Jul 2008 23:47:51 +0200
schrieb Hans Hagen [EMAIL PROTECTED]:

 Holzminister wrote:
  Hi!
  
  With the help of this great mailing-list I managed to type text
  with the opentype version of LinuxLibertine. But the math font
  still falls back to Latin Modern (I think). Is there a way to get
  mathsymbols typed with LinuxLibertine, too?
 
 in principle on ecan start remapping them but since most fonts lack 
 symbols one gets a real weird mess then
 
 some day soon we will have gyre math fonts
 
 (often palatino math looks ok with non cm fonts)
 
 
 -
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] LinuxLibertine and math with LuaTeX

2008-07-12 Thread Holzminister
Hm, that was easy ... Thank you very much!

Regards,
Eyke

Am Sat, 12 Jul 2008 12:11:46 +0200
schrieb Wolfgang Schuster [EMAIL PROTECTED]:

 On Sat, Jul 12, 2008 at 11:05 AM, Holzminister
 [EMAIL PROTECTED] wrote:
  Hi!
 
  I tried to use palatino math and LinuxLibertine together, but
  without success. The font mechanism seems a bit confusing to me (I
  use ConTeXt for two days now ...). Can anyone help?
 
 \starttypescript [linuxlibertine]
   \definetypeface [linuxlibertine] [rm] [serif] [linuxlibertine]
 [default] \definetypeface [linuxlibertine] [mm] [math]
 [palatino]   [default] \stoptypescript
 
 Regards,
 Wolfgang
 ___
 If your question is of interest to others as well, please add an
 entry to the Wiki!
 
 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context webpage  :
 http://www.pragma-ade.nl / http://tex.aanhet.net archive  :
 https://foundry.supelec.fr/projects/contextrev/ wiki :
 http://contextgarden.net
 ___
___
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] LinuxLibertine and math with LuaTeX

2008-07-11 Thread Holzminister
Hi!

With the help of this great mailing-list I managed to type text with the
opentype version of LinuxLibertine. But the math font still falls back
to Latin Modern (I think). Is there a way to get mathsymbols typed with
LinuxLibertine, too?

My code so far:

% engine=luatex

\starttypescript [serif] [linuxlibertine]
  \setups[font:fallback:serif]
  \definefontsynonym [Serif]   [LinLibertine-Regular]
  \definefontsynonym [SerifBold]   [LinLibertine-Bold]
  \definefontsynonym [SerifItalic] [LinLibertine-Italic]
  \definefontsynonym [SerifBoldItalic] [LinLibertine-BoldItalic]
  \definefontsynonym [SerifCaps]   [LinLibertine-Caps]
\stoptypescript

\starttypescript [serif] [linuxlibertine]
  \definefontsynonym [LinLibertine-Regular][name:Linux Libertine O] 
[features=default]
  \definefontsynonym [LinLibertine-Bold]   [name:Linux Libertine O Bold]
[features=default]
  \definefontsynonym [LinLibertine-Italic] [name:Linux Libertine O Italic]  
[features=default]
  \definefontsynonym [LinLibertine-BoldItalic] [name:Linux Libertine O Bold 
Italic] [features=default]
  \definefontsynonym [LinLibertine-Caps]   [name:Linux Libertine O 
Capitals][features=default]
\stoptypescript

\starttypescript [linuxlibertine]
 \definetypeface [\typescriptone] [rm] [serif] [linuxlibertine] [default]
\stoptypescript


\usetypescript[linuxlibertine]
\setupbodyfont[linuxlibertine]

\starttext

Normal text.

\startformula
\alpha + \beta = 10
\stopformula

\stoptext



Regards,
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] Automatic sorting of german umlauts in registers

2008-07-10 Thread Holzminister
Hi!

Is there a way to sort german umlauts in registers automatically like
the DUDEN does? For instance the DUDEN treats the ü like an u rather
then ue.

A little example:

Huefte
Huf
Hüfte
Hut

The workaround with xindy is no good idea, because it removes the
references in the pdf.

Regards,
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] Automatic sorting of german umlauts in registers

2008-07-10 Thread Holzminister
Am Thu, 10 Jul 2008 11:25:24 +0200
schrieb Wolfgang Schuster [EMAIL PROTECTED]:

 On Thu, Jul 10, 2008 at 11:11 AM, Holzminister
 [EMAIL PROTECTED] wrote:
 
 It's polite to use a real name.
I signed the mail with my real forename.


 
  Hi!
 
  Is there a way to sort german umlauts in registers automatically
  like the DUDEN does? For instance the DUDEN treats the ü like an u
  rather then ue.
 
  A little example:
 
  Huefte
  Huf
  Hüfte
  Hut
 
  The workaround with xindy is no good idea, because it removes the
  references in the pdf.
 
 Use LuaTeX/MkIV.
Thanks. I'll give it a try.

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