Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
Fine, I made it in a very weird way. I constructed a very
strange path to go through the outer path in counter-
clockwise direction and inner path in clockwise dir-
ection and filled it. I don't feel good but it can be done
now.

On Wed, Jun 24, 2009 at 11:13 AM, Zhichu Chenzhichu.c...@gmail.com wrote:
 Hi, I got a problem in metapost. If I want to draw a ring, and
 use the code:
 fill fullcircle scaled 2cm ;
 unfill fullcircle scaled 1cm ;
 The inner part is not transparent, it has the color of background
 variable which is white by default.

 This case is a minimal example, I actually wanna draw something
 more complex, like the glyph Q and I know the inner path and
 outer path. How can I fill the ring without jeopardizing the area inside
 the inner path?

 --
 Best Regards
 Chen
 

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
 




-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

___
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] How to unfill a picture?

2009-06-24 Thread Taco Hoekwater


Zhichu Chen wrote:
 Fine, I made it in a very weird way. I constructed a very
 strange path to go through the outer path in counter-
 clockwise direction and inner path in clockwise dir-
 ection and filled it. I don't feel good but it can be done
 now.

Currently, that is how it should be done. Maybe a future
version of metapost will be able to handle this natively.

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

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


Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
Cool, but just curiosity, metapost can handle fonts right?
How those glyphs don't have this problem? I've read the
specification of the type1 fonts, they don't seem to have
such weird paths, just some borderlines with different
directions.

On Wed, Jun 24, 2009 at 3:32 PM, Taco Hoekwatert...@elvenkind.com wrote:
 Currently, that is how it should be done. Maybe a future
 version of metapost will be able to handle this natively.

 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
 ___




-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

___
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] How to unfill a picture?

2009-06-24 Thread Wolfgang Schuster


Am 24.06.2009 um 05:13 schrieb Zhichu Chen:


Hi, I got a problem in metapost. If I want to draw a ring, and
use the code:
fill fullcircle scaled 2cm ;
unfill fullcircle scaled 1cm ;
The inner part is not transparent, it has the color of background
variable which is white by default.

This case is a minimal example, I actually wanna draw something
more complex, like the glyph Q and I know the inner path and
outer path. How can I fill the ring without jeopardizing the area  
inside

the inner path?


fill fullcircle scaled 2cm -- reverse -- fullcircle scaled 1cm --  
cycle ;


Wolfgang

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

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


[NTG-context] html2context ?

2009-06-24 Thread luigi scarso
Does anybody has any suggestion about html2context (mkiv) ?

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


Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Taco Hoekwater


Zhichu Chen wrote:
 Cool, but just curiosity, metapost can handle fonts right?
 How those glyphs don't have this problem? I've read the
 specification of the type1 fonts, they don't seem to have
 such weird paths, just some borderlines with different
 directions.

PostScript paths are more advanced than Metapost's draw objects,
but Metapost never sees these paths of font glyphs at all.
(well, except via the new primitive 'glyph X of', but that
indeed does have this problem.)

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

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


Re: [NTG-context] html2context ?

2009-06-24 Thread Wolfgang Schuster


Am 24.06.2009 um 10:38 schrieb luigi scarso:


Does anybody has any suggestion about html2context (mkiv) ?


pandoc‽

Wolfgang

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

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


Re: [NTG-context] html2context ?

2009-06-24 Thread Mohamed Bana
here's one i did; http://article.gmane.org/gmane.comp.lang.scala/15180

2009/6/24 Wolfgang Schuster schuster.wolfg...@googlemail.com


 Am 24.06.2009 um 10:38 schrieb luigi scarso:

  Does anybody has any suggestion about html2context (mkiv) ?


 pandoc‽

 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] before/afterstrucuturehead

2009-06-24 Thread Wolfgang Schuster

Hi Hans,

when will you provide propor keys to execute commands/settings at the  
begin
and end of a section, I want to use them in a document to prevent  
extra markup
but the only way to do this at the moment is with the two tokens  
registers

