Re: [NTG-context] outer floats on doublesided pages UNSOLVED

2013-10-01 Thread Tim Steenvoorden
Hi Hans,Is it possible to fix the "inouter" and "ininner" directives too? "inright" and "inleft" work as expected.Cheers,Tim On 18 september 2013 at 10:51:29, Tim Steenvoorden (tim.steenvoor...@gmail.com) wrote: Thanks Hans!Cheers,Tim On 17 september 2013 at 17:29:31, Hans Hagen (pra...@wxs.nl) wrote: On 9/14/2013 7:25 AM, R. Ermers wrote:
 Hi Contexters,

 Does anyone know whether it is possible in mkiv to position figures protruding in the outer margin?
 In mkii it used to work

there is a check missing .. fixed in next beta


-
   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
___
  ___
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] outer floats on doublesided pages UNSOLVED

2013-09-18 Thread Tim Steenvoorden
Thanks Hans!Cheers,Tim On 17 september 2013 at 17:29:31, Hans Hagen (pra...@wxs.nl) wrote: On 9/14/2013 7:25 AM, R. Ermers wrote:
 Hi Contexters,

 Does anyone know whether it is possible in mkiv to position figures protruding in the outer margin?
 In mkii it used to work

there is a check missing .. fixed in next beta


-
   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
___
 ___
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] outer floats on doublesided pages UNSOLVED

2013-09-17 Thread Tim Steenvoorden
Hi Robert,

As far as I know this is not (yet) possible in MkIV. Depends on Hans
if he adds it. See the conversation Placefigure inner/outer from
August. (http://thread.gmane.org/gmane.comp.tex.context/83680/focus=83684)

@Hans/Wolfgang: any idea it will be added in the (near) future?

Cheers,
Tim

2013/9/14 R. Ermers r.erm...@hccnet.nl:
 Hi Contexters,

 Does anyone know whether it is possible in mkiv to position figures 
 protruding in the outer margin?
 In mkii it used to work.

 It seems to me that this simple feature does not work in mkiv. See minimal 
 example below. Is this a bug?

 Regards,

 Robert


 Op 10 sep. 2013, om 22:05 heeft R. Ermers het volgende geschreven:

 Hi,

 Does anyone know if positioning figures  protruding into the outer margin 
 can be done in mkiv?

 Regards,

 Robert


 Hi Jörg and Marco,

 Thanks for your replies.

 I have tried the chemistry textbook examples too, especially vignette seems 
 to do what I want. I noticed you used mkii at the time, but I have mkiv 
 now. Should I return to mkii if I want to obtain this?

 Regards,

 Robert


 Op 10 sep. 2013, om 15:18 heeft Jörg Hagmann het volgende geschreven:

 Maybe what I did helps: see Figures III on
 http://wiki.contextgarden.net/Biochemistry_textbook.  Although I used
 mkII at the time.

 Cheers, Jörg

 R. Ermers writes:

 Hi Marco,

 Thank you very much indeed for your reply. This topic apparently does not 
 interest many people.

 In your suggestion the figures are put in the outer margin in a vertical 
 row below one another close to the top of the page, and not near the 
 position in the text.

 I want them positioned close to the place in the text which should flow 
 around them. I have seen examples of this made by Context. This can be 
 obtained by specifying default=left, or default=right, only I need the 
 figures to protrude into the (outer) margin. This for some reason does 
 not work under mkiv.

 I still have some time, but my deadline is approaching.

 Thanks again!

 Kind regards,

 Robert


 Op 10 sep. 2013, om 09:59 heeft Marco Patzer het volgende geschreven:

 On 2013–09–10 R. Ermers wrote:

 I have problems with the placement of floats. I need them to be
 placed in the outer edge of the text, but Context puts them in the
 middle of the page. The outer, inner, outeredge, inneredge,
 commands do not work. Right and left do work.

 You probably confused edge and margin. By default the edge has zero
 width and has to be enabled using \setuplayout.

 Preferably the criterium option should also work

 \setupexternalfigures
 [location=default]

 \setuppagenumbering
 [alternative=doublesided]

 \definefloat
 [marginfigure]
 [marginfigures]
 [figure]

 \setupfloat
 [marginfigure]
 [default=margin,
 criterium=\marginwidth]

 \setupcaption
 [marginfigure]
 [number=no]

 \showframe
 \starttext
 \dorecurse{9}{%%
 \input knuth
 \startplacemarginfigure
   \externalfigure [cow] [width=\recurselevel cm]
 \stopplacemarginfigure}
 \stoptext

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

 ___
 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] outer floats on doublesided pages UNSOLVED

