Subject: mailing-list for TeXmacs Users
List archive
From : address@hidden- To: address@hidden
- Subject: Structured variants of lists
- Date: Sun, 19 Jan 2003 17:45:51 +0100
On Fri, Jan 17, 2003 at 06:07:15PM +0100, Daniele Pighin wrote:
> This is nifty, indeed, and I didn't know about it.
> Is there something similar to cicle, for example, between different
> types of itemize? I mean, to change a dot-itemize into a dash or arrow
> itemize...
> Actually, when I cicle over such an environment I have enumerations
> changed into itemize and back.
That is an interesting and subtle point.
When one look at circulate.scm, he sees:
(set-structured-variants
...
("itemize" "enumerate")
("itemize-minus" "itemize-dot" "itemize-arrow")
("enumerate-numeric" "enumerate-roman" "enumerate-Roman"
"enumerate-alpha" "enumerate-Alpha")
...
There is a separation between logical lists (which are displayed
diffently depending on the nesting level) and physical lists (which
specify one hardwired display style), so one cannot use the default
structured variants to change a logical list to a physical list (or
the other way).
If for some reason you want to be able to do it anyway, you may add
the following code to your ~/.TeXmacs/progs/my-init-texmacs.scm (also
read the "Customizing TeXmacs" section of the manual):
(set-structured-variants
("itemize" "itemize-dot" "itemize-minus" "itemize-arrow")
("enumerate" "enumerate-numeric" "enumerate-roman" "enumerate-Roman"
"enumerate-alpha" "enumerate-Alpha"))
--
David Allouche | GNU TeXmacs -- Writing is a pleasure
Free software engineer | http://www.texmacs.org
http://ddaa.net | http://alqua.com/tmresources
address@hidden | address@hidden
TeXmacs is NOT a LaTeX front-end and is unrelated to emacs.
- changing section to subsection, Parrenin Frédéric, 01/15/2003
- Re: changing section to subsection, david, 01/15/2003
- Re: changing section to subsection, Joris van der Hoeven, 01/15/2003
- Re: changing section to subsection, david, 01/15/2003
- Re: changing section to subsection, Daniele Pighin, 01/17/2003
- Structured variants of lists, david, 01/19/2003
- Re: changing section to subsection, Joris van der Hoeven, 01/15/2003
- Re: changing section to subsection, david, 01/15/2003
Archive powered by MHonArc 2.6.19.