\everybeforestructurehead and \everyafterstructurehead.

Wolfgang

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

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


Re: [NTG-context] html2context ?

2009-06-24 Thread luigi scarso
On Wed, Jun 24, 2009 at 11:08 AM, Mohamed Bana
mbana.li...@googlemail.comwrote:

 here's one i did; http://article.gmane.org/gmane.comp.lang.scala/15180

 2009/6/24 Wolfgang Schuster schuster.wolfg...@googlemail.com


 Am 24.06.2009 um 10:38 schrieb luigi scarso:

  Does anybody has any suggestion about html2context (mkiv) ?


 pandoc‽

 Wolfgang

 thank you -- a good motive to learn haskell --

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


Re: [NTG-context] Pretty print SQL broken? Or am I doing something wrong?

2009-06-24 Thread Berend de Boer
 Gerben == Gerben Wierda gerben.wie...@rna.nl writes:

 Gerben == Gerben Wierda gerben.wie...@rna.nl writes:
 
Gerben For 'SQL' I assume I should use 'sql'. When I do that,
Gerben exactly the same happens.
 
 I mean select instead of SELECT.

Hi Gerben,

Just following up publicly on the files you sent me, this works for me:

  \setuptyping[SQL][palet=colorpretty]
  \def\typeSQLfile{\typefile[SQL]}
  \starttext
  \typeSQLfile{test2.txt}
  \stoptext

So changes:

1. Don't define the typing, it's already.

2. use SQL, not sql.

3. Your SQL keywords must be lowercase not UPPERcase, else they won't
   get highlighted.

4. comments inside your SQL file trip up the parser, don't know why,
   but just leave them out.


-- 
Groetjes,

Berend.
___
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] RTF to ConTeXt

2009-06-24 Thread Cecil Westerhof
I have a RTF document I like to convert to a ConTeXt document. Are
there tools for this?

I would also like the other way around, but I understood that this is
only possible through ConTeXt - PDF - RTF, or has the situation
changed.

-- 
Cecil Westerhof
___
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] html2context ?

2009-06-24 Thread Vyatcheslav Yatskovsky

Under Windows, try my TexPaste

http://ul.to/hmpy60

Vyatcheslav
___
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] html2context ?

2009-06-24 Thread luigi scarso
On Wed, Jun 24, 2009 at 11:32 AM, Vyatcheslav Yatskovsky 
yatskov...@gmail.com wrote:

 Under Windows, try my TexPaste

 http://ul.to/hmpy60

 Vyatcheslav

I'm sorry, my firewall blocks it.
Is it in python ?

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


Re: [NTG-context] html2context ?

2009-06-24 Thread Vyatcheslav Yatskovsky

It is in Delphi. I've sent you the app directly to your email.

Vyatcheslav
___
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] before/afterstrucuturehead

2009-06-24 Thread Hans Hagen

Wolfgang Schuster wrote:

Hi Hans,

when will you provide propor keys to execute commands/settings at the begin
and end of a section, I want to use them in a document to prevent extra 
markup

but the only way to do this at the moment is with the two tokens registers
\everybeforestructurehead and \everyafterstructurehead.


we can discuss it when i get back to structure code .. currently i'm in 
backend recode mode (which is quite drastic so i'd rather not mix it)


Hans


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

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


Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
I assume there's no -- between reverse and fullcircle scaled 1cm :)

Well, my example is too simple. Actually, I was trying to draw a
treble clef, and when there're too many intersection points (caused
by the -- operator to join every path together) the output is not
so good, kind of like an even-odd-fill.

