I have a strange question.
Basically I wrote 2 long papers with almost the same labels (yes, the
papers have similar contents).
Now I have to put both files inside a big one, where each one
represents a chapter, but they are actually independent files, with no
links. However, I have lots of redefined labels....
I would like to know if there exists an option of the type "reset
labels", such that, at the beginning of one chapter, should be able to
forgot all the preceding labels.
Thank you in advance!
Claudio
|
|
0
|
|
|
|
Reply
|
Claudio
|
3/24/2010 10:42:20 AM |
|
Am Wed, 24 Mar 2010 03:42:20 -0700 (PDT) schrieb Claudio:
> I have a strange question.
>
> Basically I wrote 2 long papers with almost the same labels (yes, the
> papers have similar contents).
>
> Now I have to put both files inside a big one, where each one
> represents a chapter, but they are actually independent files, with no
> links. However, I have lots of redefined labels....
>
> I would like to know if there exists an option of the type "reset
> labels", such that, at the beginning of one chapter, should be able to
> forgot all the preceding labels.
No, all labels are written to the aux-file for the next latex run.
You could redefine \label and \ref at the start of the second
document so that they add a prefix to each label. But I think it is
much easier and faster to replace in one of the files each "\label{"
by e.g. "\label{D1-" and each "\ref{" by "\ref{D1-".
--
Ulrike Fischer
|
|
0
|
|
|
|
Reply
|
Ulrike
|
3/24/2010 1:28:03 PM
|
|
On 24 mar, 14:28, Ulrike Fischer <ne...@nililand.de> wrote:
> Am Wed, 24 Mar 2010 03:42:20 -0700 (PDT) schrieb Claudio:
>
> > I have a strange question.
>
> > Basically I wrote 2 long papers with almost the same labels (yes, the
> > papers have similar contents).
>
> > Now I have to put both files inside a big one, where each one
> > represents a chapter, but they are actually independent files, with no
Thank you! It works very well...great answer...
> > links. However, I have lots of redefined labels....
>
> > I would like to know if there exists an option of the type "reset
> > labels", such that, at the beginning of one chapter, should be able to
> > forgot all the preceding labels.
>
> No, all labels are written to the aux-file for the next latex run.
> You could redefine \label and \ref at the start of the second
> document so that they add a prefix to each label. But I think it is
> much easier and faster to replace in one of the files each "\label{"
> by e.g. "\label{D1-" and each "\ref{" by "\ref{D1-". =A0
>
> --
> Ulrike Fischer
|
|
0
|
|
|
|
Reply
|
Claudio
|
3/24/2010 2:50:24 PM
|
|
|
2 Replies
118 Views
(page loaded in 0.046 seconds)
|