Re: customizing the extra spaces

2009-07-21 Thread Jürgen Spitzmüller
Pol wrote:
 I should set a shortcut for Insert-Formatting-Horizontal Space with a
 given parameter, to enter a space with pre-defined length. Is that
 possible?

Yes, the according lfun is
space-insert hspace 1.5cm
(or whatever the length is)

Jürgen


lyx-code / scrap bug?

2009-07-21 Thread Sam Liddicott
Please could someone competent with Lyx 1.6.3 try this; create a
literate (noweb) document and have a scrap immediately follow a lyx-code
section.

In the generated .nw file (in the /tmp/lyx* dir when creating a dvi
preview) the file looks like this:

\}
\end{lyxcode}
\selectlanguage{english}%
\inputencoding{latin9}dfs_search_first()=
{
  NTSTATUS status;


The error being that dfs_search_first()= is the start of scrap and
should start on a new line.

I shall try and compile lyx 1.6.3 debs against the ubuntu 1.6.2 .dsc
file soon.

Sam


ligatures

2009-07-21 Thread Tao Cumplido
Hello,

is it possible to make lyx display advanced ligatures like 'tt' 'Th' 'ft' etc.? 
I use the Linux Libertine font which has these ligatures in the private use 
area.

Regards,

Tao
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser


shortcuts: LyX OSX side by side?

2009-07-21 Thread Joachim Osnabryg

sorry, again with changed subject (still hoping for help):

Hi LyXers, especially on Mac-OSX:

With my German keyboard on Mac-OSX normally I can get with

alt+a | d | e | o |  t | p | + | x | c | m |  l  |  ö | ä  etc.
the following special letters/symbols:
   å  | ∂ | € | ø | † | π | ± | ≈ | ç | µ | @ | œ | æ etc.

which I find very practical.

But because of the key-bindings in LyX (mac-bindings in this case, see
Help=Keybord-Shortcuts or similar) these
usual key combinations for special characters are disabled in LyX.

Of course one can disable any key-binding in LyX (so they are not usable
at all and the system key-combinations will be in effect in LyX, too) or
create another one, which seems rather laborious and time-consuming.

I hoped I could vary the keybinding of LyX or of Mac-OSX with one ore few
steps, e. g. change from alt+x
to command+alt+x or similar to avoid this problem, but I didn't find out,
how.

Can anybody show a way to get the wanted result, i. e. holding the LyX
keybindings and
== create other key-combinations for the special letters/symbols which in
other programs are got with alt+x?

joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.1
MacBook Pro intel OSX 10.4.11 Tiger



Re: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-21 Thread Joost Verburg

Nick Bell wrote:
Apologies if this has been said before, but I have only ever been able 
to get graphics preview to work if I start LyX by running lyx.exe. If I 
use the default LyXlauncher.exe, I can't preview .eps, .pdf (although 
.png works).


For the new 1.6.3-2 installers I've updated the graphics conversion to
be more reliable and also faster. This issue should also be fixed.

Joost



Re: shortcuts: LyX OSX side by side?

2009-07-21 Thread BH
On Tue, Jul 21, 2009 at 8:15 AM, Joachim Osnabrygo...@jpberlin.de wrote:
 sorry, again with changed subject (still hoping for help):

 Hi LyXers, especially on Mac-OSX:

 With my German keyboard on Mac-OSX normally I can get with

 alt+a | d | e | o |  t | p | + | x | c | m |  l  |  ö | ä  etc.
 the following special letters/symbols:
       å  | ∂ | € | ø | † | π | ± | ≈ | ç | µ | @ | œ | æ etc.

 which I find very practical.

 But because of the key-bindings in LyX (mac-bindings in this case, see
 Help=Keybord-Shortcuts or similar) these
 usual key combinations for special characters are disabled in LyX.

 Of course one can disable any key-binding in LyX (so they are not usable
 at all and the system key-combinations will be in effect in LyX, too) or
 create another one, which seems rather laborious and time-consuming.

 I hoped I could vary the keybinding of LyX or of Mac-OSX with one ore few
 steps, e. g. change from alt+x
 to command+alt+x or similar to avoid this problem, but I didn't find out,
 how.

 Can anybody show a way to get the wanted result, i. e. holding the LyX
 keybindings and
 == create other key-combinations for the special letters/symbols which in
 other programs are got with alt+x?