2013-09-17 Thread Hans Hagen

On 9/14/2013 7:25 AM, R. Ermers wrote:

Hi Contexters,

Does anyone know whether it is possible in mkiv to position figures protruding 
in the outer margin?
In mkii it used to work


there is a check missing .. fixed in next beta


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


Re: [NTG-context] outer floats on doublesided pages

2013-09-17 Thread R. Ermers
Okee, Thanks!

Robert

Op 17 sep. 2013, om 17:28 heeft Hans Hagen het volgende geschreven:

 On 9/14/2013 7:25 AM, R. Ermers wrote:
 Hi Contexters,
 
 Does anyone know whether it is possible in mkiv to position figures 
 protruding in the outer margin?
 In mkii it used to work
 
 there is a check missing .. fixed in next beta
 
 
 -
  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
___


Re: [NTG-context] outer floats on doublesided pages UNSOLVED

2013-09-13 Thread R. Ermers
Hi Contexters,

Does anyone know whether it is possible in mkiv to position figures protruding 
in the outer margin?
In mkii it used to work.

It seems to me that this simple feature does not work in mkiv. See minimal 
example below. Is this a bug?

Regards,

Robert


Op 10 sep. 2013, om 22:05 heeft R. Ermers het volgende geschreven:

 Hi,
 
 Does anyone know if positioning figures  protruding into the outer margin can 
 be done in mkiv?
 
 Regards,
 
 Robert
 
 
 Hi Jörg and Marco,
 
 Thanks for your replies.
 
 I have tried the chemistry textbook examples too, especially vignette seems 
 to do what I want. I noticed you used mkii at the time, but I have mkiv now. 
 Should I return to mkii if I want to obtain this?
 
 Regards,
 
 Robert
 
 
 Op 10 sep. 2013, om 15:18 heeft Jörg Hagmann het volgende geschreven:
 
 Maybe what I did helps: see Figures III on
 http://wiki.contextgarden.net/Biochemistry_textbook.  Although I used
 mkII at the time.
 
 Cheers, Jörg
 
 R. Ermers writes:
 
 Hi Marco,
 
 Thank you very much indeed for your reply. This topic apparently does not 
 interest many people.
 
 In your suggestion the figures are put in the outer margin in a vertical 
 row below one another close to the top of the page, and not near the 
 position in the text.
 
 I want them positioned close to the place in the text which should flow 
 around them. I have seen examples of this made by Context. This can be 
 obtained by specifying default=left, or default=right, only I need the 
 figures to protrude into the (outer) margin. This for some reason does not 
 work under mkiv.
 
 I still have some time, but my deadline is approaching.
 
 Thanks again!
 
 Kind regards,
 
 Robert
 
 
 Op 10 sep. 2013, om 09:59 heeft Marco Patzer het volgende geschreven:
 
 On 2013–09–10 R. Ermers wrote:
 
 I have problems with the placement of floats. I need them to be
 placed in the outer edge of the text, but Context puts them in the
 middle of the page. The outer, inner, outeredge, inneredge,
 commands do not work. Right and left do work.
 
 You probably confused edge and margin. By default the edge has zero
 width and has to be enabled using \setuplayout.
 
 Preferably the criterium option should also work
 
 \setupexternalfigures
 [location=default]
 
 \setuppagenumbering
 [alternative=doublesided]
 
 \definefloat
 [marginfigure]
 [marginfigures]
 [figure]
 
 \setupfloat
 [marginfigure]
 [default=margin,
 criterium=\marginwidth]
 
 \setupcaption
 [marginfigure]
 [number=no]
 
 \showframe
 \starttext
 \dorecurse{9}{%%
 \input knuth
 \startplacemarginfigure
   \externalfigure [cow] [width=\recurselevel cm]
 \stopplacemarginfigure}
 \stoptext
 
 Marco
 ___
 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
 ___

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


[NTG-context] outer floats on doublesided pages

2013-09-10 Thread R. Ermers
Dear all,

I have problems with the placement of floats. I need them to be placed in the 
outer edge of the text, but Context puts them in the middle of the page. The 
outer, inner, outeredge, inneredge, commands do not work. Right and left do 
work.

Preferably the criterium option should also work, e.g. criterium=0.67.
A minimal test file is attached. Try it out with a dummy, or with cow picture, 
or with any other picture of your liking.

I updated my context installation today to a bèta version. The version is: 
2013.08.30 02.05.

All help is welcome!
Many thanks in advance,

