[NTG-context] Dimension in mkiv definefont

2014-07-02 Thread Uwe Koloska
Dear list,

the following runs fine in mkii (i.e. if compiled with 'texexec') but
gives an error with mkiv (compiled with 'context'):

\showframe

\newdimen\Ssize \Ssize=18pt
%\definefont[MyFont][Serif at 18pt]
\definefont[MyFont][Serif at \Ssize]

\starttext
\MyFont
\input knuth
\stoptext

I have just installed the current version of context-minimals:
ConTeXt  ver: 2013.06.07 17:34 MKII  fmt: 2014.7.2  int: english/english

What ist the mkiv way to set a dimension that will be used in a number
of \definefont commands?

Thank you!
Uwe
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] scripts

2012-11-01 Thread Uwe Koloska
Hello,

Am 31.10.2012 00:21, schrieb Hans Hagen:
> This assumes control over the login shell as well as control over what
> the launchers of system processes use. I must admit that till now I
> always assumed some stability in this, which is probably okay as long
> as one sticks to one specific distribution (of linux).

There is stability in that /bin/sh always must be a (posix compatible)
bourne (not again) style shell!

> I think that the main problem is that #! /bin/sh can mean anything
> (although in your case I suppose you expect it to be the bourne shell).

A shell available as /bin/sh can have far more features but you can not
rely on them!

> So the question is, should the scripts that come with context (like
> the installer) be explicit and become #! /bin/bash ?

If the scripts do use bashisms they have to be declared with #!
/bin/bash.  So you do have this options:

* rewrite the scripts to be truly posix and use #! /bin/sh (the dash
links from another mail may help)
* leave the scripts alone with all their bashisms and declare them with
#! /bin/bash

My advice on this is: in all shellscripts you write, declare the shell
that you are testing the script with -- so on most linux systems (and in
windows unix environments like msys) use /bin/bash and only change this
to /bin/sh if you have to. For example to make it compatible to a
minimal system (a jeos VM comes to mind) that is not supposed to provide
/bin/bash.

Uwe

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] cont-enp.pdf on lulu

2008-07-28 Thread Uwe Koloska
Hello,

Am Montag, 28. Juli 2008 schrieb Gerben Wierda:
> I have an idea. Why not have a live ConTeXt manual.pdf where you add
> something in the proper location and compile the document every time
> you answer a question from a user? As you are the person answering
> anyway, it should be little extra work.

A good idea! But from my pov it should be clarified a bit. We must distinguish 
between:
- a user manual that tells you how to use the system and give you an overview 
of the whole system and the most important parts (pictures, math, etc.)
- and a reference manual, that describes all available commands in detail.

The user manual exists (excursion and manual) but has to be revised. The 
reference manual exists (http://texshow.contextgarden.net/) but is by far not 
complete.

As it is very difficult to make an automated process for producing the user 
manual, the candidate for the proposed semiautomatic production is the 
reference manual.
Where does the XML-files that are the basis for the existing texshow 
applications come from?  The production of this file(s) has to be somehow 
bound to the current sourcecode. Then at least all commands are present 
and "only" the documentation has to be filled in. The last commands I have 
learned by asking on this list, are all not present in texshow so that I was 
not able to add the description there ...

For the user manual(s) (in my opinion the excursion is a part of "the 
manual"), there are these steps necessary:
- provide a sourceversion that works with the current state of context
- identify the portions that are completely out of sync and cut them out (or 
mark them clearly as outdated)
- provide pointers to the more current documentation for every part (and mark 
differences between mkii and mkiv)
- add the missing main features

and as a bonus to the reference manual:
- make groups of commands that belong together and describe their interactions 
(something like the portal pages of wikipedia)

As far as I understand the situation, the completion of the reference manual 
is a realistic goal for the near future. And it is possible that everyone 
helps with this by filling the answers you get on this list into the command 
descriptions.


Wow, this has been gotten longer than I wanted it to be :-)
But let me close with a HUGE big THANK YOU to Hans and Taco and the other 
people that make context such a great tool!

Uwe
___
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] No output for layers

