LaTeX REVTeX4, LaTeX (and MikTeX?) problem

  • Thread starter Thread starter kmcfarlane
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
The discussion revolves around issues with displaying EPS figures in REVTeX4 and LaTeX. The user experiences inconsistent visibility of four EPS figures, which sometimes appear in DVI or PS files depending on their placement. When figures are placed in separate .tex files and included, they display correctly, but using \input causes them to fail to show. Despite LaTeX2e recognizing figure labels for references when using \input, the labels do not appear when using \include, leading to missing references in the output. The LaTeX handbook does not clarify that labels in included files are ignored. The user is working with REVTeX4 and MiKTeX on a Windows x64 system. A suggestion is made to directly import all files into the main .tex file as a potential solution.
kmcfarlane
Messages
1
Reaction score
0
I'm having a problem with REVTeX4 and LaTeX. I have four figures in EPS format (although there may be some non-compliance with EPS specs). They are from different applications that claim to export EPS files.

These figures sometimes display in the dvi or ps files and sometimes not. Depends on where they are in the file.
If I put each figure in a separate .tex files (as \begin{figure}...), and
then \include them, they all do display. If I \input them, they do not.

If I use \input, LaTeX2e picks up the figure \labels and uses them in \ref callouts, but if I use \include, the references are not defined. I looked at the aux files, and when using \include, the label info is not there. \protect does not help.

The LaTeX handbook is no help -- it does not say that \label in included files are ignored.

I'm using REVTeX4 and MiKTeX on Win x64, with GSView for x64 (and WinShell as an editor).

Any thoughts?
 
Physics news on Phys.org
Why don't you directly import all the files into your main tex file? Wouldn't that be an easier solution?
 

Similar threads

Replies
23
Views
3K
Replies
4
Views
3K
Replies
9
Views
2K
Replies
4
Views
5K
Replies
5
Views
5K
Replies
1
Views
6K
Replies
5
Views
6K
Back
Top