Re: [NTG-context] minimal example of some problems

2010-04-04 Thread Aditya Mahajan

On Sun, 4 Apr 2010, Michael Saunders wrote:


1. Leftward protrusion doesn't work.
2. I don't think hz is working in footnotes.



The font I'm using is Adobe Garamond Premiere Pro.  If you think there
might be a problem with the typescript, I can show you that too.


These two are related to font. Either show that something is wrong with
default typescripts (lmodern, times, palatino, etc) else it means that
tosmething is wrong with your typescript. But first you have to narrow
down the problem


I take your word for it that it works for the default typescripts;
therefore, the problem must be somewhere in my typescript, but I have
no idea where.  It is as follows:


I don't have the font, so I cannot test it.




3. Observe footnote 1 (the only one).  It is breaking between p.1 and
p.2.  I want to forbid that.


I don't know how to prevent this. But again, this has nothing to do with
columns or fonts.


I want that to work in those columns with that font.  If you don't
know how to make it work in any font with or without columns, that
makes no difference.  It looks like it's just one more thing that
Context can't do or can't do correctly.


You can prevent notes from splitting across pages by

\setupenumerations[footnote]
   [before=\vbox\bgroup, after=\egroup]

The footnote may still appear on a different page. If you want to prevent 
that add


\setupfootnotes[split=verystrict]

which can mess up the layout. You can slightly salvage things by adding

\setuptolerance[vertical, verytolerant]

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

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


[NTG-context] raisebox (was: Re: minimal example of some problems)

2010-04-04 Thread Peter Münster
On Sun, Apr 04 2010, Michael Saunders wrote:

  \raisebox{1em}\hbox{--}
 
 Hooray!  Something works!

Often, there even more than one solution:

\offset[y=-1em]{--} or \high{--}

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


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

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


Re: [NTG-context] The ConTeXt book

2010-04-04 Thread Wolfgang Schuster

Am 04.04.10 02:39, schrieb Aditya Mahajan:

9. \raisebox?
What is the proper way to raise or lower a bit of text?  I just 
spent ...

\raisebox{1ex}{?}

When I try:

\raisebox{1ex}{--}

Context stops on the error:

A box was supposed to be here

\raisebox{1ex}{
--}

Provide a box :-) \raisebox{1ex}{\hbox{--}} (untested)

It's \raisebox{1ex}\hbox{--} but I think I should apologize to Michael
for not remembering the right syntax of each ConTeXt command and make
him waste some of his precious time.

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


[NTG-context] new error in Context under Linux

2010-04-04 Thread Alain Delmotte

Hi!

I got an new error compiling the example p28-30 of the Excursion with
\startcombination...\stopcombination
!load otf   : file size: 112404
!load otf   : enhancing ...
!load otf   : saving in cache: 
/home/alain/context/tex/texmf/fonts/opentype/public/lm/lmroman8-bold.otf

! Argument of \docheckifiteminsetelse has an extra }.
inserted text
   \par
to be read again
  }
\@@kjtabletitle -Use of \type {\setuptables }
 .
\doif #1#2-\edef \!!stringa {#1
   }\edef \!!stringb {#2}\ifx \!!stringa 
\!!str...

\dostructurecountercomponent ...\c!title }\v!none
 {\setfalse 
\hasstructureco...

\docompletefloat ...c!title ={#4},\c!bookmark =][]
 \globallet 
\currentfloatnu...

...
l.420 \stopcombination

?



Thanks,

Alain

___
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] new error in Context under Linux

2010-04-04 Thread Taco Hoekwater

Alain Delmotte wrote:

Hi!

I got an new error compiling the example p28-30 of the Excursion with
\startcombination...\stopcombination
!load otf   : file size: 112404
!load otf   : enhancing ...
!load otf   : saving in cache: 
/home/alain/context/tex/texmf/fonts/opentype/public/lm/lmroman8-bold.otf

! Argument of \docheckifiteminsetelse has an extra }.
inserted text
   \par
to be read again
  }
\@@kjtabletitle -Use of \type {\setuptables }


This looks suspiciously like the '\type in captions' bug, again.

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


Re: [NTG-context] new error in Context under Linux

2010-04-04 Thread Taco Hoekwater

Alain Delmotte wrote:

  }
\@@kjtabletitle -Use of \type {\setuptables }


This looks suspiciously like the '\type in captions' bug, again.

Oupss! You are right.

I did use an uncorrected version of my source.

Sorry for taking time for my fault.


Actually, my (latest) context beta still does this wrong also,
so I don't think you need to apologize.

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


Re: [NTG-context] Typographical Engineering in Context

2010-04-04 Thread John Haltiwanger
2010/4/3 Idris Samawi Hamid ادريس   سماوي حامد isha...@colostate.edu:

 Let's distinguish typographical engineering from typographical programming.
 This will not be a book on the latter per se. Typographical engineering can
 be done by a non-programmer -- structured and automated processing using the
 high-level commands of Context. Typographic programming is an advanced
 topic, for which this book can serve as an introduction.