I don't know much about German keyboards, but the easiest way I know
to change keybindings in LyX is to go through LyX  Preferences 
Editing  Shortcuts and do each one manually. (You can manually edit
the keybindings file, which is at ~/Library/Application
Support/LyX-1.6/bind/user.bind. Just make sure you have a backup to
revert any changes that don't work.) So it looks like you'll have to
do each one separately. Fortunately, it's a once-and-done thing.

BH


Re: ligatures

2009-07-21 Thread Helge Hafting

Tao Cumplido wrote:

Hello,

is it possible to make lyx display advanced ligatures like 'tt' 'Th' 'ft' etc.? 
I use the Linux Libertine font which has these ligatures in the private use 
area.


Do you mean on the screen, or in printed output?

Printed output (or pdf output) should use all available ligatures, if
LaTeX is correctly set up to support your font.

Helge Hafting


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-21 Thread Helge Hafting

Pavel Sanda wrote:

Rich Shepard wrote:

It can take an amateur like me
almost as long to prepare the index as it does to write the text. Like


just an idea - couldn't be this a bit automatized? something like export to
plain text, sort  uniq all words by alphabet, manually delete the boring words
(shouldn't be too much in tech documentation) and then run some script mapping
it back into the text.

this would probably cause some problems for multiple-word entries and languages
with too many word inflections and so on, but only experiment probably tells...


There is also the problem that you often don't want to index every case 
of an otherwise interesting word. Some types of litterature demands 
this, and then automating it helps. (Advanced search  replace might
also help - e.g. replace concept with concept+indexentry[concept] 
and then hit replace all.)


However, this is often not what you want. Students seeing an index
like concept: 1, 3, 5 ,7 ,9-11, 15-22, 34, 86-99, 101 despair. Testing 
shows that they only look up the first few entries. In such cases, you 
index the 2-3 most important occurences. Such as the definition, an 
explanation, and perhaps an interesting example. Too much choice is not 
good. A word may be mentioned in a footnote somewhere, without  this 
being an interesting place to look for said word.



Helge Hafting


Linux Format - LyX made easy

2009-07-21 Thread Iain Mac Donald

Linux Format magazine have just published an online version of their
made easy series of articles with the spotlight on LyX this month.
The article can be found at the link below:

http://www.tuxradar.com/content/lyx-made-easy

Regards,
Iain.


Re: ligatures

2009-07-21 Thread Tao Cumplido
I mean the output. So far I only see the three standard ligatures 'fi' 'ff' 
'fl' being printed. Maybe there are more but those I mentioned previously are 
definitely not used.
I have no idea though if Latex is set up correctly for the Libertine font.

Regards,

Tao

 Original-Nachricht 
 Datum: Tue, 21 Jul 2009 16:04:50 +0200
 Von: Helge Hafting helge.haft...@hist.no
 An: Tao Cumplido taocumpl...@gmx.net
 CC: lyx-users@lists.lyx.org
 Betreff: Re: ligatures

 Tao Cumplido wrote:
  Hello,
  
  is it possible to make lyx display advanced ligatures like 'tt' 'Th'
 'ft' etc.? I use the Linux Libertine font which has these ligatures in the
 private use area.
  
 Do you mean on the screen, or in printed output?
 
 Printed output (or pdf output) should use all available ligatures, if
 LaTeX is correctly set up to support your font.
 
 Helge Hafting

-- 
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02


Re: Screen font display issue (cleartype?)

2009-07-21 Thread Joost Verburg

James Oldfield wrote:

Both my home and college computers are running LyX 1.6.3 (3 June 2009)
on Windows XP, installed with the default installer. I see the following
problem only on my college computer [but I have mentioned my home PC in
a couple of places for comparison, you can ignore if you like]. This is
about fonts as they appear in the LyX edit window, *NOT* in the PDF
output (or instant preview).


Could you try to install 1.6.3-2? This updated installer includes Qt 
4.5.2 (a new version of the library that LyX uses for its interface) and 
it looks like they fixed such a font issue.


Joost



Biblatex and filters

2009-07-21 Thread Antonio Díaz
Hi all:

I'm trying to define a filter for a bibliography, but I can't do it right.
In the *Biblatex* manual, in *3.5.8 Bibliography filters*, appears this
example:
*
**\defbibfilter{example}{% *
*\( \type{book} \or \type{inbook} \) *
*\and \keyword{abc} *
*\and \not \keyword{xyz}} *

And —I'm not sure— I supose it's just like

*\defbibfilter{example}{\( \type{book} \or \type{inbook} \) \and
\keyword{abc} \and \not \keyword{xyz}} *

I want to create a filter like write in this bibliography all the
references with the keyword *General*, but only those without the type *
electronic*:*
\defbibfilter{General}{\keyword{General} \and \not \type{electronic}} *

And later, where I want the bibliography

\printbibliography[filter=General]
\nocite{*}

Am I writing it correctly?

Regards

Antonio


document selection combo is back?

2009-07-21 Thread Rudi Gaelzer
I've just installed LyX 1.6.3 in F10.
Seems that the document selection combo is back on the road.
Kudos to the developers.

FYI, I asked for this in the following thread:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg72822.html

Still have a doubt, though.  Do I still have to use the xr package if I
want to cross-reference with documents that are not in a child/master tree?

Thanks.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Apacite and Lyx

2009-07-21 Thread Christian Brodbeck

Hello,

I need citations according to APA standard for a thesis. Does anyone  
have experience with that?


From what information I could find, apacite would do it, but I could  
not find any information online on how to get it to work with Lyx.


Specifically, apacite seems to use different latex comands. Apacite  
requires \cite for notmal citation and \citeA for citation in text  
(parentheses only around year). However, Lyx generates either only  
\cite command (default bibliography) or \citet and \citep for natbib,  
and uses a different parenthesis structure for additional arguments.


Does anybody know a way to work around this?

In principe it seems like it should not be difficult to add the option  
to Lyx to write \citeA instead of \citep commands. I myself can only  
program python though (if that function would actually be acessible in  
python could anyone point me to where I coud find it?).



Best,
Christian



Re: Apacite and Lyx

2009-07-21 Thread rgheck

On 07/21/2009 05:02 PM, Christian Brodbeck wrote:

Hello,

I need citations according to APA standard for a thesis. Does anyone 
have experience with that?


From what information I could find, apacite would do it, but I could 
not find any information online on how to get it to work with Lyx.


Specifically, apacite seems to use different latex comands. Apacite 
requires \cite for notmal citation and \citeA for citation in text 
(parentheses only around year). However, Lyx generates either only 
\cite command (default bibliography) or \citet and \citep for natbib, 
and uses a different parenthesis structure for additional arguments.


Does anybody know a way to work around this?

In principe it seems like it should not be difficult to add the option 
to Lyx to write \citeA instead of \citep commands. I myself can only 
program python though (if that function would actually be acessible in 
python could anyone point me to where I coud find it?).



If that's all it would take, you could put
\let\citep=\citeA
in your preamble. That makes \citep a kind of alias for \citeA. If that 
doesn't work, maybe you could produce some slightly more complicated 
redefinition of \citep that would work.


That said, did you try choosing apalike as your citation style? I don't 
know how close that will get you


Right now, producing new bibliography formats is kind of complicated. I 
have been meaning to work on that, but have had too much else to do.


rh



Help! How do I get the thesaurus function working? I saw it on an Ubuntu machine and now want it on my Mac!

2009-07-21 Thread James Washburn
Help! How do I get the thesaurus function working? I saw it on an Ubuntu
machine and now want it on my Mac!


 
 Jim Washburn
 
James B. Washburn
VP for Business and Finance
Edward Waters College
1658 Kings Road
Jacksonville, FL  32209
Phone: (904) 470-8152
FAX:(904) 470-8152
Notice: The information contained in this electronic mail transmission is
intended by Edward Waters College for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential. It is not intended for transmission
to, or receipt by, anyone other than the named addressee (or a person
authorized to deliver it to the named addressee). It should not be copied or
forwarded to any unauthorized persons. If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by calling Edward Waters College at 904-470-8150, so that our address
record can be corrected.



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}


Re: Apacite and Lyx

2009-07-21 Thread Christian Brodbeck
Thanks, that's a good start. Now Apacite also uses different brackets  
for comments on the reference (like e.g.) than Lyx's natbib  
( \citeApre[post]{ref} vs. \cite[pre][post] ). Is there a way to  
redefine these as well? The problem with apalike is that it does not  
quote all authors the first time an article with 2 authors is quoted.


Cheers,
Christian




On Jul 22, 2009, at 12:33 AM, rgheck wrote:


On 07/21/2009 05:02 PM, Christian Brodbeck wrote:

Hello,

I need citations according to APA standard for a thesis. Does  
anyone have experience with that?


From what information I could find, apacite would do it, but I  
could not find any information online on how to get it to work with  
Lyx.


Specifically, apacite seems to use different latex comands. Apacite  
requires \cite for notmal citation and \citeA for citation in text  
(parentheses only around year). However, Lyx generates either only  
\cite command (default bibliography) or \citet and \citep for  
natbib, and uses a different parenthesis structure for additional  
arguments.


Does anybody know a way to work around this?

In principe it seems like it should not be difficult to add the  
option to Lyx to write \citeA instead of \citep commands. I myself  
can only program python though (if that function would actually be  
acessible in python could anyone point me to where I coud find it?).



If that's all it would take, you could put
\let\citep=\citeA
in your preamble. That makes \citep a kind of alias for \citeA. If  
that doesn't work, maybe you could produce some slightly more  
complicated redefinition of \citep that would work.


That said, did you try choosing apalike as your citation style? I  
don't know how close that will get you


Right now, producing new bibliography formats is kind of  
complicated. I have been meaning to work on that, but have had too  
much else to do.


rh





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: Apacite and Lyx

2009-07-21 Thread rgheck

On 07/21/2009 08:27 PM, Christian Brodbeck wrote:
Thanks, that's a good start. Now Apacite also uses different brackets 
for comments on the reference (like e.g.) than Lyx's natbib ( 
\citeApre[post]{ref} vs. \cite[pre][post] ). Is there a way to 
redefine these as well?


