Re: [NTG-context] factor=fit images don't fit

2007-07-24 Thread Giuseppe Bilotta
Monday, July 23, 2007 luigi scarso wrote:

 the fit assumes operating on a page not in a box; an alternative is:

 \framed[width=5cm,height4cm]
   
 {\externalfigure[mill.png][maxwidth=4cm,maxheight=5cm,width=10cm]}

 i.e. setting the maximum values

 hmm,
 \frame can be slow.
 Maybe something like \vbox to4cm{\hsize=5cm ..} ?

Well, I'm already in a frame so it's not a problem.

--
Giuseppe Oblomov Bilotta


___
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] \setupheader: leftstyle rightstyle

2007-07-24 Thread Giuseppe Bilotta
Sunday, July 22, 2007 Mojca Miklavec wrote:

 However, there seems to be a little bug. This works perfectly well for
 section (\getmarking[section]), but for chapter the chapter labels
 seem to be erased after the first appearance.

Do you have a \page[even] in between? I've found that the
markings of the last section get cleared when an empty page
is inserted. See also my thread “Section marking forgotten
on next even page?”

-- 
Giuseppe Oblomov Bilotta  

___
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] factor=fit images don't fit

2007-07-24 Thread Giuseppe Bilotta
Sunday, July 22, 2007 Hans Hagen wrote:

 the fit assumes operating on a page not in a box;

Ah, didn't know that. I couldn't even tell from the sources,
since it uses enclosing box dimensions and not page or paper
sizes. I suspect the logic is broken at the page level too
though, let me explain why.

Currently, if I understand the code correctly, factor=fit
expands the figure to have its major direction fit, while
factor=max expands the figure to have its minor direction
fit.

Instead, the behavior I would expect from fit (resp. max) is
for the *expansion ratio* to be the minimum (resp. maximum)
of the expansion ratios in the two directions (not the sizes
in those directions, but the ratio between the sizes of the
figure and the container). The difference is noticeable when
the container and contained have different aspect ratios.

Consider for example a 20x30mm figure in a 50x150mm page
(strange numbers, just used to show what I mean): with the
current code, using 'fit' would consider the largest
dimension (30) and thus calculate a factor of 150/30 = 5,
but this gives us an image which is 100x150mm, i.e. an image
that doesn't fit! Whereas, if we computed the ratios 50/20 =
2.5 and 150/30 = 5, we would know that the ratio to be
picked was 2.5 in 'fit' and 5 in 'max'.

Or I misintepreting the meaning of 'fit' and 'max'?

  an alternative is:

 \framed[width=5cm,height4cm]
   
 {\externalfigure[mill.png][maxwidth=4cm,maxheight=5cm,width=10cm]}

 i.e. setting the maximum values

I hadn't thought about using width and maxwidth (and
maxheight) at the same time, thanks. Of course, I'd rather
have 'fit' and 'max' usable in boxes :)

-- 
Giuseppe Oblomov Bilotta

___
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] Typo in xtag-pre.tex

2007-07-24 Thread Giuseppe Bilotta
Hello all,

