Skip to Content.
Sympa Menu

texmacs-users - Structured variants of lists

Subject: mailing-list for TeXmacs Users

List archive

Structured variants of lists


Chronological Thread 
  • 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.



Archive powered by MHonArc 2.6.19.

Top of Page