2008-07-08 Thread Uwe Koloska
Hello,

Am Dienstag, 8. Juli 2008 schrieb Wolfgang Schuster:
> On Tue, Jul 8, 2008 at 2:17 PM, Oliver Buerschaper
> > ---
> > \definelayer
> >[mylayer]
> >[x=78mm,
> > y=3mm,
> > height=43.5mm,
> > width=128mm]
> >
> > \starttext
> >
> > \setlayer[mylayer][preset=middle]{Hello world!}
> >
> > \stoptext
> > ---

The layer is now only defined and has some content, but is not related to any 
page element. So you has to define it as the background of some pageelement:

  \setupbackgrounds[page][background=mylayer]

or you have to "flush" it (but I don't know what this is supposed to do, maybe 
it's just another way of calling the OTR -- see below)

  \flushlayer[mylayer]

> You have to invoke the OTR.

OTR = Output Routine

Without invoking the OTR nothing is generated.

(but you can leave out \starttext \stoptext -- why?)

> You could use
>
> \startstandardmakeup
> \stopstandardmakeup
>
> or
>
> \page[empty]

Both of these produce an empty page (without pagenumber) and the layer at the 
intended position.

> or
>
> \dontleavehmode
>
> or
>
> \null
>
> or

These two variants produce pages with the standard layout (in this easy setup 
this consists only of the page number at the top).

The last alternative I know of: instead of defining the layer as background 
for the page, you can just call

  \flushlayer[mylayer]

But this positions the layer relative to the textarea (and not the pagearea) 
and produces a standard layout with pagenumber, too, if you don't use 
standardmakeup.

This has helped, to make some concepts regarding layers clear to me;-)
Regards
Uwe
___
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] No output for layers

2008-07-08 Thread Uwe Koloska
Hello,

Am Dienstag, 8. Juli 2008 schrieb Wolfgang Schuster:
> Set the values with \setlayer and not with \definelayer.

But then you can't use 'preset=middle' cause this relies on the actual 
dimensions of the layer. So if you wanna use placements relative to the right 
or bottom side of the layer you have to provide the position and dimensions 
with \definelayer.

Regards
Uwe
___
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] Howto float text around an image on layer (in a frame, inside standardmakeup)?

2008-06-24 Thread Uwe Koloska
Hello Hans,

Am Dienstag, 24. Juni 2008 schrieb Hans Hagen:
> \starthangaround{\externalfigure[cow]}\input tufte \stophangaround
>
> undocumented but already there for a while (in cont-new) so now *you*
> have to wikify it

Thank you for all your help!  Yes I *have to* wikify all the stuff I learned 
while setting the Booklet.  And I promise, I will do it!

Best regards
Uwe

-- 
Dipl.-Ing. Uwe Koloska
Leiter Softwareentwicklung

voice INTER connect GmbH   Tel +351 481 088 3
Ammonstraße 35 Fax +351 438 399 25
01067 Dresden - Germanywww.voiceinterconnect.de
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Howto float text around an image on layer (in a frame, inside standardmakeup)?

2008-06-23 Thread Uwe Koloska
Hello,

hopefully this is the last dumb question, cause the CD is nearing it's end an 
will be prepared for printing soon ;-)


How can I float text around a picture if I place them on a layer?

What I want to achieve is something like this:

ppp
ppp
...

but typeset onto a layer to position it at my will ...

But I can't get the text flow around the graphic.  Here is a minimal example:
-
\definelayer[test]

\startbuffer[text]
\placefigure[left,none]{}{\framed[height=1cm]{graphic}}
\input tufte
\stopbuffer

\setlayerframed[test]
  [x=.5\paperwidth,y=2em,location=bottom]
  [width=0.8\textwidth,height=0.3\textheight,align=normal]
  {\getbuffer[text]}

\setupbackgrounds[page][background=test]

\starttext
\startstandardmakeup
\stopstandardmakeup
\stoptext
-

and the result can be seen in the attached PDF.

The same happens inside a standardmakeup
-
\startbuffer[text]
\placefigure[left,none]{}{\framed[height=1cm]{graphic}}
\input tufte
\stopbuffer

