Re: [NTG-context] Fleurons

2005-05-30 Thread Hans Hagen

Adam Lindsay wrote:


\loadmapfile[pdftex_dl14] % Make sure we embed the dingbats
\definefontsynonym [ZapfDingbat] [pzdr] % maybe uzdr 


better use uzdr since pzdr is an aliassed file

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
-

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


[NTG-context] force columns smaller in Table

2005-05-30 Thread Paul Tremblay
Is there a way to force colums to be narrower than the default in the
Table (basic) table environment? 

The first line of my column is:

Amount spent on store modernization by the chains

The columns underneath are all single numbers, meaning they have huges
spaces to the right:

year  Amount spent on store modernization by the chains
===   =

1933  33,000,000
1934  37,000,000

Do I have to use the more sophisticated TABLE module? (I hope not,
because I have already laid out things with Table!)

Thanks

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Suppreesin section header

2005-05-30 Thread John R. Culleton
On Monday 30 May 2005 05:20 pm, VnPenguin wrote:
> On 5/30/05, John R. Culleton <[EMAIL PROTECTED]> wrote:
> > For a particular section I wish to substitute a graphic for the
> > section header, but have the TOC entry named as usual. Is there
> > a way to say e.g.,
> > \section{foo}
> > and have foo show up in the TOC but not as a section header?
>
> Have a look at "my" thread :
>
>   http://www.ntg.nl/pipermail/ntg-context/2005/010976.html

Which boils down to:
--
\setuphead
[chapter]
[textcommand=\MyChapterTextCommand,
 numbercommand=\MyChapterNumberCommand]

\def\MyChapterNumberCommand#1{} % hide chapter number

\def\MyChapterTextCommand#1%
{\externalfigure[(some graphic reference)]}

- 
The graphic reference was
chapter-\currentheadnumber

That almost does it. Thanks! But I want to be able to specify the graphic at
the point where the section/chapter/whatever is created. In plain pdftex there
is a facility for retrieving the last graphic added
(\pdflastximage). Does Context have an analogous command? 

Or I can just redefine  \MyChapterTextCommand at each instance. That is
more flexible than renaming graphics with chapter numbers.

I do a newsletter where the chapter called "Rainbow Bridge"
always has the same graphic, but that chapter doesn't always
occur in the same spot in the sequence.

John Culleton



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


Re: [NTG-context] Fleurons

2005-05-30 Thread Adam Lindsay
Hans Hagen said this at Mon, 30 May 2005 23:52:42 +0200:

>> easy to read.  In Bringhurst's book he mentions fleurons - "A horticultural
>> dingbat" which I would like to access.  I have looked through the Context
>
>if you can track down the font, it's no problem to get it typeset

I've been revisiting my Dingbat support, and am close to a release, but
ran into a bug on my system. In the meantime, this might help:

\loadmapfile[pdftex_dl14] % Make sure we embed the dingbats
\definefontsynonym [ZapfDingbat] [pzdr] % maybe uzdr 

\def\ZapfDingbatSymb#1{\getglyph{ZapfDingbat}{\char#1}}

\startsymbolset[Zapf Hearts] 
   \definesymbol[HeavyBlackHeart] [\ZapfDingbatSymb{164}] 
   \definesymbol[RotatedHeavyBlackHeartBullet][\ZapfDingbatSymb{165}] 
   \definesymbol[FloralHeart] [\ZapfDingbatSymb{166}] 
   \definesymbol[RotatedFloralHeartBullet][\ZapfDingbatSymb{167}]
\stopsymbolset

\definesymbol[1][{\symbol[Zapf Hearts][FloralHeart]}] 
\definesymbol[2][{\symbol[Zapf Hearts][RotatedFloralHeartBullet]}] 

\starttext

\startitemize
\item Most fleurons are font||specific.
\item Zapf Dingbats contains a couple interesting fleurons.
 \startitemize
 \item This is a place to start.
 \stopitemize
\stopitemize

\centerline{\symbol[Zapf Hearts][HeavyBlackHeart]}

\stoptext
 

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


[NTG-context] printing an envelope.

2005-05-30 Thread John R. Culleton
Using my my Ricoh AP2600 printer I want to feed envelopes with
the narrow side first, which means the the print image must be
rotated 90 degrees. It is not clear how this can be done in
Context. Here is an example file:
--