Anyway, I wrote a macro trying to handle it, but it's still weird for
me.
===
def getridof(expr mypath) =
  save p, q, r, l, Oringin, Mode , MagicPoint ;

  pair Oringin ; Oringin := center mypath ;

  pair MagicPoint ;

  numeric Mode ; Mode := 0 ;

  path p[], q[], l ;

  q0 := mypath ;
  q1 := llcorner currentpicture -- lrcorner currentpicture ;
  q2 := lrcorner currentpicture -- urcorner currentpicture ;
  q3 := urcorner currentpicture -- ulcorner currentpicture ;
  q4 := ulcorner currentpicture -- llcorner currentpicture ;
  for i=1 upto 4 :
q[i+4] := q[i] ;
  endfor
  q11 := llcorner currentpicture -- Oringin ;
  q12 := lrcorner currentpicture -- Oringin ;
  q13 := urcorner currentpicture -- Oringin ;
  q14 := ulcorner currentpicture -- Oringin ;

  for i=1 upto 4 :
p[i] := q[i] for j=1 upto 3 : -- q[i+j] endfor ;
  endfor

  if (((llcorner currentpicture -- Oringin) intersectiontimes mypath)
= (-1,-1)) :
if (((lrcorner currentpicture -- Oringin) intersectiontimes
mypath) = (-1,-1)) :
  if (((urcorner currentpicture -- Oringin) intersectiontimes
mypath) = (-1,-1)) :
Mode := 4 ;
  else :
Mode := 3 ;
  fi
else :
  Mode := 2 ;
fi
  else :
Mode := 1 ;
  fi

  l = q[10+Mode] cutafter mypath ;
  MagicPoint = point length(l) of l ;

  p0 := p[Mode]--l--(q0 cutbefore MagicPoint)--(q0 cutafter
MagicPoint)--(reverse l)--cycle ;

  clip currentpicture to p0 ;

  draw p0 withcolor cyan ;
enddef ;
===
If I use
===
path p[] ;

p1 = fullcircle scaled 10 cm ;

p2 = reverse fullcircle scaled 1cm shifted (2cm,2cm) ;
p3 = reverse fullcircle scaled 1.5cm shifted (2cm,-2cm) ;
p4 = reverse fullcircle scaled 1.75cm shifted (-2cm,2cm) ;

fill p1 ;
getridof(p2) ;
getridof(p3) ;
getridof(p4) ;
===
then only p2 was cut off, you can change the order and only the first path
can be handled.

If I use pa[] as the path variables rather than p[], that would be fine.
I don't know why, I mean I've used the save operator.

On Wed, Jun 24, 2009 at 4:21 PM, Wolfgang
Schusterschuster.wolfg...@googlemail.com wrote:

 fill fullcircle scaled 2cm -- reverse -- fullcircle scaled 1cm -- cycle ;

 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
 ___




-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

___
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] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
I guess I should use as few variables as possible, I suppose
no one would name their paths Helper ;)

This macro assumes the argument is clockwise, I've written
a macro to find out whether a path is clockwise or not, but
it took me forever to run the code. Maybe there's already
some primitive could do this.

\startMPinclusions
def getridof(expr p) =
  save Helper, Oringin, Mode, MagicPoint ;

  pair Oringin ; Oringin := center p ;

  pair MagicPoint ;

  numeric Mode ; Mode := 0 ;

  path Helper[] ;

  Helper0 := p ;
  Helper1 := llcorner currentpicture -- lrcorner currentpicture ;
  Helper2 := lrcorner currentpicture -- urcorner currentpicture ;
  Helper3 := urcorner currentpicture -- ulcorner currentpicture ;
  Helper4 := ulcorner currentpicture -- llcorner currentpicture ;
  for i=1 upto 4 :
Helper[i+4] := Helper[i] ;
  endfor
  Helper11 := llcorner currentpicture -- Oringin ;
  Helper12 := lrcorner currentpicture -- Oringin ;
  Helper13 := urcorner currentpicture -- Oringin ;
  Helper14 := ulcorner currentpicture -- Oringin ;


  if (((llcorner currentpicture -- Oringin) intersectiontimes p) = (-1,-1)) :