Yes, but that's going to be a lot more complicated, I'm afraid. To fix 
that you'd have to redefine \cite and friends. It's probably going to be 
easier to run the tex output through a script (python, sed, whatever). 
You could do most of the work with apalike, then switch over at the very 
end.


rh



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: Help! How do I get the thesaurus function working? I saw it on an Ubuntu machine and now want it on my Mac!

2009-07-21 Thread BH
On Tue, Jul 21, 2009 at 6:39 PM, James Washburnjames.washb...@ewc.edu wrote:
 Help! How do I get the thesaurus function working? I saw it on an Ubuntu
 machine and now want it on my Mac!

In LyX 1.6, you'd need first to compile and install aiksaurus and then
compile and install LyX. (It's not something that will happen for the
standard install of LyX/Mac-1.6.x.)

Frankly, I find Dictionary.app to be much more useful as a thesaurus
than aiksaurus is.

BH


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



Re: customizing the extra spaces

2009-07-21 Thread Jürgen Spitzmüller
Pol wrote:
 I should set a shortcut for Insert-Formatting-Horizontal Space with a
 given parameter, to enter a space with pre-defined length. Is that
 possible?

Yes, the according lfun is
space-insert hspace 1.5cm
(or whatever the length is)

Jürgen


lyx-code / scrap bug?

2009-07-21 Thread Sam Liddicott
Please could someone competent with Lyx 1.6.3 try this; create a
literate (noweb) document and have a scrap immediately follow a lyx-code
section.

In the generated .nw file (in the /tmp/lyx* dir when creating a dvi
preview) the file looks like this:

\}
\end{lyxcode}
\selectlanguage{english}%
\inputencoding{latin9}dfs_search_first()=
{
  NTSTATUS status;


The error being that dfs_search_first()= is the start of scrap and
should start on a new line.

I shall try and compile lyx 1.6.3 debs against the ubuntu 1.6.2 .dsc
file soon.

Sam


ligatures

2009-07-21 Thread Tao Cumplido
Hello,

is it possible to make lyx display advanced ligatures like 'tt' 'Th' 'ft' etc.? 
I use the Linux Libertine font which has these ligatures in the private use 
area.

Regards,

Tao
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser


shortcuts: LyX OSX side by side?

2009-07-21 Thread Joachim Osnabryg

sorry, again with changed subject (still hoping for help):

Hi LyXers, especially on Mac-OSX:

With my German keyboard on Mac-OSX normally I can get with

alt+a | d | e | o |  t | p | + | x | c | m |  l  |  ö | ä  etc.
the following special letters/symbols:
   å  | ∂ | € | ø | † | π | ± | ≈ | ç | µ | @ | œ | æ etc.

which I find very practical.

But because of the key-bindings in LyX (mac-bindings in this case, see
Help=Keybord-Shortcuts or similar) these
usual key combinations for special characters are disabled in LyX.

Of course one can disable any key-binding in LyX (so they are not usable
at all and the system key-combinations will be in effect in LyX, too) or
create another one, which seems rather laborious and time-consuming.

I hoped I could vary the keybinding of LyX or of Mac-OSX with one ore few
steps, e. g. change from alt+x
to command+alt+x or similar to avoid this problem, but I didn't find out,
how.

Can anybody show a way to get the wanted result, i. e. holding the LyX
keybindings and
== create other key-combinations for the special letters/symbols which in
other programs are got with alt+x?

joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.1
MacBook Pro intel OSX 10.4.11 Tiger



Re: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-21 Thread Joost Verburg

Nick Bell wrote:
Apologies if this has been said before, but I have only ever been able 
to get graphics preview to work if I start LyX by running lyx.exe. If I 
use the default LyXlauncher.exe, I can't preview .eps, .pdf (although 
.png works).


