[Therion] Showing qestion mark texts broken?
Benedikt Hallinger
beni at hallinger.org
Sun Dec 23 10:04:17 CET 2018
Hi, no i never had implemented before. Could you please send me your layout and compiler file? I probably made some dumb error somewhere :(
Am 22.12.2018 um 22:55 schrieb Bruce Mutton via Therion <therion at speleo.sk>:
>> and my thconfig export command includes this: "-layout showContinationText.inc", which in other cases is enough to activate it.
>
> Hi Benedikt
> Does the above statement mean that you have other projects where the 'show continuation text' has worked properly and it is just stopped working for this project?
> Or have you never used 'show continuation text' before?
>
> I just checked one of my projects, and both my continuation layout metaposts are working just fine with the latest Therion release 5.4.1+a08b94e (2018-12-17)
>
> Bruce
>
> -----Original Message-----
> From: Therion <therion-bounces at speleo.sk> On Behalf Of Benedikt Hallinger via Therion
> Sent: Sunday, 23 December 2018 00:12
> To: List for Therion users <therion at speleo.sk>
> Cc: Benedikt Hallinger <beni at hallinger.org>
> Subject: [Therion] Showing qestion mark texts broken?
>
> Hi,
> i try to add a layout for showing the question mark texts.
> For this i tried the additions from the websites:
> a) https://therion.speleo.sk/samples.doc/60.html
> b) http://marcocorvi.altervista.org/caving/tbe/m_05/m_054.htm
> but neither seems to work. a) produces no change and b) triggers a compile error :(
>
>
> This is a) implemented in my layout.conf (taken from the web)
> ---------------------------
> layout showContinationText.inc
> code metapost
> def p_continuation(expr pos,theta,sc,al) =
>
> % draw question mark above station:
> % rotation=0, scaling=1, offset=(0,2)
> %
> p_continuation_UIS(pos, 0.0, 1.0, (0, 2) );
>
> % if text attribute is set
> if known ATTR_text:
> % set labeling color to red
> push_label_fill_color(1.0, 0.0, 0.0);
>
> % draw filled label with text below station
> p_label.bot(ATTR__text, pos shifted (0,-0.5u), 0.0, 8);
>
> % restore original labeling color
> pop_label_fill_color;
> fi;
> enddef;
> endcode
> endlayout
> --------------------
>
> and my thconfig export command includes this: "-layout
> showContinationText.inc", which in other cases is enough to activate it.
> The layout file is also loaded, i checked that.
> However, no text is shown...
>
> What am i doing wrong?
>
>
> With best regards and happy christmas!
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
More information about the Therion
mailing list