Robert



tmp1.tex
Description: Binary data


%%

\setuppapersize[A4][A4]

\setuppagenumbering[alternative=doublesided,location=footer]

\definefloat[edgefigure][figure]

\setupfloat
[edgefigure]
[leftmargindistance=-\outercombitotal,
 rightmargindistance=-\outercombitotal,
 default={outer,none,low,high}]

\setupcaption[edgefigure][number=no]

\useexternalfigure[cow][./cow.pdf]

\starttext

\startsection[title={insight},reference=insight]

\placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
When the first volume of Donald Knuth's The Art of Computer Programming was 
published in 1969, it was typeset using hot metal type set by a Monotype 
Corporation typecaster with a hot metal typesetting machine from the 19th 
century which produced a good classic style appreciated by Knuth. When the 
second edition of the second volume was published, in 1976, the whole book had 
to be typeset again because the Monotype technology had been largely replaced 
by photographic techniques, and the original fonts were no longer available.[4] 
When Knuth received the galley proofs of the new book on 30 March 1977, he 
found them awful.[5] Around that time, Knuth saw for the first time the output 
of a high-quality digital typesetting system, and became interested in digital 
typography. The disappointing galley proofs gave him the final motivation to 
solve the problem at hand once and for all by designing his own typesetting 
system. On 13 May 1977, he wrote a memo to himself describing the basic 
features of TeX.[6]

\placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
He planned to finish it on his sabbatical in 1978, but as it happened the 
language was not frozen until 1989, more than ten years later. Guy Steele 
happened to be at Stanford during the summer of 1978, when Knuth was developing 
his first version of TeX. When Steele returned to MIT that autumn, he rewrote 
TeX's I/O to run under the ITS operating system. The first version of TeX was 
written in the SAIL programming language to run on a PDP-10 under Stanford's 
WAITS operating system. For later versions of TeX, Knuth invented the concept 
of literate programming, a way of producing compilable source code and 
cross-linked documentation typeset in TeX from the same original file. The 
language used is called WEB and produces programs in DEC PDP-10 Pascal.


\placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
When the first volume of Donald Knuth's The Art of Computer Programming was 
published in 1969, it was typeset using hot metal type set by a Monotype 
Corporation typecaster with a hot metal typesetting machine from the 19th 
century which produced a good classic style appreciated by Knuth. When the 
second edition of the second volume was published, in 1976, the whole book had 
to be typeset again because the Monotype technology had been largely replaced 
by photographic techniques, and the original fonts were no longer available.[4] 
When Knuth received the galley proofs of the new book on 30 March 1977, he 
found them awful.[5] Around that time, Knuth saw for the first time the output 
of a high-quality digital typesetting system, and became interested in digital 
typography. The disappointing galley proofs gave him the final motivation to 
solve the problem at hand once and for all by designing his own typesetting 
system. On 13 May 1977, he wrote a memo to himself describing the basic 
features of TeX.[6]
He planned to finish it on his sabbatical in 1978, but as it happened the 
language was not frozen until 1989, more than ten years later. Guy Steele 
happened to be at Stanford during the summer of 1978, when Knuth was developing 
his first version of TeX. When Steele returned to MIT that autumn, he rewrote 
TeX's I/O to run under the ITS operating system. The first version of TeX was 
written in the SAIL programming language to run on a PDP-10 under Stanford's 
WAITS operating system. For later versions of TeX, Knuth invented the concept 
of literate programming, a way of producing compilable source code and 
cross-linked documentation typeset in TeX from the same original file. The 
language used is called WEB and produces programs in DEC PDP-10 Pascal.

\stopsection

\stoptext



___
If your question is of 

Re: [NTG-context] outer floats on doublesided pages

2013-09-10 Thread Marco Patzer
On 2013–09–10 R. Ermers wrote:

 I have problems with the placement of floats. I need them to be
 placed in the outer edge of the text, but Context puts them in the
 middle of the page. The outer, inner, outeredge, inneredge,
 commands do not work. Right and left do work.

You probably confused edge and margin. By default the edge has zero
width and has to be enabled using \setuplayout.

 Preferably the criterium option should also work

\setupexternalfigures
  [location=default]

\setuppagenumbering
  [alternative=doublesided]

\definefloat
  [marginfigure]
  [marginfigures]
  [figure]

\setupfloat
  [marginfigure]
  [default=margin,
   criterium=\marginwidth]

\setupcaption
  [marginfigure]
  [number=no]