Thanks for the distinction. In that case, I think this is even better.

 For typographic programming, of course the TeXBook is, if no indispensable,
 then extremely useful.

And for typographical engineering? From your distinction, that is much
more what I am looking for.


 Can you explain what you mean by appendix on workflows?

Sorry, I meant editor workflows with ConTeXt (ie Authoring in Notepad++).

 A community model for feedback on the book would be useful. I don't want it
 too open at the moment -- can slow down development and I want to get this
 DONE. But maybe a select audience of test-able volunteers will be the way to
 go... thnx for that suggestion!

Please let me know if I can help. Given the suitability of this book's
angle to what I am doing and the level I'm working from I do think my
perspective can be useful.
___
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] Typographical Engineering in Context

2010-04-04 Thread John Haltiwanger
On Sat, Apr 3, 2010 at 9:50 PM, Marcin Borkowski
mb...@atos.wmid.amu.edu.pl wrote:

 My 3 cents: if you want to have your thesis done *quickly* and in an
 easy, howto - recipe - faq way, just use LaTeX (probably with
 amsrefs/tikz/memoir/a few others).  If you want to do more unusual
 things, and have some spare time to play with them and ask a lot of
 questions here - use ConTeXt.  (Some time ago, on the blog of the
 Malaysian LaTeX User Group (http://latex-my.blogspot.com/) there was a
 nice example of having a colourful, good-looking book done in LaTeX,
 btw, so it's also possible, of course; but LaTeX was *not* designed with
 such things in mind.)

It is not just a matter of typesetting the thesis in ConTeXt---ConTeXt
is a subject of study. But even barring that, my brief experience with
LaTeX was more than enough to know that the very design of the macro
package irks me to a degree I would not like to use it at all, for
whatever purpose. It is like Ruby on Rails: convention over
configuration. No thank you, I'm not looking for a thesis that looks
like an AMS paper, and no matter how hard ConTeXt can be to start
learning, my money is that hacking LaTeX to make it look the way I
want is much much more difficult.

The thesis also has to target both electronic and print PDFs. There is
just nothing LaTeX offers me besides a poorly designed (imo) system
that will take as much time, if not more, to learn how to customize to
my liking than ConTeXt.

 And please, *do* read the TeXbook - it's so much fun!

As I said, it will be read. I was just trying to discern in which order.
___
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] Typographical Engineering in Context

2010-04-04 Thread Hans Hagen

On 3-4-2010 7:00, Idris Samawi Hamid ادريس   سماوي حامد wrote:


News flash: it's already there! See attached.


more precisely: the mechanisms are there in mkiv to do that kind of 
coloring (already for a while) but for advanced arabic you will need 
that font to get similar results


note: there's also a paragraph optimizer that can improve arabic but as 
it uses advanced font features again you'd need the reference font


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


Re: [NTG-context] new error in Context under Linux

2010-04-04 Thread Hans Hagen

On 4-4-2010 10:43, Taco Hoekwater wrote:

Alain Delmotte wrote:

Hi!

I got an new error compiling the example p28-30 of the Excursion with
\startcombination...\stopcombination
!load otf : file size: 112404
!load otf : enhancing ...
!load otf : saving in cache:
/home/alain/context/tex/texmf/fonts/opentype/public/lm/lmroman8-bold.otf
! Argument of \docheckifiteminsetelse has an extra }.
inserted text
\par
to be read again
}
\@@kjtabletitle -Use of \type {\setuptables }


This looks suspiciously like the '\type in captions' bug, again.


btw there will be no beta this weekend as we need to be in sync with the 
upcoming 0.60


there will probably be a few betas next week and then a current once 
0.60 is out


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


Re: [NTG-context] new error in Context under Linux

2010-04-04 Thread Peter Münster
On Sun, Apr 04 2010, Hans Hagen wrote:

 btw there will be no beta this weekend as we need to be in sync with the 
 upcoming 0.60

 there will probably be a few betas next week and then a current once 0.60 
 is out

Isn't it out yet ??
- http://foundry.supelec.fr/gf/project/luatex/frs/

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


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

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


Re: [NTG-context] Typographical Engineering in Context

2010-04-04 Thread John Haltiwanger
On Sat, Apr 3, 2010 at 5:08 PM, luigi scarso luigi.sca...@gmail.com wrote:

 On Sat, Apr 3, 2010 at 4:58 PM, John Haltiwanger
 john.haltiwan...@gmail.com wrote:
  Would that make it feasible to somehow chain Parrot's Lua
  to LuaTeX?
 parrot ~ luajit
 cfr. http://luajit.org/
 Maybe some day luatex will be jitluatex
 but I don't see here a priority --- luajit is x86 specific for example.

 My point of view is not so new COM  .NET , plug-in all share the
 same concept of dynamic loading
 --- but the don't know the concept of typographical programming.


Parrot also knows dynamic loading, so that probably makes much more sense
than some ad-hoc tethering of the two interpreters. If I understand the
design of Parrot properly, then as soon as one language has defined an
interface to LuaTeX, that interface will be usable in other languages on the
VM.
___
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
___


[NTG-context] interlinespace in table of content

