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: Placement of figures
Date: Thu, 13 Jan 2022 18:29:25 +0100 [thread overview]
Message-ID: <6C103630-5797-4361-97F0-44A1B68CC9D6@boede.nl> (raw)
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
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.
[-- Attachment #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 #3: 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 #4: Type: text/plain, Size: 62 bytes --]
May be somebody can give me a hint how to solve this.
Willi
[-- Attachment #5: 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
___________________________________________________________________________________
next reply other threads:[~2022-01-13 17:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-13 17:29 Willi Egger via ntg-context [this message]
2022-01-24 22:58 ` Fwd: " Willi Egger via ntg-context
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=6C103630-5797-4361-97F0-44A1B68CC9D6@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).