Italics for titles in references

2019-01-09 Thread jezZiFeR
Hello,

I use OSX 10.13.6, LyX 2.3.2 and KomaScript report and would like to use 
italics in the references (footnotes and bibliography). Could somebody please 
tell me a proper way how to achieve this?

I need this for the format »chapter«, the title and book title in 
»incollection«, the title in »inbook« and citetitle. I hope it is clear, what I 
mean, otherwise I would try to describe otherwise.

Thanks for your help
Jess


Re: Croatian diacritics not working in references after upgrading to 2.2

2016-06-16 Thread PhilipPirrip

On 06/16/2016 04:38 AM, Nikola Ivan Leder wrote:

So, apologies to LyX powers that be, I guess I was to blame here,
probably some encoding change in bib file after upgrading other software
that I didn't notice ...   shouldn't use those characters in key fields
anyhow...


No worries, Nikola, događa se svakom i neprestano! ;)
There are layers of software dating 40 years back that don't always work 
together.

Glad you found the error.




Re: Croatian diacritics not working in references after upgrading to 2.2

2016-06-16 Thread Nikola Ivan Leder
PhilipPirrip  net.hr> writes:

> 
> On 06/15/2016 08:46 AM, Nikola Ivan Leder wrote:
> > Hi,
> > The subject pretty much sums it up. As
> > suggested in previous thread I've upgraded
> > to lyx 2.2.
> > The new version would not produce a result
> > when exporting to PDF because of unknown
> > characters. I've tracked this to Croatian
> > diacritics from the references bib file.
> 
> Nikola,
> You shouldn't, in general,have any non-ASCII characters in your bib 
> files,it's because of bibtex limitations. You could try with bibtex8 
> (Document settings > Bibliography > Processor), or biblatex (with some 
> additional work, http://wiki.lyx.org/BibTeX/Biblatex).
> It could be though that your bib file encoding and your lyx document 
> encoding don't match: what's in your Document settings > Language > 
> Encoding?
> 
> To help you further, we'll need a minimal LyX file together with a bib 
> database showing the error.
> 
> 


Okay, let me just say that I'm a doctor and not a programmer (just an IT 
enthusiast) so I may be off on some of my answers here...   what I 
noticed that the čć and similar are converted to gibberish in bib file 
key and lyx could not read it...  it may indeed be problem due to bib 
encoding or jabref new version...  don't think that lyx is really the 
problem here.

Now that I've manually removed the croatian diacritics from the 
Bibtexkey I get a load of new errors complaining of undefined fields 
like so:
\newblock Available from: \url
 {http://stacks.iop.org/0031-
9155/48/i=16/a=...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.



This is due to DOI and URL fields in bib file, because if I erase them 
no more errors. I can however ignore this error (warning?) and get a 
perfect result.  

So, apologies to LyX powers that be, I guess I was to blame here, 
probably some encoding change in bib file after upgrading other software 
that I didn't notice ...   shouldn't use those characters in key fields 
anyhow... :)

Re: Croatian diacritics not working in references after upgrading to 2.2

2016-06-15 Thread PhilipPirrip

On 06/15/2016 08:46 AM, Nikola Ivan Leder wrote:

Hi,
The subject pretty much sums it up. As
suggested in previous thread I've upgraded
to lyx 2.2.
The new version would not produce a result
when exporting to PDF because of unknown
characters. I've tracked this to Croatian
diacritics from the references bib file.


Nikola,
You shouldn't, in general,have any non-ASCII characters in your bib 
files,it's because of bibtex limitations. You could try with bibtex8 
(Document settings > Bibliography > Processor), or biblatex (with some 
additional work, http://wiki.lyx.org/BibTeX/Biblatex).
It could be though that your bib file encoding and your lyx document 
encoding don't match: what's in your Document settings > Language > 
Encoding?


To help you further, we'll need a minimal LyX file together with a bib 
database showing the error.




Re: Croatian diacritics not working in references after upgrading to 2.2

2016-06-15 Thread Scott Kostyshak
On Wed, Jun 15, 2016 at 09:10:52PM +, Nikola Ivan Leder wrote:
> Scott Kostyshak  lyx.org> writes:
> 
> > 
> > On Wed, Jun 15, 2016 at 12:46:12PM +, Nikola Ivan Leder wrote:
> > > Hi, 
> > > The subject pretty much sums it up. As 
> > > suggested in previous thread I've upgraded 
> > > to lyx 2.2. 
> > > The new version would not produce a result 
> > > when exporting to PDF because of unknown 
> > > characters. I've tracked this to Croatian 
> > > diacritics from the references bib file. 
> > > I've manually replaced all surnames with 
> > > diacritics I. E. Č to C or ž to z and than 
> > > it worked fine. Although the names were no 
> > > longer correct. 
> > > 
> > > Any idea what is happening here and what 
> > > to do? 
> > 
> > Hi Nikola,
> > 
> > Can you send a minimal example that used to work for you in 2.1.x and 
> no
> > longer works for you in 2.2.0? That would really help when figuring 
> this
> > out. There might be a bug that we need to fix.
> > 
> > Also, when you compiled with 2.2.0 did you happen to try clicking on 
> the
> > "Show Output Anyway" button? If so, did the PDF look the same as 2.1.x
> > or did it look different?
> > 
> > Thanks for this report and for helping us figure out if there is a 
> bug.
> > 
> > Scott
> > 
> 
> 
> Here are the last couple of lines from the log...  this files used to 
> work when I last used them on 2.1.4
> 
> (PopiÄ should be Popić and RamaÄŠshould be Ramač I guess...)
> 
> 
> 
> ! Undefined control sequence.
>  PopiÄ
> ‡RamaÄŤ201346,pmid18794318,ICRP2007
> l.96 ...¡RamaÄŤ201346,pmid18794318,ICRP2007}
>   .
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
> 
> ! Undefined control sequence.
>  PopiÄâ€
> ¡RamaÄŤ201346,pmid18794318,ICRP2007
> l.96 ...¡RamaÄŤ201346,pmid18794318,ICRP2007}
>   .
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
> 
> ! Undefined control sequence.
>  PopićRamaÄ
>   Ť201346,pmid18794318,ICRP2007
> l.96 ...¡RamaÄŤ201346,pmid18794318,ICRP2007}
>   .
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
> 
> ! TeX capacity exceeded, sorry [input stack size=5000].
> \font@name ->
>  \T1/cmr/m/it/10 
> l.96 ...¡RamaÄŤ201346,pmid18794318,ICRP2007}
>   .
> If you really absolutely need more capacity,
> you can ask a wizard to enlarge me.
> 
> 
> 
> Here is how much of LuaTeX's memory you used:
>  1809 strings out of 495120
>  10,319454 words of node,token memory allocated 26353 words of node 
> memory still in use:
>44 hlist, 1 rule, 141 disc, 1 local_par, 1 dir, 359 glue, 117 kern, 
> 20 penalt
> y, 1830 glyph, 39 glue_spec, 1 temp, 4994 if_stack nodes
>avail lists: 2:2,3:30,4:32,5:262,6:3360,7:702,8:1,9:65,10:23,11:465
>  5306 multiletter control sequences out of 65536+20
>  18 fonts using 533879 bytes
>  5000i,4n,9995p,202b,127s stack positions out of 
> 5000i,500n,1p,20b,5s
> !  ==> Fatal error occurred, no output PDF file produced!