2010-04-04 Thread Marco
Hi,

given the following MWE

%%
\setupinteraction [state=start] % OK, if commented out
\setuplayout  [grid=yes]% OK, if commented out

\starttext
\completecontent
\dorecurse{3}{
  \chapter{chapter}
  \section{section}
  \subsection{subsection}}
\stoptext
%%

you can see that the interline space in the table of content is too big. If
either the grid or interaction is turned off the result is satisfying. How
can I produce my desired result with both enabled?

Thanks for your help.
marco


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


[NTG-context] Need help with the letter module

2010-04-04 Thread Matija Šuklje
Hullo,

I'm trying to write a letter, but it gets all screwy. The first batch of 
letter settings works OK (opening, closing, signature); but then the from* 
and to* blocks fail resulting in a PDF that just quotes that code on a 
separate page.

Clearly I'm doing something wrong although I'm looking at the manuals:
http://dl.contextgarden.net/modules/t-
letter/doc/context/third/letter/correspondence.pdf

MkII from TexLive 2008.

Any help welcome :]

--[snip]--
\mainlanguage[en]
\enableregime[utf8]
\setuppapersize[a4][a4]

\usemodule[letter]

\setupletter
[opening={Dear FSFE,},
closing={Best regards,},
signature={Matija Šuklje\\Coordinator FSFE Fellowship group Slovenia}]

[fromname={Matija Šuklje},
fromaddress={Dvořakova 10\\SI-1000 Ljubljana\\Slovenia}]

[toname={Free Software Foundation Europe e.V.},
toaddress={Talstraße 110\\D-40217 Düsseldorf\\Germany}]

\starttext
\startletter

\input knuth

\stopletter
\stoptext
--[snap]--

-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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] interlinespace in table of content

2010-04-04 Thread Taco Hoekwater

Marco wrote:

Hi,

given the following MWE

%%
\setupinteraction [state=start] % OK, if commented out
\setuplayout  [grid=yes]% OK, if commented out


\setuplayout  [grid=verytolerant]

(the struts from the interaction link are getting in the way)

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


Re: [NTG-context] Need help with the letter module

2010-04-04 Thread Andreas Schneider
Matija Šuklje wrote:

 Hullo,
 
 I'm trying to write a letter, but it gets all screwy. The first batch of
 letter settings works OK (opening, closing, signature); but then the from*
 and to* blocks fail resulting in a PDF that just quotes that code on a
 separate page.
 
 Clearly I'm doing something wrong although I'm looking at the manuals:
 http://dl.contextgarden.net/modules/t-
 letter/doc/context/third/letter/correspondence.pdf
 
 MkII from TexLive 2008.
 
 Any help welcome :]
 
 --[snip]--
 \mainlanguage[en]
 \enableregime[utf8]
 \setuppapersize[a4][a4]
 
 \usemodule[letter]
 
 \setupletter
 [opening={Dear FSFE,},
 closing={Best regards,},
 signature={Matija Šuklje\\Coordinator FSFE Fellowship group Slovenia}]
 
The following should not be a separate parameter. If you put another 
\setupletter in front of it, it should work. Or just leave out the 
additional [] pairs.

-- \setupletter[opening=..., closing=..., signature=..., fromname=..., 
fromaddress=...,toname=...,toaddress=...]

I usually prefer to split it up:
\setupletter[opening.]
\setupletter[fromname..]
\setupletter[toname.]

 [fromname={Matija Šuklje},
 fromaddress={Dvořakova 10\\SI-1000 Ljubljana\\Slovenia}]
 
 [toname={Free Software Foundation Europe e.V.},
 toaddress={Talstraße 110\\D-40217 Düsseldorf\\Germany}]
 
 \starttext
 \startletter
 
 \input knuth
 
 \stopletter
 \stoptext
 --[snap]--
 


___
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] interlinespace in table of content

2010-04-04 Thread Marco
 
 \setuplayout  [grid=verytolerant]
 
 (the struts from the interaction link are getting in the way)

Many thanks Taco. Works like a charm now.


___
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] Need help with the letter module

2010-04-04 Thread Matija Šuklje
Dne nedelja 4. aprila 2010 ob 16:01:44 je Andreas Schneider napisal(a):
 The following should not be a separate parameter. If you put another
 \setupletter in front of it, it should work. Or just leave out the
 additional [] pairs.
 
 -- \setupletter[opening=..., closing=..., signature=..., fromname=...,
 fromaddress=...,toname=...,toaddress=...]
 
 I usually prefer to split it up:
 \setupletter[opening.]
 \setupletter[fromname..]
 \setupletter[toname.]

Oh, OK. Makes sense in a way. Thanks :]

Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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] Need help with the letter module

2010-04-04 Thread Matija Šuklje
New problem:

Using the \ps{} command results in failure to generate the PDF, claiming \ps 
is not defined.

Is it perhaps not included in MkII (or Tex Live 2008)?


Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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
___


[NTG-context] Metafun in MacTeX 209 distribution

2010-04-04 Thread jindrich Ruzicka
Hello people,

