Re: [NTG-context] Document with only figures

2011-11-16 Thread Wolfgang Schuster

Am 16.11.2011 um 12:20 schrieb Charles:

 Hi,
 
 I would like to have a document with only figures, something like that:
 
 \starttext
 \placefigure[page]{\externalfigure[figure1]}
 \placefigure[page]{\externalfigure[figure1]}
 \placefloats
 \stoptext
 
 The problem is if I don't add some text, no PDF is created. (and this text 
 will have its own page).
 
 I was expecting \placefloats to do what I want, but it's not working. And 
 \placefigure doesn't have a 'center' option.
 
 Any ideas?

\starttext
\centerednextbox{\externalfigure[figure1]}
\centerednextbox{\externalfigure[figure2]}
\stoptext

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

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


Re: [NTG-context] Document with only figures

2011-11-16 Thread Willi Egger
Hi Charles,

If I use your example I get an error. The \placefigure command needs the 
structure \placefigure[page][]{}{\externalfigure[cow]}, where the second pair 
of brackets is optional (here you would place the reference). Default is 
centered

Here the command \placefloats is not necessary to get the floats placed.

Willi
On 16 Nov 2011, at 12:20, Charles wrote:

 Hi,
 
 I would like to have a document with only figures, something like that:
 
 \starttext
 \placefigure[page]{\externalfigure[figure1]}
 \placefigure[page]{\externalfigure[figure1]}
 \placefloats
 \stoptext
 
 The problem is if I don't add some text, no PDF is created. (and this text 
 will have its own page).
 
 I was expecting \placefloats to do what I want, but it's not working. And 
 \placefigure doesn't have a 'center' option.
 
 Any ideas?
 
 Thanks
 
 Charles
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

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

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


Re: [NTG-context] Document with only figures

2011-11-16 Thread Charles

Hi Willi,

Sorry for the mistakes. But the default in centered horizontally but not 
vertically on the page, and I would like to have this.


Charles

Le 16/11/2011 12:40, Willi Egger a écrit :

Hi Charles,

If I use your example I get an error. The \placefigure command needs the 
structure \placefigure[page][]{}{\externalfigure[cow]}, where the second pair 
of brackets is optional (here you would place the reference). Default is 
centered

Here the command \placefloats is not necessary to get the floats placed.

Willi
On 16 Nov 2011, at 12:20, Charles wrote:


Hi,

I would like to have a document with only figures, something like that:

\starttext
\placefigure[page]{\externalfigure[figure1]}
\placefigure[page]{\externalfigure[figure1]}
\placefloats
\stoptext

The problem is if I don't add some text, no PDF is created. (and this text will 
have its own page).

I was expecting \placefloats to do what I want, but it's not working. And 
\placefigure doesn't have a 'center' option.

Any ideas?

Thanks

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

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


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

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



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

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


Re: [NTG-context] Document with only figures

2011-11-16 Thread Charles

Hi Wolfgang,

Thanks for your reply. But I would like to have a figure (with 
placefigure) and the centerednextbox doesn't center vertically.


Charles

Le 16/11/2011 12:26, Wolfgang Schuster a écrit :


Am 16.11.2011 um 12:20 schrieb Charles:


Hi,

I would like to have a document with only figures, something like that:

\starttext
\placefigure[page]{\externalfigure[figure1]}
\placefigure[page]{\externalfigure[figure1]}
\placefloats
\stoptext

The problem is if I don't add some text, no PDF is created. (and this text will 
have its own page).

I was expecting \placefloats to do what I want, but it's not working. And 
\placefigure doesn't have a 'center' option.

Any ideas?


\starttext
\centerednextbox{\externalfigure[figure1]}
\centerednextbox{\externalfigure[figure2]}
\stoptext

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

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



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

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


Re: [NTG-context] Document with only figures

2011-11-16 Thread Wolfgang Schuster

Am 16.11.2011 um 13:26 schrieb Charles:

 Hi Wolfgang,
 
 Thanks for your reply. But I would like to have a figure (with placefigure) 
 and the centerednextbox doesn't center vertically.


Sorry but I used the wrong command, this works:

\starttext
\centerbox{\externalfigure[cow]}
\centerbox{\externalfigure[mill]}
\stoptext

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

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


Re: [NTG-context] Document with only figures

2011-11-16 Thread Charles
I put the \placefigure (w/o the page option) of the first figure inside 
a \centerbox and it's working.


Thank you very much for your help.

Charles

Le 16/11/2011 13:37, Wolfgang Schuster a écrit :


Am 16.11.2011 um 13:26 schrieb Charles:


Hi Wolfgang,

Thanks for your reply. But I would like to have a figure (with placefigure) and 
the centerednextbox doesn't center vertically.



Sorry but I used the wrong command, this works:

\starttext
\centerbox{\externalfigure[cow]}
\centerbox{\externalfigure[mill]}
\stoptext

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

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



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

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


Re: [NTG-context] Document with only figures

2011-11-16 Thread Wolfgang Schuster

Am 16.11.2011 um 13:42 schrieb Charles:

 I put the \placefigure (w/o the page option) of the first figure inside a 
 \centerbox and it's working.


There are simpler ways to place a caption below the figure:

\setuppairedbox[legend][align=middle]
\starttext
\centerbox{\placelegend{\externalfigure[cow]}{A dutch cow}}
\centerbox{\placelegend{\externalfigure[mill]}{A mill}}
\stoptext

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

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