\showframe
\starttext
  \dorecurse{9}{%%
\input knuth
\startplacemarginfigure
  \externalfigure [cow] [width=\recurselevel cm]
\stopplacemarginfigure}
\stoptext

Marco


signature.asc
Description: Digital signature
___
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] outer floats on doublesided pages

2013-09-10 Thread R. Ermers
Hi Marco,

Thank you very much indeed for your reply. This topic apparently does not 
interest many people.

In your suggestion the figures are put in the outer margin in a vertical row 
below one another close to the top of the page, and not near the position in 
the text.

I want them positioned close to the place in the text which should flow around 
them. I have seen examples of this made by Context. This can be obtained by 
specifying default=left, or default=right, only I need the figures to protrude 
into the (outer) margin. This for some reason does not work under mkiv.

I still have some time, but my deadline is approaching.

Thanks again!

Kind regards,

Robert


Op 10 sep. 2013, om 09:59 heeft Marco Patzer het volgende geschreven:

 On 2013–09–10 R. Ermers wrote:
 
 I have problems with the placement of floats. I need them to be
 placed in the outer edge of the text, but Context puts them in the
 middle of the page. The outer, inner, outeredge, inneredge,
 commands do not work. Right and left do work.
 
 You probably confused edge and margin. By default the edge has zero
 width and has to be enabled using \setuplayout.
 
 Preferably the criterium option should also work
 
 \setupexternalfigures
  [location=default]
 
 \setuppagenumbering
  [alternative=doublesided]
 
 \definefloat
  [marginfigure]
  [marginfigures]
  [figure]
 
 \setupfloat
  [marginfigure]
  [default=margin,
   criterium=\marginwidth]
 
 \setupcaption
  [marginfigure]
  [number=no]
 
 \showframe
 \starttext
  \dorecurse{9}{%%
\input knuth
\startplacemarginfigure
  \externalfigure [cow] [width=\recurselevel cm]
\stopplacemarginfigure}
 \stoptext
 
 Marco
 ___
 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] outer floats on doublesided pages

2013-09-10 Thread Marco Patzer
On 2013–09–10 R. Ermers wrote:

 I want them positioned close to the place in the text which should
 flow around them. I have seen examples of this made by Context.
 This can be obtained by specifying default=left, or default=right,
 only I need the figures to protrude into the (outer) margin.

I misunderstood your requirements. That's not what my example was
supposed to do.

 This for some reason does not work under mkiv.

Confirmed. And I don't know if it has ever worked in MkIV.

Marco


signature.asc
Description: Digital signature
___
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] outer floats on doublesided pages

2013-09-10 Thread Jörg Hagmann
Maybe what I did helps: see Figures III on
http://wiki.contextgarden.net/Biochemistry_textbook.  Although I used
mkII at the time.

Cheers, Jörg

R. Ermers writes:

 Hi Marco,

 Thank you very much indeed for your reply. This topic apparently does not 
 interest many people.

 In your suggestion the figures are put in the outer margin in a vertical row 
 below one another close to the top of the page, and not near the position in 
 the text.

 I want them positioned close to the place in the text which should flow 
 around them. I have seen examples of this made by Context. This can be 
 obtained by specifying default=left, or default=right, only I need the 
 figures to protrude into the (outer) margin. This for some reason does not 
 work under mkiv.

 I still have some time, but my deadline is approaching.

 Thanks again!

 Kind regards,

 Robert


 Op 10 sep. 2013, om 09:59 heeft Marco Patzer het volgende geschreven:

 On 2013–09–10 R. Ermers wrote:
 
 I have problems with the placement of floats. I need them to be
 placed in the outer edge of the text, but Context puts them in the
 middle of the page. The outer, inner, outeredge, inneredge,
 commands do not work. Right and left do work.
 
 You probably confused edge and margin. By default the edge has zero
 width and has to be enabled using \setuplayout.
 
 Preferably the criterium option should also work
 
 \setupexternalfigures
  [location=default]
 
 \setuppagenumbering
  [alternative=doublesided]
 
 \definefloat
  [marginfigure]
  [marginfigures]
  [figure]
 
 \setupfloat
  [marginfigure]
  [default=margin,
   criterium=\marginwidth]
 
 \setupcaption
  [marginfigure]
  [number=no]
 
 \showframe
 \starttext
  \dorecurse{9}{%%
\input knuth
\startplacemarginfigure
  \externalfigure [cow] [width=\recurselevel cm]
\stopplacemarginfigure}
 \stoptext
 
 Marco
___
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] outer floats on doublesided pages