Thanks but we would need an actual .lyx document.

Scott


signature.asc
Description: PGP signature


Re: Croatian diacritics not working in references after upgrading to 2.2

2016-06-15 Thread Nikola Ivan Leder
Scott Kostyshak  lyx.org> writes:

> 
> On Wed, Jun 15, 2016 at 12:46:12PM +, Nikola Ivan Leder wrote:
> > Hi, 
> > The subject pretty much sums it up. As 
> > suggested in previous thread I've upgraded 
> > to lyx 2.2. 
> > The new version would not produce a result 
> > when exporting to PDF because of unknown 
> > characters. I've tracked this to Croatian 
> > diacritics from the references bib file. 
> > I've manually replaced all surnames with 
> > diacritics I. E. Č to C or ž to z and than 
> > it worked fine. Although the names were no 
> > longer correct. 
> > 
> > Any idea what is happening here and what 
> > to do? 
> 
> Hi Nikola,
> 
> Can you send a minimal example that used to work for you in 2.1.x and 
no
> longer works for you in 2.2.0? That would really help when figuring 
this
> out. There might be a bug that we need to fix.
> 
> Also, when you compiled with 2.2.0 did you happen to try clicking on 
the
> "Show Output Anyway" button? If so, did the PDF look the same as 2.1.x
> or did it look different?
> 
> Thanks for this report and for helping us figure out if there is a 
bug.
> 
> Scott
> 


Here are the last couple of lines from the log...  this files used to 
work when I last used them on 2.1.4

(PopiÄ should be Popić and RamaÄŠshould be Ramač I guess...)



! Undefined control sequence.
 PopiÄ
‡RamaÄŤ201346,pmid18794318,ICRP2007
l.96 ...¡RamaÄŤ201346,pmid18794318,ICRP2007}
  .
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
 PopiÄâ€
¡RamaÄŤ201346,pmid18794318,ICRP2007
l.96 ...¡RamaÄŤ201346,pmid18794318,ICRP2007}
  .
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
 PopićRamaÄ
  Ť201346,pmid18794318,ICRP2007
l.96 ...¡RamaÄŤ201346,pmid18794318,ICRP2007}
  .
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! TeX capacity exceeded, sorry [input stack size=5000].
\font@name ->
 \T1/cmr/m/it/10 
l.96 ...¡RamaÄŤ201346,pmid18794318,ICRP2007}
  .
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.



Here is how much of LuaTeX's memory you used:
 1809 strings out of 495120
 10,319454 words of node,token memory allocated 26353 words of node 
memory still in use:
   44 hlist, 1 rule, 141 disc, 1 local_par, 1 dir, 359 glue, 117 kern, 
20 penalt
y, 1830 glyph, 39 glue_spec, 1 temp, 4994 if_stack nodes
   avail lists: 2:2,3:30,4:32,5:262,6:3360,7:702,8:1,9:65,10:23,11:465
 5306 multiletter control sequences out of 65536+20
 18 fonts using 533879 bytes
 5000i,4n,9995p,202b,127s stack positions out of 
5000i,500n,1p,20b,5s
!  ==> Fatal error occurred, no output PDF file produced!


Re: Croatian diacritics not working in references after upgrading to 2.2

2016-06-15 Thread Scott Kostyshak
On Wed, Jun 15, 2016 at 12:46:12PM +, Nikola Ivan Leder wrote:
> Hi, 
> The subject pretty much sums it up. As 
> suggested in previous thread I've upgraded 
> to lyx 2.2. 
> The new version would not produce a result 
> when exporting to PDF because of unknown 
> characters. I've tracked this to Croatian 
> diacritics from the references bib file. 
> I've manually replaced all surnames with 
> diacritics I. E. Č to C or ž to z and than 
> it worked fine. Although the names were no 
> longer correct. 
> 
> Any idea what is happening here and what 
> to do? 

Hi Nikola,

Can you send a minimal example that used to work for you in 2.1.x and no
longer works for you in 2.2.0? That would really help when figuring this
out. There might be a bug that we need to fix.

Also, when you compiled with 2.2.0 did you happen to try clicking on the
"Show Output Anyway" button? If so, did the PDF look the same as 2.1.x
or did it look different?

Thanks for this report and for helping us figure out if there is a bug.

Scott


signature.asc
Description: PGP signature


Croatian diacritics not working in references after upgrading to 2.2