\starttext
\startstandardmakeup
\getbuffer[text]
\stopstandardmakeup
\stoptext
-

and inside a framedtext
-
\startbuffer[text]
\placefigure[left,none]{}{\framed[height=1cm]{graphic}}
\input tufte
\stopbuffer

\starttext
\startframedtext[width=0.8\textwidth]
\getbuffer[text]
\stopframedtext
\stoptext
-

Neither the mailinglist, nor the wiki or the documentation have given me any 
clue, what to change or where to look further ...

Is there another way to flow text around an image?  The image has a fixed 
position (top left corner of the text) so it don't has to be a float at all.

Thank you for all your help
Uwe


test_layer.pdf
Description: Adobe PDF document
___
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] protruding with luatex mkiv?

2008-06-21 Thread Uwe Koloska
Hello,

how can I use protruding with mkiv and luatex?  I tried different examples 
from the different manuals and the garden and found the following piece that 
works OK with pdftex and mkiv (?):

--
\setupcolors[state=start]
\setupfontsynonym [Serif] [handling=normal]
\definetypeface[palatino][rm][serif][palatino][default]
\setupbodyfont[palatino]

\starttext
\startframedtext[width=.5\textwidth,background=screen,
offset=none,frame=off,align=hanging]
\input tufte
\stopframedtext
\stoptext
--

Is this the right way to use protruding with mkiv and luatex?

And if it works, how do I use it with the otf version of delicious which 
typescript was presented some days ago on this list?

And how can I use hz?  (if I understand it right, hz makes some distances 
between characters mor beautifully)

Thank you
Uwe
___
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] placing image on layer is sketchy

2008-06-20 Thread Uwe Koloska
Hello,

still working on the CD booklet ;-)

While trying to include the pictures I have some problems with placing a 
picture onto a layer: The following code should place the picture into the 
lower right corner of the upper part and then goes to the left. The part that 
goes over the page border is for the bleeding.
But the result (as seen in the attached pdf) is a sketchy position of the 
right, bottom corner it looks like the same offset in x and -y direction.

Two more observations:
- with the "offset=-1mm" in the layerframe configuration there is only an 
offset in -y direction left (offset=0mm is not enough)
- without the frame it works as expected (and so my problem is solved)

\setuppapersize[CD][CD,oversized]
\setuppagenumbering[location=,state=stop]

\setuplayout
  [location=middle]

\showframe[edge]

\useexternalfigure[page12][dummy]

\definelayer
  [p12]
  [width=\paperwidth,
  height=\paperheight]

\setlayerframed [p12]
  [x=\paperwidth,y=74mm,
  location={left,top}]
  [width=124mm,height=77mm,
  %offset=-1mm,
  frame=on]
  {\externalfigure[page12][width=126mm,height=77mm]}
%\setlayer [p12]
%  [x=\paperwidth,y=74mm,
%  location={left,top}]
%  {\externalfigure[page12][width=124mm,height=77mm]}

\starttext
\setupbackgrounds[page][background=p12]
\startstandardmakeup
\stopstandardmakeup
\stoptext


piclayer.pdf
Description: Adobe PDF document
___
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] problem with layer: corner doesn't work

2008-06-15 Thread Uwe Koloska
Hello Hans,

Am Sonntag, 15. Juni 2008 schrieb Hans Hagen:
> ps. screens don't seem to work in mkiv but since you didn't report that ...

For me 'screen' do work. And with the live-context on the garden they work, 
too. (See the attached PDF)

Uwe


layertest.pdf
Description: Adobe PDF document
___
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] problem with layer: corner doesn't work

2008-06-15 Thread Uwe Koloska
Hello,

still working on the CD Design, I tried to understand the layer mechanism. 
After some reading and trying I have found a problem with the 
parameter 'corner'.  The following setting doesn't work with the corner 
parameter but only with numeric placement of the reference point:

---
% engine=luatex

\setuppapersize[CD][A4]
\setuppagenumbering
  [location=,state=stop]
\showframe[edge]
\setuplayout[location=middle]