For the new 1.6.3-2 installers I've updated the graphics conversion to
be more reliable and also faster. This issue should also be fixed.

Joost



Re: shortcuts: LyX OSX side by side?

2009-07-21 Thread BH
On Tue, Jul 21, 2009 at 8:15 AM, Joachim Osnabrygo...@jpberlin.de wrote:
 sorry, again with changed subject (still hoping for help):

 Hi LyXers, especially on Mac-OSX:

 With my German keyboard on Mac-OSX normally I can get with

 alt+a | d | e | o |  t | p | + | x | c | m |  l  |  ö | ä  etc.
 the following special letters/symbols:
       å  | ∂ | € | ø | † | π | ± | ≈ | ç | µ | @ | œ | æ etc.

 which I find very practical.

 But because of the key-bindings in LyX (mac-bindings in this case, see
 Help=Keybord-Shortcuts or similar) these
 usual key combinations for special characters are disabled in LyX.

 Of course one can disable any key-binding in LyX (so they are not usable
 at all and the system key-combinations will be in effect in LyX, too) or
 create another one, which seems rather laborious and time-consuming.

 I hoped I could vary the keybinding of LyX or of Mac-OSX with one ore few
 steps, e. g. change from alt+x
 to command+alt+x or similar to avoid this problem, but I didn't find out,
 how.

 Can anybody show a way to get the wanted result, i. e. holding the LyX
 keybindings and
 == create other key-combinations for the special letters/symbols which in
 other programs are got with alt+x?