[EMAIL PROTECTED]:/usr/share/texmf/tex/context/base$ grep letterhar *
xtag-pre.tex:\defineXMLentities [tex-hat]{\letterhar}{\^{}}
[EMAIL PROTECTED]:/usr/share/texmf/tex/context/base$ grep letterhat *
cont-new.tex:   \let\normalsuper\letterhat
cont-new.tex:  {\let\normalsuper\letterhat
syst-chr.tex:.catcode `.^ 12 .xdef .letterhat B.string^E
xtag-ini.tex:\letcatcodecommand\xmlcatcodesr `\^ \letterhat
xtag-map.tex:   \defineXMLentity[tex-hat]\letterhat
xtag-raw.tex:\defineXMLentity [tex-hat]{\letterhat}
xtag-run.tex:   .catcode`.^=.@@active .let^.letterhat

I suspect xtag-pre should read letterha*t* and not
letterha*r* ...

Should these kind of bugs be reported to the bugtracker too,
or maybe just there?

-- 
Giuseppe Oblomov Bilotta

___
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] makempy (pstoedit - gs) hangs

2007-07-24 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote:
 Hallo!
 
 the following code let ghostscript fail.
 What is wrong her?

 Wolfgang

 \setupcolors  [state=start]
 \starttext
 \useMPlibrary[txt]
 \startlinecorrection
 \TightText{\ss\bf 123}{0cm}{3cm}{red}
 \stoplinecorrection
 \stoptext
 %
 %ConTeXt  ver: 2007.07.03 19:38 MKII
 %pstoedit: version 3.44 / DLL interface 108
 %GPL Ghostscript 8.57 (2007-05-11)
 
 Don't know if this matters! But the temporary created pdf (input for 
 pstoedit) is a bit smaller then the string to render '123'. The 
 overshut of the round charakters '2' and '3' is cut.

try \ruledhbox{...} and you will observe similar effects, traditional 
tex has alimited number of heights and depths for fonts and glyphs 
themselves may have a practical boundingbox different from the tight 
fitting one; just add struts or enlarge the box

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] factor=fit images don't fit

2007-07-24 Thread Hans Hagen
Giuseppe Bilotta wrote:

 I hadn't thought about using width and maxwidth (and
 maxheight) at the same time, thanks. Of course, I'd rather
 have 'fit' and 'max' usable in boxes :)

sure, i'll redo that part anyway, since in luatex we can calculate in 
lua instead of tex which is more convenient (less code too)

Hans


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

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


[NTG-context] Framing a linetable?

2007-07-24 Thread Giuseppe Bilotta
Hello all,

is it possible to put a frame around a linetable?

-- 
Giuseppe Oblomov Bilotta

___
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] Happy Birthday, Wiki

2007-07-24 Thread Patrick Gundlach
Hi,

it's the wiki's third birthday today :-)

Thanks to all who participate, encourage me and thanks to DANTE e.V.
for kind sponsoring! 

http://archive.contextgarden.net/message/20040724.092052.fec357d1.en.html


Patrick
___
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] Fwd: [pdftex] Fwd: [tug-members] tug2007 online

2007-07-24 Thread Steffen Wolfrum
Hi,

below you may find links to the talks (in various multimedia formats)  
that our dear gurus just held.
Very nice that this is made available!

Steffen


Anfang der weitergeleiteten E-Mail:

 Von: Martin Schröder [EMAIL PROTECTED]
 Datum: 24. Juli 2007 01:02:52 MESZ
 An: PDF-TeX mailing list [EMAIL PROTECTED]
 Betreff: [pdftex] Fwd: [tug-members] tug2007 online

 -- Forwarded message --
 From: Karl Berry [EMAIL PROTECTED]
 Date: 24.07.2007 00:54
 Subject: [tug-members] tug2007 online
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]


 Thanks to Kaveh Bazargan of River Valley Technologies, the talks from
 the just-concluded TUG 2007 are available online (in various  
 multimedia
 formats) at http://www.river-valley.tv, for anyone who might be
 interested.

 The proceedings will be the third TUGboat issue for this issue, and
 should be out in the fall.

 Best,
 Karl
 --
 TUG members mailing list
 http://tug.org/mailman/listinfo/members
 --

 A lot of these were pdfTeX-/luaTeX-related; especially interesting  
 might be
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Leonard_Rosenthol
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Roberto_Ierusalimschy
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Hans_Hagen
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Taco_Hoekwater
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Hans_Hagen_2
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Hans_Hagen_3
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Taco_Hoekwater_2
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Hans_Hagen_4
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Barbara_Beeton
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Jonathan_Kew

 And I think everybody should see
 http://www.river-valley.tv/conferences/tex/tug2007/ 
 tug2007.html#Nelson_Beebe

 Best
Martin
 ___
 pdftex mailing list
 [EMAIL PROTECTED]
 http://tug.org/mailman/listinfo/pdftex

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

2007-07-24 Thread Liesbeth van der Plas

Hallo context users,



I have a basic problem on laoding vector drawings.

The photograph loads all right, the cat-drawing doensn't show up.







\useexternalfigure[jpgPhotoSmall][photo][type=jpg,width=2cm]
\useexternalfigure[jpgPhotoBig][photo][type=jpg,width=4cm]
\useexternalfigure[epsDrawingCat][cat][type=eps,width=4cm]

\starttext

\placefigure{A cat drawing (eps)}{\externalfigure[epsDrawingCat]}
\placefigure{A small photo (jpg)}{\externalfigure[jpgPhotoSmall]}

\placefigure{A big photo (jpg) }{\externalfigure[jpgPhotoBig]}

\stoptext
___


--
[EMAIL PROTECTED]
www.wiskunde-interactief.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] placefigure

2007-07-24 Thread luigi scarso
On 7/24/07, Liesbeth van der Plas [EMAIL PROTECTED] wrote:


 Hallo context users,



 I have a basic problem on laoding vector drawings.

 The photograph loads all right, the cat-drawing doensn't show up.



 



 \useexternalfigure[jpgPhotoSmall][photo][type=jpg,width=2cm]
 \useexternalfigure[jpgPhotoBig][photo][type=jpg,width=4cm]
 \useexternalfigure[epsDrawingCat][cat][type=eps,width=4cm]

 \starttext

 \placefigure{A cat drawing
 (eps)}{\externalfigure[epsDrawingCat]}
 \placefigure{A small photo
 (jpg)}{\externalfigure[jpgPhotoSmall]}

 \placefigure{A big photo (jpg) }{\externalfigure[jpgPhotoBig]}

 \stoptext
 

maybe eps to pdf  epsDrawingCat ?
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
___
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] placefigure

2007-07-24 Thread Patrick Gundlach
Hello,


 I have a basic problem on laoding vector drawings.

 The photograph loads all right, the cat-drawing doensn't show up.

Perhaps this is due to the fact that pdftex doesn't handle eps? If
this is true, you can convert eps files to pdf with epstopdf, that
ships with texlive.

Patrick
___
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] Happy Birthday, Wiki

2007-07-24 Thread Thomas A. Schmitz
Thank you for providing this wonderful tool! I can't even begin to  
count the occasions when I found the solution I was desperately  
looking for right there on the wiki. The wiki has really changed my  
way of working with ConTeXt. Keep up the good work, Patrick!

Thomas

On Jul 24, 2007, at 10:10 AM, Patrick Gundlach wrote:

 Hi,

 it's the wiki's third birthday today :-)

 Thanks to all who participate, encourage me and thanks to DANTE e.V.
 for kind sponsoring!

___
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] Typo in xtag-pre.tex

2007-07-24 Thread Hans Hagen
Giuseppe Bilotta wrote:
 Hello all,
 
 [EMAIL PROTECTED]:/usr/share/texmf/tex/context/base$ grep letterhar *
 xtag-pre.tex:\defineXMLentities [tex-hat]{\letterhar}{\^{}}
 [EMAIL PROTECTED]:/usr/share/texmf/tex/context/base$ grep letterhat *
 cont-new.tex:   \let\normalsuper\letterhat
 cont-new.tex:  {\let\normalsuper\letterhat
 syst-chr.tex:.catcode `.^ 12 .xdef .letterhat B.string^E
 xtag-ini.tex:\letcatcodecommand\xmlcatcodesr `\^ \letterhat
 xtag-map.tex:   \defineXMLentity[tex-hat]\letterhat
 xtag-raw.tex:\defineXMLentity [tex-hat]{\letterhat}
 xtag-run.tex:   .catcode`.^=.@@active .let^.letterhat
 
 I suspect xtag-pre should read letterha*t* and not
 letterha*r* ...
 
 Should these kind of bugs be reported to the bugtracker too,
 or maybe just there?

thanks, i fixed it; no problem mentioning such bugs here, since they're 
easy to fix

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] Framing a linetable?