I installed  Mac TeX -2009 Distribution on a new iMAC.

when I try to run texexec on a Context file that  includes a metapost program,
I receive no picture that is defined in metapost part. 
(btw in my linux installation it works)

What I can find in log file is:
...
runsystem(texmfstart texexec --batch --output=dvips --mpformat=metafun --mptex 
--nomp --once obrazek-mpgraph)...disabled.
...

Running this sequence manually and reruning the 1st texexec I receive what I 
expect.

Is it a feature of Mac distribution or there is a mismatch in some 
file/directory permissions? (mptopfd, ...)
Are there another installation steps needed after fresh MacTeX installation?


the test file is:

\startuseMPgraphic{def}
...

\stopuseMPgraphic

\startuseMPgraphic{obr30}
\includeMPgraphic{def}
...
\stopuseMPgraphic

\starttext

test
\placefigure[here][fig1]{yyy} {\useMPgraphic{obr30}}
end of test

\stoptext

Nice day,

Jindro

___
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] Metafun in MacTeX 209 distribution

2010-04-04 Thread Aditya Mahajan

On Sun, 4 Apr 2010 10:58:13 -0400, ntg-context-boun...@ntg.nl wrote:
 Hello people,
 
 I installed  Mac TeX -2009 Distribution on a new iMAC.
 
 when I try to run texexec on a Context file that  includes a metapost program,
 I receive no picture that is defined in metapost part. 
 (btw in my linux installation it works)
 
 What I can find in log file is:
 ...
 runsystem(texmfstart texexec --batch --output=dvips --mpformat=metafun 
 --mptex --nomp --once obrazek-mpgraph)...disabled.
 ...

See http://archive.contextgarden.net/message/20100322.074003.4e366fdd.en.html

Perhaps this ought to be added to the texlive page

Aditya

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

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


Re: [NTG-context] Need help with the letter module

2010-04-04 Thread Matija Šuklje
Is it normal that an empty line in the letter module does *not* trigger a 
paragraph?


Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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
___


[NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Matija Šuklje
Is there a SVG to MetaPost/MetaFun converter available?

I want to get this quite simple logo to converted from SVG into a ConTeXt-
native vector graphic.


Cheers,
Matija
P.S. Too bad SVG is not ConTeXt-native (yet?)
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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
___


[NTG-context] Mk II, textstyle=cap not working

2010-04-04 Thread Michael Ewe
Hello ConTeXt gurus,
as a newbie I checked the example from ConTeXt an excursion 
page 11 (Hasselt makes headlines). The manual says:
use textstyle=cap to format a chapter's head in capitals.

Short story:the manual lies ;-) The sample does not work (at least in Mk II)

Longer story:   Sample works, when using ConTeXt Mk IV

Even longer story:  Being curious, I wanted to learn how the page 11 in 
the manual actually was typeset. I downloaded all the available sources from 
the pragma web-site. and found out: the source code does not even use 
textstyle=cap. Instead it uses textstyle=bold. Manual and available source 
apparently do not match. Nothing to learn here...

Ok, now for my questions:
1) Is it a Mk IV feature not working in Mk II ?
2) Is it a bug?
3) Is there a way, I can tell (1) and (2) apart?

Best Regards,
Michael Ewe, Germany
___
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] Need help with the letter module

2010-04-04 Thread Wolfgang Schuster

Am 04.04.10 16:56, schrieb Matija Šuklje:

New problem:

Using the \ps{} command results in failure to generate the PDF, claiming \ps
is not defined.

Is it perhaps not included in MkII (or Tex Live 2008)?
   

The \ps, \cc etc. commands where added after the TeXLive 2008 release.

Using the latest version from thr garden/CTAN/minimals won't help because
it's not compatible with ConTeXt versions before 2009 due to changes in
ConTeXt itself.

What you can do is upgrade to TeXLive 2009 or install the ConTeXt minimals.

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


Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Peter Wüsten
I just tried using an SVG image directly in MkIV, and it worked like a 
breeze. Apparently ConTeXt converts the image to PDF on the fly as I 
found a PDF-file with a similar name (m_k_v_i_your SVG filename.pdf) 
in the same directory as the SVG-file.


If you would still love to convert your SVG-images you might want to use 
Inkscape:

inkscape --export-pdf=PDF filename SVG filename

Peter Wüsten

Matija Suklje schrieb:

Is there a SVG to MetaPost/MetaFun converter available?

I want to get this quite simple logo to converted from SVG into a ConTeXt-
native vector graphic.


Cheers,
Matija
P.S. Too bad SVG is not ConTeXt-native (yet?)
  


___
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] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Matija Šuklje
Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a):
 I just tried using an SVG image directly in MkIV, and it worked like a
 breeze. Apparently ConTeXt converts the image to PDF on the fly as I
 found a PDF-file with a similar name (m_k_v_i_your SVG filename.pdf)
 in the same directory as the SVG-file.
 
 If you would still love to convert your SVG-images you might want to use
 Inkscape:
 inkscape --export-pdf=PDF filename SVG filename

Thanks for the tips :)