\setupoutput[pdftex]
\definepapersize[env][width=9.5in,height=4.25in]
\setuppapersize[env,rotated 90][env]
\setuparranging[rotated]
\starttext
\startstandardmakeup
John Culleton\crlf
2401 Haight Avenue\crlf
Eldersburg, MD 21784
\blank
\hskip 3in \vbox{
Independent Contract Services\crlf
Landmark Community Newspapers\crlf
Carroll County Times\crlf
P.O. Box 346\crlf
Westminster MD 21158
}
\stopstandardmakeup
\stoptext
--
It seems no matter what I do (and perhaps I am doing too much) I
cannot create a pdf file that is rotated properly for this
particular printer. It stubbornly insists in printing across
instead of down.

Any suggestions?
-- 

John Culleton


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


[NTG-context] symb-run

2005-05-30 Thread Adam Lindsay
Hans Hagen said this at Mon, 30 May 2005 01:32:41 +0200:

>i uploaded a new 
>texexec; 

I was working on getting some fleurons out of the Zapf Dingbat font, and
noticed that the \showsymbolset command wasn't working on my machine. Am
I alone on this? (tried live.contextgarden, but it wasn't very healthy)

\starttext
navigation symbol set:
[ \showsymbolset [navigation 1] ]
\symbol[navigation 1][previouspage]
\symbol[navigation 3][CloseDocument]
\stoptext


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] placing figures left with no wrap

2005-05-30 Thread Paul Tremblay
Thanks. I discovered that a bit ago and was just about to post what I
found out. 

Now, I don't suppose there is any way to actually fine-tune the
placement? I asked this question about two months ago and since I
didn't get a response figured there was no way.

For example, I would like to indent the figures about 5 cm from the
left margin.

Paul

On Tue, May 31, 2005 at 12:01:42AM +0200, Hans Hagen wrote:
> From: Hans Hagen <[EMAIL PROTECTED]>
> To: mailing list for ConTeXt users 
> Date: Tue, 31 May 2005 00:01:42 +0200
> Subject: Re: [NTG-context] placing figures left with no wrap
> User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
> 
> Paul Tremblay wrote:
> >How can I place a figure to the left of the page *without* having any
> >text wrap around it? 
> >
> >If I use:
> >
> >\placefigure[here]{{\bf
> >figure 1.1: }Woolworth store in Lexington}{\externalfigure[WWORIG
> >ref]}
> >
> >I get a graphic that is centered. I want to push the graphic to the
> >left of the page. 
> >
> >The only way I know how to achive this right now is with:
> >
> >externalfigure[WWORIG ref]
> >\par
> >{\bf figure 1.1:} Woolworth store in Lexington
> >\par
> >
> >But this method probably won't keep my captions and graphics together.
> >If the graphic is placed at the bottom of the page, my caption will
> >appear on the next page.
> >
> >Do I need to save the graphic as a buffer and then place the buffer? I
> >coudln't find any directions on how to use buffer, though I swear I
> >saw it on the wiki.
> 
> \definefloat [leftfigure][figure]
> \setupfloat[leftfigure][location=left]
> \setupcaption[leftfigure][style=bold]
> 
> \starttext
> 
> \input tufte
> 
> \placeleftfigure
>   {Woolworth store in Lexington}
>   {\externalfigure[WWORIGref]}
> 
> \input tufte
> 
> \stoptext
> 
> 
> 
> -
>   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
> -
> 
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] \stopbuffer in macro

2005-05-30 Thread Hans Hagen

Peter Münster wrote:

Hello,

how could I build some macros, that make usage of \startbuffer and
\stopbuffer?
Example:
\def\startXXX[#1]{\doSomeMagicSetups{#1}%
  \startbuffer[...]}
\def\stopXXX{\stopbuffer
  \doSomeSpecialWorkHere}
And then:
\startXXX[some options]
some text
\stopXXX



\definebuffer[crap]

\setupbuffer[crap][before=\blank\bgroup here we start,after=and here we 
end\egroup\blank]


\starttext

\input tufte

\startcrap
oeps oeps oeps oeps oesp
oeps oeps oeps oeps oesp
oeps oeps oeps oeps oesp
oeps oeps oeps oeps oesp
\stopcrap

\input tufte

\getcrap

\input tufte

\stoptext


wikiable

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
-

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


Re: [NTG-context] placing figures left with no wrap

2005-05-30 Thread Hans Hagen

Paul Tremblay wrote:

How can I place a figure to the left of the page *without* having any
text wrap around it? 


If I use:

\placefigure[here]{{\bf
figure 1.1: }Woolworth store in Lexington}{\externalfigure[WWORIG
ref]}

I get a graphic that is centered. I want to push the graphic to the
left of the page. 