2007-07-24 Thread Hans Hagen
Giuseppe Bilotta wrote:
 Hello all,
 
 is it possible to put a frame around a linetable?

you mean the whole table?

probably a matter of hooks; linetables work page-wise which may 
complicate things a bit so it has to be applied piecewise


Hans

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

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


[NTG-context] Columns and colour background [urgent]

2007-07-24 Thread Oliver Buerschaper
Dear folks,

I'm reposting this because I haven't got any answers so far and also  
because this is somewhat urgent for me. I need this for a scientific  
poster which is due rather soon ... Please share your valuable advice  
with me :-)

Oliver



Consider this:

---

\setupcolors
[state=start]

\setupcolumns
[background=color,
 backgroundcolor=red]


\starttext

\startcolumns[n=2]
\dorecurse{4}{\input tufte}
\stopcolumns

\framed[background=color,backgroundcolor=red]{Test}

\stoptext

---

Shouldn't the background of my columns be painted red? According to
the manual \setupcolumns inherits from \setupframed which does work ...
___
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] Some minor issus

2007-07-24 Thread Steffen Fritzsche
[..]
 
 then try \clubpenalty=1 \widowpenalty=1 \brokenpenalty 0
 
 Any change?

Yes, this is exactly working as it should. And also the footnotes are not 
continued on the next side if I set \brokenpenalty to 0.