2013-09-10 Thread R. Ermers
Hi Jörg and Marco,

Thanks for your replies.

I have tried the chemistry textbook examples too, especially vignette seems to 
do what I want. I noticed you used mkii at the time, but I have mkiv now. 
Should I return to mkii if I want to obtain this?

Regards,

Robert


Op 10 sep. 2013, om 15:18 heeft Jörg Hagmann het volgende geschreven:

 Maybe what I did helps: see Figures III on
 http://wiki.contextgarden.net/Biochemistry_textbook.  Although I used
 mkII at the time.
 
 Cheers, Jörg
 
 R. Ermers writes:
 
 Hi Marco,
 
 Thank you very much indeed for your reply. This topic apparently does not 
 interest many people.
 
 In your suggestion the figures are put in the outer margin in a vertical row 
 below one another close to the top of the page, and not near the position in 
 the text.
 
 I want them positioned close to the place in the text which should flow 
 around them. I have seen examples of this made by Context. This can be 
 obtained by specifying default=left, or default=right, only I need the 
 figures to protrude into the (outer) margin. This for some reason does not 
 work under mkiv.
 
 I still have some time, but my deadline is approaching.
 
 Thanks again!
 
 Kind regards,
 
 Robert
 
 
 Op 10 sep. 2013, om 09:59 heeft Marco Patzer het volgende geschreven:
 
 On 2013–09–10 R. Ermers wrote:
 
 I have problems with the placement of floats. I need them to be
 placed in the outer edge of the text, but Context puts them in the
 middle of the page. The outer, inner, outeredge, inneredge,
 commands do not work. Right and left do work.
 
 You probably confused edge and margin. By default the edge has zero
 width and has to be enabled using \setuplayout.
 
 Preferably the criterium option should also work
 
 \setupexternalfigures
 [location=default]
 
 \setuppagenumbering
 [alternative=doublesided]
 
 \definefloat
 [marginfigure]
 [marginfigures]
 [figure]
 
 \setupfloat
 [marginfigure]
 [default=margin,
  criterium=\marginwidth]
 
 \setupcaption
 [marginfigure]
 [number=no]
 
 \showframe
 \starttext
 \dorecurse{9}{%%
   \input knuth
   \startplacemarginfigure
 \externalfigure [cow] [width=\recurselevel cm]
   \stopplacemarginfigure}
 \stoptext
 
 Marco
 ___
 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
___


[NTG-context] outer floats on doublesided pages UNSOLVED

2013-09-10 Thread R. Ermers
Hi,

Does anyone know if positioning figures  protruding into the outer margin can 
be done in mkiv?

Regards,

Robert


 Hi Jörg and Marco,
 
 Thanks for your replies.
 
 I have tried the chemistry textbook examples too, especially vignette seems 
 to do what I want. I noticed you used mkii at the time, but I have mkiv now. 
 Should I return to mkii if I want to obtain this?
 
 Regards,
 
 Robert
 
 
 Op 10 sep. 2013, om 15:18 heeft Jörg Hagmann het volgende geschreven:
 
 Maybe what I did helps: see Figures III on
 http://wiki.contextgarden.net/Biochemistry_textbook.  Although I used
 mkII at the time.
 
 Cheers, Jörg
 
 R. Ermers writes:
 
 Hi Marco,
 
 Thank you very much indeed for your reply. This topic apparently does not 
 interest many people.
 
 In your suggestion the figures are put in the outer margin in a vertical 
 row below one another close to the top of the page, and not near the 
 position in the text.
 
 I want them positioned close to the place in the text which should flow 
 around them. I have seen examples of this made by Context. This can be 
 obtained by specifying default=left, or default=right, only I need the 
 figures to protrude into the (outer) margin. This for some reason does not 
 work under mkiv.
 
 I still have some time, but my deadline is approaching.
 
 Thanks again!
 
 Kind regards,
 
 Robert
 
 
 Op 10 sep. 2013, om 09:59 heeft Marco Patzer het volgende geschreven:
 
 On 2013–09–10 R. Ermers wrote:
 
 I have problems with the placement of floats. I need them to be
 placed in the outer edge of the text, but Context puts them in the
 middle of the page. The outer, inner, outeredge, inneredge,
 commands do not work. Right and left do work.
 
 You probably confused edge and margin. By default the edge has zero
 width and has to be enabled using \setuplayout.
 
 Preferably the criterium option should also work
 
 \setupexternalfigures
 [location=default]
 
 \setuppagenumbering
 [alternative=doublesided]
 
 \definefloat
 [marginfigure]
 [marginfigures]
 [figure]
 
 \setupfloat
 [marginfigure]
 [default=margin,
 criterium=\marginwidth]
 
 \setupcaption
 [marginfigure]
 [number=no]
 
 \showframe
 \starttext
 \dorecurse{9}{%%
  \input knuth
  \startplacemarginfigure
\externalfigure [cow] [width=\recurselevel cm]
  \stopplacemarginfigure}
 \stoptext
 
 Marco
 ___
 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