The only way I know how to achive this right now is with:

externalfigure[WWORIG ref]
\par
{\bf figure 1.1:} Woolworth store in Lexington
\par

But this method probably won't keep my captions and graphics together.
If the graphic is placed at the bottom of the page, my caption will
appear on the next page.

Do I need to save the graphic as a buffer and then place the buffer? I
coudln't find any directions on how to use buffer, though I swear I
saw it on the wiki.


\definefloat [leftfigure][figure]
\setupfloat[leftfigure][location=left]
\setupcaption[leftfigure][style=bold]

\starttext

\input tufte

\placeleftfigure
  {Woolworth store in Lexington}
  {\externalfigure[WWORIGref]}

\input tufte

\stoptext



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

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


Re: [NTG-context] \stopbuffer in macro

2005-05-30 Thread Taco Hoekwater

Peter Münster wrote:

Hello,

how could I build some macros, that make usage of \startbuffer and
\stopbuffer?
Example:
\def\startXXX[#1]{\doSomeMagicSetups{#1}%
  \startbuffer[...]}
\def\stopXXX{\stopbuffer
  \doSomeSpecialWorkHere}
And then:
\startXXX[some options]
some text
\stopXXX


I hope this helps:

%% buf.tex
% use colors
\setupcolors[state=start]

% this defines a new type of buffer called XXX, so that
% the commands \startXXX ... \stopXXX, \getXXX and
% \typeXXX are now defined

\definebuffer[XXX]

% two sentinel definitions are placed before and after
% the actual buffer content, as fetched by \getXXX

\setupbuffer[XXX][before={\beforeXXX},after={\afterXXX}]

% Do not call \getXXX directly, but use a special
% command to pass options to \beforeXXX and \afterXXX

\def\finishXXX{\dosingleempty\dofinishXXX}
\def\dofinishXXX[#1]{{\getparameters[XXX][Color=green,#1]\getXXX }}

% within the next commans, there is now a set if parameters
% starting with \XXX, initialized by the \getparameters
% call in the macro above.

\def\beforeXXX{\startcolor[\XXXColor]}
\def\afterXXX{\stopcolor}

% below here is an example

\starttext
\startXXX
  Here is some text
\stopXXX

\finishXXX % defaults to using green text.

\finishXXX[Color=blue] % same text, but in blue

\stoptext
%%% buf.tex

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


Re: [NTG-context] Fleurons

2005-05-30 Thread Hans Hagen

Keith McKay wrote:


easy to read.  In Bringhurst's book he mentions fleurons - "A horticultural
dingbat" which I would like to access.  I have looked through the Context


if you can track down the font, it's no problem to get it typeset

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
-

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


[NTG-context] placing figures left with no wrap

2005-05-30 Thread Paul Tremblay
How can I place a figure to the left of the page *without* having any
text wrap around it? 

If I use:

\placefigure[here]{{\bf
figure 1.1: }Woolworth store in Lexington}{\externalfigure[WWORIG
ref]}

I get a graphic that is centered. I want to push the graphic to the
left of the page. 

The only way I know how to achive this right now is with:

externalfigure[WWORIG ref]
\par
{\bf figure 1.1:} Woolworth store in Lexington
\par

But this method probably won't keep my captions and graphics together.
If the graphic is placed at the bottom of the page, my caption will
appear on the next page.

Do I need to save the graphic as a buffer and then place the buffer? I
coudln't find any directions on how to use buffer, though I swear I
saw it on the wiki.

Thanks

Paul



*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] \stopbuffer in macro

2005-05-30 Thread Peter Münster
Hello,

how could I build some macros, that make usage of \startbuffer and
\stopbuffer?
Example:
\def\startXXX[#1]{\doSomeMagicSetups{#1}%
  \startbuffer[...]}
\def\stopXXX{\stopbuffer
  \doSomeSpecialWorkHere}
And then:
\startXXX[some options]
some text
\stopXXX

TIA for any help!
Cheers, Peter

---

For those, who are interested, here in detail what I'm trying to do:

I still like the LaTeX listings.sty package very much, but porting it to
ConTeXt would be too much work for me. So why not using a wrapper?

Somewhere in the PATH I put the file createListing.sh:
#!/bin/bash
echo '\documentclass{article}\usepackage{listings}
  \lstset{language=C++,tabsize=4}\pagestyle{empty}
  \begin{document}\begin{lstlisting}{}' >$1-lst-ltx.tex