2016-06-15 Thread Nikola Ivan Leder
Hi, 
The subject pretty much sums it up. As 
suggested in previous thread I've upgraded 
to lyx 2.2. 
The new version would not produce a result 
when exporting to PDF because of unknown 
characters. I've tracked this to Croatian 
diacritics from the references bib file. 
I've manually replaced all surnames with 
diacritics I. E. Č to C or ž to z and than 
it worked fine. Although the names were no 
longer correct. 

Any idea what is happening here and what 
to do? 

Thanks

Re: Special Characters in References

2013-06-06 Thread Wolfgang Engelmann
Am Thursday, 6. June 2013, 22:45:11 schrieb Tim Wescott:
> Bibliography environment (at least so I think).  Here's a file that
> shows the problem.
> 
> On Thu, 2013-06-06 at 14:09 -0400, Richard Heck wrote:
> > On 06/06/2013 02:05 PM, Tim Wescott wrote:
> > > I'm trying to reference a book by a Swedish author.  Putting
> > > {\AA}strom95 as a key in my bibliographic entry causes the table at
> > > the end of the article to print correctly, but in the text I get
> > > [?].
> > > 
> > > Is there a way to do this, or am I stuck with Astrom or Aastrom
> > > (neither of which thrills me).
> > 
> > Is this using BibTeX or the bibliography environment? If the latter,
> > can you post a simple example file?
> > 
> > rh

Here it works
Wolfgang


Re: Special Characters in References

2013-06-06 Thread tim
Thank you.  That fixes that (I looked for something like 
Insert->Special Characters and did not find it -- I'm not alert today, 
or something).


On 2013-06-06 16:57, Uwe Stöhr wrote:

Am 06.06.2013 22:45, schrieb Tim Wescott:


Bibliography environment (at least so I think).  Here's a file that
shows the problem.


But it works fine if you use the characters directly (menu
Insert->Special Characters->Symbols).
Attached is your fixed file.

regards Uwe


Re: Special Characters in References

2013-06-06 Thread Uwe Stöhr

Am 06.06.2013 22:45, schrieb Tim Wescott:


Bibliography environment (at least so I think).  Here's a file that
shows the problem.


But it works fine if you use the characters directly (menu Insert->Special 
Characters->Symbols).
Attached is your fixed file.

regards Uwe


reference_problem2.lyx
Description: application/lyx


Re: Special Characters in References

2013-06-06 Thread Tim Wescott
Bibliography environment (at least so I think).  Here's a file that
shows the problem.

On Thu, 2013-06-06 at 14:09 -0400, Richard Heck wrote:
> On 06/06/2013 02:05 PM, Tim Wescott wrote:
> > I'm trying to reference a book by a Swedish author.  Putting
> > {\AA}strom95 as a key in my bibliographic entry causes the table at the
> > end of the article to print correctly, but in the text I get [?].
> >
> > Is there a way to do this, or am I stuck with Astrom or Aastrom (neither
> > of which thrills me).
> 
> Is this using BibTeX or the bibliography environment? If the latter,
> can you post a simple example file?
> 
> rh
> 
> 

-- 

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.


reference_problem.lyx
Description: application/lyx


Re: Special Characters in References

2013-06-06 Thread Richard Heck

On 06/06/2013 02:05 PM, Tim Wescott wrote:

I'm trying to reference a book by a Swedish author.  Putting
{\AA}strom95 as a key in my bibliographic entry causes the table at the
end of the article to print correctly, but in the text I get [?].

Is there a way to do this, or am I stuck with Astrom or Aastrom (neither
of which thrills me).


Is this using BibTeX or the bibliography environment? If the latter,
can you post a simple example file?

rh



Special Characters in References

2013-06-06 Thread Tim Wescott
I'm trying to reference a book by a Swedish author.  Putting
{\AA}strom95 as a key in my bibliographic entry causes the table at the
end of the article to print correctly, but in the text I get [?].

Is there a way to do this, or am I stuck with Astrom or Aastrom (neither
of which thrills me).

-- 

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.



Re: linebreak: URL in references

