Subject: mailing-list for TeXmacs Users
List archive
From : Julien Frontisi <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] texmacs databases ?
- Date: Fri, 8 Jun 2012 19:32:29 +0200
Hi again,
I'm back with my exercise database question.
Trying Aleksandr's first approach, i run into a couple of problems :
- how do I include a large number of files, something like mypath/chapter8/*.tm or a large selection of files like 8.5->8.25 ?
- using folds, it does not seem possible to act on the folds from within the master document. Maybe the only solution would be to run a
shell script to change all '<unfold-env' chains of characters to '<fold-env' in all the files concerned, but I'm afraid of a mistake that could
corrupt the TeXmacs macros.
Thanks
Julien
Le 30 mai 2012 à 05:56, Aleksandr Dobkin a écrit :
I think there are several approaches.1) You can put each problem in it's own TeXmacs file and include the ones you want in the master document using Insert > Link > Include... .
2) If you want to define all the problems in the same document you can do so in the preamble. If you put an assign tag in the preamble, e.g. <assign|p1|My Problem Text>, you can include in the main document as <p1>.Numbering you get for free by inserting Question environments, for example, using Insert > Enunciation > Question.AlexOn Tue, May 29, 2012 at 1:02 PM, Julien Frontisi <address@hidden> wrote:
Hi,
does anyone know if there is a simple way to create exercise databases with texmacs with the possibility
to select and extract some exercises out of the lot and then automatically create a document with the chosen exercises ?
Hope that's clear.
More generally, select some items out of a collection and create a new document listing the selected items. (Besides manually copy/pasting each, of course...)
(Re-)numbering of the items would be great.
Thanks
Julien
ps : sorry for double-posting this on the texmacs-edu list and here, I'm not sure if that one is working yet (no archive available).
- Re: [TeXmacs] texmacs databases ?, Julien Frontisi, 06/08/2012
- Re: [TeXmacs] texmacs databases ?, Julien Frontisi, 06/08/2012
Archive powered by MHonArc 2.6.19.