\definelayer
  [layer1]
  [width=\paperheight,heigth=\paperheight]

\setupbackgrounds
  [page]
  [background=layer1]

\starttext

\startstandardmakeup

\setlayerframed
  [layer1]
  [corner={left,bottom},
  %x=0cm,y=\paperheight,
  location={right,top}]
  [width=.5\paperwidth,
  height=.5\paperheight,
  background=screen]
  {BLOCK 1}
\setlayerframed
  [layer1]
  [corner={right,top},
  location={left,bottom}]
  [width=.5\paperwidth,
  height=.5\paperheight,
  background=screen]
  {BLOCK 2}

\stopstandardmakeup

\stoptext
---

I use a current context-minimal and have made an update today. The luatex 
version is:
> luatex --version
This is LuaTeX, Version snapshot-0.25.3-2008052302
...
This is build 0, created on 20080410T143312Z

Context is:
  ConTeXt  ver: 2008.06.11 22:25 MKIV  fmt: 2008.6.15  int: english/english


What is wrong here?
Uwe Koloska
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] fontscript for delicious?

2008-06-15 Thread Uwe Koloska
Hello Wolfgang,

Am Donnerstag, 12. Juni 2008 schrieb Wolfgang Schuster:
> On Thu, Jun 12, 2008 at 12:38 AM, Uwe Koloska <[EMAIL PROTECTED]> wrote:
> > MtxRun | main context
> > file:
> > /home/koloska/context-minimal/tex/texmf-context/tex/context/base/context.
> >tex MtxRun | current version: 2008.06.03 19:55
> >
> > but with context, I was not able to compile the file, cause there are the
> > tfm-files missing.
>
> What's with "mtxrun --script context delicious" and "texexec --lua
> delicious", messages for tfm files should come with pdfTeX.

Maybe a simple misunderstanding: 'texexec --lua' works fine, but 'context' 
(the application) gives the missing tfm error.  This is because the standard 
runtime called by the application 'context' is pdftex and not luatex, isn't 
it?

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

2008-06-11 Thread Uwe Koloska
Hello Wolfgang,

mmmh, very curious.  Today I wasn't able to reproduce the problems I have had 
yesterday ...
Everything works exactly as you said with no changes to your files.

So I revoke and argue the converse.

Am Mittwoch, 11. Juni 2008 schrieb Wolfgang Schuster:
> I tested it now on my own system and it worked for me.
>
> ConTeXT:
>
> MtxRun | main context file:
> C:/tex/share/texmf-local/tex/context/base/context.tex
> MtxRun | current version: 2008.06.07 23:44

> context --version
MtxRun | main context 
file: 
/home/koloska/context-minimal/tex/texmf-context/tex/context/base/context.tex
MtxRun | current version: 2008.06.03 19:55

but with context, I was not able to compile the file, cause there are the 
tfm-files missing.

> LuaTeX:
>
> This is LuaTeX, Version snapshot-0.25.3-2008060811
> ...
> This is build 1309, created on 20080608T112701Z

> luatex --version
This is LuaTeX, Version snapshot-0.25.3-2008052302
...
This is build 0, created on 20080410T143312Z
Compiled with libpng 1.2.15; using libpng 1.2.15
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with xpdf version 3.01

> XeTeX:
>
> XeTeX 3.1415926-2.2-0.999.1 (Web2C 7.5.6)

> xetex --version
XeTeX 3.1415926-2.2-0.998.5-dev (Web2C 7.5.6)

> > 1. The interface for the \definefontsynonym command seems to have
> > changed: There is no third parameter -- this one "[features=default]" end
> > up in the document as text.
>
> Makes no sense because you need the third parameter to define smallcaps
> if you don't have a seperate font but select it as OpenType feature.
> Kerning, ligatures etc. are enabled with the features parameter too.

No idea, what was wrong ...
The third parameter was included as normal text in the resulting pdf.

> > 2. To load the typescript, the command is not "\usetypefile  [delicious]"
> > but "\usetypescriptfile  [type-delicious]"
>
> Why did it not work for you, do you get a error message or is the file
> not loaded,
> give us more information, ConTeXt version, LuaTeX version, log files ...

