[OS X TeX] assistance with a problem

Themis Matsoukas matsoukas at psu.edu
Fri Dec 8 19:36:30 EST 2006


Sergei,

it is difficult to understand what you are trying to do with your  
redefinition of the sectional commands and with the counter \new. You  
should explain what it is you're trying to do with these commands. It  
is very possible that you can accomplish the same effect through the  
various commands available in memoir.

Themis



On Dec 8, 2006, at 3:18 PM, Sergei Mariev wrote:

> Thanks for the reply! I have posted more of the definitions that  
> are likely to produce this problem. Unfortuntely I have not been  
> able to isolate the error in a simple and short document yet,  
> inspite all the attmpts.  Here is another description of the  
> structure of the document:
> ++++++++++++++
> \stufeeins{Introduction}
> Text Text Text Text
> \stufezwei{Some subtitle} [the command \stufezwei{Title} is where  
> the  Roman numeral "III." originally derives from]
> Text Text Text
>
> Text \new{} Text \new{} \label{regress2} \label{lat:18} Text Text  
> Text [the command \new produces "21" in my example]
> Text Text
> +++++++++++++++++++++
>
> The strange thing is that  "regress2" and lat:18 stand very close  
> to each other in the text, but somehow  the wrong value "III."  
> occurs in the .aux file for regress2 and the correct value "21" for  
> the lat:18, where I expected "21" for both.
>
>
>
>
>> I don't know the answer but here is a sample of a healthy aux file  
>> using memoir:
>>
>> \newlabel{c:sp_topics}{{\M at TitleReference {7}{Solutions}}{69}}
>> \newlabel{Qconf}{{\M at TitleReference {7.12}{Lattice Model for  
>> Mixtures}}{72}}
>> \newlabel{Qconf:2}{{\M at TitleReference {7.15}{Lattice Model for  
>> Mixtures}}{72}}
>>
>> In my case, the first of these is a label for chapter "Solutions";  
>> the second and third are numbered equations that appear in section  
>> "Lattice Model for Mixtures" on page 72. Apparently, \newlabel  
>> records the title of the chapter/section/... in which the label  
>> appears, therefore, multiple appearances of a title is not bu  
>> itself suspicious.
>>
>> If the error (the roman III) refers to the number of a section  
>> whose sectioning command you have redefined, I would start by  
>> looking in that re-definition.
>>
>> Memoir allows customization of sectioning commands. You should be  
>> able to do a lot with this feature without the need to redefine  
>> the sectioning macros themselves --if that's what you have done.
>>
>> For more precise diagnosis, you might try sending a minimal sample  
>> that has this problem.
>>
>> Themis
>>
>>
>> On Dec 8, 2006, at 12:39 PM, Sergei Mariev wrote:
>>
>>> Dear all,
>>>
>>>
>>> Some of the references in my document are working just fine, and  
>>> some (I have not been able to discover a pattern yet) do not.
>>>
>>> I am using the memoir class.
>>>
>>> If I look at the .aux file, some reference get the correct  
>>> section numbers assigned, and some (at irregular intervals) get  
>>> the number of the last section of my introduction.
>>>
>>> In the following line the Roman numeral III. is a wrong reference.
>>>
>>> \newlabel{regress2}{{\M at TitleReference {III.}{\versal  {Zur  
>>> vorliegenden Ausgabe}}}{33}}
>>>
>>> which is followed by the following line:
>>>
>>> \newlabel{lat:18}{{\M at TitleReference {21}{\versal  {Zur  
>>> vorliegenden Ausgabe}}}{34}}
>>>
>>> where 21 is quite correct.
>>>
>>> And so the correct lines and the wrong lines are mixed, and I am  
>>> not able to discover any pattern as to what screws some of the  
>>> references up. And as the document I am formatting has a very  
>>> complicated structure with some sectioning commands completely  
>>> redefined I can not isolate the problem yet. The fact that all  
>>> the references get the title of the last section is suspicious as  
>>> well but I cannot explain it, either. Any suggestions as to what  
>>> influences this \M at TitleReference or as to where I should look in  
>>> my document to isolate the problem will be greatly appreciated!
>>>
>>> Thanks a lot in advance!
>>>
>>> SM
>>>
>>>
>>>
>>> ------------------------- Info --------------------------
>>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>>          & FAQ: http://latex.yauh.de/faq/
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Archive: http://tug.org/pipermail/macostex-archives/
>>>
>>>
>>
>> ------------------------- Info --------------------------
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>          & FAQ: http://latex.yauh.de/faq/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Archive: http://tug.org/pipermail/macostex-archives/
>>
>
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>          & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>
>

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list