On 07/21/2009 09:05 PM, Marcelo Reis wrote:
rgheck wrote:
On 07/21/2009 08:33 PM, Marcelo Reis wrote:
FUNCTION {output.bibitem}
{ newline$
 "\bibitem[" write$
 ""
 "]{" write$
 cite$ write$
 "}" write$
 newline$
 ""
 before.all 'output.state :=
}

IDEAS of how to remove  the *square brackets*???

Why not just take them out? I.e.:

FUNCTION {output.bibitem}
{ newline$
 "\bibitem" write$
 ""
 "{" write$
 cite$ write$
 "}" write$
 newline$
 ""
 before.all 'output.state :=
}

or more simply:

FUNCTION {output.bibitem}
{ newline$
 "\bibitem{" write$
 cite$ write$
 "}" write$
 newline$
 ""
 before.all 'output.state :=
}


Because if I do this, Lyx / Latex will automatically number the labels..
So I will have [1], [2], [3]....
It is the default behavior ...
The following information was taken from http://www.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-205.html
The \bibitem command generates an entry labeled by label
If the label argument is missing, a number is generated as the label, using the enumiv counter <http://www.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-3.html>. The cite_key is a mnemonic consisting of any sequence of letters, numbers, and punctuation symbols not containing a comma.


So, just remove the "[" "]" would not work as well.. :-(
Other solutions??

Which square brackets were you wanting to remove, then?

rh

Reply via email to