cat $1-lst.tmp >>$1-lst-ltx.tex
echo '\end{lstlisting}\end{document}' >>$1-lst-ltx.tex
latex $1-lst-ltx
dvips -E -o $1-lst-ltx.eps $1-lst-ltx

Then the ConTeXt-file:

\starttext
Here is a listing:

\startbuffer[lst]
#include 
int main(){
return 0;
}
\stopbuffer
\immediate\write18{./createListing.sh \jobname}%
\externalfigure[\jobname-lst-ltx][]

And here we go on...
\stoptext

But this would be much better:

\def\startLST[#1]{\dosomesetups{#1}\startbuffer[...]}

\def\stopLST{\stopbuffer\immediate\write18{./createListing ...}%
  \externalfigure[...][...]}

And then:
\startLST[some options for \lstset{}]
some code
\stopLST

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] place for feature requests / todo list

2005-05-30 Thread Peter Münster
On Sun, 29 May 2005, Hans Hagen wrote:

> Peter Münster wrote:
> 
> > I'm working with subversion and recommend it strongly. Especially for
> > you, there would be a great advantage: the automatic generation of a
> > ChangeLog (if the developers comment their commits).
> 
> i will set up a subversion archive (context/manuals) soon on an internal
> server which is accessisble then for dev. (but i'm not sure if i will
> comment comment each commit, too busy with other things for that -)

Hello Hans,
3 or 4 words are often enough and very very useful when tracing the logs.
For example:
- speed-up with \setupXXX
- bug-fix with texexec-enginepath
- new file core-xxx.tex
- removed s-pre-1234.tex

Greetings and happy subversioning!
Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Fleurons

2005-05-30 Thread Keith McKay
Dear All

I am in the process of learning the wonders of Context and enjoying the
challenge.My Context is the stand alone version for Windows which I
downloaded from the Pragma site.  I'm getting used to using the Scite editor
although it was a little difficult in the beginning.  

Just now I'm putting together some short stories and am having fun playing
about with layout and using different kinds of fonts. Also I'm reading 'The
Elements of Typographic Style' by Robert Bringhurst which is absolutely
superb!  I would never have thought that a book on typography would be so
easy to read.  In Bringhurst's book he mentions fleurons - "A horticultural
dingbat" which I would like to access.  I have looked through the Context
manuals but with no success.  Could someone give me some hints?

Thanks
Keith McKay
Hamilton, Scotland

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 27/05/2005
 

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


Re: [NTG-context] Suppreesin section header

2005-05-30 Thread VnPenguin
On 5/30/05, John R. Culleton <[EMAIL PROTECTED]> wrote:
> For a particular section I wish to substitute a graphic for the
> section header, but have the TOC entry named as usual. Is there
> a way to say e.g.,
> \section{foo}
> and have foo show up in the TOC but not as a section header?

Have a look at "my" thread : 

  http://www.ntg.nl/pipermail/ntg-context/2005/010976.html

-- 
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Suppreesin section header

2005-05-30 Thread John R. Culleton
For a particular section I wish to substitute a graphic for the
section header, but have the TOC entry named as usual. Is there
a way to say e.g., 
\section{foo}
and have foo show up in the TOC but not as a section header?

-- 

John Culleton
The answers to all your publishing questions are found 
in the excellent books listed in the word-famous shortlist!
http://wexfordpress.com/tex/shortlist.pdf

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


Re: [NTG-context] List of figures with shorter captions

2005-05-30 Thread Nikolai Weibull
Tim 't Hart wrote:

> … I was wondering if it's possible to let ConTeXt write a different
> text to the List of Figures.

See http://www.pragma-ade.com/general/magazines/mag-0001.pdf,
nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Lettrine in ConTeXt

2005-05-30 Thread Patrick Gundlach
Hi,


[...]

> (I'll send a new zip with included documentation
> to Patrick soon)

It is updated and available at http://modules.contextgarden.net/t-lettri


Thanks,

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of figures with shorter captions

2005-05-30 Thread Michael Fuchs
Hi!

You can use the \nolist{} command within the caption for parts, that shouldn't 
go in the list of figures:

f.ex:

 \placefigure [here][fig:Res_FlussSkalierungsfaktor]
{This is a caption. \nolist{This part of the caption will not be
  listed in the list of figures.}}
{\externalfigure[ResDat32_PhiProton2][width=100mm]}

Instead the part within \nolist will be replaced by "..." (3 dots).
If you want to change this default behaviour use the "limittext"-option as 
shown in the following example.

\placelistoffigures[before=\blank,criterium=all,limittext={}]


Best Regards

Michael

> Hello all,

