ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "R. Ermers" <r.ermers@hccnet.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: outer floats on doublesided pages
Date: Tue, 10 Sep 2013 08:23:56 +0200	[thread overview]
Message-ID: <104B8316-B3DE-47BA-A556-2E5C18D9D9AA@hccnet.nl> (raw)

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

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


[-- Attachment #2: tmp1.tex --]
[-- Type: application/octet-stream, Size: 4374 bytes --]

%engine=luatex
%\enableregime[utf8]
\setuppapersize[A4][A4]

\setuppagenumbering[alternative=doublesided,location=footer]

\definefloat[edgefigure][figure]

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

\setupcaption[edgefigure][number=no]

%\setupexternalfigures[directory={./../../MOP}]

\useexternalfigure[cow][./maatschstatus.jpg]

%\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=250]}}
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=250]}}
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

[-- Attachment #3: Type: text/plain, Size: 5244 bytes --]



%%%%%%%%%%%%%%%%%%

\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 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
___________________________________________________________________________________

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

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

             reply	other threads:[~2013-09-10  6:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10  6:23 R. Ermers [this message]
2013-09-10  7:59 ` Marco Patzer
2013-09-10 12:13   ` R. Ermers
2013-09-10 13:04     ` Marco Patzer
2013-09-10 13:18     ` Jörg Hagmann
2013-09-10 13:30       ` R. Ermers
2013-09-10 20:05         ` outer floats on doublesided pages UNSOLVED R. Ermers
2013-09-14  5:25           ` R. Ermers
2013-09-17 10:17             ` Tim Steenvoorden
2013-09-17 15:28             ` Hans Hagen
2013-09-17 15:52               ` outer floats on doublesided pages R. Ermers
2013-09-18  8:51               ` outer floats on doublesided pages UNSOLVED Tim Steenvoorden
2013-10-01  9:46                 ` Tim Steenvoorden
2013-09-30 20:26               ` john Culleton
  -- strict thread matches above, loose matches on Subject: below --
2013-09-07 10:29 outer floats on doublesided pages R. Ermers
2013-08-30 17:08 R. Ermers
2013-09-03  7:54 ` R. Ermers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=104B8316-B3DE-47BA-A556-2E5C18D9D9AA@hccnet.nl \
    --to=r.ermers@hccnet.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).