[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] style-only
From: |
Sam Liddicott |
Subject: |
[Texmacs-dev] style-only |
Date: |
Mon, 28 May 2012 08:32:52 +0100 |
I'm trying to work out what style-only and style-only* do because the man page is not clear.
For fun, paste this into a style sheet in source mode:
<style-only|<inactive*|<assign|a|cat>>>
it comes out as:
<src-regular|<mark|<arg|x|1|0|0>|<inline-tag|assign|<src-var|<arg|x|1|0|0|0>>|<src-regular|<arg|x|1|0|0|1>>>>>
but in non-src mode it comes out as:
<assign|s|cat>
Interestingly, <style-only*|<inactive*|...>> can give code in a style sheet the same inactive rendering in src or non-src mode and still allow it to work when imported into a document. Normal use of <inactive*|...> would render the inactive tag in src mode.
e.g.
<style-only*|<inactive*|<assign|pog|<macro|a|[<arg|a>]>>>>
Sam
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Texmacs-dev] style-only,
Sam Liddicott <=