* Unwanted change of paper size; extra opt for \externalfigure
@ 2011-06-08 9:29 Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-08 9:39 ` luigi scarso
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-06-08 9:29 UTC (permalink / raw)
To: ConTeXt
[-- Attachment #1: Type: text/plain, Size: 821 bytes --]
Hello,
see the following example:
----
\starttext
AAA
\startTEXpage
\rotate[rotation=-90]{\externalfigure[Model.pdf]}
\stopTEXpage
% Paper size is 297 * 297 mm from now?!
BBB
\stoptext
----
Why the last paper size becomes 297 x 297 mm?
Suggestion:
Wouldn't be good to have an option "rotation" (among "scale", "factor", width"...) to rotate the inserted figure, at least in multiples of 90 degrees? To allow something like:
\externalfigure[Model.pdf][width=180mm,rotation=-90]
Best regards,
Lukas
(ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.5.18, WinXP)
--
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 244 062 238
Fax: +420 244 461 038
[-- Attachment #2: Model.pdf --]
[-- Type: application/pdf, Size: 16883 bytes --]
[-- Attachment #3: RotFig.mkiv --]
[-- Type: application/octet-stream, Size: 129 bytes --]
\starttext
AAA
\startTEXpage
\rotate[rotation=-90]{\externalfigure[Model.pdf]}
\stopTEXpage
BBB
\stoptext
[-- Attachment #4: RotFig.pdf --]
[-- Type: application/pdf, Size: 18613 bytes --]
[-- Attachment #5: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unwanted change of paper size; extra opt for \externalfigure
2011-06-08 9:29 Unwanted change of paper size; extra opt for \externalfigure Procházka Lukáš Ing. - Pontex s. r. o.
@ 2011-06-08 9:39 ` luigi scarso
2011-06-08 9:44 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-08 10:09 ` Marco
2011-06-10 0:06 ` Marco
2 siblings, 1 reply; 9+ messages in thread
From: luigi scarso @ 2011-06-08 9:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
2011/6/8 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>:
> Hello,
>
> see the following example:
>
> ----
> \starttext
> AAA
>
> \startTEXpage
> \rotate[rotation=-90]{\externalfigure[Model.pdf]}
> \stopTEXpage
>
> % Paper size is 297 * 297 mm from now?!
>
> BBB
> \stoptext
> ----
>
> Why the last paper size becomes 297 x 297 mm?
what are the dimensions of Model.pdf ?
--
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unwanted change of paper size; extra opt for \externalfigure
2011-06-08 9:39 ` luigi scarso
@ 2011-06-08 9:44 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-08 10:01 ` luigi scarso
0 siblings, 1 reply; 9+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-06-08 9:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, 08 Jun 2011 11:39:50 +0200, luigi scarso <luigi.scarso@gmail.com> wrote:
> what are the dimensions of Model.pdf ?
210 x 297 mm.
Lukas
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unwanted change of paper size; extra opt for \externalfigure
2011-06-08 9:44 ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2011-06-08 10:01 ` luigi scarso
2011-06-08 12:27 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 1 reply; 9+ messages in thread
From: luigi scarso @ 2011-06-08 10:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
Not sure if it's a bug, but this fixes the situation (assuming A4 on A4)
\starttext
AAA
\startTEXpage
\rotate[rotation=-90]{\externalfigure[Model.pdf]}
\stopTEXpage
\setuppapersize[A4][A4]
% Paper size is 297 * 297 mm from now?!
BBB
\stoptext
--
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unwanted change of paper size; extra opt for \externalfigure
2011-06-08 9:29 Unwanted change of paper size; extra opt for \externalfigure Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-08 9:39 ` luigi scarso
@ 2011-06-08 10:09 ` Marco
2011-06-10 0:06 ` Marco
2 siblings, 0 replies; 9+ messages in thread
From: Marco @ 2011-06-08 10:09 UTC (permalink / raw)
To: ntg-context
On 2011-06-08 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote:
> Hello,
>
> see the following example:
>
> ----
> \starttext
> AAA
>
> \startTEXpage
> \rotate[rotation=-90]{\externalfigure[Model.pdf]}
> \stopTEXpage
>
> % Paper size is 297 * 297 mm from now?!
>
> BBB
> \stoptext
Shorter example:
\starttext
Foo
\startTEXpage [height=21cm, width=40cm]
\stopTEXpage
Bar
\stoptext
When the width of the TeXpage is larger than the preceding
page the following pages also get larger, a smaller size
works. I don't thing this behaviour is intended.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unwanted change of paper size; extra opt for \externalfigure
2011-06-08 10:01 ` luigi scarso
@ 2011-06-08 12:27 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 0 replies; 9+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-06-08 12:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, 08 Jun 2011 12:01:04 +0200, luigi scarso <luigi.scarso@gmail.com> wrote:
> Not sure if it's a bug, but this fixes the situation (assuming A4 on A4)
> \starttext
> AAA
>
> \startTEXpage
> \rotate[rotation=-90]{\externalfigure[Model.pdf]}
> \stopTEXpage
> \setuppapersize[A4][A4]
> % Paper size is 297 * 297 mm from now?!
>
> BBB
> \stoptext
>
OK,
...
\stopTEXpage
\setuppapersize[reset]
works as well.
So there is still the question - whether the behaviour is intended.
Lukas
--
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 244 062 238
Fax: +420 244 461 038
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unwanted change of paper size; extra opt for \externalfigure
2011-06-08 9:29 Unwanted change of paper size; extra opt for \externalfigure Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-08 9:39 ` luigi scarso
2011-06-08 10:09 ` Marco
@ 2011-06-10 0:06 ` Marco
2011-06-10 7:00 ` Wolfgang Schuster
2 siblings, 1 reply; 9+ messages in thread
From: Marco @ 2011-06-10 0:06 UTC (permalink / raw)
To: ntg-context
On 2011-06-08 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote:
> Wouldn't be good to have an option "rotation" (among
> "scale", "factor", width"...) to rotate the inserted
> figure, at least in multiples of 90 degrees? To allow
> something like:
>
> \externalfigure[Model.pdf][width=180mm,rotation=-90]
Rotation and clipping is implemented as separate commands,
I don't know about the reason, not to have them as well in
\externalfigure.
But it's implemented in \placefigure. Beware: \placefigure
bites you if you provide negative angles ;)
\placefigure[270][]{none}{\externalfigure[Model.pdf]}
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unwanted change of paper size; extra opt for \externalfigure
2011-06-10 0:06 ` Marco
@ 2011-06-10 7:00 ` Wolfgang Schuster
2011-06-10 10:16 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-06-10 7:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 10.06.2011 um 02:06 schrieb Marco:
> On 2011-06-08 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote:
>
>> Wouldn't be good to have an option "rotation" (among
>> "scale", "factor", width"...) to rotate the inserted
>> figure, at least in multiples of 90 degrees? To allow
>> something like:
>>
>> \externalfigure[Model.pdf][width=180mm,rotation=-90]
>
> Rotation and clipping is implemented as separate commands,
> I don't know about the reason, not to have them as well in
> \externalfigure.
Clipping isn’t but rotation is (inherited from \framed):
\externalfigure[...][orientation=-90]
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unwanted change of paper size; extra opt for \externalfigure
2011-06-10 7:00 ` Wolfgang Schuster
@ 2011-06-10 10:16 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 0 replies; 9+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-06-10 10:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thanks, -
On Fri, 10 Jun 2011 09:00:32 +0200, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
> \externalfigure[...][orientation=-90]
>
> Wolfgang
- "orientation" looks useful - I'll try it later.
Anyway, I've added the option to wiki; it was not mentioned there.
Best regards,
Lukas
--
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 244 062 238
Fax: +420 244 461 038
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-06-10 10:16 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-08 9:29 Unwanted change of paper size; extra opt for \externalfigure Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-08 9:39 ` luigi scarso
2011-06-08 9:44 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-08 10:01 ` luigi scarso
2011-06-08 12:27 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-08 10:09 ` Marco
2011-06-10 0:06 ` Marco
2011-06-10 7:00 ` Wolfgang Schuster
2011-06-10 10:16 ` Procházka Lukáš Ing. - Pontex s. r. o.
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).