I've got an error that the command doesn't matches it's definition.
This works today without problems, too ...

I'm on linux and have installed the context minimal with the help of 
first-setup.sh on 2008-06-07.

So, thank you for your help!
The next time I get any curious result, I will save the logfiles ;-)

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

2008-06-09 Thread Uwe Koloska
Hello Wolfgang, hello list,

thank you for the help!

Unfortunately the code doesn't work flawlessly with the current minimal 
context distribution.  So for the archive, here are the corrected files and a 
short usage description:


The typescript that defines the context bindings for the delicious font from
  http://www.josbuivenga.demon.nl/delicious.html

--- type-delicious.-
\starttypescript [sans] [delicious]
  \setups[font:fallback:sans]
  \definefontsynonym [Sans]           [Delicious-Regular]
  \definefontsynonym [SansItalic]     [Delicious-Italic]
  \definefontsynonym [SansBold]       [Delicious-Bold]
  \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic]
  \definefontsynonym [SansCaps]       [Delicious-Caps]
\stoptypescript

\starttypescript [sans] [delicious]
  \definefontsynonym [Delicious-Regular][name:Delicious-Roman]
  \definefontsynonym [Delicious-Italic]     [name:Delicious-Italic]
  \definefontsynonym [Delicious-Bold]       [name:Delicious-Bold]
  \definefontsynonym [Delicious-BoldItalic] [name:Delicious-BoldItalic]
  \definefontsynonym [Delicious-Caps]       [name:Delicious-SmallCaps]
\stoptypescript

\starttypescript [delicious]
  \definetypeface [delicious] [ss] [sans] [delicious] [default]
\stoptypescript


Now the testfile:
--- delicious-test.tex -
\usetypescriptfile  [type-delicious]
\usetypescript[delicious]
\setupbodyfont[delicious]

\starttext

My document with the delicious fonts.

\input knuth

\stoptext


Now save these two file together with the otf-files from the delicious 
download in a directory and call the luatex version of context with this 
command:
  texexec --lua delicious-test.tex


What did I change?

1. The interface for the \definefontsynonym command seems to have changed: 
There is no third parameter -- this one "[features=default]" end up in the 
document as text.

2. To load the typescript, the command is not "\usetypefile  [delicious]" 
but "\usetypescriptfile  [type-delicious]"


Have fun!
Uwe
___
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] fontscript for delicious?

2008-06-09 Thread Uwe Koloska
Hello,

Am Montag, 9. Juni 2008 schrieb Wolfgang Schuster:
> On Mon, Jun 9, 2008 at 3:06 AM, Uwe Koloska <[EMAIL PROTECTED]> wrote:
> > does someone have a typescript (or what's now needed) for using the
> > wonderful delicious font with context?
>
> I used it myself for the examples in my letter manual.

Ah - Thank you!

But what is necessary to let it be known to context?
(process with texfont, etc.)

And where can I find the "letter manual"?  The letter-doc.pdf seems not to 
include any examples nor the delicious fonts ...

Uwe

-- 
Dipl.-Ing. Uwe Koloska
Leiter Softwareentwicklung

voice INTER connect GmbH   Tel +351 481 088 3
Ammonstraße 35 Fax +351 438 399 25
01067 Dresden - Germanywww.voiceinterconnect.de
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] fontscript for delicious?

2008-06-08 Thread Uwe Koloska
Hello,

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

It's available in opentype format.

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

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


[NTG-context] Howto fit text into a box

2008-06-08 Thread Uwe Koloska
Hello,

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

Can you help me with this?

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

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

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

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

I would appreciate any input on this problem!

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

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


Re: [NTG-context] Using metapost figures in context (offlist)

2006-06-16 Thread Uwe Koloska
Am Mittwoch, 14. Juni 2006 09:35 schrieb Hans Hagen:
>
> if data =~ /output files* written\:\s*(.*)$/mois then

I am no ruby programmer, but although the above works, it should be
  if data =~ /output files? written ...

