[Therion] How to include Metapost code from outside files

Martin Sluka martinsluka at mac.com
Tue Nov 11 15:24:35 CET 2014



thconfig:

input layouts/layout_radavc_standard.thc

m.



11. 11. 2014 v 15:04, Bill Gee <bgee at campercaver.net>:

> Hello everyone -
> 
> I have quite a bit of Metapost code for custom symbols.  Rather than repeat 
> several hundred lines in every layout/endlayout pair, I would like to put the 
> code in its own file and then <include> that file in the thconfig file.  How is 
> that done?
> 
> I tried using both "input sourcefile" and "source sourcefile".  The same error 
> comes up for both.  Text below.
> 
> According to the Therion Book, the only valid place for code/endcode pairs is 
> inside a layout/endlayout pair.  Is that true?
> 
> Thanks - Bill Gee
> 
> =============
> therion 5.3.13
> initialization file: /usr/local/etc/therion.ini
> reading ... done
> configuration file: thconfig
> reading ...
> therion: error -- thconfig [14] -- thconfig [14] -- unknown option -- input 
> CustomSymbolsCode.txt
> writing xtherion file ... done
> 
> 
> 
> therion 5.3.13
> initialization file: /usr/local/etc/therion.ini
> reading ... done
> configuration file: thconfig
> reading ...
> therion: error -- thconfig [14] -- thconfig [14] -- unknown option -- source 
> CustomSymbolsCode.txt
> writing xtherion file ... done
> 
> 
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20141111/b3b2862b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sn?mek obrazovky 2014-11-11 v?15.22.55.png
Type: image/png
Size: 17666 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20141111/b3b2862b/attachment.png>


More information about the Therion mailing list