I don't know much about German keyboards, but the easiest way I know
to change keybindings in LyX is to go through LyX  Preferences 
Editing  Shortcuts and do each one manually. (You can manually edit
the keybindings file, which is at ~/Library/Application
Support/LyX-1.6/bind/user.bind. Just make sure you have a backup to
revert any changes that don't work.) So it looks like you'll have to
do each one separately. Fortunately, it's a once-and-done thing.

BH


Re: ligatures

2009-07-21 Thread Helge Hafting

Tao Cumplido wrote:

Hello,

is it possible to make lyx display advanced ligatures like 'tt' 'Th' 'ft' etc.? 
I use the Linux Libertine font which has these ligatures in the private use 
area.


Do you mean on the screen, or in printed output?

Printed output (or pdf output) should use all available ligatures, if
LaTeX is correctly set up to support your font.

Helge Hafting


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-21 Thread Helge Hafting

Pavel Sanda wrote:

Rich Shepard wrote:

It can take an amateur like me
almost as long to prepare the index as it does to write the text. Like


just an idea - couldn't be this a bit automatized? something like export to
plain text, sort  uniq all words by alphabet, manually delete the boring words
(shouldn't be too much in tech documentation) and then run some script mapping
it back into the text.

this would probably cause some problems for multiple-word entries and languages
with too many word inflections and so on, but only experiment probably tells...


There is also the problem that you often don't want to index every case 
of an otherwise interesting word. Some types of litterature demands 
this, and then automating it helps. (Advanced search  replace might
also help - e.g. replace concept with concept+indexentry[concept] 
and then hit replace all.)


However, this is often not what you want. Students seeing an index
like concept: 1, 3, 5 ,7 ,9-11, 15-22, 34, 86-99, 101 despair. Testing 
shows that they only look up the first few entries. In such cases, you 
index the 2-3 most important occurences. Such as the definition, an 
explanation, and perhaps an interesting example. Too much choice is not 
good. A word may be mentioned in a footnote somewhere, without  this 
being an interesting place to look for said word.



Helge Hafting


Linux Format - LyX made easy

2009-07-21 Thread Iain Mac Donald

Linux Format magazine have just published an online version of their
made easy series of articles with the spotlight on LyX this month.
The article can be found at the link below:

http://www.tuxradar.com/content/lyx-made-easy

Regards,
Iain.


Re: ligatures

2009-07-21 Thread Tao Cumplido
I mean the output. So far I only see the three standard ligatures 'fi' 'ff' 
'fl' being printed. Maybe there are more but those I mentioned previously are 
definitely not used.
I have no idea though if Latex is set up correctly for the Libertine font.

Regards,

Tao

 Original-Nachricht 
 Datum: Tue, 21 Jul 2009 16:04:50 +0200
 Von: Helge Hafting helge.haft...@hist.no
 An: Tao Cumplido taocumpl...@gmx.net
 CC: lyx-users@lists.lyx.org
 Betreff: Re: ligatures

 Tao Cumplido wrote:
  Hello,
  
  is it possible to make lyx display advanced ligatures like 'tt' 'Th'
 'ft' etc.? I use the Linux Libertine font which has these ligatures in the
 private use area.
  
 Do you mean on the screen, or in printed output?
 
 Printed output (or pdf output) should use all available ligatures, if
 LaTeX is correctly set up to support your font.
 
 Helge Hafting

-- 
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02


Re: Screen font display issue (cleartype?)

2009-07-21 Thread Joost Verburg

James Oldfield wrote:

Both my home and college computers are running LyX 1.6.3 (3 June 2009)
on Windows XP, installed with the default installer. I see the following
problem only on my college computer [but I have mentioned my home PC in
a couple of places for comparison, you can ignore if you like]. This is
about fonts as they appear in the LyX edit window, *NOT* in the PDF
output (or instant preview).


Could you try to install 1.6.3-2? This updated installer includes Qt 
4.5.2 (a new version of the library that LyX uses for its interface) and 
it looks like they fixed such a font issue.


Joost



Biblatex and filters

2009-07-21 Thread Antonio Díaz
Hi all:

I'm trying to define a filter for a bibliography, but I can't do it right.
In the *Biblatex* manual, in *3.5.8 Bibliography filters*, appears this
example:
*
**\defbibfilter{example}{% *
*\( \type{book} \or \type{inbook} \) *
*\and \keyword{abc} *
*\and \not \keyword{xyz}} *

And —I'm not sure— I supose it's just like

*\defbibfilter{example}{\( \type{book} \or \type{inbook} \) \and
\keyword{abc} \and \not \keyword{xyz}} *

I want to create a filter like write in this bibliography all the
references with the keyword *General*, but only those without the type *
electronic*:*
\defbibfilter{General}{\keyword{General} \and \not \type{electronic}} *

And later, where I want the bibliography

\printbibliography[filter=General]
\nocite{*}

Am I writing it correctly?

Regards

Antonio


document selection combo is back?

2009-07-21 Thread Rudi Gaelzer
I've just installed LyX 1.6.3 in F10.
Seems that the document selection combo is back on the road.
Kudos to the developers.

FYI, I asked for this in the following thread:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg72822.html

Still have a doubt, though.  Do I still have to use the xr package if I
want to cross-reference with documents that are not in a child/master tree?

Thanks.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Apacite and Lyx

2009-07-21 Thread Christian Brodbeck

Hello,

I need citations according to APA standard for a thesis. Does anyone  
have experience with that?


From what information I could find, apacite would do it, but I could  
not find any information online on how to get it to work with Lyx.


Specifically, apacite seems to use different latex comands. Apacite  
requires \cite for notmal citation and \citeA for citation in text  
(parentheses only around year). However, Lyx generates either only  
\cite command (default bibliography) or \citet and \citep for natbib,  
and uses a different parenthesis structure for additional arguments.


Does anybody know a way to work around this?

In principe it seems like it should not be difficult to add the option  
to Lyx to write \citeA instead of \citep commands. I myself can only  
program python though (if that function would actually be acessible in  
python could anyone point me to where I coud find it?).



Best,
Christian



Re: Apacite and Lyx

2009-07-21 Thread rgheck

On 07/21/2009 05:02 PM, Christian Brodbeck wrote:

Hello,

I need citations according to APA standard for a thesis. Does anyone 
have experience with that?


From what information I could find, apacite would do it, but I could 
not find any information online on how to get it to work with Lyx.


Specifically, apacite seems to use different latex comands. Apacite 
requires \cite for notmal citation and \citeA for citation in text 
(parentheses only around year). However, Lyx generates either only 
\cite command (default bibliography) or \citet and \citep for natbib, 
and uses a different parenthesis structure for additional arguments.


Does anybody know a way to work around this?

In principe it seems like it should not be difficult to add the option 
to Lyx to write \citeA instead of \citep commands. I myself can only 
program python though (if that function would actually be acessible in 
python could anyone point me to where I coud find it?).



If that's all it would take, you could put
\let\citep=\citeA
in your preamble. That makes \citep a kind of alias for \citeA. If that 
doesn't work, maybe you could produce some slightly more complicated 
redefinition of \citep that would work.


That said, did you try choosing apalike as your citation style? I don't 
know how close that will get you


Right now, producing new bibliography formats is kind of complicated. I 
have been meaning to work on that, but have had too much else to do.


rh



Help! How do I get the thesaurus function working? I saw it on an Ubuntu machine and now want it on my Mac!

2009-07-21 Thread James Washburn
Help! How do I get the thesaurus function working? I saw it on an Ubuntu
machine and now want it on my Mac!


 
 Jim Washburn
 
James B. Washburn
VP for Business and Finance
Edward Waters College
1658 Kings Road
Jacksonville, FL  32209
Phone: (904) 470-8152
FAX:(904) 470-8152
Notice: The information contained in this electronic mail transmission is
intended by Edward Waters College for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential. It is not intended for transmission
to, or receipt by, anyone other than the named addressee (or a person
authorized to deliver it to the named addressee). It should not be copied or
forwarded to any unauthorized persons. If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by calling Edward Waters College at 904-470-8150, so that our address
record can be corrected.



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}


Re: Apacite and Lyx

2009-07-21 Thread Christian Brodbeck
Thanks, that's a good start. Now Apacite also uses different brackets  
for comments on the reference (like e.g.) than Lyx's natbib  
( \citeApre[post]{ref} vs. \cite[pre][post] ). Is there a way to  
redefine these as well? The problem with apalike is that it does not  
quote all authors the first time an article with 2 authors is quoted.


Cheers,
Christian




On Jul 22, 2009, at 12:33 AM, rgheck wrote:


On 07/21/2009 05:02 PM, Christian Brodbeck wrote:

Hello,

I need citations according to APA standard for a thesis. Does  
anyone have experience with that?


From what information I could find, apacite would do it, but I  
could not find any information online on how to get it to work with  
Lyx.


Specifically, apacite seems to use different latex comands. Apacite  
requires \cite for notmal citation and \citeA for citation in text  
(parentheses only around year). However, Lyx generates either only  
\cite command (default bibliography) or \citet and \citep for  
natbib, and uses a different parenthesis structure for additional  
arguments.


Does anybody know a way to work around this?

In principe it seems like it should not be difficult to add the  
option to Lyx to write \citeA instead of \citep commands. I myself  
can only program python though (if that function would actually be  
acessible in python could anyone point me to where I coud find it?).



If that's all it would take, you could put
\let\citep=\citeA
in your preamble. That makes \citep a kind of alias for \citeA. If  
that doesn't work, maybe you could produce some slightly more  
complicated redefinition of \citep that would work.


That said, did you try choosing apalike as your citation style? I  
don't know how close that will get you


Right now, producing new bibliography formats is kind of  
complicated. I have been meaning to work on that, but have had too  
much else to do.


rh





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: Apacite and Lyx

2009-07-21 Thread rgheck

On 07/21/2009 08:27 PM, Christian Brodbeck wrote:
Thanks, that's a good start. Now Apacite also uses different brackets 
for comments on the reference (like e.g.) than Lyx's natbib ( 
\citeApre[post]{ref} vs. \cite[pre][post] ). Is there a way to 
redefine these as well?