Uwe
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new release

2006-05-11 Thread Uwe Koloska
Am Donnerstag, 11. Mai 2006 00:21 schrieb Hans Hagen:
>
> (concerning the path ... what is the path separator on osx?)

The normal unix path separator '/'.  On OS9 it was ':'.

Uwe
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt-updater i-Package updated

2005-03-04 Thread Uwe Koloska
Gerben Wierda wrote:
PS. For NTG-ConTeXt: i-Packages are a software install mechanism for Mac 
OS X only. For most of you, this will be a very cryptic message I guess. 
Let's count the guys that use OSX with ConTeXt (and possibly 
i-Packages):

-- One --
Thanks Gerben for this great distribution!
Uwe Koloska
--
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Getting linuxtex.zip working

2004-11-02 Thread Uwe Koloska
Henning Hraban Ramm wrote:
Am 01.11.2004 um 15:39 schrieb Hans Hagen:
Strangely it doesn't (at least on MacOS X). I know shell scripts and I 
had to adapt it to MacOS X a bit; the variables are defined in the 
script, but don't get exported!
are you sure, you are using bash _and_ you have used the command 
'.'?  This command evaluates the given script in the context of the 
running shell.  If you only run the script, it gets its own subshell 
and the variables are set (and exported) in this subshell but not in 
the calling shell!

Uwe
--
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Announcement: texutil.c

2004-03-19 Thread Uwe Koloska
Hans Hagen wrote:
http://www.pragma-ade.com/context/linuxtex.zip.bz2   22 M (works ok, 
all you need for context, run setuptex and you got your tree, fonts etc)
Oh, and what is justtex.zip.bz2?
And why are these archives zip.bz2?
Uwe

--
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Announcement: texutil.c

2004-03-19 Thread Uwe Koloska
Taco Hoekwater wrote:
Incidentally: yes, I have a tex.c. That may in fact become GPL-ed
sometime in the future, if and when our finished project deviates
sufficiently from tex.c+texutil.c
Very nice -- looking forward to this beast.  I think it does run 
context, doesn't it?

Uwe

--
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Announcement: texutil.c

2004-03-19 Thread Uwe Koloska
Hans Hagen wrote:
http://www.pragma-ade.com/context/linuxtex.zip.bz2   22 M (works ok, 
all you need for context, run setuptex and you got your tree, fonts etc)
http://www.pragma-ade.com/context/macosxtex.zip.bz2  22 M (untested)
http://www.pragma-ade.com/context/mswintex.zip.bz2   22 M (works ok)
Wow -- this looks very nice.  What version of macosx is it for? (for 
now I only have 10.1 ...)

http://www.pragma-ade.com/context/tex.iso.bz2   120 M (unzips to 
an ISO which runs context + everything from cd, for the moment win, 
including perl/ruby)
Who is maintaining this one?  What is needed to expand it for the 
other systems?

Uwe

--
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Announcement: texutil.c

2004-03-19 Thread Uwe Koloska
Taco Hoekwater wrote:
For a larger project with ConTeXt that should not depend on
the availability of perl. We needed a very large section of
Texutil (--ref and --figures), so it made sense to port the
entire program to C.
What about using another script language like TCL that can be
made into a single file executable?  The dependency seems to be 
"no external reference" and not "no perl" -- isn't it possible 
to compile a perl prog into an executable?

Essentially, we will have TeX and Texutil and bits of Texexec
in a single executable, completely without disk-based
versions of the tui and tuo file.
Will this be available for the public?  From time to time the 
question aroses on this list to get a ConTeXt environment 
without installing a full TeX distribution -- maybe you will 
have the answer to this :-)

Uwe

--
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Fwd: bibloigraphies

2003-12-04 Thread Uwe Koloska
Taco Hoekwater wrote:
You probably are looking for my m-bib module. Look at 
	
	http://tex.aanhet.net/bib

for the downloadable zip file (the texable documentation is 
inside the zip file).
trying to download m-bib.zip:
  "You don't have permission to access /bib/m-bib.zip
   on this server."
Uwe Koloska

--
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context