Steffen

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

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


Re: [NTG-context] placefigure

2007-07-24 Thread Liesbeth van der Plas

I don't succeed in using the program epstopdf for my drawing. Probably it is
also not very handy to alter a lot of drawings bij hand first? Or
maybe there is a way to make MetaPost drawings without learning the MetaPost
language?
I have a lot of drawings made in Macromedia(=Adobe) Flash (or FreeHand).
These programs have no export option to pdf or MetaPost.

following the instructions of

2007/7/24, Patrick Gundlach [EMAIL PROTECTED]:


Hello,


 I have a basic problem on laoding vector drawings.

 The photograph loads all right, the cat-drawing doensn't show up.

Perhaps this is due to the fact that pdftex doesn't handle eps? If
this is true, you can convert eps files to pdf with epstopdf, that
ships with texlive.

Patrick

___
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

___





--
[EMAIL PROTECTED]
www.wiskunde-interactief.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] placefigure

2007-07-24 Thread Roelof Langman
This is a simple case of rtfm. From chapter 7 of the pdftex manual:

pdfTEX supports inclusion of pictures in png, jpeg, tiff and pdf format.
The most common technique
-the inclusion of eps figures- is replaced by pdf inclusion. eps files can
be converted to pdf by
GhostScript, Acrobat Distiller or other PostScript--to--pdf convertors.

Cheers Roelof

---%--
Roelof Langman
Kerkstraat 184
1017 GT  Amsterdam
M 0622413491


 The photograph loads all right, the cat-drawing doensn't show up.


 \useexternalfigure[jpgPhotoBig][photo][type=jpg,width=4cm]
 \useexternalfigure[epsDrawingCat][cat][type=eps,width=4cm]


 maybe eps to pdf  epsDrawingCat ?
 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] Columns and colour background [urgent]

2007-07-24 Thread Taco Hoekwater


Oliver Buerschaper wrote:
 Dear folks,
 
 I'm reposting this because I haven't got any answers so far and also  
 because this is somewhat urgent for me. I need this for a scientific  
 poster which is due rather soon ... Please share your valuable advice  
 with me :-)

Try adding option=background to the \setupcolumns. It may not do
precisely what you want though, as the column gap will not be
colored. If you want that, use textbackgrounds instead

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

2007-07-24 Thread Martin Schröder
2007/7/24, Roelof Langman [EMAIL PROTECTED]:
 This is a simple case of rtfm. From chapter 7 of the pdftex manual:

 pdfTEX supports inclusion of pictures in png, jpeg, tiff and pdf format.

Please update. tiff is long gone...

Best
   Martin
___
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] Happy Birthday, Wiki

2007-07-24 Thread Aditya Mahajan
On Tue, 24 Jul 2007, Patrick Gundlach wrote:

 Hi,

 it's the wiki's third birthday today :-)

 Thanks to all who participate, encourage me and thanks to DANTE e.V.
 for kind sponsoring!

 http://archive.contextgarden.net/message/20040724.092052.fec357d1.en.html

Thank you for providing this extremely useful resource. There have 
been a numerous occasions when the wiki, the source browser, live 
context and texwebshow have been a huge time-saver.

