ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Willi Egger <context@boede.nl>
Subject: Fwd:  Placement of figures
Date: Mon, 24 Jan 2022 23:58:35 +0100	[thread overview]
Message-ID: <68198FB0-6F42-4C8F-92EC-91781445D074@boede.nl> (raw)
In-Reply-To: <6C103630-5797-4361-97F0-44A1B68CC9D6@boede.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2420 bytes --]

Hi,

I spent this evening again on this issue. It appears that it does not matter, whether the pages are made up with means of the \FilliIn-macro or typed completely page by page. I also tried to use the layer-mechanism. All attempts result in the same misplacement:

odd side of the paper: page 4,14,24, have all the \framed placed considerably lower than the rest
even side of the paper: page 6,16,26 are placed considerably higher than the rest of the pages.

I have really no clue what this is about. — Unfortunately I can not print the book in this way, the movement of the pictures is too visible.

I would really appreciate any hint for improvement.

KR
Willi

> Begin forwarded message:
> 
> From: Willi Egger via ntg-context <ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>>
> Subject: [NTG-context] Placement of figures
> Date: 13 January 2022 at 18:29:25 CET
> To: mailing list for ConTeXt users <ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>>
> Cc: Willi Egger <context@boede.nl <mailto:context@boede.nl>>
> Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>>
> 
> Hi all,
> 
> I have a project with my brother in which 5 foto’s are placed with the XY arrangement in a row. Now we see, that the floats are not placed all on the correct position. I tried all kind of things, but I am not able to fix them in the desired position. — When using the key location=top, all figures are placed correctly. This does not work with location=center.
> 
> I attach the sources in this mai and will send the compiled file in a next mail.


> 
> 
> May be somebody can give me a hint how to solve this.
> 
> Willi___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
> wiki     : http://contextgarden.net <http://contextgarden.net/>
> ___________________________________________________________________________________


[-- Attachment #1.2.1: Type: text/html, Size: 4774 bytes --]

[-- Attachment #1.2.2: stops.dat --]
[-- Type: application/octet-stream, Size: 234 bytes --]

Kienastenwies;47.355100 / 8.600956;621.8;217
Zweiackerstrasse;47.356964 / 8.598041;619.8;229
Loorenstrasse;47.357020 / 8.598115;602.5;159
Berghaldenstrasse;47.358696 / 8.589995;601.7;167
Zentrum Witikon;47.358520 / 8.586097;584.6;176

[-- Attachment #1.2.3: Type: text/html, Size: 501 bytes --]

[-- Attachment #1.2.4: test-placefigures.tex --]
[-- Type: application/octet-stream, Size: 1587 bytes --]

% ConTeXt file
% filename: test-placefigures.tex

\usemodule[t][folding]
\useMPlibrary[dum]
\usemodule[database]


\usetypescriptfile[iwona-medium]
\usetypescript[iwona-medium]
\setupbodyfont[iwona-medium,8pt]

\mainlanguage[de]

\setuptolerance[tolerant,stretch]

\setuppagenumbering[location={footer,right},alternative=singlesided]%,alternative=doublesided]

\setupcaption[figure][number=no]

\setupwhitespace[medium]

\definepapersize[HochformatSeite]
    [width=70mm,
     height=110mm]

\definepapersize[Mypaper]
		[width=350mm,
		 height=110mm]

\setuppapersize[HochformatSeite][Mypaper]

\setuplayout
    [topspace=5.0mm,
     height=middle,
     header=0mm,
     footer=3mm,
     backspace=5.0mm,
     width=middle,
     margin=0mm,
     marking=on,
     location=middle]

\setuppaper[nx=5,ny=1,dx=0pt,dy=0pt]
\setuparranging[XY]

\setupTABLE[column][1][align=right,width=30mm,frame=off]
\setupTABLE[column][2][align=left,width=30mm,frame=off]

\defineseparatedlist
	[Busstopdata]
	[command=\FillIn,
   separator={;}]

\define[4]\FillIn%
	{\page
    {\tfc\bf {#1}}
    \godown[2\lineheight]%[5mm]
    \startplacefigure
        [location=center,title=,number=]
        {\externalfigure[dummy][height=60mm,width=60mm]}
    \stopplacefigure
    \godown[5mm]
    \bTABLE
        \bTR \bTD Winkel zu Nord: \eTD \bTD {#4}° \eTD \eTR
        \bTR \bTD GPS-Koordinaten: \eTD \bTD {#2} \eTD \eTR
        \bTR \bTD Höhe: \eTD \bTD {#3} m \eTD \eTR
    \eTABLE
    \page}

\processseparatedfile[Busstopdata][stops.dat]

[-- Attachment #1.2.5: Type: text/html, Size: 1601 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2022-01-24 22:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-13 17:29 Willi Egger via ntg-context
2022-01-24 22:58 ` Willi Egger via ntg-context [this message]

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=68198FB0-6F42-4C8F-92EC-91781445D074@boede.nl \
    --to=ntg-context@ntg.nl \
    --cc=context@boede.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).