2009-10-30 Thread obregonmateo
On Friday 30 October 2009, Uwe Stöhr wrote:
> Leo Gürtler schrieb:
> 
> > url's are imbedded in bibtex via:
> >  note = {\url{http://www.lyx.org}},
> 
> Does it help when you replace "\url{link}" with "\href{link}{}"? To make 
> \href work, load "hyperref" 
> in the LyX document settings under "PDF options".

I use the doipubmed package with aplike bibtex files (\usepackage{doipubmed} in 
the preamble) and I use the \citeurl{http://...} command in the note={} or 
howpublished={} bibtex elements. The hyperref package is selected (lyx 1.6.4), 
and the pdf links work.

Mateo.


Re: linebreak: URL in references

2009-10-30 Thread Uwe Stöhr

Leo Gürtler schrieb:


url's are imbedded in bibtex via:
 note = {\url{http://www.lyx.org}},

any help or suggestions to solve this problem?


Does it help when you replace "\url{link}" with "\href{link}{}"? To make \href work, load "hyperref" 
in the LyX document settings under "PDF options".


regards Uwe


linebreak: URL in references

2009-10-30 Thread Leo Gürtler
Dear lyx list members,

while using apalike2 (bibtex) for the references, I have a problem with
url's. The url-link in the resulting pdf is cut at the linebreak. Thus,
url's are fragmentary if they should be used directly from the pdf
(pdflatex). The next line that continous the url-link is not a link
anymore and not related to the previous part of the url-link.

url's are imbedded in bibtex via:

...
 note = {\url{http://www.lyx.org}},
...

any help or suggestions to solve this problem?
thanks!

best,
leo


Re: Digit Lost in References

2006-07-20 Thread Bruce Pourciau

Yes, that was it. Thanks for the second time today, Richard.

Bruce

On Jul 20, 2006, at 12:24 PM, Richard Heck wrote:



My guess would be that the bibliography style expects years to be four
characters long, so you're losing the first character. But the  
solution

is simple: In the .bib file, you can just have both papers be "2005".
BibTeX will sort out the "a" and "b" for you automagically.

Richard

Bruce Pourciau wrote:
Sorry about the title of this email: this is far less sensational  
than

the Wendy's finger in the chili episode.

A certain author had two papers appear in 2005; so I dated them 2005a
and 2005b. That seemed to work just fine. But after revising my LyX
file -- including a change of .bib file, but the new .bib file has  
the

same 2005a, 2005b references -- the citations now appear as 005a and
005b. Where, oh where, has my digit 2 gone?

I used the apalike bib style before and after revision. Other bib
styles seem to be OK.

In the references, I see, for example,

[Smith, 005a] Smith, B. (2005a) blah blah

In the text, I get

[Smith, 005a, p. 10]

Any thoughts?

Bruce






Re: Digit Lost in References

2006-07-20 Thread Richard Heck

My guess would be that the bibliography style expects years to be four
characters long, so you're losing the first character. But the solution
is simple: In the .bib file, you can just have both papers be "2005".
BibTeX will sort out the "a" and "b" for you automagically.

Richard

Bruce Pourciau wrote:
> Sorry about the title of this email: this is far less sensational than
> the Wendy's finger in the chili episode.
>
> A certain author had two papers appear in 2005; so I dated them 2005a
> and 2005b. That seemed to work just fine. But after revising my LyX
> file -- including a change of .bib file, but the new .bib file has the
> same 2005a, 2005b references -- the citations now appear as 005a and
> 005b. Where, oh where, has my digit 2 gone?
>
> I used the apalike bib style before and after revision. Other bib
> styles seem to be OK.
>
> In the references, I see, for example,
>
> [Smith, 005a] Smith, B. (2005a) blah blah
>
> In the text, I get
>
> [Smith, 005a, p. 10]
>
> Any thoughts?
>
> Bruce



Digit Lost in References

2006-07-20 Thread Bruce Pourciau
Sorry about the title of this email: this is far less sensational  
than the Wendy's finger in the chili episode.


A certain author had two papers appear in 2005; so I dated them 2005a  
and 2005b. That seemed to work just fine. But after revising my LyX  
file -- including a change of .bib file, but the new .bib file has  
the same 2005a, 2005b references -- the citations now appear as 005a  
and 005b. Where, oh where, has my digit 2 gone?


I used the apalike bib style before and after revision. Other bib  
styles seem to be OK.


In the references, I see, for example,

[Smith, 005a] Smith, B. (2005a) blah blah

In the text, I get

[Smith, 005a, p. 10]

Any thoughts?

Bruce


Re: URL in References

2006-06-21 Thread Julio Rojas

I believe you have to use Jurabib. It's the only one with a URL record that
works.

On 6/21/06, Christian von Lani-Fischer <[EMAIL PROTECTED]> wrote:


Hi there,
I'm using the actual Version of Lyx and Bibdesk on Mac OS. My problem
is, that i create a Bibdesk entry for a webpage, enter the url in the
specific field but in my generated pdf, the url is not shown. All
other entry types (book, article,..) work fine. What am i doing
wrong? is there maybe a font missing?

Christian





--
-
Julio Rojas
[EMAIL PROTECTED]


URL in References

2006-06-20 Thread Christian von Lani-Fischer

Hi there,
I'm using the actual Version of Lyx and Bibdesk on Mac OS. My problem  
is, that i create a Bibdesk entry for a webpage, enter the url in the  
specific field but in my generated pdf, the url is not shown. All  
other entry types (book, article,..) work fine. What am i doing  
wrong? is there maybe a font missing?


Christian


Re: Hacking bst files... [Was: Show entry type in References]

2006-06-07 Thread Sara Stymne

Ares skrev:
As I wrote in a previous post, I would like the references of my PhD 
thesis

to be arranged as follows:


References

Articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...


LyX 1.4.1 supports "sectioned bibliography", so it is possible to 
split the

Bibliography chapter in sections.

In order to have the citation as [Art1] and [Book1] etc, I need to hack a
bst file, as suggested by Jürgen. I had a look to plain.bst and it 
doesn't

sound so easy!

In the end I would just like to add a prefix (Book, Art etc) to the
reference numbering and to use a separate bst file for each entry (Books,
Articles etc), so that the numbering starts with each "section".

Is there a resource where I can find how bst files work? or is there 
someone

who can help me?

Thanks for support,
Diego


Hi!

I think that a much easier way to get a bst file than to start hack it 
is to use the makebst utility. (run latex makebst) Then you get a series 
of multiple choice question on how you want to format oyur 
bibliographical entries. Then two files are created, a dbj file and a 
bst file. The bst file is the bibliography file created. The dbj file is 
a batch file that is run through latex to create the bst file.


If you later want to tweak the style file, this can easily be done by 
changing the dbj file, which is quite easy. Just comment out the option 
you want to change using a "#", and uncomment the line with the option 
you prefer instead. The you just run the dbj file thorugh latex to 
update the bst file!


You might not be able to do everything this way, but at least it is easy 
and it helped me a lot!


/Sara



Re: Hacking bst files... [Was: Show entry type in References]

2006-06-07 Thread Richard Heck

One of the things I personally find annoying about LaTeX is the syntax,
and BibTeX is even worse, frankly, but it's not that insanely
complicated once you adjust to the stack-oriented character of the
language. You may find it useful to keep pen and paper nearby so you can
keep track of what's on the stack as you trace the code.

If you haven't read it, obviously you should read btxhak.dvi, the guide
to hacking BibTeX style files. It takes a while---I know---to get a
sense for how the language works, and how these style files work, but it
will start to make sense after a while. You should also export to LaTeX,
compile the file manually, and look at what is being written to the .bbl
file, when various bibliography styles are used.

The labels used in the bibliography, and in the text, are set by the
\bibitem command that the style file writes to the .bbl file. In many
style files, this seems to be written by the output.bibitem function,
which is called at the beginning of each of the functions, article,
book, etc, that are called for the appropriate sorts of items. Here it
is from plain.bst:

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

This ends up writing something like:

\bibitem{Descartes:Rules}

to your .bbl file. Compare this function, from alpha.bst:

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

This writes something like:

\bibitem[Des82]{Descartes:Rules}

to the .bbl file, with the result that the label "Des82" is used both in
the text and the bibliography. Since there is no such argument to
\bibitem in the previous case, the default is used: The cite key is
simply a number.

The variable "label" is what holds the value of the cite key in
alpha.bst. Where was it set? You will note that it is mentioned in the
ENTRY declaration, both in plain.bst and in alpha.bst, as a "string
variable" that is associated with each item in the bibliography. This is
NOT an item set in the .bib file itself---unlike author, title,
etc---but rather a new variable that has been declared to be associated
with each item and that can be manipulated in the .bst file. In
plain.bst, the label variable is set in the function longest.label.pass:

FUNCTION {longest.label.pass}
{ number.label int.to.str$ 'label := % number.label was initialized to 1 in 
initialize.longest.label
 % its string form is here being assigned 
to label
  number.label #1 + 'number.label := %this increments number.label
  label width$ longest.label.width > 
{ label 'longest.label :=
  label width$ 'longest.label.width :=
}
'skip$
  if$
}

(I've added comments.) This function is called for each item in the
bibliography with:

ITERATE(longest.label.pass)

which is itself called after the list has been sorted and such. If you
look at alpha.bst, you will see that label is set for each item in
calc.label, which is itself called in the function presort, called with
ITERATE(presort).

Hint: If you want to know where a variable named "var" is set, search
for: 'var, since an assignment to var will look like: 'var :=, the
assigned value being whatever is on the top of the stack. (If you see
whatever 'var ;=, then the occurrence of "whatever" is just pushing a
value onto the stack.)

So the label variable exists in plain.bst, but it is not used there. But
we can use it. For example, suppose we change the definition of
output.bibitem in plain.bst to the following:

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

Then we get cite keys like: FROG3, FROG25, etc.

Your request is more complicated, because we want something different
for different types of entries. But that's OK, because we have the entry
type in the type$ variable, and we can just check that. The easiest
thing to do would seem to be to define a new function that will print
the prefix we want depending upon the entry type. This function will
handle articles, incollections, and books:

FUNCTION {output.prefix}
{
  type$ "incollection" =
  type$ "article" =
  + %hack for "or"
{ "Art" }
{
  type$ "book" =
{ "Book" }
{ "Other" }
  if$
}
  if$
}

If you need to add other types, that's obviously easy to do. (There's no
elsif here, so we have to use nested ifs. Exercise: Code up a switch or
case statement!) We then redefine output.bibitem as follows:

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

That should do what you need, more or less.

Richard


Ares wrote:
> As I wrote in a previous post, I would like the references of my PhD
> thes

Re: Hacking bst files... [Was: Show entry type in References]

2006-06-05 Thread K. Elo
Hi,

2006-06-05 18:46 +0200, Ares:
> As I wrote in a previous post, I would like the references of my PhD thesis
> to be arranged as follows:
> 
> > References
> >
> > Articles
> > [Art1] article1
> > [Art2] article2
> > etc
> > Books
> > [Book1] book1
> > [Book2] book2
> > etc
> > etc
> > ...
> 
> LyX 1.4.1 supports "sectioned bibliography", so it is possible to split the
> Bibliography chapter in sections.
> 
> In order to have the citation as [Art1] and [Book1] etc, I need to hack a
> bst file, as suggested by Jürgen. I had a look to plain.bst and it doesn't
> sound so easy!

> In the end I would just like to add a prefix (Book, Art etc) to the
> reference numbering and to use a separate bst file for each entry (Books,
> Articles etc), so that the numbering starts with each "section".

Actually, this is an issue related to the \bibitem command in the .bst
file. However, adding a text before the number is a bit tricky... I have
been testing several solutions but haven't find any yet. I keep
testing...

Kind regards,
Kimmo



Hacking bst files... [Was: Show entry type in References]

2006-06-05 Thread Ares

As I wrote in a previous post, I would like the references of my PhD thesis
to be arranged as follows:


References

Articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...


LyX 1.4.1 supports "sectioned bibliography", so it is possible to split the
Bibliography chapter in sections.

In order to have the citation as [Art1] and [Book1] etc, I need to hack a
bst file, as suggested by Jürgen. I had a look to plain.bst and it doesn't
sound so easy!

In the end I would just like to add a prefix (Book, Art etc) to the
reference numbering and to use a separate bst file for each entry (Books,
Articles etc), so that the numbering starts with each "section".

Is there a resource where I can find how bst files work? or is there someone
who can help me?

Thanks for support,
Diego


Bibliography in TOC [Was: Show entry type in References]

2006-06-05 Thread Ares

I managed to get the Bibliography in TOC in the output file by using the TeX
command \backmatter right before the Bibliography Chapter (not Chapter*) and
preceded by a page break. See:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/ce999aa747cf4a3e/36b1505bedbf3288?q=starred+TOC&rnum=1#36b1505bedbf3288


In this way, inside LyX you get the Bibliography chapter numbered, and as an
appendix (if you have, as in my case, appendixes), also appearing in LyX
file TOC. When you view the pdf, for example, you get a nice Bibliography
title (without number) in TOC of the compiled document.

Perhaps it is a dirty trick, but it works...

Anyway the Document settings --> Numbering and TOC pane does not work... is
it a bug? how to report it?

Regards,
Diego



-- Forwarded message --
From: Ares <[EMAIL PROTECTED]>
Date: 5-giu-2006 10.58
Subject: Show entry type in References
To: lyx-users@lists.lyx.org



I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option "Add
bibliography to TOC" in the "BibTeX generated bibliography" dialog.

What I did is to define the "Bibliography" section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings --> Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document > settings... >
bibliography > sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the "Bibliography" section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document > settings... >
bibliography > sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the "Bibliography" section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option "printheadings" (in
Document->Settings->Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package "splitbib" might help).

Jürgen


Re: Show entry type in References

2006-06-05 Thread Juergen Spitzmueller
Ares wrote:
> If I use the option Sectioned Bibliography, I cannot check the option "Add
> bibliography to TOC" in the "BibTeX generated bibliography" dialog.

Yes, because there isn't a heading to add.

> What I did is to define the "Bibliography" section name as a Chapter*
> (chapter title without numbering). Either this way, the Bibliography does
> not appear in TOC. I also went to Document settings --> Numbering and TOC,
> but it is not possible from here to change the behaviour of Chapter* since
> Chapter* is not there at all! but there are Part* and Section*, so why not
> Chapter* ? By the way, I noticed that even if I set Part* and Section* to
> appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
> the meaning of it all?

The starred versions of the headings are _by definition_ excluded from the 
toc. So either add
\addcontentsline{toc}{chapter}{Bibliography}
in ERT below the heading, or use the KOMA-script classes, which provide 
\addchap (unnumbered headings that are included in the TOC).

HTH,
Jürgen


Show entry type in References

2006-06-05 Thread Ares

I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option "Add
bibliography to TOC" in the "BibTeX generated bibliography" dialog.

What I did is to define the "Bibliography" section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings --> Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document > settings... >
bibliography > sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the "Bibliography" section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document > settings... >
bibliography > sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the "Bibliography" section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option "printheadings" (in
Document->Settings->Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package "splitbib" might help).

Jürgen


Re: Show entry type in References

2006-06-04 Thread Juergen Spitzmueller
Ares wrote:
> I found that LyX 1.4.1 (on Win) has the option document > settings... >
> bibliography > sectioned bibliography, so i can insert multiple bibtex
> generated bibliography and add section (or subsection) names by myself.
> There's some cons, though:
>  - I have to define myself the "Bibliography" section name

What's the problem with that? Otherwise it wouldn't simply be possible to add 
your own bibliography section headings. The option "printheadings" (in 
Document->Settings->Class Options), however, changes the behaviour.

>  - I'm still not able to define the citation style as [Art1], [Art2] etc
> for articles, [Book1], [Book2] etc for books etc. Should I define a bst
> file by myself?

yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the 
package "splitbib" might help).

Jürgen


Show entry type in References

2006-06-04 Thread Ares

I found that LyX 1.4.1 (on Win) has the option document > settings... >
bibliography > sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the "Bibliography" section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego


Re: Show entry type in References

2006-05-18 Thread Sara Stymne

Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego





Show entry type in References

2006-05-17 Thread Ares

Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego


and and und in references

2006-05-01 Thread Wolfgang Engelmann
Hi, lyx users

I have a small problem with my references. I am using JabRef as the database 
and insert selected references via the lyx pipe into my document. Some of the 
references in the database are copied from an other database. If they are 
piped into the text, they are referenced as 
author1 und author2
instead of 
author1 and author2.

I do not understand the cause of it. The bibtex text seems to be identical. 
Does this has to do with JabRef, some language setting, and how do I change 
it?

Thanks for help again in this helpful list

Wolfgang


RE: Spacing in references

2003-08-18 Thread Remzi Seker
You may also want to try and use the package setspace.
Remzi

> -Original Message-
> From: Osvaldo Fornaro [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 14, 2003 10:11 AM
> To: LyX User List
> Subject: Spacing in references
>
>
> Hi list,
>
> I am fine tuning an article (class article) which is "camera
> ready", and need
> to reduce the spacing between the bibitems in the references. I am using
> bibtex.
> How i could to control such spacing?
>
> Thanks,
> Osvaldo
>
>
>
>
>
> --
> Dr. Osvaldo Fornaro <[EMAIL PROTECTED]>
> Universidad Nacional del Centro de la Provincia de Buenos Aires
> Instituto de Física de Materiales Tandil - CICPBA
> Pinto 399 (B7000GHG)
> Argentina
>



Re: Spacing in references

2003-08-15 Thread Herbert Voß
Osvaldo Fornaro schrieb:
I am fine tuning an article (class article) which is "camera ready", and need 
to reduce the spacing between the bibitems in the references. I am using 
bibtex.
How i could to control such spacing?
http://www.educat.hu-berlin.de/~voss/LaTeX/list/list.phtml#biblio

Herbert




Spacing in references

2003-08-14 Thread Osvaldo Fornaro
Hi list,

I am fine tuning an article (class article) which is "camera ready", and need 
to reduce the spacing between the bibitems in the references. I am using 
bibtex.
How i could to control such spacing?

Thanks,
Osvaldo





-- 
Dr. Osvaldo Fornaro <[EMAIL PROTECTED]>
Universidad Nacional del Centro de la Provincia de Buenos Aires
Instituto de Física de Materiales Tandil - CICPBA
Pinto 399 (B7000GHG)
Argentina


Re: Line spacing in references

2001-12-06 Thread Dekel Tsur

On Tue, Dec 04, 2001 at 01:56:46PM -0500, Steve Litt wrote:
> On Tuesday 04 December 2001 13:39, Wolfgang Kilian wrote:
> > Hello altogether,
> >  I'm using Lyx 1.1.5.fix1 and want to change the linespacing within the
> > bibtex generatet references in an article style document. Unfortunately
> > I can't figure out how to.

> Start by grepping for the bibtex environment or command in /usr/share/texmf 
> tree. Find a \newenvironment, \newcommand, \renewenvironment, or 
> \renewcommand for that environment or command. Then paste that entire 
> definition into either your layout file or your document preamble, and add 
> code to change the line spacing. The code I would add is to put
> 
> \usepackage{setspace}
> 
> early in the preamble or layout, and then follow it any time later with the 
> above referenced code with something like
> 
>   \setlength{\parsep}{-1pt}
>   \setlength{\parskip}{-1pt}
>   \setstretch{0.8}
> or whatever makes the spacing right for you.

You don't need to copy the original definition. You can use something like
this (in the preamble):

\usepackage{setspace}
\let\oldbibliography\bibliography
\renewcommand{\bibliography}[1]{\setstretch{0.8}\oldbibliography{#1}}



Re: Line spacing in references

2001-12-04 Thread Steve Litt

On Tuesday 04 December 2001 13:39, Wolfgang Kilian wrote:
> Hello altogether,
>  I'm using Lyx 1.1.5.fix1 and want to change the linespacing within the
> bibtex generatet references in an article style document. Unfortunately
> I can't figure out how to.
>
> Thanks in advance
>   Wolfgang

I can't tell you the exact code, but here's the process by which I would find 
out:

Start by grepping for the bibtex environment or command in /usr/share/texmf 
tree. Find a \newenvironment, \newcommand, \renewenvironment, or 
\renewcommand for that environment or command. Then paste that entire 
definition into either your layout file or your document preamble, and add 
code to change the line spacing. The code I would add is to put

\usepackage{setspace}

early in the preamble or layout, and then follow it any time later with the 
above referenced code with something like

  \setlength{\parsep}{-1pt}
  \setlength{\parskip}{-1pt}
  \setstretch{0.8}

or whatever makes the spacing right for you.

Hope this helps.

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.







Line spacing in references

2001-12-04 Thread Wolfgang Kilian

Hello altogether,
 I'm using Lyx 1.1.5.fix1 and want to change the linespacing within the
bibtex generatet references in an article style document. Unfortunately
I can't figure out how to.

Thanks in advance
Wolfgang



Re: [ ] in references

2000-06-29 Thread Herbert Voss

> Alexander Bauer wrote:
> 
> Hi,
> 
> I'm using references in a document and if the document is printed, the
> label (grey part) is in brackets.
> Like this
> 
> [Wöhe, G] blah blah
> 
> Is it possible to get rid off the brackets?

\usepackage{cite}   % all in latex preamble
\citeleft{}
\citeright{}

Herbert



-- 
[EMAIL PROTECTED]
http://perce.de/voss




[ ] in references

2000-06-29 Thread Alexander Bauer



Hi,
 
I'm using references in a document and if the 
document is printed, the label (grey part) is in brackets.
Like this
 
[Wöhe, G] blah blah
 
Is it possible to get rid off the 
brackets?
 
 
 
Alex
 


Re: Accent in References

2000-04-13 Thread Alexander Bauer


> >>
> >>At 04:45 PM 4/11/2000 +0200, Alexander Bauer wrote:
> >>>I´ll try again to describe it more precise.
> >>>
> >>> In LyX 1.0.4 (on SUSE 6.1) I use "bibliograbpy". In the references
section
> >>>I open the
> >>>popup-window "Bibliography Item". It has the two fields "Key" and
"Label".
> >>>In the field "Label" I need "Horváth".
> >>>I found out that the compose key is my right-ctrl key (winkeyboard) and
it
> >>>works in other applications but I can´t copy the "á" into the LyX text
> >>>window and not in the bibliography popup. In the text window it is not
a
> >>>problem because I can do the "á" (\´
> >>>)in tex but this doesn´t work in the popup-window!
> >>>
> >>>Any help is appreciated.
> >>>
> >>>Alex
> >>>
> >>Hi!
> >>
> >>I had the same problem. My name is written "Huldén", and I had to cite
> >>myself. No way in the popup to do the thing. I finally loaded the text
> >>(lyx-file) in an ordinary texteditor and search_and_replaced all
"Huldens"
> >>with "Huldéns" and save. After that all went smoothly in Lyx, and the
> >>bibliography popup shows the name correctly.
> >>
> >>best wishes
> >>
> >>Niklas Huldén
> >>
>
> I don't undertand the questions, the citation key never appears
> in the typed document, what is wrong with using unaccented keys ?
>
> --
> Jean-Pierre
>
>

Ok, Jean Piere the keys do not appear, but the labels do. I tried Niklas
Huldéns proposal and it solves the problem!

Thanks to everyone

Alex




Re: Accent in References

2000-04-13 Thread Jean-Marc Lasgouttes

> "Alexander" == Alexander Bauer <[EMAIL PROTECTED]> writes:

Alexander>  In LyX 1.0.4 (on SUSE 6.1) I use "bibliograbpy". In the
Alexander> references section I open the popup-window "Bibliography
Alexander> Item". It has the two fields "Key" and "Label". In the
Alexander> field "Label" I need "Horváth". I found out that the
Alexander> compose key is my right-ctrl key (winkeyboard) and it works
Alexander> in other applications but I can´t copy the "á" into the LyX
Alexander> text window and not in the bibliography popup. In the text
Alexander> window it is not a problem because I can do the "á" (\´ )in
Alexander> tex but this doesn´t work in the popup-window!

As I said, there is not much we can do, since the xforms toolkit does
not support compose key... However, you should be able to type the
name in a text editor (not in LyX itself) and then cut-n-paste it in
the popup.

JMarc



Re: Accent in References

2000-04-12 Thread Jean-Pierre.Chretien


>>Date: Wed, 12 Apr 2000 19:12:50 +0300
>>To: "Alexander Bauer" <[EMAIL PROTECTED]>, 
"LYX-Userlist" <[EMAIL PROTECTED]>
>>From: Niklas Hulden <[EMAIL PROTECTED]>
>>Subject: Re: Accent in References
>>
>>At 04:45 PM 4/11/2000 +0200, Alexander Bauer wrote:
>>>I´ll try again to describe it more precise.
>>>
>>> In LyX 1.0.4 (on SUSE 6.1) I use "bibliograbpy". In the references section
>>>I open the
>>>popup-window "Bibliography Item". It has the two fields "Key" and "Label".
>>>In the field "Label" I need "Horváth".
>>>I found out that the compose key is my right-ctrl key (winkeyboard) and it
>>>works in other applications but I can´t copy the "á" into the LyX text
>>>window and not in the bibliography popup. In the text window it is not a
>>>problem because I can do the "á" (\´
>>>)in tex but this doesn´t work in the popup-window!
>>>
>>>Any help is appreciated.
>>>
>>>Alex
>>>
>>Hi!
>>
>>I had the same problem. My name is written "Huldén", and I had to cite
>>myself. No way in the popup to do the thing. I finally loaded the text
>>(lyx-file) in an ordinary texteditor and search_and_replaced all "Huldens"
>>with "Huldéns" and save. After that all went smoothly in Lyx, and the
>>bibliography popup shows the name correctly.
>>
>>best wishes
>>
>>Niklas Huldén
>>

I don't undertand the questions, the citation key never appears
in the typed document, what is wrong with using unaccented keys ?

-- 
Jean-Pierre





Re: Accent in References

2000-04-12 Thread Niklas Hulden

At 04:45 PM 4/11/2000 +0200, Alexander Bauer wrote:
>I´ll try again to describe it more precise.
>
> In LyX 1.0.4 (on SUSE 6.1) I use "bibliograbpy". In the references section
>I open the
>popup-window "Bibliography Item". It has the two fields "Key" and "Label".
>In the field "Label" I need "Horváth".
>I found out that the compose key is my right-ctrl key (winkeyboard) and it
>works in other applications but I can´t copy the "á" into the LyX text
>window and not in the bibliography popup. In the text window it is not a
>problem because I can do the "á" (\´
>)in tex but this doesn´t work in the popup-window!
>
>Any help is appreciated.
>
>Alex
>
Hi!

I had the same problem. My name is written "Huldén", and I had to cite
myself. No way in the popup to do the thing. I finally loaded the text
(lyx-file) in an ordinary texteditor and search_and_replaced all "Huldens"
with "Huldéns" and save. After that all went smoothly in Lyx, and the
bibliography popup shows the name correctly.

best wishes

Niklas Huldén




Re: Accent in References

2000-04-12 Thread Alexander Bauer


-Ursprüngliche Nachricht-
Von: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
An: Tuukka Toivonen <[EMAIL PROTECTED]>
Cc: Alexander Bauer <[EMAIL PROTECTED]>; LYX-Userlist
<[EMAIL PROTECTED]>
Gesendet: Dienstag, 11. April 2000 10:44
Betreff: Re: Accent in References


> >>>>> "Tuukka" == Tuukka Toivonen <[EMAIL PROTECTED]> writes:
>
> Tuukka> On Sun, 9 Apr 2000, Alexander Bauer wrote:
> >> Horvath
> >>
> >> but the a needs an accent
> >>
> >> In tex it´s something like that
> >>
> >> \´
> >>
> >> but I can´t use it in the references box.
>
> Tuukka> So you want to write "Horváth"? Try typing compose-'-a. It
> Tuukka> works with Pine anyway :) (If you have problems with the
> Tuukka> compose key, try reading my recent message about copyright
> Tuukka> symbol and compose key).
>
> Unfortunately, compose key does not work in xforms popups. The other
> solution is to write it in another application, and then cut-n-paste
> it in LyX. Not very user-friendly, I know...
>
> JMarc

Thanks for your suggestions, but my problem isn´t solved yet.

I´ll try again to describe it more precise.

 In LyX 1.0.4 (on SUSE 6.1) I use "bibliograbpy". In the references section
I open the
popup-window "Bibliography Item". It has the two fields "Key" and "Label".
In the field "Label" I need "Horváth".
I found out that the compose key is my right-ctrl key (winkeyboard) and it
works in other applications but I can´t copy the "á" into the LyX text
window and not in the bibliography popup. In the text window it is not a
problem because I can do the "á" (\´
)in tex but this doesn´t work in the popup-window!

Any help is appreciated.

Alex





Re: Accent in References

2000-04-11 Thread Jean-Marc Lasgouttes

> "Tuukka" == Tuukka Toivonen <[EMAIL PROTECTED]> writes:

Tuukka> On Sun, 9 Apr 2000, Alexander Bauer wrote:
>> Horvath
>> 
>> but the a needs an accent
>> 
>> In tex it´s something like that
>> 
>> \´
>> 
>> but I can´t use it in the references box.

Tuukka> So you want to write "Horváth"? Try typing compose-'-a. It
Tuukka> works with Pine anyway :) (If you have problems with the
Tuukka> compose key, try reading my recent message about copyright
Tuukka> symbol and compose key).

Unfortunately, compose key does not work in xforms popups. The other
solution is to write it in another application, and then cut-n-paste
it in LyX. Not very user-friendly, I know...

JMarc



Re: Accent in References

2000-04-10 Thread Tuukka Toivonen

On Sun, 9 Apr 2000, Alexander Bauer wrote:

> Horvath 
> 
> but the a needs an accent
> 
> In tex it´s something like that
> 
> \´
>
> but I can´t use it in the references box.

So you want to write "Horváth"?
Try typing compose-'-a. It works with Pine anyway :)
(If you have problems with the compose key, try reading my recent message
about copyright symbol and compose key).




Accent in References

2000-04-10 Thread Alexander Bauer



Hi,
I writing a document where I need an accent in the 
references
Something like 
 
Horvath 
 
but the a needs an accent
 
In tex it´s something like that
 
\´
 
but I can´t use it in the references 
box.
 
Thanks 
 
Alex