> I'm busy with writing a paper for university and the teachers "ordered" me
> to include a List of Figures. So now I'm using \completelistoffigures to get
> the list of figures.

> However, my captions with the figures are quite long so I was wondering if
> it's possible to let ConTeXt write a different text to the List of Figures.
> I thought something similar was possible with the Table of Contents and the
> \chapter command, but I cannot remember how...maybe I imagined.

> So is it possible to write a different text to the LoF? I use
> \placefigure[here]{This is my very long caption} {\externalfigure[myfigure]}
> to place my figures in the text.

> I've experimented with using \writetolist[figure]{1}{short caption} to write
> a text to the LoF, but there are some problems with that method. (the figure
> can be placed on a different page than the \writetolist, and I'll need a way
> to stop ConTeXt writing the caption text to the list as well).

> Any ideas?

> My best,
> Tim


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



-- 
Mit freundlichen Grüßen
Michael Fuchs
mailto:[EMAIL PROTECTED]

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


[NTG-context] List of figures with shorter captions

2005-05-30 Thread Tim 't Hart
Hello all,

I'm busy with writing a paper for university and the teachers "ordered" me
to include a List of Figures. So now I'm using \completelistoffigures to get
the list of figures.

However, my captions with the figures are quite long so I was wondering if
it's possible to let ConTeXt write a different text to the List of Figures.
I thought something similar was possible with the Table of Contents and the
\chapter command, but I cannot remember how...maybe I imagined.

So is it possible to write a different text to the LoF? I use
\placefigure[here]{This is my very long caption} {\externalfigure[myfigure]}
to place my figures in the text.

I've experimented with using \writetolist[figure]{1}{short caption} to write
a text to the LoF, but there are some problems with that method. (the figure
can be placed on a different page than the \writetolist, and I'll need a way
to stop ConTeXt writing the caption text to the list as well).

Any ideas?

My best,
Tim


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


Re: [NTG-context] Lettrine in ConTeXt

2005-05-30 Thread Marcus Vinicius Mesquita de Sousa
Hi Taco!

It works perfectly!

Thank you.

Marcus Vinicius


--- Taco Hoekwater <[EMAIL PROTECTED]> wrote:
> 
> The problem is that FontHook has to redefine the
> font synonym
> 'LettrineFont'. You have to do it like this:
> 
>\unexpanded\def\myfonthook
>  {\definefontsynonym[LettrineFont][SerifBold]}
> 
>\setuplettrine[Lines=3,TextFont=\it,
>  FontHook=\myfonthook,
>  Findent=0pt,Nindent=0pt]
> 
> Greetings, Taco
> 
> (I'll send a new zip with included documentation
> to Patrick soon)
> 




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Lettrine in ConTeXt

2005-05-30 Thread Taco Hoekwater


The problem is that FontHook has to redefine the font synonym
'LettrineFont'. You have to do it like this:

  \unexpanded\def\myfonthook
{\definefontsynonym[LettrineFont][SerifBold]}

  \setuplettrine[Lines=3,TextFont=\it,
FontHook=\myfonthook,
Findent=0pt,Nindent=0pt]

Greetings, Taco

(I'll send a new zip with included documentation
to Patrick soon)



Marcus Vinicius Mesquita de Sousa wrote:

Hi ConTeXters!

I played a little with Taco's implementation of
Lettrine and it
worked nice, but the capital letter is always in
CMR10. The option
TextFont works fine, and one can change the font that
comes after
the dropped cap with commands like \sc (default), \it,
\sl or \bf, but
the option FontHook, which changes the font of the
capital, doesn't
seem to work when one uses, for example,

. Did I miss something?

Marcus Vinicius

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___

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

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


Re: [NTG-context] place for feature requests / todo list

2005-05-30 Thread Taco Hoekwater



Hans Hagen wrote:

Peter Münster wrote:


Hello,

is there already some place, where feature requests are collected 
and/or a

todo list?  Perhaps something like bugzilla but simpler?
If not, what do you think about a page on the wiki?


sounds ok to me, i leave it to patrick/taco to cook up a(ny) solution 
since they are in charge of that


We are discussing this now, and hope to come up with a solution soon.

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


Re: [NTG-context] new texexec

2005-05-30 Thread Taco Hoekwater



Hans Hagen wrote:

Hi,

After some patching and testing (thanks adam and others) i uploaded a 
new texexec; let's hope that this one works beter;


Also new in this release:

- dvips papersize specials
- \definefonthandling [highquality]
- ppchtex bugfix
- version 2005.05.30

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