ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Deactivating gridsetting for TOC
       [not found] <mailman.423.1366045413.2084.ntg-context@ntg.nl>
@ 2013-04-15 17:34 ` "H. Özoguz"
  2013-04-15 17:47   ` Wolfgang Schuster
  2013-04-15 18:46 ` Title of figure not below the figure, but on the right side "H. Özoguz"
  1 sibling, 1 reply; 5+ messages in thread
From: "H. Özoguz" @ 2013-04-15 17:34 UTC (permalink / raw)
  To: ntg-context

Am 15.04.2013 19:03, schrieb ntg-context-request@ntg.nl:
> Is there maybe another "trick" to deactivate gridsetting, analogical to
> placeongrid, or tricks with tables, or so? I am experimenting here, too,
> of course:)
>
> Huseyin

Ok, maybe it is possible with a combination of \placeongrid and a 
command, which forces page-break of the toc on specified titles, or 
lines. Is there a pissibility to manually page-break the toc?
___________________________________________________________________________________
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] 5+ messages in thread

* Re: Deactivating gridsetting for TOC
  2013-04-15 17:34 ` Deactivating gridsetting for TOC "H. Özoguz"
@ 2013-04-15 17:47   ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2013-04-15 17:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 15.04.2013 um 19:34 schrieb "H. Özoguz" <h.oezoguz@mmnetz.de>:

> Am 15.04.2013 19:03, schrieb ntg-context-request@ntg.nl:
>> Is there maybe another "trick" to deactivate gridsetting, analogical to
>> placeongrid, or tricks with tables, or so? I am experimenting here, too,
>> of course:)
>> 
>> Huseyin
> 
> Ok, maybe it is possible with a combination of \placeongrid and a command, which forces page-break of the toc on specified titles, or lines. Is there a pissibility to manually page-break the toc?

%\setuplayout[grid=yes]

\showgrid

\setuplist[chapter][style=\tfb]
\setuplist[section][style=\tfa]

\starttext

\setuplayout[grid=no]

\completecontent

\page

\setuplayout[grid=yes]

\dorecurse{10}
  {\chapter{Chapter #1}
   \dorecurse{10}
     {\section{Section #1.##1}
      \input ward\par}}

\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] 5+ messages in thread

* Re: Title of figure not below the figure, but on the right side
       [not found] <mailman.423.1366045413.2084.ntg-context@ntg.nl>
  2013-04-15 17:34 ` Deactivating gridsetting for TOC "H. Özoguz"
@ 2013-04-15 18:46 ` "H. Özoguz"
  2013-04-16  8:10   ` Sietse Brouwer
  1 sibling, 1 reply; 5+ messages in thread
From: "H. Özoguz" @ 2013-04-15 18:46 UTC (permalink / raw)
  To: ntg-context

Am 15.04.2013 19:03, schrieb ntg-context-request@ntg.nl:
> Define a float type `rightfigure` that inherits from `figure`;
> then setup that float's caption with \setupcaption[rightfigure][...=...].
> Like so:
>
> \definefloat[rightfigure][rightfigure][figure]
> \setupcaption[rightfigure][location=right]
>
> \starttext
> \placefigure{caption 1}{\framed{figure 1}}
> \placerightfigure{caption 2}{\framed{figure 2}}
> \placefigure{caption 3}{\framed{figure 3}}
> \stoptext
Thanks, that works!

So I use now:

\definefloat[rightfigure][rightfigure][figure]

\setupcaption[rightfigure][location=right]

\startplacerightfigure[

title={Tolles Bild},

reference=fig:demo, number=no]

{\framed{figure}}

\stopplacerightfigure


How can I now tell, where to place the figure? There are keys like 
"here", or "force", or "bottom" and so on, how to use them in this 
configuration? (my tries failed so far)

Huseyin


___________________________________________________________________________________
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] 5+ messages in thread

* Re: Title of figure not below the figure, but on the right side
  2013-04-15 18:46 ` Title of figure not below the figure, but on the right side "H. Özoguz"
@ 2013-04-16  8:10   ` Sietse Brouwer
  2013-04-16 16:49     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Sietse Brouwer @ 2013-04-16  8:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> How can I now tell, where to place the figure? There are keys like "here",
> or "force", or "bottom" and so on, how to use them in this configuration?
> (my tries failed so far)

I don't know! \startplacerightfigure[location=bottom,...] should work,
but doesn't. (MWE below.)

Perhaps somebody else knows? Or perhaps this is a bug?

\definefloat[rightfigure][rightfigures][figure]
\setupcaption[rightfigure][location=right]
\setupwhitespace[big]
\useMPlibrary[dum]

\starttext
\input davis \par
\input knuth \par
\input khatt-en \par

% \showboxes

\startplacerightfigure[
location=bottom,
title={Tolles Bild},
reference=fig:demo,
number=no,
]
{\externalfigure[dum]}
\stopplacerightfigure

\input linden \par
\input weisman \par
\input zapf \par

\stoptext
___________________________________________________________________________________
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] 5+ messages in thread

* Re: Title of figure not below the figure, but on the right side
  2013-04-16  8:10   ` Sietse Brouwer
@ 2013-04-16 16:49     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2013-04-16 16:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 4/16/2013 10:10 AM, Sietse Brouwer wrote:
>> How can I now tell, where to place the figure? There are keys like "here",
>> or "force", or "bottom" and so on, how to use them in this configuration?
>> (my tries failed so far)
>
> I don't know! \startplacerightfigure[location=bottom,...] should work,
> but doesn't. (MWE below.)
>
> Perhaps somebody else knows? Or perhaps this is a bug?

it's a bug ... i moved some analyzing code (while doing this combination 
extension) and forgot to check the \start variant

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2013-04-16 16:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.423.1366045413.2084.ntg-context@ntg.nl>
2013-04-15 17:34 ` Deactivating gridsetting for TOC "H. Özoguz"
2013-04-15 17:47   ` Wolfgang Schuster
2013-04-15 18:46 ` Title of figure not below the figure, but on the right side "H. Özoguz"
2013-04-16  8:10   ` Sietse Brouwer
2013-04-16 16:49     ` Hans Hagen

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