if (((lrcorner currentpicture -- Oringin) intersectiontimes p) = (-1,-1)) :
  if (((urcorner currentpicture -- Oringin) intersectiontimes p) =
(-1,-1)) :
Mode := 4 ;
  else :
Mode := 3 ;
  fi
else :
  Mode := 2 ;
fi
  else :
Mode := 1 ;
  fi

  Helper100 = Helper[10+Mode] cutafter p ;
  MagicPoint = point length(Helper100) of Helper100 ;

  Helper0 := Helper[Mode] for i=1 upto 3 : -- Helper[Mode+i] endfor
  -- Helper100
  -- (Helper0 cutbefore MagicPoint)
  -- (Helper0 cutafter MagicPoint)
  -- (reverse Helper100)
  -- cycle ;

  clip currentpicture to Helper0 ;

  draw Helper0 withcolor cyan ;
enddef ;
\stopMPinclusions
___
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] Simpleslides question

2009-06-24 Thread Vyatcheslav Yatskovsky

Hello,

Can I arrange *multiple* images per a page in specified positions (x,y) 
using simpleslides module?


Vyatcheslav


___
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] label, caption and eps in figures?

2009-06-24 Thread Pau
Hello,

some weeks ago I asked how to have a caption under a figure. I got a
detailed answer:


\placefigure
   [here]   % location
   [fig.MyCaption]  % reference
   {My Caption} % caption
   {\externalfigure[MyFigure.eps][factor=broad]}

Now I am preparing a presentation and I would like to have a figure
with a caption below it but, of course, I would like not to have the
Fig. 1 on it.

I have figured out how to remove the Fig. part of it:

\setuplabeltext[en][figure=]

in the preamble. But I am still getting the number in bold: 1.1 in
the caption. How could I remove it?

thanks a lot

Pau


2009/6/13 Pau vim.u...@googlemail.com:
 Thanks again!

 pstopdf is accomplishing what neither convert, nor ps2pdf, nor etc etc
 was able to do

 Thank you very much for the hint

 Pau

 2009/6/13 Hans Hagen pra...@wxs.nl:
 Pau wrote:

 Hello,

 thanks a _lot_

 Now I have converted all eps figures into pdf, but I am running yet
 into another snag... the conversion seems to ruin the bounding box of
 the eps figures, so that the pdf figures are taking a full a4 site;
 when I then use them in the main tex file, they are filling a whole
 page.

 Is there a way to define a bounding box in \externalfigure ? I have
 checked in the wikipage and googled a bit, but since English is not my
 mother tongue, I may very well have used a bad keyword.

 If not, can anybody point me to a way of modifying a pdf file to get
 rid of all exterior white space around a figure? I can imagine you can
 do this with adobe software, but I don't have that. Only unix.

 there is a pdtopdf script in the distribution (ruby script that needs gs)
 that can do it that way (by default it uses the boundingbox)

 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
 -




 --
 Let there be peace on earth. And let it begin with misc




-- 
Let there be peace on earth. And let it begin with misc
___
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] How to unfill a picture?

2009-06-24 Thread Hans Hagen

Zhichu Chen wrote:


I guess I should use as few variables as possible, I suppose
no one would name their paths Helper ;)


Helper sounds ok, but ...


  pair Oringin ; Oringin := center p ;


... Oringin kind of funny


  Helper1 := llcorner currentpicture -- lrcorner currentpicture ;


shorter:

Helper1 := leftboundary currentpicture ;



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

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


Re: [NTG-context] Simpleslides question 2

2009-06-24 Thread Vyatcheslav Yatskovsky

And another question: how can setup a background *image* for all slides?

Vyatcheslav

___
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] Simpleslides question 2

2009-06-24 Thread Vyatcheslav Yatskovsky

And another question: how can setup a background *image* for all slides?

Vyatcheslav

___
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] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
On Wed, Jun 24, 2009 at 7:29 PM, Hans Hagenpra...@wxs.nl wrote:
 Zhichu Chen wrote:

 I guess I should use as few variables as possible, I suppose
 no one would name their paths Helper ;)

 Helper sounds ok, but ...

  pair Oringin ; Oringin := center p ;

 ... Oringin kind of funny