Yes, but that's going to be a lot more complicated, I'm afraid. To fix 
that you'd have to redefine \cite and friends. It's probably going to be 
easier to run the tex output through a script (python, sed, whatever). 
You could do most of the work with apalike, then switch over at the very 
end.


rh



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: Help! How do I get the thesaurus function working? I saw it on an Ubuntu machine and now want it on my Mac!

2009-07-21 Thread BH
On Tue, Jul 21, 2009 at 6:39 PM, James Washburnjames.washb...@ewc.edu wrote:
 Help! How do I get the thesaurus function working? I saw it on an Ubuntu
 machine and now want it on my Mac!

In LyX 1.6, you'd need first to compile and install aiksaurus and then
compile and install LyX. (It's not something that will happen for the
standard install of LyX/Mac-1.6.x.)

Frankly, I find Dictionary.app to be much more useful as a thesaurus
than aiksaurus is.

BH


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



Re: customizing the extra spaces

2009-07-21 Thread Jürgen Spitzmüller
Pol wrote:
> I should set a shortcut for "Insert->Formatting->Horizontal Space" with a
> given parameter, to enter a space with pre-defined length. Is that
> possible?

Yes, the according lfun is
space-insert hspace 1.5cm
(or whatever the length is)

Jürgen


lyx-code / scrap bug?

2009-07-21 Thread Sam Liddicott
Please could someone competent with Lyx 1.6.3 try this; create a
literate (noweb) document and have a scrap immediately follow a lyx-code
section.

In the generated .nw file (in the /tmp/lyx* dir when creating a dvi
preview) the file looks like this:

\}
\end{lyxcode}
\selectlanguage{english}%
\inputencoding{latin9}<>=
{
  NTSTATUS status;


The error being that "<>=" is the start of scrap and
should start on a new line.

I shall try and compile lyx 1.6.3 debs against the ubuntu 1.6.2 .dsc
file soon.

Sam


ligatures

2009-07-21 Thread Tao Cumplido
Hello,

is it possible to make lyx display advanced ligatures like 'tt' 'Th' 'ft' etc.? 
I use the Linux Libertine font which has these ligatures in the private use 
area.

Regards,

Tao
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser


shortcuts: LyX & OSX side by side?

2009-07-21 Thread Joachim Osnabryg

sorry, again with changed subject (still hoping for help):

Hi LyXers, especially on Mac-OSX:

With my German keyboard on Mac-OSX normally I can get with

alt+a | d | e | o |  t | p | + | x | c | m |  l  |  ö | ä  etc.
the following special letters/symbols:
   å  | ∂ | € | ø | † | π | ± | ≈ | ç | µ | @ | œ | æ etc.

which I find very practical.

But because of the key-bindings in LyX (mac-bindings in this case, see
Help=>Keybord-Shortcuts or similar) these
usual key combinations for special characters are disabled in LyX.

Of course one can disable any key-binding in LyX (so they are not usable
at all and the system key-combinations will be in effect in LyX, too) or
create another one, which seems rather laborious and time-consuming.

I hoped I could vary the keybinding of LyX or of Mac-OSX with one ore few
steps, e. g. change from alt+x
to command+alt+x or similar to avoid this problem, but I didn't find out,
how.

Can anybody show a way to get the wanted result, i. e. holding the LyX
keybindings and
==> create other key-combinations for the special letters/symbols which in
other programs are got with alt+x?

joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.1
MacBook Pro intel OSX 10.4.11 Tiger



Re: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-21 Thread Joost Verburg

Nick Bell wrote:
Apologies if this has been said before, but I have only ever been able 
to get graphics preview to work if I start LyX by running lyx.exe. If I 
use the default LyXlauncher.exe, I can't preview .eps, .pdf (although 
.png works).


For the new 1.6.3-2 installers I've updated the graphics conversion to
be more reliable and also faster. This issue should also be fixed.

Joost



Re: shortcuts: LyX & OSX side by side?

2009-07-21 Thread BH
On Tue, Jul 21, 2009 at 8:15 AM, Joachim Osnabryg wrote:
> sorry, again with changed subject (still hoping for help):
>
> Hi LyXers, especially on Mac-OSX:
>
> With my German keyboard on Mac-OSX normally I can get with
>
> alt+a | d | e | o |  t | p | + | x | c | m |  l  |  ö | ä  etc.
> the following special letters/symbols:
>       å  | ∂ | € | ø | † | π | ± | ≈ | ç | µ | @ | œ | æ etc.
>
> which I find very practical.
>
> But because of the key-bindings in LyX (mac-bindings in this case, see
> Help=>Keybord-Shortcuts or similar) these
> usual key combinations for special characters are disabled in LyX.
>
> Of course one can disable any key-binding in LyX (so they are not usable
> at all and the system key-combinations will be in effect in LyX, too) or
> create another one, which seems rather laborious and time-consuming.
>
> I hoped I could vary the keybinding of LyX or of Mac-OSX with one ore few
> steps, e. g. change from alt+x
> to command+alt+x or similar to avoid this problem, but I didn't find out,
> how.
>
> Can anybody show a way to get the wanted result, i. e. holding the LyX
> keybindings and
> ==> create other key-combinations for the special letters/symbols which in
> other programs are got with alt+x?

