LyXDisable back Reference to Section in Bibliography

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
emmkell
Posts: 7
Joined: Thu Jul 05, 2012 4:10 pm

Disable back Reference to Section in Bibliography

Post by emmkell »

Hi,

I am using LyX to write my thesis. I am using a BibTeX Generated Bibliography which works fine. I just have one problem, in the actual PDF, the Bibliography section after each reference, the section where that reference was cited is printed out, for example:
[1] R. Budwig, “Refractive index matching methods for liquid flow investigations,” Experiments in Fluids, vol. 17, no. 5, pp. 350–355, 1994. 2.7.4
Where "2.7.4" is the section where this reference is cited.

Is this related to my overall master style file, or is it just a simple setting in LyX that I can disable?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

emmkell
Posts: 7
Joined: Thu Jul 05, 2012 4:10 pm

Re: Disable back Reference to Section in Bibliography

Post by emmkell »

Can anyone help me with this? Still havetn found a solution!
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Re: Disable back Reference to Section in Bibliography

Post by cgnieder »

Hi emmkell,

Welcome to the LaTeX community!

Maybe one of the more experienced LyX users knows this out of the box, but for us LaTeX users you need to give a little bit more information. Maybe you can attach an stripped down version (containing only one section and one reference) of your file here in the forum so we could have a look?

Regards
site moderator & package author
emmkell
Posts: 7
Joined: Thu Jul 05, 2012 4:10 pm

Disable back Reference to Section in Bibliography

Post by emmkell »

Hi Clemens, thanks for your reply. I am using a .sty file that controls the overall thesis file. I will admit this is a hand-me-down sty file and so i did not write it. In saying that, I did not change anything in it, but the person that gave it to me did not have the same problem.

When I open my main Thesis.lyx file, the BibTex Gemerated Bibliography is inserted in here, and this is where i input the bibtex bibliography file. As the entire thesis is linked with this master class file, i am not sure how to upload a stripped down simple version with only one reference.

I'm not sure if i'm making much sense here!! When i put a reference into a section, say 2.7.4 like this:

The factors that must be considered in the selection of a refractive index matching liquid are its index of refraction, optical clarity, density, viscosity, material compatibility, safety and cost [Budwig1994].

It comes out in the bibliography like this:

[1] R. Budwig, “Refractive index matching methods for liquid flow investigations,” Experiments in Fluids, vol. 17, no. 5, pp. 350–355, 1994. 2.7.4

Where the 2.7.4 at the end of the refernece is actually the section number that i used it in. I need to stop this happening.


This is the only part of the .sty file relating to bibliography, but it is more related to the table of contents i think.

Code: Select all

% Redefine \thebibliography to go to a new page and put an entry in the
% table of contents
\let\@ldthebibliography\thebibliography
\renewcommand{\thebibliography}[1]{\newpage
                \@ldthebibliography{#1}%
\rhead{\textit{\nouppercase{\leftmark}}}

%\lhead{\textit{\nouppercase{\rightmark}}}
\addcontentsline{toc}{chapter}{\bibname}}

% Start out normal
\pagestyle{plain}
Last edited by cgnieder on Thu Aug 23, 2012 4:43 pm, edited 1 time in total.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Disable back Reference to Section in Bibliography

Post by cgnieder »

Have you already checked if the answer to your question on TeX.sx helps?
site moderator & package author
emmkell
Posts: 7
Joined: Thu Jul 05, 2012 4:10 pm

Re: Disable back Reference to Section in Bibliography

Post by emmkell »

I just found this on another forum

Document > Settings > PDF Properties > Backreferences > Off

Its under the Use Hyperref Support, Hyperlinks

But when i select it i ge tthis error:

You can't use 'macro parameter character #' in horizontal mode.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Disable back Reference to Section in Bibliography

Post by cgnieder »

Well, the bibliography style usually is provided by a bst file. Does your thesis class somewhere contain a \bibliographystyle somewhere? Maybe you could attach the sty file here?
site moderator & package author
emmkell
Posts: 7
Joined: Thu Jul 05, 2012 4:10 pm

Re: Disable back Reference to Section in Bibliography

Post by emmkell »

Sorry for all my ramblings, it was something very simple. I found usepackage 'backref' in my Latex preambles. QED!!

Hopefully the suggestions here will help anyone else who finds the same problem. Thank you for your help!
Post Reply