I'll change that.

  Helper1 := llcorner currentpicture -- lrcorner currentpicture ;

 shorter:

 Helper1 := leftboundary currentpicture ;
Can't find in mpman.pdf. Maybe it's in metafun.



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




-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

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

2009-06-24 Thread Thomas A. Schmitz


On Jun 24, 2009, at 1:25 PM, Vyatcheslav Yatskovsky wrote:


Hello,

Can I arrange *multiple* images per a page in specified positions  
(x,y) using simpleslides module?


Vyatcheslav


Hi,

no, there is not yet code for this. I usually do it by hand, but if  
this is something you need/use often, it would be relatively easy to  
provide a macro for it.


Rhomas
___
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] Simpleslides question 2

2009-06-24 Thread Thomas A. Schmitz


On Jun 24, 2009, at 1:30 PM, Vyatcheslav Yatskovsky wrote:

And another question: how can setup a background *image* for all  
slides?


Vyatcheslav



The cleanest way would be to write your own submodule. It's easy;  
maybe just use one of the existing simpleslides-s-XXX.tex files and  
modify it; replace the lines


\defineoverlay
  [simpleslides:background:horizontal]
  [\useMPgraphic{simpleslides:MP:horizontal}]

with

\defineoverlay
  [simpleslides:background:horizontal]
  [{\externalfigure[your_figure][width=...]}]

Last semester, for the presentations in my class, I had defined a  
macro that would randomly pick one out of 25 pictures for every slide.  
I can send you the code if you want.


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

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


[NTG-context] Hyphenation list and umlauts

2009-06-24 Thread Thomas Floeren
Hi,
 
I stumbled upon a problem with my hyphenation list:
 
In MKIV, all the words in the list that contain umlauts are completely ignored. 
MKII is fine.
 
Example:

\de
\hyphenation{ma-nö-v-rie-ren} 
\starttext
\hyphenatedword{manövrieren}
\stoptext

Is there any workaround for this? (\odiaeresis doesn't work either)
Or do I have an encoding problem?

LuaTeX, Version beta-0.40.5-2009061023 (Web2C 2009)
ConTeXt  ver: 2009.06.14 21:01 MKIV  fmt: 2009.6.18


btw, does anybody know a solution for my other small problems in my mail from 
last week?
http://archive.contextgarden.net/message/20090618.201708.be8aa761.en.html

Any help or hint is really appreciated.
Thanks in advance

Tom

___
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] Hyphenation list and umlauts

2009-06-24 Thread Taco Hoekwater


Thomas Floeren wrote:
 Hi,
  
 I stumbled upon a problem with my hyphenation list:
  
 In MKIV, all the words in the list that contain umlauts are completely 
 ignored. MKII is fine.

Luatex 0.40.5 is broken in this regard, sorry.

(The problem is that the exception handling uses \lccodes
for the *byte* range 128-255, which is quite wrong). This is
serious enough that there will be a 0.40.6 later in the week.

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

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


Re: [NTG-context] Simpleslides question

2009-06-24 Thread Aditya Mahajan

On Wed, 24 Jun 2009, Vyatcheslav Yatskovsky wrote:


Hello,

Can I arrange *multiple* images per a page in specified positions (x,y) using 
simpleslides module?


Can you elaborate? Do you want the same images to appear in all slides in 
the background (like a corporate design), or do you want to include 
multiple images on a single page, say two images side by side?


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

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


Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Nicola
In article 
769ba7780906240342s4939ac2foe7bfd783ad2e8...@mail.gmail.com,
 Zhichu Chen zhichu.c...@gmail.com wrote:
 
 Well, my example is too simple. Actually, I was trying to draw a
 treble clef