___


[NTG-context] outer floats on doublesided pages

2013-09-07 Thread R. Ermers
Dear all,

I have problems with the placement of floats. I need them to be placed in the 
outer edge of the text, but Context puts them in the middle of the page. The 
outer, inner, outeredge, inneredge, commands do not work. Right and left do 
work.

Preferably the criterium option should also work, e.g. criterium=0.67.
A minimal test file is attached. Try it out with a dummy, or with cow picture, 
or with any other picture of your liking.

I updated my context installation today to a bèta version. The version is: 
2013.08.30 02.05.

All help is welcome!
Many thanks in advance,

Robert



tmp1.tex
Description: Binary data


%%

\setuppapersize[A4][A4]

\setuppagenumbering[alternative=doublesided,location=footer]

\definefloat[edgefigure][figure]

\setupfloat
 [edgefigure]
 [leftmargindistance=-\outercombitotal,
  rightmargindistance=-\outercombitotal,
  default={outer,none,low,high}]

\setupcaption[edgefigure][number=no]

\useexternalfigure[cow][./cow.pdf]

\starttext

\startsection[title={insight},reference=insight]

\placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
When the first volume of Donald Knuth's The Art of Computer Programming was 
published in 1969, it was typeset using hot metal type set by a Monotype 
Corporation typecaster with a hot metal typesetting machine from the 19th 
century which produced a good classic style appreciated by Knuth. When the 
second edition of the second volume was published, in 1976, the whole book had 
to be typeset again because the Monotype technology had been largely replaced 
by photographic techniques, and the original fonts were no longer available.[4] 
When Knuth received the galley proofs of the new book on 30 March 1977, he 
found them awful.[5] Around that time, Knuth saw for the first time the output 
of a high-quality digital typesetting system, and became interested in digital 
typography. The disappointing galley proofs gave him the final motivation to 
solve the problem at hand once and for all by designing his own typesetting 
system. On 13 May 1977, he wrote a memo to himself describing the basic 
features of TeX.[6]

\placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
He planned to finish it on his sabbatical in 1978, but as it happened the 
language was not frozen until 1989, more than ten years later. Guy Steele 
happened to be at Stanford during the summer of 1978, when Knuth was developing 
his first version of TeX. When Steele returned to MIT that autumn, he rewrote 
TeX's I/O to run under the ITS operating system. The first version of TeX was 
written in the SAIL programming language to run on a PDP-10 under Stanford's 
WAITS operating system. For later versions of TeX, Knuth invented the concept 
of literate programming, a way of producing compilable source code and 
cross-linked documentation typeset in TeX from the same original file. The 
language used is called WEB and produces programs in DEC PDP-10 Pascal.


\placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
When the first volume of Donald Knuth's The Art of Computer Programming was 
published in 1969, it was typeset using hot metal type set by a Monotype 
Corporation typecaster with a hot metal typesetting machine from the 19th 
century which produced a good classic style appreciated by Knuth. When the 
second edition of the second volume was published, in 1976, the whole book had 
to be typeset again because the Monotype technology had been largely replaced 
by photographic techniques, and the original fonts were no longer available.[4] 
When Knuth received the galley proofs of the new book on 30 March 1977, he 
found them awful.[5] Around that time, Knuth saw for the first time the output 
of a high-quality digital typesetting system, and became interested in digital 
typography. The disappointing galley proofs gave him the final motivation to 
solve the problem at hand once and for all by designing his own typesetting 
system. On 13 May 1977, he wrote a memo to himself describing the basic 
features of TeX.[6]
He planned to finish it on his sabbatical in 1978, but as it happened the 
language was not frozen until 1989, more than ten years later. Guy Steele 
happened to be at Stanford during the summer of 1978, when Knuth was developing 
his first version of TeX. When Steele returned to MIT that autumn, he rewrote 
TeX's I/O to run under the ITS operating system. The first version of TeX was 
written in the SAIL programming language to run on a PDP-10 under Stanford's 
WAITS operating system. For later versions of TeX, Knuth invented the concept 
of literate programming, a way of producing compilable source code and 
cross-linked documentation typeset in TeX from the same original file. The 
language used is called WEB and produces programs in DEC PDP-10 Pascal.