But actually I'm thinking more in the line of including that logo into my 
styling directly. So the only solutions would be a) if ConTeXt could use 
in-line SVG or b) I'll have to port the SVG logo into MetaPost.

Is there a non-overhelming howto somewhere ...It's a relatively simple 
logo (see attachment) :\


Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
attachment: plussy_plain.svg___
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
___


[NTG-context] weird en/em dash behaviour

2010-04-04 Thread Marco
Hi,

I've found some in my opinion weird behaviour concerning en/em dashes.
Have a look at the following two MWEs.

%%
\starttext
-   % shows up
--  % missing
--- % missing
\endash % missing
\emdash % missing
\stoptext
%%

%%
\setupbodyfont
  [11.9pt]
\starttext
-   % shows up
--  % shows up
--- % shows up
\endash % shows up
\emdash % shows up
\stoptext
%%

Is this expected behaviour?

marco


___
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] weird en/em dash behaviour

2010-04-04 Thread Aditya Mahajan

On Sun, 4 Apr 2010, Marco wrote:


Hi,

I've found some in my opinion weird behaviour concerning en/em dashes.
Have a look at the following two MWEs.

%%
\starttext
-   % shows up
--  % missing
--- % missing
\endash % missing
\emdash % missing
\stoptext
%%


Works here with both MkII and MkIV. But I am using an old version 
(2010.03.20). Maybe a bug was introduced later?


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

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


[NTG-context] % prevents linebreaks in \startlines ... \stoplines

2010-04-04 Thread Aditya Mahajan

Hi,

Here is an interesting example

\starttext
\startlines
one   %
two   %
three %
\stoplines
\stoptext

This gives no linebreaks! Can this be prevented? I doubt it since
TeX never sees the \n. In which case, we should call it a 
feature :-)


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

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


Re: [NTG-context] weird en/em dash behaviour

2010-04-04 Thread Wolfgang Schuster

Am 04.04.10 21:04, schrieb Aditya Mahajan:
Works here with both MkII and MkIV. But I am using an old version 
(2010.03.20). Maybe a bug was introduced later?

Works here with the latest beta too.

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


Re: [NTG-context] weird en/em dash behaviour

2010-04-04 Thread Marco
My version:
ConTeXt  ver: 2010.03.30 18:56 MKIV
This is LuaTeX, Version beta-0.52.0-2010032402 (rev 3515)

marco


___
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] weird en/em dash behaviour

2010-04-04 Thread Wolfgang Schuster

Am 04.04.10 21:07, schrieb Marco:

My version:
ConTeXt  ver: 2010.03.30 18:56 MKIV
This is LuaTeX, Version beta-0.52.0-2010032402 (rev 3515)
   

MTXrun | current version: 2010.03.30 18:56
This is LuaTeX, Version beta-0.52.0-2010031913
Mac OS X 10.6.3

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


Re: [NTG-context] weird en/em dash behaviour

2010-04-04 Thread Marco
Am Sun, 04 Apr 2010 21:10:13 +0200
schrieb Wolfgang Schuster schuster.wolfg...@googlemail.com:

 Am 04.04.10 21:04, schrieb Aditya Mahajan:
  Works here with both MkII and MkIV. But I am using an old version 
  (2010.03.20). Maybe a bug was introduced later?
 Works here with the latest beta too.
 
 Wolfgang
 
2010.03.20 is OK and latest beta is OK, but my version in between broken?
That sounds a bit strange to me. I'll update my minimals this night and
check tomorrow. I'm afraid the problem persists. More information tomorrow.

Thanks for checking.
marco


___
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] % prevents linebreaks in \startlines ... \stoplines

2010-04-04 Thread Wolfgang Schuster

Am 04.04.10 21:08, schrieb Aditya Mahajan:

Hi,

Here is an interesting example

\starttext
\startlines
one   %
two   %
three %
\stoplines
\stoptext

This gives no linebreaks! Can this be prevented? I doubt it since
TeX never sees the \n. In which case, we should call it a feature :-)

\bgroup\obeylines
\gdef\?#1^^M{\par}%
\egroup

\starttext
\startlines
one
two   \? comment
three %
four  \? another comment
five  %
six
seven
eight
\stoplines
\stoptext

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


Re: [NTG-context] weird en/em dash behaviour

2010-04-04 Thread Marco
Am Sun, 04 Apr 2010 21:19:49 +0200
schrieb Wolfgang Schuster schuster.wolfg...@googlemail.com:

 Am 04.04.10 21:07, schrieb Marco:
  My version:
  ConTeXt  ver: 2010.03.30 18:56 MKIV
  This is LuaTeX, Version beta-0.52.0-2010032402 (rev 3515)
 
 MTXrun | current version: 2010.03.30 18:56
 This is LuaTeX, Version beta-0.52.0-2010031913
 Mac OS X 10.6.3
 
 Wolfgang
 
OK. The version are the same. I use linux but that should not cause the
problem. Maybe something wrong with the fonts? I also have TeXLive
installed.

marco


___
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] Mk II, textstyle=cap not working

2010-04-04 Thread Wolfgang Schuster