I don't know much about German keyboards, but the easiest way I know
to change keybindings in LyX is to go through LyX > Preferences >
Editing > Shortcuts and do each one manually. (You can manually edit
the keybindings file, which is at ~/Library/Application
Support/LyX-1.6/bind/user.bind. Just make sure you have a backup to
revert any changes that don't work.) So it looks like you'll have to
do each one separately. Fortunately, it's a once-and-done thing.

BH


Re: ligatures

2009-07-21 Thread Helge Hafting

Tao Cumplido wrote:

Hello,

is it possible to make lyx display advanced ligatures like 'tt' 'Th' 'ft' etc.? 
I use the Linux Libertine font which has these ligatures in the private use 
area.


Do you mean on the screen, or in printed output?

Printed output (or pdf output) should use all available ligatures, if
LaTeX is correctly set up to support your font.

Helge Hafting


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-21 Thread Helge Hafting

Pavel Sanda wrote:

Rich Shepard wrote:

It can take an amateur like me
almost as long to prepare the index as it does to write the text. Like


just an idea - couldn't be this a bit automatized? something like export to
plain text, sort & uniq all words by alphabet, manually delete the boring words
(shouldn't be too much in tech documentation) and then run some script mapping
it back into the text.

this would probably cause some problems for multiple-word entries and languages
with too many word inflections and so on, but only experiment probably tells...


There is also the problem that you often don't want to index every case 
of an otherwise interesting word. Some types of litterature demands 
this, and then automating it helps. (Advanced search & replace might
also help - e.g. replace "concept" with "concept+indexentry[concept]" 
and then hit "replace all".)


However, this is often not what you want. Students seeing an index
like "concept: 1, 3, 5 ,7 ,9-11, 15-22, 34, 86-99, 101" despair. Testing 
shows that they only look up the first few entries. In such cases, you 
index the 2-3 most important occurences. Such as the definition, an 
explanation, and perhaps an interesting example. Too much choice is not 
good. A word may be mentioned in a footnote somewhere, without  this 
being an interesting place to look for said word.



Helge Hafting


Linux Format - LyX made easy

2009-07-21 Thread Iain Mac Donald

Linux Format magazine have just published an online version of their
"made easy" series of articles with the spotlight on LyX this month.
The article can be found at the link below:

http://www.tuxradar.com/content/lyx-made-easy

Regards,
Iain.


Re: ligatures

2009-07-21 Thread Tao Cumplido
I mean the output. So far I only see the three standard ligatures 'fi' 'ff' 
'fl' being printed. Maybe there are more but those I mentioned previously are 
definitely not used.
I have no idea though if Latex is set up correctly for the Libertine font.

Regards,

Tao

 Original-Nachricht 
> Datum: Tue, 21 Jul 2009 16:04:50 +0200
> Von: Helge Hafting 
> An: Tao Cumplido 
> CC: lyx-users@lists.lyx.org
> Betreff: Re: ligatures

> Tao Cumplido wrote:
> > Hello,
> > 
> > is it possible to make lyx display advanced ligatures like 'tt' 'Th'
> 'ft' etc.? I use the Linux Libertine font which has these ligatures in the
> private use area.
> > 
> Do you mean on the screen, or in printed output?
> 
> Printed output (or pdf output) should use all available ligatures, if
> LaTeX is correctly set up to support your font.
> 
> Helge Hafting

-- 
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02


Re: Screen font display issue (cleartype?)

2009-07-21 Thread Joost Verburg

James Oldfield wrote:

Both my home and college computers are running LyX 1.6.3 (3 June 2009)
on Windows XP, installed with the default installer. I see the following
problem only on my college computer [but I have mentioned my home PC in
a couple of places for comparison, you can ignore if you like]. This is
about fonts as they appear in the LyX edit window, *NOT* in the PDF
output (or instant preview).


Could you try to install 1.6.3-2? This updated installer includes Qt 
4.5.2 (a new version of the library that LyX uses for its interface) and 
it looks like they fixed such a font issue.


Joost



Biblatex and filters

2009-07-21 Thread Antonio Díaz
Hi all:

I'm trying to define a filter for a bibliography, but I can't do it right.
In the *Biblatex* manual, in *3.5.8 Bibliography filters*, appears this
example:
*
**\defbibfilter{example}{% *
*\( \type{book} \or \type{inbook} \) *
*\and \keyword{abc} *
*\and \not \keyword{xyz}} *

And —I'm not sure— I supose it's just like

*\defbibfilter{example}{\( \type{book} \or \type{inbook} \) \and
\keyword{abc} \and \not \keyword{xyz}} *

I want to create a filter like "write in this bibliography all the
references with the keyword *General*, but only those without the type *
electronic*":*
\defbibfilter{General}{\keyword{General} \and \not \type{electronic}} *

And later, where I want the bibliography

\printbibliography[filter=General]
\nocite{*}

Am I writing it correctly?

Regards

Antonio


"document selection combo" is back?

2009-07-21 Thread Rudi Gaelzer
I've just installed LyX 1.6.3 in F10.
Seems that the "document selection combo" is back on the road.
Kudos to the developers.

FYI, I asked for this in the following thread:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg72822.html

Still have a doubt, though.  Do I still have to use the xr package if I
want to cross-reference with documents that are not in a child/master tree?

Thanks.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Apacite and Lyx

2009-07-21 Thread Christian Brodbeck

Hello,

I need citations according to APA standard for a thesis. Does anyone  
have experience with that?


From what information I could find, apacite would do it, but I could  
not find any information online on how to get it to work with Lyx.


Specifically, apacite seems to use different latex comands. Apacite  
requires \cite for notmal citation and \citeA for citation in text  
(parentheses only around year). However, Lyx generates either only  
\cite command (default bibliography) or \citet and \citep for natbib,  
and uses a different parenthesis structure for additional arguments.


Does anybody know a way to work around this?

In principe it seems like it should not be difficult to add the option  
to Lyx to write \citeA instead of \citep commands. I myself can only  
program python though (if that function would actually be acessible in  
python could anyone point me to where I coud find it?).



Best,
Christian



Re: Apacite and Lyx

2009-07-21 Thread rgheck

On 07/21/2009 05:02 PM, Christian Brodbeck wrote:

Hello,

I need citations according to APA standard for a thesis. Does anyone 
have experience with that?


From what information I could find, apacite would do it, but I could 
not find any information online on how to get it to work with Lyx.


Specifically, apacite seems to use different latex comands. Apacite 
requires \cite for notmal citation and \citeA for citation in text 
(parentheses only around year). However, Lyx generates either only 
\cite command (default bibliography) or \citet and \citep for natbib, 
and uses a different parenthesis structure for additional arguments.


Does anybody know a way to work around this?

In principe it seems like it should not be difficult to add the option 
to Lyx to write \citeA instead of \citep commands. I myself can only 
program python though (if that function would actually be acessible in 
python could anyone point me to where I coud find it?).



If that's all it would take, you could put
\let\citep=\citeA
in your preamble. That makes \citep a kind of alias for \citeA. If that 
doesn't work, maybe you could produce some slightly more complicated 
redefinition of \citep that would work.


That said, did you try choosing apalike as your citation style? I don't 
know how close that will get you


Right now, producing new bibliography formats is kind of complicated. I 
have been meaning to work on that, but have had too much else to do.


rh



Help! How do I get the thesaurus function working? I saw it on an Ubuntu machine and now want it on my Mac!

2009-07-21 Thread James Washburn
Help! How do I get the thesaurus function working? I saw it on an Ubuntu
machine and now want it on my Mac!


 
 Jim Washburn
 
James B. Washburn
VP for Business and Finance
Edward Waters College
1658 Kings Road
Jacksonville, FL  32209
Phone: (904) 470-8152
FAX:(904) 470-8152
Notice: The information contained in this electronic mail transmission is
intended by Edward Waters College for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential. It is not intended for transmission
to, or receipt by, anyone other than the named addressee (or a person
authorized to deliver it to the named addressee). It should not be copied or
forwarded to any unauthorized persons. If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by calling Edward Waters College at 904-470-8150, so that our address
record can be corrected.



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 

Re: Apacite and Lyx

2009-07-21 Thread Christian Brodbeck
Thanks, that's a good start. Now Apacite also uses different brackets  
for comments on the reference (like "e.g.") than Lyx's natbib  
( \citeA[post]{ref} vs. \cite[pre][post] ). Is there a way to  
redefine these as well? The problem with apalike is that it does not  
quote all authors the first time an article with >2 authors is quoted.


Cheers,
Christian




On Jul 22, 2009, at 12:33 AM, rgheck wrote:


On 07/21/2009 05:02 PM, Christian Brodbeck wrote:

Hello,

I need citations according to APA standard for a thesis. Does  
anyone have experience with that?


From what information I could find, apacite would do it, but I  
could not find any information online on how to get it to work with  
Lyx.


Specifically, apacite seems to use different latex comands. Apacite  
requires \cite for notmal citation and \citeA for citation in text  
(parentheses only around year). However, Lyx generates either only  
\cite command (default bibliography) or \citet and \citep for  
natbib, and uses a different parenthesis structure for additional  
arguments.


Does anybody know a way to work around this?

In principe it seems like it should not be difficult to add the  
option to Lyx to write \citeA instead of \citep commands. I myself  
can only program python though (if that function would actually be  
acessible in python could anyone point me to where I coud find it?).



If that's all it would take, you could put
\let\citep=\citeA
in your preamble. That makes \citep a kind of alias for \citeA. If  
that doesn't work, maybe you could produce some slightly more  
complicated redefinition of \citep that would work.


That said, did you try choosing apalike as your citation style? I  
don't know how close that will get you


Right now, producing new bibliography formats is kind of  
complicated. I have been meaning to work on that, but have had too  
much else to do.


rh





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 
To: 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 
To: 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: Apacite and Lyx

2009-07-21 Thread rgheck

On 07/21/2009 08:27 PM, Christian Brodbeck wrote:
Thanks, that's a good start. Now Apacite also uses different brackets 
for comments on the reference (like "e.g.") than Lyx's natbib ( 
\citeA[post]{ref} vs. \cite[pre][post] ). Is there a way to 
redefine these as well?


Yes, but that's going to be a lot more complicated, I'm afraid. To fix 
that you'd have to redefine \cite and friends. It's probably going to be 
easier to run the tex output through a script (python, sed, whatever). 
You could do most of the work with apalike, then switch over at the very 
end.


rh



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: Help! How do I get the thesaurus function working? I saw it on an Ubuntu machine and now want it on my Mac!

2009-07-21 Thread BH
On Tue, Jul 21, 2009 at 6:39 PM, James Washburn wrote:
> Help! How do I get the thesaurus function working? I saw it on an Ubuntu
> machine and now want it on my Mac!

In LyX 1.6, you'd need first to compile and install aiksaurus and then
compile and install LyX. (It's not something that will happen for the
standard install of LyX/Mac-1.6.x.)

Frankly, I find Dictionary.app to be much more useful as a thesaurus
than aiksaurus is.

BH


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