\stopsection

\stoptext



___
If your question is 

Re: [NTG-context] outer floats on doublesided pages

2013-09-03 Thread R. Ermers
Dear all,

Does anyone know what causes this problem? Is it a bug?

Regards,

Robert


Op 30 aug. 2013, om 19:08 heeft R. Ermers het volgende geschreven:

 Dear all,
 
 I have problems with the placement of floats. I need them to be placed in the 
 outer edge of the text, but Context puts them in the middle of the page. The 
 outer, inner, outeredge, inneredge, commands do not work. Right and left do 
 work.
 
 Preferably the criterium option should also work, e.g. criterium=0.67.
 A minimal test file is attached. Try it out with a dummy, or with cow 
 picture, or with any other picture of your liking.
 
 I updated my context installation today to a bèta version. The version is: 
 2013.08.30 02.05.
 
 All help is welcome!
 Many thanks in advance,
 
 Robert
 
 tmp1.tex
 
 %%
 
 \setuppapersize[A4][A4]
 
 \setuppagenumbering[alternative=doublesided,location=footer]
 
 \definefloat[edgefigure][figure]
 
 \setupfloat
  [edgefigure]
  [leftmargindistance=-\outercombitotal,
   rightmargindistance=-\outercombitotal,
   default={outer,none,low,high}]
 
 \setupcaption[edgefigure][number=no]
 
 \useexternalfigure[cow][./cow.pdf]
 
 \starttext
 
 \startsection[title={insight},reference=insight]
 
 \placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
 When the first volume of Donald Knuth's The Art of Computer Programming was 
 published in 1969, it was typeset using hot metal type set by a Monotype 
 Corporation typecaster with a hot metal typesetting machine from the 19th 
 century which produced a good classic style appreciated by Knuth. When the 
 second edition of the second volume was published, in 1976, the whole book 
 had to be typeset again because the Monotype technology had been largely 
 replaced by photographic techniques, and the original fonts were no longer 
 available.[4] When Knuth received the galley proofs of the new book on 30 
 March 1977, he found them awful.[5] Around that time, Knuth saw for the first 
 time the output of a high-quality digital typesetting system, and became 
 interested in digital typography. The disappointing galley proofs gave him 
 the final motivation to solve the problem at hand once and for all by 
 designing his own typesetting system. On 13 May 1977, he wrote a memo to 
 himself describing the basic features of TeX.[6]
 
 \placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
 He planned to finish it on his sabbatical in 1978, but as it happened the 
 language was not frozen until 1989, more than ten years later. Guy Steele 
 happened to be at Stanford during the summer of 1978, when Knuth was 
 developing his first version of TeX. When Steele returned to MIT that autumn, 
 he rewrote TeX's I/O to run under the ITS operating system. The first version 
 of TeX was written in the SAIL programming language to run on a PDP-10 under 
 Stanford's WAITS operating system. For later versions of TeX, Knuth invented 
 the concept of literate programming, a way of producing compilable source 
 code and cross-linked documentation typeset in TeX from the same original 
 file. The language used is called WEB and produces programs in DEC PDP-10 
 Pascal.
 
 
 \placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
 When the first volume of Donald Knuth's The Art of Computer Programming was 
 published in 1969, it was typeset using hot metal type set by a Monotype 
 Corporation typecaster with a hot metal typesetting machine from the 19th 
 century which produced a good classic style appreciated by Knuth. When the 
 second edition of the second volume was published, in 1976, the whole book 
 had to be typeset again because the Monotype technology had been largely 
 replaced by photographic techniques, and the original fonts were no longer 
 available.[4] When Knuth received the galley proofs of the new book on 30 
 March 1977, he found them awful.[5] Around that time, Knuth saw for the first 
 time the output of a high-quality digital typesetting system, and became 
 interested in digital typography. The disappointing galley proofs gave him 
 the final motivation to solve the problem at hand once and for all by 
 designing his own typesetting system. On 13 May 1977, he wrote a memo to 
 himself describing the basic features of TeX.[6]
 He planned to finish it on his sabbatical in 1978, but as it happened the 
 language was not frozen until 1989, more than ten years later. Guy Steele 
 happened to be at Stanford during the summer of 1978, when Knuth was 
 developing his first version of TeX. When Steele returned to MIT that autumn, 
 he rewrote TeX's I/O to run under the ITS operating system. The first version 
 of TeX was written in the SAIL programming language to run on a PDP-10 under 
 Stanford's WAITS operating system. For later versions of TeX, Knuth invented 
 the concept of literate programming, a way of producing compilable source 
 code and cross-linked documentation typeset in TeX from the same 