If your goal is to draw a path with pens of varying width (kind of 
calligraphic strokes),'penpos' and 'penstroke' may be your friends 
(defined in plain.mp). This is what I've come out with by about 15 
minutes of trial and error (disclaimer: this is my first attempt at 
using these macros beyond trying to draw a sans-serif 'l' - I'm not a 
designer at all):

   fill unitsquare scaled 12cm shifted (-6cm,-6cm) withcolor .625red;
   b = 2pt; % Default pen width
   w = 30mm; % Width of treble clef
   h = 100mm; % Height of treble clef
   % Specify breadth and angle of pen at keypoints:
   penpos 1 (0.5b, 30);
   penpos 1.5 (b, 15);
   penpos 2 (3b, 0);
   penpos 3 (5b, -90);
   penpos 4 (3b, -180);
   penpos 5 (b, 90);
   penpos 6 (5b,0);
   penpos 6.5 (4b, -30);
   penpos 7 (.5b, 0);
   penpos 8 (5b, 90);
   penpos 9 (3b, -180);
   penpos 10 (b, -180);
   % Fix x coords of keypoints
   x1=0;
   x1.5=1/2[x1,x2];
   x5=x1=x3=x8;
   x10=1/2[x9,x1];
   x7=1/2[x3,x4];
   x4-x6=w;
   x1=1/2[x2,x4];
   x3-x2=x2-x6;
   x9=1/2[x1,x2];
   x6.5=1/2[x5,x6];
   % Fix y coords of keypoints
   y1=0;
   y1.5=y1;
   y6=y2=y4=1/2[y3,y1];
   y3-y1=y1-y5=1/10h;
   y5-y10=2(y3-y1);
   y8-y7=y3-y1;
   y9=y7;
   y8-y3=y3-y10;
   y6.5=1/2[y6,y7];
   
   drawoptions (withcolor background);
   % Draw (an incomplete and ugly) treble clef
   penstroke z1e .. z1.5e .. z2e .. z3e .. z4e .. z5e .. z6e .. z6.5e .. 
z7e .. z8e .. z9e .. z10e;
   drawoptions(withcolor black);
   labels.lft(1,1.5,2,3,4,5,6,6.5,7,8,9,10);

You must take special care never to cross the left and right edges of 
the pen. See The METAFONTbook for details and examples.

Regards,
Nicola

___
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] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
Hi Nicola,

Thank you very much for your example and the idea. It's amazing,
I thought it's just a metafont thing and metapost just can't do that.

Thank you for your information again.

On Wed, Jun 24, 2009 at 10:12 PM, Nicolanvitacolo...@gmail.com wrote:
 In article
 769ba7780906240342s4939ac2foe7bfd783ad2e8...@mail.gmail.com,
  Zhichu Chen zhichu.c...@gmail.com wrote:

 Well, my example is too simple. Actually, I was trying to draw a
 treble clef

 If your goal is to draw a path with pens of varying width (kind of
 calligraphic strokes),'penpos' and 'penstroke' may be your friends
 (defined in plain.mp). This is what I've come out with by about 15
 minutes of trial and error (disclaimer: this is my first attempt at
 using these macros beyond trying to draw a sans-serif 'l' - I'm not a
 designer at all):

   fill unitsquare scaled 12cm shifted (-6cm,-6cm) withcolor .625red;
   b = 2pt; % Default pen width
   w = 30mm; % Width of treble clef
   h = 100mm; % Height of treble clef
   % Specify breadth and angle of pen at keypoints:
   penpos 1 (0.5b, 30);
   penpos 1.5 (b, 15);
   penpos 2 (3b, 0);
   penpos 3 (5b, -90);
   penpos 4 (3b, -180);
   penpos 5 (b, 90);
   penpos 6 (5b,0);
   penpos 6.5 (4b, -30);
   penpos 7 (.5b, 0);
   penpos 8 (5b, 90);
   penpos 9 (3b, -180);
   penpos 10 (b, -180);
   % Fix x coords of keypoints
   x1=0;
   x1.5=1/2[x1,x2];
   x5=x1=x3=x8;
   x10=1/2[x9,x1];
   x7=1/2[x3,x4];
   x4-x6=w;
   x1=1/2[x2,x4];
   x3-x2=x2-x6;
   x9=1/2[x1,x2];
   x6.5=1/2[x5,x6];
   % Fix y coords of keypoints
   y1=0;
   y1.5=y1;
   y6=y2=y4=1/2[y3,y1];
   y3-y1=y1-y5=1/10h;
   y5-y10=2(y3-y1);
   y8-y7=y3-y1;
   y9=y7;
   y8-y3=y3-y10;
   y6.5=1/2[y6,y7];

   drawoptions (withcolor background);
   % Draw (an incomplete and ugly) treble clef
   penstroke z1e .. z1.5e .. z2e .. z3e .. z4e .. z5e .. z6e .. z6.5e ..
 z7e .. z8e .. z9e .. z10e;
   drawoptions(withcolor black);
   labels.lft(1,1.5,2,3,4,5,6,6.5,7,8,9,10);

 You must take special care never to cross the left and right edges of
 the pen. See The METAFONTbook for details and examples.

 Regards,
 Nicola

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




