lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

@Diag: Nested definitions, 'translate' and arrows


From: Ludovic Courtès
Subject: @Diag: Nested definitions, 'translate' and arrows
Date: Wed, 11 Dec 2002 00:06:24 +0100
User-agent: Mutt/1.3.28i

Hi,

I'm having troubles using @Diag and the 'translate' option.  I get an
"unknown or misspelt label" error for "address@hidden@@SUB1" in the following
figure :

  @Diag
  {
  ROOT:: @CurveBox margin { 3f } {
    SUB1:: @CurveBox margin { 1f } {
      @Circle |1f @Circle
    }
    |3f
    SUB2:: @CurveBox margin { 1f } {
      @Circle |1f @Circle /1f @Circle }
  } # ROOT

  //
  @Circle translate { CTR to address@hidden }         paint { white }  { }
  @Circle translate { CTR to address@hidden@address@hidden } paint { white }  { 
}

  @Arrow from { address@hidden@address@hidden } to { address@hidden }
  }

Removing the second "@Circle translate" solves the problem.  Is there a reason
why this tag should not be recognized in the 'translate' option?

Secondly, arrows from inner objects to outer objects (or vice-versa) do not
seem to work (the arrow head points in the wrong direction).  Is there a
work-around?

Finally, on page 181 of the 3.27 User's Manual, the @Code thing at the bottom
of the page appears while we would expect to actually see the code I think. ;)

Thanks,
Ludovic.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]