Thanks Patrick.

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] Columns and colour background [urgent]

2007-07-24 Thread Oliver Buerschaper
Thanks, Taco! That workes even better than I thought ... a column gap  
without color is more a feature to me than anything else ;-)

Oliver

P.S. Why's the option=background necessary from an interface point of  
view? Doesn't everything else (especially \framed) do without it  
happily?



 Try adding option=background to the \setupcolumns. It may not do
 precisely what you want though, as the column gap will not be
 colored. If you want that, use textbackgrounds instead

 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
___


[NTG-context] Linetable columns with natural width

2007-07-24 Thread Giuseppe Bilotta
Hello all,

I really like linetables, but there's one thing I'm having
problems with: setting its column to have a 'natural' width
depending on maximum content width, and letting ConTeXt
calculate this automatically. Is it possible?

-- 
Giuseppe Oblomov Bilotta

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

2007-07-24 Thread John R. Culleton
Sections have numbers, subjects etc. don't. What I want is a series of 
subdividisions (subject, subsubject etc. without visible numbers 
which nevertheless show up in a chapter table of contents, again 
without numbers, just page numbers. 

I tried defining a combined list foo thus:
\definelist[subject][alternative=a]
\definelist[subsubject][alternative=a]
\definelist[subsubsubject][alternative=a]
\definecombinedlist[foo]
[subject,subsubject,subsubsubject]
[level=subsubsubject,criterium=local]


but when I state 
\placelist[foo]
...nothing appears.

Should I start all over, replace subjects with sections etc. and then 
try to suppress the numbering in both places?

There is of course an easy answer that I am missing.  :(

-- 
John Culleton


___
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] Nested comma list processing problems

2007-07-24 Thread Peter Rolf
Hi Giuseppe,

Giuseppe Bilotta schrieb:
 Hello all,
 
 I'm trying to get a comma list element from within a
 processaction from within a processcommacommand.

Just guessing..

  If your list contains comma-separated-lists, you should use
  \processallactionsinset (s. syst-gen.tex).

...but it's not quite clear to me, what's your exact problem.
A minimal example would help.

 Obviously, ConTeXt gets confused by which commalistelement
 is which, and bombs out complaining about incomplete
 paragraphs and so. Is there a set of macros which I have to
 push/pop when nesting these commands?
 
donno.

Peter
___
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] Unnumbered TOC

2007-07-24 Thread luigi scarso
On 7/24/07, John R. Culleton [EMAIL PROTECTED] wrote:
 Sections have numbers, subjects etc. don't. What I want is a series of
 subdividisions (subject, subsubject etc. without visible numbers
 which nevertheless show up in a chapter table of contents, again
 without numbers, just page numbers.

 I tried defining a combined list foo thus:
 \definelist[subject][alternative=a]
 \definelist[subsubject][alternative=a]
 \definelist[subsubsubject][alternative=a]
 \definecombinedlist[foo]
 [subject,subsubject,subsubsubject]
 [level=subsubsubject,criterium=local]


 but when I state
 \placelist[foo]
 ...nothing appears.

 Should I start all over, replace subjects with sections etc. and then
 try to suppress the numbering in both places?

 There is of course an easy answer that I am missing.  :(
maybe this can help you ?
(untested)

\def\SectionListCommand#1#2#3{#1  ... #2 ... #3}%
\setuplist[section]
  [alternative=none,
   before={\blank[0pt]},
   after={\blank[0pt]},
   sectionnumber=no, partnumber=no,
   command={\SectionListCommand}]
\def\SectionHeadCommand#1#2#3{#1  ::: #2 ::: #3}%
\setuphead[section]
  [command={\SectionHeadCommand}]



-- 
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
___
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] Fwd: [pdftex] Fwd: [tug-members] tug2007 online

2007-07-24 Thread luigi scarso
On 7/24/07, Steffen Wolfrum [EMAIL PROTECTED] wrote:
 Hi,

 below you may find links to the talks (in various multimedia formats)
 that our dear gurus just held.
 Very nice that this is made available!
really ,really cool.
-- 
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
___
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
___