-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

___
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] get rid of placefigure and startcombination captions

2009-06-24 Thread Vyatcheslav Yatskovsky

Hello,

Another urgent problem:

how to get rid of placefigure and startcombination captions altogether?

When I use the following, I get too much wasted space after the 
illustration.


\placefigure
[fit]
{none}
{\startcombination[4*1]
{\externalfigure[serg1][width=4cm]} {}
{\externalfigure[serg2][width=4cm]} {}
{\externalfigure[serg3][width=4cm]} {}
{\externalfigure[serg4][width=4cm]} {}
\stopcombination}

Best,
Vyatcheslav
___
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] get rid of placefigure and startcombination captions

2009-06-24 Thread Thomas A. Schmitz


On Jun 24, 2009, at 4:48 PM, Vyatcheslav Yatskovsky wrote:


Hello,

Another urgent problem:

how to get rid of placefigure and startcombination captions  
altogether?


When I use the following, I get too much wasted space after the  
illustration.


\placefigure
[fit]
{none}
{\startcombination[4*1]
   {\externalfigure[serg1][width=4cm]} {}
   {\externalfigure[serg2][width=4cm]} {}
   {\externalfigure[serg3][width=4cm]} {}
   {\externalfigure[serg4][width=4cm]} {}
\stopcombination}

Best,
Vyatcheslav


I'm not sure I understand your problem. If you don't want a caption  
and don't want the figure to float, why do you use \placefigure at  
all? Just remove the wrapper and put \startcombination etc. directly  
into your source file.


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

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


[NTG-context] ConTeXt version of LaTeX's article class?

2009-06-24 Thread Gerben Wierda

Is there a ConTeXt way of doing an article a la LaTeX's article class?

Thanks,

G
___
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] ConTeXt version of LaTeX's article class?

2009-06-24 Thread Mohamed Bana

can i also ask, does simple-slides offer something like this?

 http://people.cs.uu.nl/andres/NixOS-IFIP.pdf
//
Gerben Wierda wrote:

Is there a ConTeXt way of doing an article a la LaTeX's article class?

Thanks,

G
___ 

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] ConTeXt version of LaTeX's article class?

2009-06-24 Thread Khaled Hosny
Try http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt, it has many
helpful tips.

On Wed, Jun 24, 2009 at 11:37:53PM +0200, Gerben Wierda wrote:
 Is there a ConTeXt way of doing an article a la LaTeX's article class?

 Thanks,

 G

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


signature.asc
Description: Digital signature
___
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] ConTeXt version of LaTeX's article class?

2009-06-24 Thread Wolfgang Schuster


Am 24.06.2009 um 23:37 schrieb Gerben Wierda:


Is there a ConTeXt way of doing an article a la LaTeX's article class?


\starttext

\section{...}