Am 04.04.10 18:12, schrieb Michael Ewe:

Hello ConTeXt gurus,
as a newbie I checked the example from ConTeXt an excursion
page 11 (Hasselt makes headlines). The manual says:
use textstyle=cap to format a chapter's head in capitals.

Short story:the manual lies ;-) The sample does not work (at least in Mk II)

Longer story:   Sample works, when using ConTeXt Mk IV

Even longer story:  Being curious, I wanted to learn how the page 11 in
the manual actually was typeset. I downloaded all the available sources from
the pragma web-site. and found out: the source code does not even use
textstyle=cap. Instead it uses textstyle=bold. Manual and available source
apparently do not match. Nothing to learn here...

Ok, now for my questions:
1) Is it a Mk IV feature not working in Mk II ?
2) Is it a bug?
3) Is there a way, I can tell (1) and (2) apart?
   

The internals have changed and as a result 'textstyle=cap'
does no longer work but you can get the same result with:

%\setuphead[section][textstyle=\tfb,deeptextcommand=\cap]
\setuphead[section][deeptextcommand=\WORD]
\starttext
\section{Am I capped?}
\stoptext

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


Re: [NTG-context] Typographical Engineering in Context

2010-04-04 Thread luigi scarso
On Sun, Apr 4, 2010 at 2:15 PM, John Haltiwanger
john.haltiwan...@gmail.com wrote:


 On Sat, Apr 3, 2010 at 5:08 PM, luigi scarso luigi.sca...@gmail.com wrote:

 On Sat, Apr 3, 2010 at 4:58 PM, John Haltiwanger
 john.haltiwan...@gmail.com wrote:
  Would that make it feasible to somehow chain Parrot's Lua
  to LuaTeX?
 parrot ~ luajit
 cfr. http://luajit.org/
 Maybe some day luatex will be jitluatex
 but I don't see here a priority --- luajit is x86 specific for example.

 My point of view is not so new COM  .NET , plug-in all share the
 same concept of dynamic loading
 --- but the don't know the concept of typographical programming.


 Parrot also knows dynamic loading, so that probably makes much more sense
 than some ad-hoc tethering of the two interpreters. If I understand the
 design of Parrot properly, then as soon as one language has defined an
 interface to LuaTeX, that interface will be usable in other languages on the
 VM.
Sorry I  misunderstood your words.
Given that already exists an implementation of  Lua 5.1 ,
I believe that it should be feasible to implement LuaTeX
for Parrot --- using
http://github.com/fperrad/lua
as example, it seems to be more update.

I was convinced that parrot had a JIT, but now I see
http://trac.parrot.org/parrot/wiki/JITRewrite
so it's not true that parrot ~ luajit


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

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


Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Mojca Miklavec
On Sun, Apr 4, 2010 at 19:29, Matija Šuklje wrote:
 Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a):
 I just tried using an SVG image directly in MkIV, and it worked like a
 breeze. Apparently ConTeXt converts the image to PDF on the fly as I
 found a PDF-file with a similar name (m_k_v_i_your SVG filename.pdf)
 in the same directory as the SVG-file.

 If you would still love to convert your SVG-images you might want to use
 Inkscape:
 inkscape --export-pdf=PDF filename SVG filename

 Thanks for the tips :)

 But actually I'm thinking more in the line of including that logo into my
 styling directly. So the only solutions would be a) if ConTeXt could use
 in-line SVG or b) I'll have to port the SVG logo into MetaPost.

 Is there a non-overhelming howto somewhere ...It's a relatively simple
 logo (see attachment) :\

I don't know of any waterproof way to convert from SVG to metapost
(all you can do is to convert it to PDF and use that PDF logo), but
here's an approximation of your logo in metapost (the legs are wider -
you'll need to fix the details by yourself):

\starttext
\startMPcode
unit := 5cm;
dx := 1.2;
color maincolor; maincolor = (0,0.9,0); % fixme
path p;

p := unitsquare scaled unit;
fill p  withcolor maincolor;
fill p shifted ( dx*unit,0) withcolor maincolor;
fill p shifted (-dx*unit,0) withcolor maincolor;
fill p shifted (0, dx*unit) withcolor maincolor;
p := p xscaled ((3-dx)/4) shifted (0,-dx*unit);
fill p withcolor maincolor;
fill p xyscaled (-1,1) shifted (unit,0) withcolor maincolor;
\stopMPcode
\stoptext

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

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


[NTG-context] Shaped paragraphs

2010-04-04 Thread Erik Margraf
Hi,
I have some problems using shaped paragraphs. I tried to follow
the procedures described in METAFUN in the chapter about
talking to TeX. The output I get from running context
(latest minimals) is wrong (or at least unexpected ;-).
The shape of the text paragraphs doesn't match the
backgrounds.  They are interchanged. If I comment out any
single shape production it works.

