Re: [NTG-context] special book layout problem in ConTeXt

2019-09-21 Thread nicolas mondon
Woaw! Thanks a lot... Let's try!

Le jeu. 19 sept. 2019 à 19:49, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :

> Nicolas Mondon schrieb am 19.09.2019 um 19:18:
> >
> > Thank you Wolfgang for your answer.
> >
> > So, yes the figures/tables should appear before the text on a even
> > (left side) page while the text would appear only on odd (right side)
> > pages. The left page should be empty when there are no figures/tables
> > for the following right page, and the float doesn't have to appear
> > strictly at the same vertical position as the reference, but as
> > possible only. Specially beacause, it may have several references in
> > only one paragraph for exemple on the right page, and so the figure
> > should appear in the right order on the left page, but couldn't be
> > exactly at the same height. Also, if there are too many references in
> > on right page, the figures which can't fit the left page should go on
> > the top od the next left page...
> >
> > It's possible that my answer change the proposition you made at the
> > end of your message. Nevertherless, there is some thing in your last
> > paragrph which is not clear for me : " Afterwards you split each page
> > in half and create two separate pages from one single page which can
> > be done with a loop (can be done theoretically with the imposition
> > mechanism but a separate document is easier)."
> >
> Step 1:
>
>   Create a document with a very big left margin where you can place all
> floats.
>
> \setuppapersize
>[A3,landscape]
>
> \setuplayout
>[backspace=23.5cm,
> width=15cm,edge=14cm]
>
> \showframe
>
> \setupfloat
>[default=leftedge,
> minwidth=14cm]
>
> \starttext
>
> \input ward
>
> \startplacefigure
> \externalfigure[dummy]
> \stopplacefigure
>
> \input knuth
>
> \startplacetable
>\starttabulate[|c|c|c|]
>\FL
>\NC A \NC B \NC C \NC\NR
>\ML
>\NC X \NC Y \NC Z \NC\NR
>\LL
>\stoptabulate
> \stopplacetable
>
> \input zapf
>
> \stoptext
>
>
> Step 2:
>
> Split each page into two separate pages where one contains all floats
> while the other page contains the text.
>
> Wolfgang
>
>

-- 
*catalogue, écoutes et infos concerts :*
*http://n.mondon.free.fr/* 
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] special book layout problem in ConTeXt

2019-09-21 Thread Nicolas Mondon

Thank you Wolfgang for your answer.

So, yes the figures/tables should appear before the text on a even (left 
side) page while the text would appear only on odd (right side) pages. 
The left page should be empty when there are no figures/tables for the 
following right page, and the float doesn't have to appear strictly at 
the same vertical position as the reference, but as possible only. 
Specially beacause, it may have several references in only one paragraph 
for exemple on the right page, and so the figure should appear in the 
right order on the left page, but couldn't be exactly at the same 
height. Also, if there are too many references in on right page, the 
figures which can't fit the left page should go on the top od the next 
left page...


It's possible that my answer change the proposition you made at the end 
of your message. Nevertherless, there is some thing in your last 
paragrph which is not clear for me : " Afterwards you split each page in 
half and create two separate pages from one single page which can be 
done with a loop (can be done theoretically with the imposition 
mechanism but a separate document is easier)."


Thank you!

Nicolas

/Nicolas Mondon
catalogue, écoutes, concerts :
http://n.mondon.free.fr/
/
Le 15/09/2019 à 13:52, Wolfgang Schuster a écrit :

Nicolas Mondon schrieb am 12.09.2019 um 18:55:


Dear ConText Hepers,

I'm not sure I'm writing at the good email adress, or even the good 
place; but sorry, I didn't find any online forum or othr hep centers, 
so I try. Please tell me if I have to write to someone else.



This is the right place for your questions.


I'd like to edit a thesis (so, as a book), with the text only on even 
pages, and tables and figure only on odd pages, in front of the 
paragraph wich comment them. I try to do this automatically by 
writing the text, make a reference to the figure in the paragraph, 
and then the layout appears correctly...


If the figures/tables should appear before the text you want on a even 
(left side) page while the text would appear only on odd (right side) 
pages. A few questions remain before a certain answer can be given, 
e.g. should the left page be empty when there are no figures/tables 
for the following right page and should the float appear at the same 
vertical position as the reference.


I have the impression this is possible to do in ConText, but I havn't 
find how yet. Is it possibel to force, in the setups, the text to be 
on the right pages, and the figures on the left pages?


There is no easy solution for this yet and it also depends on your 
requirements mentioned above. The easiest way to achieve such a layout 
is to to increase the paper width to twice the normal layout and use 
the left half for a very big margin area where you can place the 
tables/graphics.


In a first step you create a normal document with this unusual layout. 
Afterwards you split each page in half and create two separate pages 
from one single page which can be done with a loop (can be done 
theoretically with the imposition mechanism but a separate document is 
easier).


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] special book layout problem in ConTeXt

2019-09-19 Thread Wolfgang Schuster

Nicolas Mondon schrieb am 19.09.2019 um 19:18:


Thank you Wolfgang for your answer.

So, yes the figures/tables should appear before the text on a even 
(left side) page while the text would appear only on odd (right side) 
pages. The left page should be empty when there are no figures/tables 
for the following right page, and the float doesn't have to appear 
strictly at the same vertical position as the reference, but as 
possible only. Specially beacause, it may have several references in 
only one paragraph for exemple on the right page, and so the figure 
should appear in the right order on the left page, but couldn't be 
exactly at the same height. Also, if there are too many references in 
on right page, the figures which can't fit the left page should go on 
the top od the next left page...


It's possible that my answer change the proposition you made at the 
end of your message. Nevertherless, there is some thing in your last 
paragrph which is not clear for me : " Afterwards you split each page 
in half and create two separate pages from one single page which can 
be done with a loop (can be done theoretically with the imposition 
mechanism but a separate document is easier)."



Step 1:

 Create a document with a very big left margin where you can place all 
floats.


\setuppapersize
  [A3,landscape]

\setuplayout
  [backspace=23.5cm,
   width=15cm,edge=14cm]

\showframe

\setupfloat
  [default=leftedge,
   minwidth=14cm]

\starttext

\input ward

\startplacefigure
\externalfigure[dummy]
\stopplacefigure

\input knuth

\startplacetable
  \starttabulate[|c|c|c|]
  \FL
  \NC A \NC B \NC C \NC\NR
  \ML
  \NC X \NC Y \NC Z \NC\NR
  \LL
  \stoptabulate
\stopplacetable

\input zapf

\stoptext


Step 2:

Split each page into two separate pages where one contains all floats 
while the other page contains the text.


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] special book layout problem in ConTeXt

2019-09-15 Thread Henning Hraban Ramm

> Am 2019-09-15 um 13:52 schrieb Wolfgang Schuster 
> :
> 
> Nicolas Mondon schrieb am 12.09.2019 um 18:55:
>> 
>> Dear ConText Hepers,
>> 
>> I'm not sure I'm writing at the good email adress, or even the good place; 
>> but sorry, I didn't find any online forum or othr hep centers, so I try. 
>> Please tell me if I have to write to someone else.
>> 
> This is the right place for your questions.
>> 
>> I'd like to edit a thesis (so, as a book), with the text only on even pages, 
>> and tables and figure only on odd pages, in front of the paragraph wich 
>> comment them. I try to do this automatically by writing the text, make a 
>> reference to the figure in the paragraph, and then the layout appears 
>> correctly...
>> 
> If the figures/tables should appear before the text you want on a even (left 
> side) page while the text would appear only on odd (right side) pages. A few 
> questions remain before a certain answer can be given, e.g. should the left 
> page be empty when there are no figures/tables for the following right page 
> and should the float appear at the same vertical position as the reference.
>> 
>> I have the impression this is possible to do in ConText, but I havn't find 
>> how yet. Is it possibel to force, in the setups, the text to be on the right 
>> pages, and the figures on the left pages?
>> 
> There is no easy solution for this yet and it also depends on your 
> requirements mentioned above. The easiest way to achieve such a layout is to 
> to increase the paper width to twice the normal layout and use the left half 
> for a very big margin area where you can place the tables/graphics.
> 
> In a first step you create a normal document with this unusual layout. 
> Afterwards you split each page in half and create two separate pages from one 
> single page which can be done with a loop (can be done theoretically with the 
> imposition mechanism but a separate document is easier).

Wouldn’t it make sense to use streams 
(https://wiki.contextgarden.net/Columns#Streams)?


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] special book layout problem in ConTeXt

2019-09-15 Thread Wolfgang Schuster

Nicolas Mondon schrieb am 12.09.2019 um 18:55:


Dear ConText Hepers,

I'm not sure I'm writing at the good email adress, or even the good 
place; but sorry, I didn't find any online forum or othr hep centers, 
so I try. Please tell me if I have to write to someone else.



This is the right place for your questions.


I'd like to edit a thesis (so, as a book), with the text only on even 
pages, and tables and figure only on odd pages, in front of the 
paragraph wich comment them. I try to do this automatically by writing 
the text, make a reference to the figure in the paragraph, and then 
the layout appears correctly...


If the figures/tables should appear before the text you want on a even 
(left side) page while the text would appear only on odd (right side) 
pages. A few questions remain before a certain answer can be given, e.g. 
should the left page be empty when there are no figures/tables for the 
following right page and should the float appear at the same vertical 
position as the reference.


I have the impression this is possible to do in ConText, but I havn't 
find how yet. Is it possibel to force, in the setups, the text to be 
on the right pages, and the figures on the left pages?


There is no easy solution for this yet and it also depends on your 
requirements mentioned above. The easiest way to achieve such a layout 
is to to increase the paper width to twice the normal layout and use the 
left half for a very big margin area where you can place the 
tables/graphics.


In a first step you create a normal document with this unusual layout. 
Afterwards you split each page in half and create two separate pages 
from one single page which can be done with a loop (can be done 
theoretically with the imposition mechanism but a separate document is 
easier).


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___