...

\section{...}

...

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


Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Lutz Haseloff
Hi Zichu,

an other approach (mkiv + lilypond font):

\definefont[music][name:emmentaler20 at 72pt]
\starttext
\music\char57770
\stoptext

:-)

Greetings Lutz

2009/6/24 Zhichu Chen zhichu.c...@gmail.com

 Hi Nicola,

 Thank you very much for your example and the idea. It's amazing,
 I thought it's just a metafont thing and metapost just can't do that.

 Thank you for your information again.

 On Wed, Jun 24, 2009 at 10:12 PM, Nicolanvitacolo...@gmail.com wrote:
  In article
  769ba7780906240342s4939ac2foe7bfd783ad2e8...@mail.gmail.com,
   Zhichu Chen zhichu.c...@gmail.com wrote:
 
  Well, my example is too simple. Actually, I was trying to draw a
  treble clef
 
  If your goal is to draw a path with pens of varying width (kind of
  calligraphic strokes),'penpos' and 'penstroke' may be your friends
  (defined in plain.mp). This is what I've come out with by about 15
  minutes of trial and error (disclaimer: this is my first attempt at
  using these macros beyond trying to draw a sans-serif 'l' - I'm not a
  designer at all):
 
fill unitsquare scaled 12cm shifted (-6cm,-6cm) withcolor .625red;
b = 2pt; % Default pen width
w = 30mm; % Width of treble clef
h = 100mm; % Height of treble clef
% Specify breadth and angle of pen at keypoints:
penpos 1 (0.5b, 30);
penpos 1.5 (b, 15);
penpos 2 (3b, 0);
penpos 3 (5b, -90);
penpos 4 (3b, -180);
penpos 5 (b, 90);
penpos 6 (5b,0);
penpos 6.5 (4b, -30);
penpos 7 (.5b, 0);
penpos 8 (5b, 90);
penpos 9 (3b, -180);
penpos 10 (b, -180);
% Fix x coords of keypoints
x1=0;
x1.5=1/2[x1,x2];
x5=x1=x3=x8;
x10=1/2[x9,x1];
x7=1/2[x3,x4];
x4-x6=w;
x1=1/2[x2,x4];
x3-x2=x2-x6;
x9=1/2[x1,x2];
x6.5=1/2[x5,x6];
% Fix y coords of keypoints
y1=0;
y1.5=y1;
y6=y2=y4=1/2[y3,y1];
y3-y1=y1-y5=1/10h;
y5-y10=2(y3-y1);
y8-y7=y3-y1;
y9=y7;
y8-y3=y3-y10;
y6.5=1/2[y6,y7];
 
drawoptions (withcolor background);
% Draw (an incomplete and ugly) treble clef
penstroke z1e .. z1.5e .. z2e .. z3e .. z4e .. z5e .. z6e .. z6.5e ..
  z7e .. z8e .. z9e .. z10e;
drawoptions(withcolor black);
labels.lft(1,1.5,2,3,4,5,6,6.5,7,8,9,10);
 
  You must take special care never to cross the left and right edges of
  the pen. See The METAFONTbook for details and examples.
 
  Regards,
  Nicola
 
 
 ___
  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
 
 ___
 



 --
 Best Regards
 Chen
 

  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn
 

 ___
 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] Why no page numbering here?

2009-06-24 Thread Gerben Wierda

Question. With

\definetyping[SQL][option=color,numbering=line,bodyfont=9pt]
\defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
\setuplayout[leftmargin=10mm,rightmargin=0mm,footer=0mm,header=5mm]
\setuppapersize[A4,landscape][a4,landscape]
\setupbackgrounds[page][background=ifsqoverlay]
\setuptyping[SQL][palet=colorpretty]
\setuppagenumbering[location=inleft]
\def\typeSQLfile{\typefile[SQL]}
\starttext

why do I not see page numbers? Has this to do with my margins (I need  
to use as much space on the page as possible)?


Thanks,

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