My Example (hope, it's near to minimal) is attached

kind regards

Erik


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


Re: [NTG-context] learning LuaTeX (was: Hans' presentation: using plain TEX (from TUG 2009) [apologies if OT])

2010-04-04 Thread Graham Douglas

Hello Patrick

who said...

Besides the gdb part, this is pretty much how I learned LuaTeX 
(still on my path). I suggest you stay with plain, then add features 
as you go along:


 * write your own font handler (see the bluewiki page) - LuaTeX 
supports many different kinds of fonts

* write your own kpathsea module (and thus replace kpathsea)
* do a nodelist traversal and find out about the different node types
* create a nodelist and write it out to TeX (node.write(...))
* use tex.linebreak() for creating a paragraph.
...

Good to know that I'm not the only one going down the simple
path. My plans are indeed along the lines you indicate. I have the
utmost admiration and respect for the work that has gone into ConTeXt, a 
great piece of work. For now, I just need to get back to the very 
basics and a minimal installation of LuaTeX with plain seems to do that

nicely, for now.

 If you understand german or use google translate, have a look at

 http://www.luatex.de

Sadly, I do not read German, a real pity as there are some interesting
bits of code on there. Google Translate, here I come :-)

Warm regards and thanks again for your time to reply.

Cheers!

Graham

___
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] weird en/em dash behaviour

2010-04-04 Thread luigi scarso
On Sun, Apr 4, 2010 at 9:17 PM, Marco net...@lavabit.com wrote:
 Am Sun, 04 Apr 2010 21:19:49 +0200
 schrieb Wolfgang Schuster schuster.wolfg...@googlemail.com:

 Am 04.04.10 21:07, schrieb Marco:
  My version:
  ConTeXt  ver: 2010.03.30 18:56 MKIV
  This is LuaTeX, Version beta-0.52.0-2010032402 (rev 3515)
 
 MTXrun | current version: 2010.03.30 18:56
 This is LuaTeX, Version beta-0.52.0-2010031913
 Mac OS X 10.6.3

 Wolfgang

 OK. The version are the same. I use linux but that should not cause the
 problem. Maybe something wrong with the fonts? I also have TeXLive
 installed.
same bug here on linux x86

# context --version
MTXrun | current version: 2010.03.30 18:56

# luatex --credits
This is LuaTeX, Version beta-0.60.0-2010040410 (rev 3588)


 marco


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




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

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


Re: [NTG-context] Mk II, textstyle=cap not working

2010-04-04 Thread Michael Ewe
Thank you very much, that works well!

But: how can I find out? Its not in the manual, its not in the manual's source. 
The wiki page about chapter headers says textstyle=cap and mentions 
\textcommand and \deeptextcommand

Feeling kind of lost here !

Best Regards
Michael Ewe, Germany
___
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] Mk II, textstyle=cap not working

2010-04-04 Thread Wolfgang Schuster

Am 04.04.10 22:58, schrieb Michael Ewe:

Thank you very much, that works well!

But: how can I find out? Its not in the manual, its not in the manual's source.
The wiki page about chapter headers says textstyle=cap and mentions
\textcommand and \deeptextcommand

Feeling kind of lost here !
   

1. It helps to know the source and where certain keys are performed.

2. Lots of trial and error, play with the different keys and look which 
combination and setup works.


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


Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Matija Šuklje
Dne nedelja 4. aprila 2010 ob 22:36:07 je Mojca Miklavec napisal(a):
 I don't know of any waterproof way to convert from SVG to metapost
 (all you can do is to convert it to PDF and use that PDF logo), but
 here's an approximation of your logo in metapost (the legs are wider -
 you'll need to fix the details by yourself):

Wow, thanks! :D

I'll dig through the manuals to figure out what that codeblock actually does 
and try to fix it.

BTW, is there a special command I'm missing to turn on the colours in 
ConTeXt?


Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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
___


[NTG-context] using xmlsetups

2010-04-04 Thread Hans van der Meer
I cannot get multiple separate \xmlsetsetup's working. Obviously I am  
doing something wrong. My idea was:


file included contains:
\startxmlsetups xml:commoncontext:commonsetups
\xmlsetsetup{}{error|tex|html|nbsp|...|br}{xml:commoncontext:*}
\stopxmlsetups
\xmlregistersetup{xml:commoncontext:commonsetups}
\startxmlsetups xml:commoncontext:br
\crlf \writestatus{CALLING}{br} %  apparently not called!
\stopxmlsetups
\startxmlsetups xml:commoncontext:b {\bf\xmlflush{#1}} \stopxmlsetups
..

file that includes contains:
\startxmlsetups xml:doccase:doccasesetups
\xmlsetsetup{}{*}{xml:commoncontext:*}  % {doc}{*}..also does not work
\xmlsetsetup{doc}{*}{xml:case:*}% does work for setup 'xml:case'
\xmlsetsetup{doc}{error|dvd|titles...|source|stars}{xml:doccase:*}
\stopxmlsetups
\xmlregistersetup{xml:doccase:dvoccasesetups}
\startxmlsetups xml:case:text \xmlflush{#1} \stopxmlsetups
 etc.

Usage:
doctextThe break not calledbr/ and similarly bnot called/ 
btext/doc


Where is the flaw here?

Hans van der Meer




___
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] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Wolfgang Schuster

Am 04.04.10 23:12, schrieb Matija Šuklje:

BTW, is there a special command I'm missing to turn on the colours in
ConTeXt?
   

\setupcolors[state=start]

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


Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Matija Šuklje
Dne nedelja 4. aprila 2010 ob 23:16:26 je Wolfgang Schuster napisal(a):
 Am 04.04.10 23:12, schrieb Matija Šuklje:
  BTW, is there a special command I'm missing to turn on the colours in
  ConTeXt?
 
 \setupcolors[state=start]

/me is ashamed ...I found it the minute you sent the e-mail.


Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Mojca Miklavec
On Sun, Apr 4, 2010 at 23:12, Matija Šuklje wrote:

 I'll dig through the manuals to figure out what that codeblock actually does
 and try to fix it.

Start with
http://www.tug.org/docs/metapost/mpman.pdf
and maybe the metafun manual.

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

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


Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Matija Šuklje
Dne nedelja 4. aprila 2010 ob 23:23:10 je Mojca Miklavec napisal(a):
 Start with
 http://www.tug.org/docs/metapost/mpman.pdf
 and maybe the metafun manual.

Thanks yet again :]


Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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] InteractionsBar - another shot

