Subject: mailing-list for TeXmacs Users
List archive
From : Alvaro Tejero Cantero <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Producing an index with items as they occur in the text.
- Date: Wed, 14 Mar 2012 19:52:43 +0000
- Authentication-results: spamcheck-ng1.citic74.net; dkim=pass (2048-bit key) address@concealed; dkim-asp=none
This seems useful enough to have it in the mainline. I am sure more
users will welcome the possibility to create unsorted indexes without
recompiling.
-á.
On Wed, Mar 14, 2012 at 16:30, Adrian S. <address@hidden> wrote:
> IT WORKED PERFECTLY!
>
> (The subindexes are, as expected, indented without the header, but I
> can take care of that with a macro)
>
> Thank you!
>
> Peace.
> -Adrián.
>
> On Tue, Mar 13, 2012 at 9:00 PM, Miguel de Benito Delgado
> <address@hidden> wrote:
>> 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.
>>>>
>>
>>
- [TeXmacs] Producing an index with items as they occur in the text., Adrian S., 03/14/2012
- Re: [TeXmacs] Producing an index with items as they occur in the text., Miguel de Benito Delgado, 03/14/2012
- Re: [TeXmacs] Producing an index with items as they occur in the text., Adrian S., 03/14/2012
- Re: [TeXmacs] Producing an index with items as they occur in the text., Miguel de Benito Delgado, 03/14/2012
- Re: [TeXmacs] Producing an index with items as they occur in the text., Adrian S., 03/14/2012
- Re: [TeXmacs] Producing an index with items as they occur in the text., Alvaro Tejero Cantero, 03/14/2012
- Re: [TeXmacs] Producing an index with items as they occur in the text., Adrian S., 03/14/2012
- Re: [TeXmacs] Producing an index with items as they occur in the text., Miguel de Benito Delgado, 03/14/2012
- Re: [TeXmacs] Producing an index with items as they occur in the text., Adrian S., 03/14/2012
- Re: [TeXmacs] Producing an index with items as they occur in the text., Miguel de Benito Delgado, 03/14/2012
Archive powered by MHonArc 2.6.19.