Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Producing an index with items as they occur in the text.

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Producing an index with items as they occur in the text.


Chronological Thread 
  • From: Miguel de Benito Delgado <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Producing an index with items as they occur in the text.
  • Date: Wed, 14 Mar 2012 04:00:42 +0100

I've got a better one ;)

Substitute these two lines for the one I told you before:

int dont_sort = get_env_int("unsorted-index");
if (dont_sort != 1) merge_sort (entry);

Recompile and now add a <\with|unsorted-index|1|> tag in your document and add the index as the last argument of that tag. Now you have the unsorted index, but don't break the sorted ones for other documents.

Best,
--
______________
Miguel de Benito.

Adrian S. wrote:
Wow!
That shows quite a skill, Miguel. Thank you!

Peace,
-Adrián.

On Tue, Mar 13, 2012 at 8:34 PM, Miguel de Benito Delgado
<address@hidden> wrote:
Hi Adrian,

a (temporal) solution is to comment out line 259 in
src/Edit/Process/edit_process.cpp:

//merge_sort (entry);

and recompile.

Cheers,
Miguel.



Adrian S. wrote:
I am requesting for help.

I want to produce an "unsorted" index, in such a way that items occur
as they ocurr in the text. This is to help me keep notation under
control, and to make sure I have defined things in the right order.

Any ideas?

Peace.
-Adrian.
--
______________
Miguel de Benito.






Archive powered by MHonArc 2.6.19.

Top of Page