2010-04-04 Thread Matthias Weber

So what do you recommend:

- not use the interactionbuttons
- pray that they will start working some time in the future
- buy Hans a beer (I would have done that a while ago, but shipping is  
more expensive than the
  product. Maybe there is a service in Holland where you can have  
beer delivered like online florists do for flowers?)



Matthias


On Apr 3, 2010, at 12:14 PM, Hans Hagen wrote:


On 3-4-2010 4:08, Willi Egger wrote:

Hi Mathias,

I played with your example. It looks like that the interactionbuttons
option width works differentlty in MKIV. When replacing this with
.9\textwidth the buttons are placed over the whole area. However  
there

is no spacing between the buttons.

So we must ask Hans what has changed ...


i remember changing something for the sake of configureablility but  
forgot what (i was actually thinking of moving that bit of code to a  
module and extend it it a bit) as i had to switch to do something else


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


Re: [NTG-context] weird en/em dash behaviour

2010-04-04 Thread Marco
Am Sun, 4 Apr 2010 22:56:26 +0200
schrieb luigi scarso luigi.sca...@gmail.com:

  OK. The version are the same. I use linux but that should not cause
  the problem. Maybe something wrong with the fonts? I also have
  TeXLive installed.
 same bug here on linux x86
 
 # context --version
 MTXrun | current version: 2010.03.30 18:56
 
 # luatex --credits
 This is LuaTeX, Version beta-0.60.0-2010040410 (rev 3588)
OK. Then I'm not the only one with this problem. Maybe a platform issue. Or
the same misconfiguration as in my case. Don't know. I'm stuck.

marco


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


[NTG-context] Splitting a page in given ratios

2010-04-04 Thread Matthias Weber

Dear all,

this is probably even easy in plain TeX, but as I have never learned  
it properly,

I am asking anyway:


I would like to have a way to split a part of a page into two columns  
of different width, so something like


\startsplitpage[columns=2,spacing=fill]

\startcolumn[1][width=.6 \textwidth]

\input{tufte}
\stopcolumn[1]

\startcolumn[2][width=.3 \textwidth]
\placefigure[theBeerBottle]
\stopcolumn[2]

\stopsplitpage

so that the individual columns are treated (if possible) as separate  
pages with all features (like \framed etc) adapted to the

page width of the smaller sub-pages.

This could replace (for me) the somehow (for me) disfunctional  
figuretext construct.



Is there a way to do this?

Thanks,

Matthias




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


[NTG-context] Hanging indents

2010-04-04 Thread Tom
I have a series of paragraphs for which the first line of each should not be
indented, but the following lines should be. I can't figure out what option
or combination of options will give me this result.

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey





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


[NTG-context] There are some math fonts can't be found with the beta 2010.03.30 and luatex 0.52

2010-04-04 Thread 李延瑞
Hi,

A sample:

\starttext

\startformula
\left[\matrix{1\cr 0\cr 0}\right].
\stopformula

\stoptext

The warning informaton:

LuaTeX warning (file lmex10): Font lmex10 at 720 not found

-- 
Best regards,

Li Yanrui (李延瑞)
___
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
___


[NTG-context] New package for typesetting bibliographies

2010-04-04 Thread Aditya Mahajan

Just saw this on CTAN announce.

http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/librarian.html

It says that it works with ConTeXt.

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

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


Re: [NTG-context] There are some math fonts can't be found with the beta 2010.03.30 and luatex 0.52

2010-04-04 Thread views63
2010/4/5 Li Yanrui (李延瑞) liyanrui...@gmail.com:
 Hi,

 A sample:

 \starttext

 \startformula
 \left[\matrix{1\cr 0\cr 0}\right].
 \stopformula

 \stoptext

I find it was  worked  with  LuaTeX Version beta-0.53.0-2010040221
(rev 3568)  but don't  worked with LuaTeX revision 3584

btw the LuaTeX  file from w32tex

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