Subject: mailing-list for TeXmacs Users
List archive
From : "Sam Liddicott" <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] extern in stylesheet
- Date: Thu, 31 Mar 2011 14:52:38 +0100
- Envelope-to:
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAADxQTFRF NTdQY2Z/i286eHFugnNXoJBwm5GCs5VeoqO0ua+fwLCQ4c2q19C81NDF4eLr/unQ/PTf/fXW+/rq /f/7XKo76wAAAAlwSFlzAAALEwAACxMBAJqcGAAAAi9JREFUSMetloGSqyAMRVsFNAQkxP//15cE 62rFdt/MZqbTVu/hBhLEx/qf8fgDIAN455wHyPk7wCIe9nA+fwGSH87hgD8AHPfRpy2GwdMtcBh+ mg4Ech9Ih+RNixJKDLEL0GF8VLkSojePHrDlryNijbFW8zBg8PUKbBOI6D1WCV5Rf2DzxCtgBlMs tRRVW5LyVW3ew1TfAZZ6RcQicpb4yZmaC74DJADK6BdATOrUAbJzsZie+K22ZnEBknNYysvhVH6u 1X8CqAe4DuANoPoOrAbsHXUARJ5knc5z4EyyTnHoAqj7xvkYIdk65AwhyEZKMusOIDV2QQQaCnDQ gBiDR3RdIEb5CBESt2wgQJI0Yx/Agphg1MgNsD+QkszM9wHVPx/PeQOW+fmcR9DF8+4CyCJhCuP8 fDzmBbLqs8JzMODqYNfDvKhoGYM2lDosy5jlRozccRAgrPM8iygQS3Mv87IugUgKlC7NZ6liuy4r uresVq5QuQAr09ZKEga8OkluyKXeQ6Bs3SrtqgC1pWLNqAfwDhBnB+sK8OrVL4D4h1B4zWPWhJhu gPUHKA5EwSMYUMsdQK+UKDhIOTSHeg+8HCoTOGtB/gwcl4mSdGybwXegPWhM/RHYKwchkckhUNMX 6j7ueQNScLbZZOPRxaADyO2UQCJpl7wbnE6gQ+ksWjpngxOwF1tF5ecP3R6KB+AQxPfHLncQ+nKw 06fhu68OTIfJ869eTtg22l+9zfwDK3mKl5BFHMYAAAAASUVORK5CYII=
On 10/03/11 15:13, Sam Liddicott wrote:
This works when in inserted into my document:
<extern|(lambda() (define-group enumerate-tag nf-chunk))>
But not in the style sheet :-(
With non-qt texmacs (don't know why it makes a difference) I get this on the text console:
<unnamed port>:1:11: In expression (define-group enumerate-tag nf-chunk):
<unnamed port>:1:11: Unbound variable: define-group
when I try this in my style sheet:
<extern|(lambda() (define-group enumerate-tag nf-chunk))>
Sam
Sam
On 10/03/11 14:58, Sam Liddicott wrote:
I've put this extern in my stylesheet:
<extern|(define-group enumerate-tag nf-chunk)>
So that I get an <item> generated when I press enter for a new line.
But but seems to do nothing!
If I use "Tools, Execute, Evaluate Scheme Expression" and type:
(define-group enumerate-tag nf-chunk)
then everything is fine.
If I paste the extern directly into my document I see an "insecure script" box - which maybe is why it doesn't run in my .ts file, but my teXmacs preferences are set to prompt on insecure scripts and I don't get a prompt.
If I disable security, then in my document I see:
<misc-error|?|Wrong type to apply: ~|?|?>
I've tried tricks like:
<extern|(lambda() '(define-group enumerate-tag nf-chunk))>
<extern|define-group|enumerate-tag|nf-chunk>
But the truth is I don't know what I'm doing.
Please, how can I run this scheme: (define-group enumerate-tag nf-chunk)
from my style-sheet?
Thanks
--
[FSF Associate Member #2325] <http://www.fsf.org/register_form?referrer=2325>
<http://www.openrightsgroup.org/>
- [TeXmacs] extern in stylesheet, Sam Liddicott, 03/10/2011
- Re: [TeXmacs] extern in stylesheet, Sam Liddicott, 03/10/2011
- Re: [TeXmacs] extern in stylesheet, Sam Liddicott, 03/31/2011
- Re: [TeXmacs] extern in stylesheet, Sam Liddicott, 03/10/2011
Archive powered by MHonArc 2.6.19.