>>>>> "Ralf" == Ralf Angeli <[EMAIL PROTECTED]> writes:

   > * Uwe Brauer (2008-09-05) writes:
   >> Here are the relevant emails:

   > Please send a test case for reproducing the problem which is not torn to
   > shreds.

Sure, let me first describe the philosophy.


    -  Suppose you have a bib file, say bibgraf.bib with n entries.

    -  suppose you have a tex file, say tex-bib.tex with m citations,
       where m<n.

    -  now if you run reftex-create-bibtex-file on tex-bib.tex it should
       create a new bib file, say new.bib with these m citations.

I attach 3 files. 

    -  Bibgraf.bib with 2 entries.

    - tex-bib-nocom.tex with     one  citations    and       with
      reftex-comment-citations set to nil.

    -  tex-bib-com.tex with one citation and with 
      reftex-comment-citations set to t.

Then reftex-create-bibtex-file tex-bib-nocom.tex gives new.bib
and reftex-create-bibtex-file tex-bib-com.tex gives new2.bib
which is empty.

Uwe 

\documentclass[12pt]{article}

\begin{document}

\cite{a.adams75:_sobol_spaces}

\bibliographystyle{plain} 
\bibliography{bibgraf}

\end{document}
\documentclass[12pt]{article}

\begin{document}

\cite{a.adams75:_sobol_spaces% Robert ~Adams 1975, Academic Press
}
\bibliographystyle{plain} 
\bibliography{bibgraf}

\end{document}
@Book{a.adams75:_sobol_spaces,
  author =		 {Robert A.~Adams},
  title =		 {Sobolev Spaces},
  year =		 1975,
  publisher =	 {Academic Press},
  address =		 {New York}
}






@Book{a.adams75:_sobol_spaces,
  author =		 {Robert A.~Adams},
  title =		 {Sobolev Spaces},
  year =		 1975,
  publisher =	 {Academic Press},
  address =		 {New York}
}

@Article{batt91:_global_vlasov,
  author =		 {J{\"u}rgen Batt and Gerhard Rein},
  title =		 {{Global classical solutions of the periodic
                  Vlasov--Poisson system in three dimensions}},
  journal =		 {C.~R.~Acad.~Sc.~Paris},
  year =		 1991,
  volume =		 {t 313},
  pages =		 {411--416},
  abstract =	 { }
}   


_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to