Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-22 Thread Marcelo Reis





Which
square brackets were you wanting to remove, then?
  
  
rh
  

I want to remove these ones:


I got these result if I use the following in the BST I sent:

FUNCTION {output.bibitem}

{ newline$

"\bibitem[" write$

""

"]{" write$

cite$ write$

"}" write$

newline$

""

before.all 'output.state :=

}


If I do just the way you asked me to do:

{ newline$

"\bibitem" write$

""

"{" write$

cite$ write$

"}" write$

newline$

""

before.all 'output.state :=

}


Latex will automatically put again the numbers [1],[2],[3]

Was I able to explain ? (Sorry for my bad English, I'm doing my best...
:-D)

Regards

Marcelo




Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-22 Thread Marcelo Reis





Which
square brackets were you wanting to remove, then?
  
  
rh
  

I want to remove these ones:


I got these result if I use the following in the BST I sent:

FUNCTION {output.bibitem}

{ newline$

"\bibitem[" write$

""

"]{" write$

cite$ write$

"}" write$

newline$

""

before.all 'output.state :=

}


If I do just the way you asked me to do:

{ newline$

"\bibitem" write$

""

"{" write$

cite$ write$

"}" write$

newline$

""

before.all 'output.state :=

}


Latex will automatically put again the numbers [1],[2],[3]

Was I able to explain ? (Sorry for my bad English, I'm doing my best...
:-D)

Regards

Marcelo




Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-22 Thread Marcelo Reis





Which
square brackets were you wanting to remove, then?
  
  
rh
  

I want to remove these ones:


I got these result if I use the following in the BST I sent:

FUNCTION {output.bibitem}

{ newline$

 "\bibitem[" write$

 ""

 "]{" write$

 cite$ write$

 "}" write$

 newline$

 ""

 before.all 'output.state :=

}


If I do just the way you asked me to do:

{ newline$

 "\bibitem" write$

 ""

 "{" write$

 cite$ write$

 "}" write$

 newline$

 ""

 before.all 'output.state :=

}


 Latex will automatically put again the numbers [1],[2],[3]

Was I able to explain ? (Sorry for my bad English, I'm doing my best...
:-D)

Regards

Marcelo




Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread Marcelo Reis
Guys, Don't ask me why I need to do this but the college that I study is 
asking me to do the following modification on my document:

(Check Attached)
They don't wanna any [NUMBER] or [Auther , YEAR], they want it just the 
way the MS WORD (BRAZIL) creates bibliography.

I tried to look for custom-bib, or any other thing but I did not succeed.
DO you guys have any other idea??

It is not a problem if I could not use the \CITE, actually I will 
include the citations in my document all manually.


I'd like just to make the Bibliography part to work because I have a BIB 
file with a LOT of information there.


Thanks and regards,

Marcelo



inline: Bibliography.JPG%%
%% This is file `ETEP.bst',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% merlin.mbs  (with options: 
`ay,alk,nm-rvvc,aunm-semi,nmlm,x3,m1,nmft,nmft-it,lab,lab-it,and-rm,keyxyr,yr-com,note-yr,tit-qq,qx,num-xser,ser-vol,pre-edn,edparxc,bkedcap,in-x,pp,ed,abr,ednx,xedn,amper,and-xcom,xand,etal-it,url,url-blk,nfss,')
%% 
%% *** ETEP FACULDADES - 2009 - MARCELO GOMES REIS ***
%% 
%% Copyright 1994-2007 Patrick W Daly
 % ===
 % IMPORTANT NOTICE:
 % This bibliographic style (bst) file has been generated from one or
 % more master bibliographic style (mbs) files, listed above.
 %
 % This generated file can be redistributed and/or modified under the terms
 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt; either
 % version 1 of the License, or any later version.
 % ===
 % Name and version information of the main mbs file:
 % \ProvidesFile{merlin.mbs}[2007/04/24 4.20 (PWD, AO, DPC)]
 %   For use with BibTeX version 0.99a or later
 %---
 % This bibliography style file is intended for texts in ENGLISH
 % This is an author-year citation style bibliography. As such, it is
 % non-standard LaTeX, and requires a special package file to function properly.
 % Such a package isnatbib.sty   by Patrick W. Daly
 % or:  apalike.sty  by Oren Patashnik
 % The form of the \bibitem entries is
 %   \bibitem[Jones et al., 1990]{key}...
 %-

