ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: 3D annotations problems
Date: Sun, 9 Sep 2012 14:52:46 +0200	[thread overview]
Message-ID: <2B434427-B38D-4CB3-8B5D-83076996C178@gmail.com> (raw)
In-Reply-To: <CALDha9NVjtOsykm5jRKh6myKnBhabWRce53YtrOQTYOJn0fjoA@mail.gmail.com>


Am 09.09.2012 um 11:00 schrieb Michail Vidiassov <master@iaas.msu.ru>:

> Dear Hans and All,
> 
> 
> On Sat, Aug 18, 2012 at 10:00 PM, Michail Vidiassov <master@iaas.msu.ru> wrote:
>> the examples from back-u3d.mkiv fail to work with latest beta
>> (rectangled "undefined" message appears instead of annotation),
>> but if "\textwidth" is replaced by "in" in the tex file 3D annotations
>> appear OK.
> 
> in the latest minimals (2012.09.06 23:03) the following  example from
> back-u3d.mkiv fails to work
> 
> \useexternalfigure  [test]  [test.prc]  [width=0.5\textwidth,
> height=0.5\textwidth, display=u3d:myset:display:1,
> controls=u3d:myset:controls:1]
> \placefigure[here]{3d test}{\externalfigure[test]}
> 
> while after getting rid of \texwidth the following does:
> 
> \useexternalfigure  [test]  [test.prc]  [width=3in,   height=3in,
> display=u3d:myset:display:1, controls=u3d:myset:controls:1]
> \placefigure[here]{3d test}{\externalfigure[test]}
> 
> Is it a bug of the example got wrong with some changes in ConTeXt.

It should work when you use “width=\the\dimexpr\textwidth/2\relax” or “width=\the\dimexpr0.5\textwidth\relax”.

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
___________________________________________________________________________________


  reply	other threads:[~2012-09-09 12:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-18 18:00 Michail Vidiassov
2012-09-09  9:00 ` Michail Vidiassov
2012-09-09 12:52   ` Wolfgang Schuster [this message]
2012-09-09 14:02     ` Michail Vidiassov
2012-09-09 14:07       ` Michail Vidiassov
2012-09-09 16:38         ` Wolfgang Schuster

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=2B434427-B38D-4CB3-8B5D-83076996C178@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --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).