ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Document with only figures
@ 2011-11-16 11:20 Charles
  2011-11-16 11:26 ` Wolfgang Schuster
  2011-11-16 11:40 ` Willi Egger
  0 siblings, 2 replies; 8+ messages in thread
From: Charles @ 2011-11-16 11:20 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Document with only figures
  2011-11-16 11:20 Document with only figures Charles
@ 2011-11-16 11:26 ` Wolfgang Schuster
  2011-11-16 12:26   ` Charles
  2011-11-16 11:40 ` Willi Egger
  1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2011-11-16 11:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Document with only figures
  2011-11-16 11:20 Document with only figures Charles
  2011-11-16 11:26 ` Wolfgang Schuster
@ 2011-11-16 11:40 ` Willi Egger
  2011-11-16 12:24   ` Charles
  1 sibling, 1 reply; 8+ messages in thread
From: Willi Egger @ 2011-11-16 11:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Document with only figures
  2011-11-16 11:40 ` Willi Egger
@ 2011-11-16 12:24   ` Charles
  0 siblings, 0 replies; 8+ messages in thread
From: Charles @ 2011-11-16 12:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Document with only figures
  2011-11-16 11:26 ` Wolfgang Schuster
@ 2011-11-16 12:26   ` Charles
  2011-11-16 12:37     ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Charles @ 2011-11-16 12:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Document with only figures
  2011-11-16 12:26   ` Charles
@ 2011-11-16 12:37     ` Wolfgang Schuster
  2011-11-16 12:42       ` Charles
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2011-11-16 12:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Document with only figures
  2011-11-16 12:37     ` Wolfgang Schuster
@ 2011-11-16 12:42       ` Charles
  2011-11-16 21:58         ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Charles @ 2011-11-16 12:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Document with only figures
  2011-11-16 12:42       ` Charles
@ 2011-11-16 21:58         ` Wolfgang Schuster
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2011-11-16 21:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-11-16 21:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-16 11:20 Document with only figures Charles
2011-11-16 11:26 ` Wolfgang Schuster
2011-11-16 12:26   ` Charles
2011-11-16 12:37     ` Wolfgang Schuster
2011-11-16 12:42       ` Charles
2011-11-16 21:58         ` Wolfgang Schuster
2011-11-16 11:40 ` Willi Egger
2011-11-16 12:24   ` Charles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).