ENTRY
  { address
author
booktitle
chapter
edition
editor
eid
howpublished
institution
journal
key
month
note
number
organization
pages
publisher
school
series
title
type
url
volume
year
  }
  {}
  { label extra.label sort.label short.list }
INTEGERS { output.state before.all mid.sentence after.sentence after.block }
FUNCTION {init.state.consts}
{ #0 'before.all :=
  #1 'mid.sentence :=
  #2 'after.sentence :=
  #3 'after.block :=
}
STRINGS { s t}
FUNCTION {output.nonnull}
{ 's :=
  output.state mid.sentence =
{ ,  * write$ }
{ output.state after.block =
{ add.period$ write$
  newline$
  \newblock  write$
}
{ output.state before.all =
'write$
{ add.period$   * write$ }
  if$
}
  if$
  mid.sentence 'output.state :=
}
  if$
  s
}
FUNCTION {output}
{ duplicate$ empty$
'pop$
'output.nonnull
  if$
}
FUNCTION {output.check}
{ 't :=
  duplicate$ empty$
{ pop$ empty  t *  in  * cite$ * warning$ }
'output.nonnull
  if$
}
FUNCTION {fin.entry}
{ add.period$
  write$
  newline$
}

FUNCTION {new.block}
{ output.state before.all =
'skip$
{ after.block 'output.state := }
  if$
}
FUNCTION {new.sentence}
{ output.state after.block =
'skip$
{ output.state before.all =
'skip$
{ after.sentence 'output.state := }
  if$
}
  if$
}
FUNCTION {add.blank}
{* before.all 'output.state :=
}

FUNCTION {date.block}
{
  new.block
}

FUNCTION {not}
{   { #0 }
{ #1 }
  if$
}
FUNCTION {and}
{   'skip$
{ pop$ #0 }
  if$
}
FUNCTION {or}
{   { pop$ #1 }
'skip$
  if$
}
FUNCTION {non.stop}
{ duplicate$
   } * add.period$
   #-1 #1 substring$ . =
}

FUNCTION {new.block.checkb}
{ empty$
  swap$ empty$
  and
'skip$
'new.block
  if$
}
FUNCTION {field.or.null}
{ duplicate$ empty$
{ pop$  }
'skip$
  if$
}
FUNCTION {emphasize}
{ duplicate$ empty$
{ pop$  }
{ \emph{ swap$ * } * }
  if$
}
FUNCTION {bib.name.font}
{ emphasize }
FUNCTION {bib.fname.font}
{ bib.name.font }
FUNCTION {cite.name.font}
{ emphasize }
FUNCTION {tie.or.space.prefix}
{ duplicate$ text.length$ #3 
{ ~ }
{   }
  if$
  swap$
}

FUNCTION {capitalize}
{ u change.case$ t change.case$ }

FUNCTION {space.word}
{   swap$ *   * }
 % Here are the language-specific definitions for explicit words.
 % Each function has a name bbl.xxx where xxx is the English word.
 % The language selected here is ENGLISH
FUNCTION {bbl.and}
{ and}


new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread Marcelo Reis
I was able to do some Workaround, but there is some things and steps 
missing.Maybe you can help me
I was able to create the bibliography just with []   (NO INFORMATION 
INSIDE the *square brackets*).


I changed the BST file from :

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


TO:


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

IDEAS of how to remove  the *square brackets*???
THANK YOU SO MUCH
Marcelo


 Original Message 
Subject:Custom-Bib / Lyx / Bibliography / Customize
Date:   Tue, 21 Jul 2009 19:47:34 -0300
From:   Marcelo Reis marceb...@yahoo.com.br
To: lyx-users@lists.lyx.org lyx-users@lists.lyx.org



Guys, Don't ask me why I need to do this but the college that I study is 
asking me to do the following modification on my document:

(Check Attached)
They don't wanna any [NUMBER] or [Auther , YEAR], they want it just the 
way the MS WORD (BRAZIL) creates bibliography.

I tried to look for custom-bib, or any other thing but I did not succeed.
DO you guys have any other idea??

It is not a problem if I could not use the \CITE, actually I will 
include the citations in my document all manually.


I'd like just to make the Bibliography part to work because I have a BIB 
file with a LOT of information there.


Thanks and regards,

Marcelo





inline: Bibliography.JPG

Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread rgheck

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 :=
}




THANK YOU SO MUCH
Marcelo


 Original Message 
Subject: Custom-Bib / Lyx / Bibliography / Customize
Date: Tue, 21 Jul 2009 19:47:34 -0300
From: Marcelo Reis marceb...@yahoo.com.br
To: lyx-users@lists.lyx.org lyx-users@lists.lyx.org



Guys, Don't ask me why I need to do this but the college that I study 
is asking me to do the following modification on my document:

(Check Attached)
They don't wanna any [NUMBER] or [Auther , YEAR], they want it just 
the way the MS WORD (BRAZIL) creates bibliography.

I tried to look for custom-bib, or any other thing but I did not succeed.
DO you guys have any other idea??

It is not a problem if I could not use the \CITE, actually I will 
include the citations in my document all manually.


I'd like just to make the Bibliography part to work because I have a 
BIB file with a LOT of information there.


Thanks and regards,

Marcelo









Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread Marcelo Reis

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??






Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread rgheck

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



Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread Marcelo Reis
Guys, Don't ask me why I need to do this but the college that I study is 
asking me to do the following modification on my document:

(Check Attached)
They don't wanna any [NUMBER] or [Auther , YEAR], they want it just the 
way the MS WORD (BRAZIL) creates bibliography.

I tried to look for custom-bib, or any other thing but I did not succeed.
DO you guys have any other idea??

It is not a problem if I could not use the \CITE, actually I will 
include the citations in my document all manually.


I'd like just to make the Bibliography part to work because I have a BIB 
file with a LOT of information there.


Thanks and regards,

Marcelo



inline: Bibliography.JPG%%
%% This is file `ETEP.bst',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% merlin.mbs  (with options: 
`ay,alk,nm-rvvc,aunm-semi,nmlm,x3,m1,nmft,nmft-it,lab,lab-it,and-rm,keyxyr,yr-com,note-yr,tit-qq,qx,num-xser,ser-vol,pre-edn,edparxc,bkedcap,in-x,pp,ed,abr,ednx,xedn,amper,and-xcom,xand,etal-it,url,url-blk,nfss,')
%% 
%% *** ETEP FACULDADES - 2009 - MARCELO GOMES REIS ***
%% 
%% Copyright 1994-2007 Patrick W Daly
 % ===
 % IMPORTANT NOTICE:
 % This bibliographic style (bst) file has been generated from one or
 % more master bibliographic style (mbs) files, listed above.
 %
 % This generated file can be redistributed and/or modified under the terms
 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt; either
 % version 1 of the License, or any later version.
 % ===
 % Name and version information of the main mbs file:
 % \ProvidesFile{merlin.mbs}[2007/04/24 4.20 (PWD, AO, DPC)]
 %   For use with BibTeX version 0.99a or later
 %---
 % This bibliography style file is intended for texts in ENGLISH
 % This is an author-year citation style bibliography. As such, it is
 % non-standard LaTeX, and requires a special package file to function properly.
 % Such a package isnatbib.sty   by Patrick W. Daly
 % or:  apalike.sty  by Oren Patashnik
 % The form of the \bibitem entries is
 %   \bibitem[Jones et al., 1990]{key}...
 %-

ENTRY
  { address
author
booktitle
chapter
edition
editor
eid
howpublished
institution
journal
key
month
note
number
organization
pages
publisher
school
series
title
type
url
volume
year
  }
  {}
  { label extra.label sort.label short.list }
INTEGERS { output.state before.all mid.sentence after.sentence after.block }
FUNCTION {init.state.consts}
{ #0 'before.all :=
  #1 'mid.sentence :=
  #2 'after.sentence :=
  #3 'after.block :=
}
STRINGS { s t}
FUNCTION {output.nonnull}
{ 's :=
  output.state mid.sentence =
{ ,  * write$ }
{ output.state after.block =
{ add.period$ write$
  newline$
  \newblock  write$
}
{ output.state before.all =
'write$
{ add.period$   * write$ }
  if$
}
  if$
  mid.sentence 'output.state :=
}
  if$
  s
}
FUNCTION {output}
{ duplicate$ empty$
'pop$
'output.nonnull
  if$
}
FUNCTION {output.check}
{ 't :=
  duplicate$ empty$
{ pop$ empty  t *  in  * cite$ * warning$ }
'output.nonnull
  if$
}
FUNCTION {fin.entry}
{ add.period$
  write$
  newline$
}

FUNCTION {new.block}
{ output.state before.all =
'skip$
{ after.block 'output.state := }
  if$
}
FUNCTION {new.sentence}
{ output.state after.block =
'skip$
{ output.state before.all =
'skip$
{ after.sentence 'output.state := }
  if$
}
  if$
}
FUNCTION {add.blank}
{* before.all 'output.state :=
}

FUNCTION {date.block}
{
  new.block
}

FUNCTION {not}
{   { #0 }
{ #1 }
  if$
}
FUNCTION {and}
{   'skip$
{ pop$ #0 }
  if$
}
FUNCTION {or}
{   { pop$ #1 }
'skip$
  if$
}
FUNCTION {non.stop}
{ duplicate$
   } * add.period$
   #-1 #1 substring$ . =
}

FUNCTION {new.block.checkb}
{ empty$
  swap$ empty$
  and
'skip$
'new.block
  if$
}
FUNCTION {field.or.null}
{ duplicate$ empty$
{ pop$  }
'skip$
  if$
}
FUNCTION {emphasize}
{ duplicate$ empty$
{ pop$  }
{ \emph{ swap$ * } * }
  if$
}
FUNCTION {bib.name.font}
{ emphasize }
FUNCTION {bib.fname.font}
{ bib.name.font }
FUNCTION {cite.name.font}
{ emphasize }
FUNCTION {tie.or.space.prefix}
{ duplicate$ text.length$ #3 
{ ~ }
{   }
  if$
  swap$
}

FUNCTION {capitalize}
{ u change.case$ t change.case$ }

FUNCTION {space.word}
{   swap$ *   * }
 % Here are the language-specific definitions for explicit words.
 % Each function has a name bbl.xxx where xxx is the English word.
 % The language selected here is ENGLISH
FUNCTION {bbl.and}
{ and}


new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread Marcelo Reis
I was able to do some Workaround, but there is some things and steps 
missing.Maybe you can help me
I was able to create the bibliography just with []   (NO INFORMATION 
INSIDE the *square brackets*).


I changed the BST file from :

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


TO:


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

IDEAS of how to remove  the *square brackets*???
THANK YOU SO MUCH
Marcelo


 Original Message 
Subject:Custom-Bib / Lyx / Bibliography / Customize
Date:   Tue, 21 Jul 2009 19:47:34 -0300
From:   Marcelo Reis marceb...@yahoo.com.br
To: lyx-users@lists.lyx.org lyx-users@lists.lyx.org



Guys, Don't ask me why I need to do this but the college that I study is 
asking me to do the following modification on my document:

(Check Attached)
They don't wanna any [NUMBER] or [Auther , YEAR], they want it just the 
way the MS WORD (BRAZIL) creates bibliography.

I tried to look for custom-bib, or any other thing but I did not succeed.
DO you guys have any other idea??

It is not a problem if I could not use the \CITE, actually I will 
include the citations in my document all manually.


I'd like just to make the Bibliography part to work because I have a BIB 
file with a LOT of information there.


Thanks and regards,

Marcelo





inline: Bibliography.JPG

Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread rgheck

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 :=
}




THANK YOU SO MUCH
Marcelo


 Original Message 
Subject: Custom-Bib / Lyx / Bibliography / Customize
Date: Tue, 21 Jul 2009 19:47:34 -0300
From: Marcelo Reis marceb...@yahoo.com.br
To: lyx-users@lists.lyx.org lyx-users@lists.lyx.org



Guys, Don't ask me why I need to do this but the college that I study 
is asking me to do the following modification on my document:

(Check Attached)
They don't wanna any [NUMBER] or [Auther , YEAR], they want it just 
the way the MS WORD (BRAZIL) creates bibliography.

I tried to look for custom-bib, or any other thing but I did not succeed.
DO you guys have any other idea??

It is not a problem if I could not use the \CITE, actually I will 
include the citations in my document all manually.


I'd like just to make the Bibliography part to work because I have a 
BIB file with a LOT of information there.


Thanks and regards,

Marcelo









Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread Marcelo Reis

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??






Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread rgheck

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



Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread Marcelo Reis
Guys, Don't ask me why I need to do this but the college that I study is 
asking me to do the following modification on my document:

(Check Attached)
They don't wanna any [NUMBER] or [Auther , YEAR], they want it just the 
way the MS WORD (BRAZIL) creates bibliography.

I tried to look for custom-bib, or any other thing but I did not succeed.
DO you guys have any other idea??

It is not a problem if I could not use the \CITE, actually I will 
include the citations in my document all manually.


I'd like just to make the Bibliography part to work because I have a BIB 
file with a LOT of information there.


Thanks and regards,

Marcelo



<>%%
%% This is file `ETEP.bst',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% merlin.mbs  (with options: 
`ay,alk,nm-rvvc,aunm-semi,nmlm,x3,m1,nmft,nmft-it,lab,lab-it,and-rm,keyxyr,yr-com,note-yr,tit-qq,qx,num-xser,ser-vol,pre-edn,edparxc,bkedcap,in-x,pp,ed,abr,ednx,xedn,amper,and-xcom,xand,etal-it,url,url-blk,nfss,')
%% 
%% *** ETEP FACULDADES - 2009 - MARCELO GOMES REIS ***
%% 
%% Copyright 1994-2007 Patrick W Daly
 % ===
 % IMPORTANT NOTICE:
 % This bibliographic style (bst) file has been generated from one or
 % more master bibliographic style (mbs) files, listed above.
 %
 % This generated file can be redistributed and/or modified under the terms
 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt; either
 % version 1 of the License, or any later version.
 % ===
 % Name and version information of the main mbs file:
 % \ProvidesFile{merlin.mbs}[2007/04/24 4.20 (PWD, AO, DPC)]
 %   For use with BibTeX version 0.99a or later
 %---
 % This bibliography style file is intended for texts in ENGLISH
 % This is an author-year citation style bibliography. As such, it is
 % non-standard LaTeX, and requires a special package file to function properly.
 % Such a package isnatbib.sty   by Patrick W. Daly
 % or:  apalike.sty  by Oren Patashnik
 % The form of the \bibitem entries is
 %   \bibitem[Jones et al., 1990]{key}...
 %-

ENTRY
  { address
author
booktitle
chapter
edition
editor
eid
howpublished
institution
journal
key
month
note
number
organization
pages
publisher
school
series
title
type
url
volume
year
  }
  {}
  { label extra.label sort.label short.list }
INTEGERS { output.state before.all mid.sentence after.sentence after.block }
FUNCTION {init.state.consts}
{ #0 'before.all :=
  #1 'mid.sentence :=
  #2 'after.sentence :=
  #3 'after.block :=
}
STRINGS { s t}
FUNCTION {output.nonnull}
{ 's :=
  output.state mid.sentence =
{ ", " * write$ }
{ output.state after.block =
{ add.period$ write$
  newline$
  "\newblock " write$
}
{ output.state before.all =
'write$
{ add.period$ " " * write$ }
  if$
}
  if$
  mid.sentence 'output.state :=
}
  if$
  s
}
FUNCTION {output}
{ duplicate$ empty$
'pop$
'output.nonnull
  if$
}
FUNCTION {output.check}
{ 't :=
  duplicate$ empty$
{ pop$ "empty " t * " in " * cite$ * warning$ }
'output.nonnull
  if$
}
FUNCTION {fin.entry}
{ add.period$
  write$
  newline$
}

FUNCTION {new.block}
{ output.state before.all =
'skip$
{ after.block 'output.state := }
  if$
}
FUNCTION {new.sentence}
{ output.state after.block =
'skip$
{ output.state before.all =
'skip$
{ after.sentence 'output.state := }
  if$
}
  if$
}
FUNCTION {add.blank}
{  " " * before.all 'output.state :=
}

FUNCTION {date.block}
{
  new.block
}

FUNCTION {not}
{   { #0 }
{ #1 }
  if$
}
FUNCTION {and}
{   'skip$
{ pop$ #0 }
  if$
}
FUNCTION {or}
{   { pop$ #1 }
'skip$
  if$
}
FUNCTION {non.stop}
{ duplicate$
   "}" * add.period$
   #-1 #1 substring$ "." =
}

FUNCTION {new.block.checkb}
{ empty$
  swap$ empty$
  and
'skip$
'new.block
  if$
}
FUNCTION {field.or.null}
{ duplicate$ empty$
{ pop$ "" }
'skip$
  if$
}
FUNCTION {emphasize}
{ duplicate$ empty$
{ pop$ "" }
{ "\emph{" swap$ * "}" * }
  if$
}
FUNCTION {bib.name.font}
{ emphasize }
FUNCTION {bib.fname.font}
{ bib.name.font }
FUNCTION {cite.name.font}
{ emphasize }
FUNCTION {tie.or.space.prefix}
{ duplicate$ text.length$ #3 <
{ "~" }
{ " " }
  if$
  swap$
}

FUNCTION {capitalize}
{ "u" change.case$ "t" change.case$ }

FUNCTION {space.word}
{ " " swap$ * " " * }
 % Here are the language-specific definitions for explicit words.
 % Each function has a name bbl.xxx where xxx is the English word.
 % The language selected here is ENGLISH
FUNCTION 

new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread Marcelo Reis
I was able to do some Workaround, but there is some things and steps 
missing.Maybe you can help me
I was able to create the bibliography just with []   (NO INFORMATION 
INSIDE the *square brackets*).


I changed the BST file from :

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


TO:


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

IDEAS of how to remove  the *square brackets*???
THANK YOU SO MUCH
Marcelo


 Original Message 
Subject:Custom-Bib / Lyx / Bibliography / Customize
Date:   Tue, 21 Jul 2009 19:47:34 -0300
From:   Marcelo Reis <marceb...@yahoo.com.br>
To: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org>



Guys, Don't ask me why I need to do this but the college that I study is 
asking me to do the following modification on my document:

(Check Attached)
They don't wanna any [NUMBER] or [Auther , YEAR], they want it just the 
way the MS WORD (BRAZIL) creates bibliography.

I tried to look for custom-bib, or any other thing but I did not succeed.
DO you guys have any other idea??

It is not a problem if I could not use the \CITE, actually I will 
include the citations in my document all manually.


I'd like just to make the Bibliography part to work because I have a BIB 
file with a LOT of information there.


Thanks and regards,

Marcelo





<>

Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread rgheck

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 :=
}




THANK YOU SO MUCH
Marcelo


 Original Message 
Subject: Custom-Bib / Lyx / Bibliography / Customize
Date: Tue, 21 Jul 2009 19:47:34 -0300
From: Marcelo Reis <marceb...@yahoo.com.br>
To: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org>



Guys, Don't ask me why I need to do this but the college that I study 
is asking me to do the following modification on my document:

(Check Attached)
They don't wanna any [NUMBER] or [Auther , YEAR], they want it just 
the way the MS WORD (BRAZIL) creates bibliography.

I tried to look for custom-bib, or any other thing but I did not succeed.
DO you guys have any other idea??

It is not a problem if I could not use the \CITE, actually I will 
include the citations in my document all manually.


I'd like just to make the Bibliography part to work because I have a 
BIB file with a LOT of information there.


Thanks and regards,

Marcelo









Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread Marcelo Reis

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 
. 
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??






Re: new info Custom-Bib / Lyx / Bibliography / Customize

2009-07-21 Thread rgheck

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 
. 
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