Re: [NTG-context] Rotating externalfigure
Wolfgang, Interesting. I was able to reproduce the problem with your verbatim minimal example: \starttext \input knuth \placefigure[left]{Cow}{\externalfigure[cow][frame=on, scale=500, orientation=90]} \input knuth \input knuth \stoptext I have uploaded the result here: http://www.sendspace.com/file/rmbsrj The cow gets rotated but protrudes the frame at the top overlaying the text. Just in case it is relevant, here is my context version: ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.12.6 int: english/english Thank you for looking into this. Regards, Malte. On 29/03/2012, at 19:51, ntg-context-request@ntg.nl wrote:
Send ntg-context mailing list submissions to ntg-context@ntg.nl
To subscribe or unsubscribe via the World Wide Web, visit http://www.ntg.nl/mailman/listinfo/ntg-context or, via email, send a message with subject or body 'help' to ntg-context-request@ntg.nl
You can reach the person managing the list at ntg-context-owner@ntg.nl
When replying, please edit your Subject line so it is more specific than "Re: Contents of ntg-context digest..."
Today's Topics:
1. Re: Rotating externalfigure (Wolfgang Schuster) 2. Removing the quotes from the results of the reference links (Jaroslav Hajtmar) 3. Re: Removing the quotes from the results of the reference links (Wolfgang Schuster) 4. Re: Removing the quotes from the results of the reference links (Alan BRASLAU) 5. Re: Removing the quotes from the results of the reference links (Steffen Wolfrum) 6. Re: Removing the quotes from the results of the reference links (Hans Hagen) 7. Re: Removing the quotes from the results of the reference links (Mojca Miklavec) 8. Re: Removing the quotes from the results of the reference links (Hans Hagen)
----------------------------------------------------------------------
Message: 1 Date: Thu, 29 Mar 2012 08:37:03 +0200 From: Wolfgang Schuster
To: mailing list for ConTeXt users Subject: Re: [NTG-context] Rotating externalfigure Message-ID: <5B98FDA3-DD52-47AB-8E5C-CE2B8DCA29E1@googlemail.com> Content-Type: text/plain; charset=windows-1252 Am 29.03.2012 um 01:07 schrieb Malte Stien:
Hi all,
I am trying to rotate a figure on a page. I believe it should work as follows:
\placefigure[left]{Some figure caption}{\externalfigure[some-figure-caption][orientation=90]}
...and the figure does indeed get rotated, but the bounding box appears to be incorrect. The figure ends up being far too small and actually overlays the text above it. I found a couple of posts on the mailing list from years ago regarding this, where people seemed to have related issues.
Is there a solution to this? Should this work or am I doing something wrong? I could rotate the figure in the source application, but that is not ideal.
Do you have a example because I can?t reproduce it with this example.
\starttext
\input knuth
\placefigure[left]{Cow}{\externalfigure[cow][frame=on,scale=500,orientation=90]} \input knuth
\input knuth
\stoptext
Wolfgang
------------------------------
Message: 2 Date: Thu, 29 Mar 2012 08:50:06 +0200 From: Jaroslav Hajtmar
To: mailing list for ConTeXt users Subject: [NTG-context] Removing the quotes from the results of the reference links Message-ID: <4F74061E.7000007@gyza.cz> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Hello all, I can not find a way to remove the quotes from the results of the reference link Can someone help?
Thanx Jaroslav Hajtmar
Here is minimal example:
\starttext
\section[first]{First}
\subsection[second]{Second}
\input tufte
\in{(see section}{ \about[second] at page \at[second])}[second].
\stoptext
------------------------------
Message: 3 Date: Thu, 29 Mar 2012 08:55:17 +0200 From: Wolfgang Schuster
To: hajtmar@gyza.cz, mailing list for ConTeXt users Subject: Re: [NTG-context] Removing the quotes from the results of the reference links Message-ID: <6FE579FE-6E5B-457E-B311-495FD89F5D72@googlemail.com> Content-Type: text/plain; charset=us-ascii Am 29.03.2012 um 08:50 schrieb Jaroslav Hajtmar:
Hello all, I can not find a way to remove the quotes from the results of the reference link Can someone help?
Use \getreference[title][second] to print the title of the heading.
Wolfgang
------------------------------
Message: 4 Date: Thu, 29 Mar 2012 09:11:34 +0200 From: Alan BRASLAU
To: mailing list for ConTeXt users Subject: Re: [NTG-context] Removing the quotes from the results of the reference links Message-ID: <20120329091134.66da5b65@sole.extra.cea.fr> Content-Type: text/plain; charset=US-ASCII On Thu, 29 Mar 2012 08:50:06 +0200 Jaroslav Hajtmar
wrote: Hello all, I can not find a way to remove the quotes from the results of the reference link Can someone help?
On a similar line, concerning syntax (but not references), the braces grouping keywords get passed on to the pdf properties:
\setupinteraction [keyword={syntax, braces, commas}]
Is this a bug or else the incorrect use of braces?
Alan
------------------------------
Message: 5 Date: Thu, 29 Mar 2012 09:42:48 +0200 From: Steffen Wolfrum
To: hajtmar@gyza.cz, mailing list for ConTeXt users Subject: Re: [NTG-context] Removing the quotes from the results of the reference links Message-ID: Content-Type: text/plain; charset=us-ascii Hi Jaroslav,
Am 29.03.2012 um 08:50 schrieb Jaroslav Hajtmar:
Hello all, I can not find a way to remove the quotes from the results of the reference link Can someone help?
Thanx Jaroslav Hajtmar
Here is minimal example:
\starttext
\section[first]{First}
\subsection[second]{Second}
\input tufte
\in{(see section}{ \about[second] at page \at[second])}[second].
\stoptext
I use this:
\setupreferencing[left=,right=,width=]
Steffen
------------------------------
Message: 6 Date: Thu, 29 Mar 2012 10:32:12 +0200 From: Hans Hagen
To: mailing list for ConTeXt users Subject: Re: [NTG-context] Removing the quotes from the results of the reference links Message-ID: <4F741E0C.6080704@wxs.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 29-3-2012 09:11, Alan BRASLAU wrote:
On Thu, 29 Mar 2012 08:50:06 +0200 Jaroslav Hajtmar
wrote: Hello all, I can not find a way to remove the quotes from the results of the reference link Can someone help?
On a similar line, concerning syntax (but not references), the braces grouping keywords get passed on to the pdf properties:
\setupinteraction [keyword={syntax, braces, commas}]
Is this a bug or else the incorrect use of braces?
That's weird, as here I get no { } in the properties shown by acrobat and the xml blob in the pdf has
pdf:Keywordssyntax braces commas
Hans
----------------------------------------------------------------- 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 -----------------------------------------------------------------
------------------------------
Message: 7 Date: Thu, 29 Mar 2012 10:41:09 +0200 From: Mojca Miklavec
To: mailing list for ConTeXt users Subject: Re: [NTG-context] Removing the quotes from the results of the reference links Message-ID: Content-Type: text/plain; charset=UTF-8 On Thu, Mar 29, 2012 at 10:32, Hans Hagen wrote:
On 29-3-2012 09:11, Alan BRASLAU wrote:
On a similar line, concerning syntax (but not references), the braces grouping keywords get passed on to the pdf properties:
\setupinteraction [keyword={syntax, braces, commas}]
Is this a bug or else the incorrect use of braces?
That's weird, as here I get no { } in the properties shown by acrobat and the xml blob in the pdf has
pdf:Keywordssyntax braces commas
I get the braces when there is a space after braces, for example
\setupinteraction [author=me, title={long title} ]
I solved the problem by adding a comma right after the last brace, but I would also call that "a hint of a tiny buglet somewhere" ;)
(It also took me some time to realize that one has to use subtitle instead of subject and keyword instead of keywords.)
Mojca
------------------------------
Message: 8 Date: Thu, 29 Mar 2012 10:51:41 +0200 From: Hans Hagen
To: mailing list for ConTeXt users Cc: Mojca Miklavec Subject: Re: [NTG-context] Removing the quotes from the results of the reference links Message-ID: <4F74229D.9070601@wxs.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 29-3-2012 10:41, Mojca Miklavec wrote:
On Thu, Mar 29, 2012 at 10:32, Hans Hagen wrote:
On 29-3-2012 09:11, Alan BRASLAU wrote:
On a similar line, concerning syntax (but not references), the braces grouping keywords get passed on to the pdf properties:
\setupinteraction [keyword={syntax, braces, commas}]
Is this a bug or else the incorrect use of braces?
That's weird, as here I get no { } in the properties shown by acrobat and the xml blob in the pdf has
pdf:Keywordssyntax braces commas
I get the braces when there is a space after braces, for example
\setupinteraction [author=me, title={long title} ]
I solved the problem by adding a comma right after the last brace, but I would also call that "a hint of a tiny buglet somewhere" ;)
hm, but such a space before is always valid in key/value assignment or ] so there is no difference between
title={long title} ]
title={long title} ,
That has always been the case (ignoring leading an dtrailing spaces of a key would demand parsing token by token and that's not going to happen as it would slow down context a lot (so many parsing all over the place)
----------------------------------------------------------------- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
End of ntg-context Digest, Vol 93, Issue 104 ********************************************
On 29-3-2012 12:31, Malte Stien wrote:
Wolfgang,
Interesting. I was able to reproduce the problem with your verbatim minimal example:
\starttext \input knuth \placefigure[left]{Cow}{\externalfigure[cow][frame=on, scale=500, orientation=90]} \input knuth \input knuth \stoptext
I have uploaded the result here:
http://www.sendspace.com/file/rmbsrj
The cow gets rotated but protrudes the frame at the top overlaying the text. Just in case it is relevant, here is my context version:
ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.12.6 int: english/english
given that mkiv is under development, that's a bit old version Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Malte Stien