[NTG-context] outer floats on doublesided pages

2013-08-30 Thread R. Ermers
Dear all,

I have problems with the placement of floats. I need them to be placed in the 
outer edge of the text, but Context puts them in the middle of the page. The 
outer, inner, outeredge, inneredge, commands do not work. Right and left do 
work.

Preferably the criterium option should also work, e.g. criterium=0.67.
A minimal test file is attached. Try it out with a dummy, or with cow picture, 
or with any other picture of your liking.

I updated my context installation today to a bèta version. The version is: 
2013.08.30 02.05.

All help is welcome!
Many thanks in advance,

Robert



tmp1.tex
Description: Binary data


%%

\setuppapersize[A4][A4]

\setuppagenumbering[alternative=doublesided,location=footer]

\definefloat[edgefigure][figure]

\setupfloat
  [edgefigure]
  [leftmargindistance=-\outercombitotal,
   rightmargindistance=-\outercombitotal,
   default={outer,none,low,high}]

\setupcaption[edgefigure][number=no]

\useexternalfigure[cow][./cow.pdf]

\starttext

\startsection[title={insight},reference=insight]

\placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
When the first volume of Donald Knuth's The Art of Computer Programming was 
published in 1969, it was typeset using hot metal type set by a Monotype 
Corporation typecaster with a hot metal typesetting machine from the 19th 
century which produced a good classic style appreciated by Knuth. When the 
second edition of the second volume was published, in 1976, the whole book had 
to be typeset again because the Monotype technology had been largely replaced 
by photographic techniques, and the original fonts were no longer available.[4] 
When Knuth received the galley proofs of the new book on 30 March 1977, he 
found them awful.[5] Around that time, Knuth saw for the first time the output 
of a high-quality digital typesetting system, and became interested in digital 
typography. The disappointing galley proofs gave him the final motivation to 
solve the problem at hand once and for all by designing his own typesetting 
system. On 13 May 1977, he wrote a memo to himself describing the basic 
features of TeX.[6]

\placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
He planned to finish it on his sabbatical in 1978, but as it happened the 
language was not frozen until 1989, more than ten years later. Guy Steele 
happened to be at Stanford during the summer of 1978, when Knuth was developing 
his first version of TeX. When Steele returned to MIT that autumn, he rewrote 
TeX's I/O to run under the ITS operating system. The first version of TeX was 
written in the SAIL programming language to run on a PDP-10 under Stanford's 
WAITS operating system. For later versions of TeX, Knuth invented the concept 
of literate programming, a way of producing compilable source code and 
cross-linked documentation typeset in TeX from the same original file. The 
language used is called WEB and produces programs in DEC PDP-10 Pascal.


\placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}}
When the first volume of Donald Knuth's The Art of Computer Programming was 
published in 1969, it was typeset using hot metal type set by a Monotype 
Corporation typecaster with a hot metal typesetting machine from the 19th 
century which produced a good classic style appreciated by Knuth. When the 
second edition of the second volume was published, in 1976, the whole book had 
to be typeset again because the Monotype technology had been largely replaced 
by photographic techniques, and the original fonts were no longer available.[4] 
When Knuth received the galley proofs of the new book on 30 March 1977, he 
found them awful.[5] Around that time, Knuth saw for the first time the output 
of a high-quality digital typesetting system, and became interested in digital 
typography. The disappointing galley proofs gave him the final motivation to 
solve the problem at hand once and for all by designing his own typesetting 
system. On 13 May 1977, he wrote a memo to himself describing the basic 
features of TeX.[6]
He planned to finish it on his sabbatical in 1978, but as it happened the 
language was not frozen until 1989, more than ten years later. Guy Steele 
happened to be at Stanford during the summer of 1978, when Knuth was developing 
his first version of TeX. When Steele returned to MIT that autumn, he rewrote 
TeX's I/O to run under the ITS operating system. The first version of TeX was 
written in the SAIL programming language to run on a PDP-10 under Stanford's 
WAITS operating system. For later versions of TeX, Knuth invented the concept 
of literate programming, a way of producing compilable source code and 
cross-linked documentation typeset in TeX from the same original file. The 
language used is called WEB and produces programs in DEC PDP-10 Pascal.

\stopsection

\stoptext



___
If your question