Re: LyX and jurabib

2006-05-24 Thread jacobkate
Thanks for your response, Bennett - Anders had already pointed out that I was
trying to load jurabib twice, so I had worked that out, but your suggestions
about how to use lyx and jurabib together are very helpful - particularly not
using \footcite and globally defining jurabib options, rather than using the
preamble.
Cheers,
Jacob Campbell.

Quoting Bennett Helm <[EMAIL PROTECTED]>:
> 
> This means that you're trying to load jurabib twice -- once with the
> \usepackage[...]{jurabib} in the document preamble, and once by
> selecting jurabib within Document > Settings > Bibliography. 
> 
> If you're using LyX 1.4.x, don't add \usepackage{jurabib} to the
> preamble. If you want to add your own settings for jurabib, you can edit
> jurabib.cfg (in the same directory as jurabib.sty), which will change
> settings for *all* documents using jurabib; if you want to add or modify
> settings for a particular document, add the following to your document
> preamble:
> 
> \jurabibsetup{...}
> 
> (where "..." should be a comma separated options list, such as
> "citefull=chapter,opcit=chapter").
> 
> In my experience, it's best not to redefine \cite as \footcite. Rather,
> you can simply insert the citation in a footnote in the normal way.
> (That is, within LyX insert a footnote, then insert a citation.) Don't
> forget to follow your citation by a period inside the footnote.
> 
> I'm writing a book (philosophy) with jurabib and LyX-1.4, and it works
> beautifully.
> 
> Bennett
> 




Re: LyX and jurabib

2006-05-24 Thread Bennett Helm
On Thu, 2006-05-25 at 06:58 +0800, [EMAIL PROTECTED] wrote:
> Hi,
> I was very happy to see this message - thanks for your instructions, Anders.
> I came across the idea of using jurabib and lyx a couple of months ago and
> really wanted to get it to work for my thesis. However, I wasn't able to work 
> it
> out, so put it aside until I had more time to look into it. This message has
> prompted me to look at it again.
> Unfortunately I'm having problems, and I don't know enough to fix them.
> I followed the instructions given, assuming it should work without changing
> anything. I inserted the preamble text, exactly as below. I put those two 
> lines
> into an ERT block and put the BibTex bibliography into a Lyx note. Then I 
> typed
> some text and inserted a citation from my database (created in Pybliographer),
> and attempted to view the document I had created as DVI (although I get the 
> same
> problems if viewing as PDF as well).
> I'm getting the following error:
> >! LaTeX Error: Option clash for package jurabib.
> > 
> >l.27 \renewcommand
> >  {\cite}{\footcite}
> >The package jurabib has already been loaded with options:
> >  []

This means that you're trying to load jurabib twice -- once with the
\usepackage[...]{jurabib} in the document preamble, and once by
selecting jurabib within Document > Settings > Bibliography. 

If you're using LyX 1.4.x, don't add \usepackage{jurabib} to the
preamble. If you want to add your own settings for jurabib, you can edit
jurabib.cfg (in the same directory as jurabib.sty), which will change
settings for *all* documents using jurabib; if you want to add or modify
settings for a particular document, add the following to your document
preamble:

\jurabibsetup{...}

(where "..." should be a comma separated options list, such as
"citefull=chapter,opcit=chapter").

In my experience, it's best not to redefine \cite as \footcite. Rather,
you can simply insert the citation in a footnote in the normal way.
(That is, within LyX insert a footnote, then insert a citation.) Don't
forget to follow your citation by a period inside the footnote.

I'm writing a book (philosophy) with jurabib and LyX-1.4, and it works
beautifully.

Bennett



Re: funny math fonts with lyx 1.4.1 on winxp

2006-05-24 Thread John Pye
Hi Uwe,

Uwe Stöhr wrote:

> John Pye wrote:
>
>> I've been using LyX 1.4.2 (from the win installer complete 2-01)
>
>
> the installer version ships LyX 1.4.1.

Yes, you're right. I got confused between the 1.4.1 and the 2-01.

> But anyway:
>
>> I've found then when I enter math fonts, I get strange
>> effects like \delta showing up as a 'one half' character, and \tau
>> showing up as an upside-down question mark.
>
>
> it seems that the math fonts couldn't correctly be installed. Probably
> another prevents this. You could try to reinstall LyX using the
> installer and if this doesn't help install the fonts manually as Paul
> Smith pointed you to the webpage where you can find the fonts.

I had recently uninstalled the Lyx 1.3.7 'complete installer', then I
installed the new LyX. Does the uninstaller sometimes delete files
during reboot? Perhaps these files were replaced by the new installed,
but marked for deletion by the old uninstaller? Could that be happening?

BTW where do these files live once installed -- can I check if they're
there or not?

I'll install the extra fonts when I'm back at that machine. Thanks both
of you for the help,

Cheers
JP


Re: funny math fonts with lyx 1.4.1 on winxp

2006-05-24 Thread Uwe Stöhr

John Pye wrote:


I've been using LyX 1.4.2 (from the win installer complete 2-01)


the installer version ships LyX 1.4.1.
But anyway:


I've found then when I enter math fonts, I get strange
effects like \delta showing up as a 'one half' character, and \tau
showing up as an upside-down question mark.


it seems that the math fonts couldn't correctly be installed. Probably 
another prevents this. You could try to reinstall LyX using the 
installer and if this doesn't help install the fonts manually as Paul 
Smith pointed you to the webpage where you can find the fonts.


regards Uwe


Re: LyX and jurabib

2006-05-24 Thread jacobkate
Hi,
I was very happy to see this message - thanks for your instructions, Anders.
I came across the idea of using jurabib and lyx a couple of months ago and
really wanted to get it to work for my thesis. However, I wasn't able to work it
out, so put it aside until I had more time to look into it. This message has
prompted me to look at it again.
Unfortunately I'm having problems, and I don't know enough to fix them.
I followed the instructions given, assuming it should work without changing
anything. I inserted the preamble text, exactly as below. I put those two lines
into an ERT block and put the BibTex bibliography into a Lyx note. Then I typed
some text and inserted a citation from my database (created in Pybliographer),
and attempted to view the document I had created as DVI (although I get the same
problems if viewing as PDF as well).
I'm getting the following error:
>! LaTeX Error: Option clash for package jurabib.
> 
>l.27 \renewcommand
>  {\cite}{\footcite}
>The package jurabib has already been loaded with options:
>  []
>There has now been an attempt to load it with options
>  [titleformat=italic,titleformat=commasep,commabeforerest,ibidem=strict,citefu
>ll=first,lookat,oxford,pages=format,idem]
>Adding the global options:
>  ,titleformat=italic,titleformat=commasep,commabeforerest,ibidem=strict,citefu
>ll=first,lookat,oxford,pages=format,idem
>to your \documentclass declaration may fix this.
>Try typingto proceed.

At the moment my document class is book. I'd follow the instructions in the
error - but I'm not sure where to add the global options specified or how to
format it correctly if I do.
(Actually, in the Document>Settings dialogue, there's an extra field in the
Document Class section for 'Extra Options'. I added the line under 'global
options' (the one starting ,titleformat=) to this field, but this hasn't fixed
the error.)
I'm using Lyx 1.4.1, jurabib 0.6 on Ubuntu Linux 5.1.
Could anyone please explain how to fix this issue - I feel that I am just a
little bit closer to getting lyx and jurabib working together as I need them to.
Thanks very much,
Jacob Campbell.

Quoting Anders Dahnielson <[EMAIL PROTECTED]>:

> Hi folks!
> 
> I'm new to the users list but not that new to LyX and LaTeX.
> 
> While trying to figure out how to use jurabib [1] for humanities and LyX
> this morning I found this
> half-elegant-workaround-hackish-style-solution-thingy. I don't know if it
> been reported before, tried to search the archives but couldn't find
> anything similar, so I decided to write it up as a blog post [2].
> 
> Thought maybe also people on this list wanted to know about it, so here it
> is.
> 
> First I include the following in the preamble to control the citation style:
> 
> 
> \usepackage{babel}
> \usepackage[%
> titleformat=italic,%
> titleformat=commasep,%
> commabeforerest,%
> ibidem=strict,%
> citefull=first,%
> lookat,%
> oxford,%
> pages=format,%
> idem%
> ]{jurabib}
> \renewcommand{\cite}{\footcite}
> 
> This is just an example style using the latest version of jurabib ( v0.6).
> 
> Because I'm not going to use the regular bibliography formating but jurabibs
> footnotes I must insert the following code in the document, presumably last,
> using Insert > TeX Code and put the following in the ERT block:
> 
> \bibliographystyle{jox}%
> \nobibliography{jbtest}
> 
> But this alone will not make it possible to use the LyX support for looking
> up and inserting citation. To enable that I must also insert a regular
> BibTex Bibliograhy as usual and select the BibTex database to be used. Of
> course this will give me a regular bibliography at the end of the document
> (or wherever I decided to insert it). Since that bibliography is only a
> concern for LyX and not the final LaTeX document I've come up with an rather
> elegand solution: Put the BibTex Bibliography in a LyX Note block! That way
> LyX will still find the BibTex database but the \bibliography code it
> generate will never reach the LaTeX processor.
> 
> The hiding only works in LyX 1.4! In LyX 1.3.6 you need to have the BibTeX
> Bibliography block outside any notes. The problem is that you will end up
> with an empty bibliography list and a header. To remove it I insert the
> following code in an ERT block right before the BibTeX Bibliography:
> 
> \renewcommand\refname{}
> 
> For articles, or the following for reports and books:
> 
> \renewcommand\bibname{}
> 
> This remove the header, there is still an extra empty page. Less smooth but
> it works too. Or just upgrade to LyX 1.4.
> 
> [1] http://www.jurabib.org
> 
> [2] http://www.dahnielson.com/2006/05/lyx-and-jurabib.html
> 
> -- 
> Anders Dahnielson
> <[EMAIL PROTECTED]>
> 




Figure in Header/Footer...

2006-05-24 Thread Peter Broennimann

I am using V1.3.7 on Windows XP

I try to have a logo in the left footer of my document.
DVI output works fine but exporting with pdflatex generates me several 
errors...


Thanks,
Peter

_My document class:_
article

_Preamble:_
\usepackage{geometry}
\geometry{verbose,
a4paper,
tmargin=1.75cm,bmargin=2cm,lmargin=3.25cm,rmargin=2.25cm,
headsep=0.75cm, footskip=1.25cm,
includeheadfoot}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lfoot{\resizebox{0.12in}{!}{\includegraphics{logo.eps}}}
\cfoot{}
\rfoot{\emph{Page \thepage}}
\renewcommand{\footrulewidth}{0.4pt}

\usepackage{colortbl}
\definecolor{lightyellow}{RGB}{255, 255, 153}
\definecolor{lightorange}{RGB}{255, 204, 153}



Re: LyX/Mac Update

2006-05-24 Thread Maria Gouskova
I've been running LyX 1.3.4 on Mac OS 10.2.8, but Computer Services  
at my university will be updating my office machine to Mac OS  
10.4.5 tomorrow. After that, I will be looking to install TeX again  
and then LyX 1.4.1. Some questions:


1 Any advice on the installation processes? Things to watch out for?


See the following page:

http://wiki.lyx.org/LyX/LyXOnMac?from=LyX.Mac

2 Will LyX 1.4.1 run fast enough on my machine (1.25 GHz Power PC  
G4)? I know there have been concerns about the speed of 1.4.1 on Macs.


It depends on what you do. lyx 1.4.1 still runs a little slower on my  
Mac than 1.3.7 does (1.33 GHz PowerBook G4, 512 Mb RAM), but it's not  
painfully slow.


By the way, you can install LyX 1.3.7 and 1.4.1 side by side on the  
same Mac, so if you are not happy with 1.4.1's speed, you can switch  
back and forth. Just make sure to put the two LyX.app files in  
different subdirectories.


3 Any reason to prefer the TeX installation MacTeX over Gerben  
Wierda's with i-installer?


See aforementioned link. MacTeX installs everything you might need in  
one step, i-installer is more controllable.


mg


Re: LyX/Mac Update

2006-05-24 Thread Bennett Helm

On May 24, 2006, at 3:40 PM, Bruce Pourciau wrote:

I've been running LyX 1.3.4 on Mac OS 10.2.8, but Computer Services  
at my university will be updating my office machine to Mac OS  
10.4.5 tomorrow. After that, I will be looking to install TeX again  
and then LyX 1.4.1. Some questions:


1 Any advice on the installation processes? Things to watch out for?


Make sure you run the installer!

2 Will LyX 1.4.1 run fast enough on my machine (1.25 GHz Power PC  
G4)? I know there have been concerns about the speed of 1.4.1 on Macs.


I have a 1.25 GHz iMac, and it's fine.

3 Any reason to prefer the TeX installation MacTeX over Gerben  
Wierda's with i-installer?


MacTeX uses Gerben Wierda's version, so they ought to be the same.

4 I'd like to have the package [sc]{mathpazo} in order to use  
Palatino with small caps. Anything special I have to do to get  
this, something other than a simple install?


Nothing special that I know of. (\usepackage[sc]{mathpazo} in the  
preamble ought to do it.)


Bennett



LyX/Mac Update

2006-05-24 Thread Bruce Pourciau
I've been running LyX 1.3.4 on Mac OS 10.2.8, but Computer Services at 
my university will be updating my office machine to Mac OS 10.4.5 
tomorrow. After that, I will be looking to install TeX again and then 
LyX 1.4.1. Some questions:


1 Any advice on the installation processes? Things to watch out for?

2 Will LyX 1.4.1 run fast enough on my machine (1.25 GHz Power PC G4)? 
I know there have been concerns about the speed of 1.4.1 on Macs.


3 Any reason to prefer the TeX installation MacTeX over Gerben Wierda's 
with i-installer?


4 I'd like to have the package [sc]{mathpazo} in order to use Palatino 
with small caps. Anything special I have to do to get this, something 
other than a simple install?


Thanks for any advice.

Bruce



Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread David A. Case
On Wed, May 24, 2006, Jan Peters wrote:

> 2) Why is it still a less pleasant experience to edit an equation in
> LyX than in either MathType (oh horror) or Scientific Workplace?

I think this must depend either on what you are most familiar with, or on what
you expect.  For me, creating and editing equations in LyX is more pleasant
than doing the same with MathType.  (As with other users, I tend to mostly use
keyboard shortcuts, relying on the math panel only for uncommon things that I
don't remember.)  At least for me, MathType seems to require more use of the
mouse, and more manual "tweaking" to get things to look right.

I have a wide screen, so I like having the math panel off to the side, rather
than in a toolbar at the top.  But that might not be optimal for others.

dave case



Re: Math Panel not a window?

2006-05-24 Thread Maria Gouskova



I use Mac OS 10.4.6, LyX 1.4.1, but this was also the case in 1.3.7:

The default shortcut for closing a window in the mac bind file is  
Cmd+W, which closes any open document (as expected). But the Math  
Panel and other editing windows (e.g., Paragraph Settings, Edit  
Table) cannot be closed using Cmd+W--I've been closing them with  
the mouse (which I personally find a little distracting, since  
other programs on the Mac platform generally treat dialogs of this  
type as regular windows, and Cmd+W works on them).


Can something be added to the bind file to close these things with  
a key shortcut? Is this an intentional feature of the program,  
i.e., does LyX for Windows also treat dialogs/editing panels as  
non-windows?


Try  to close all dialogs.

Bennett


I'm sorry, I think I was too indirect in making my point. Closing the  
window is not something I am having difficulty with--I can do it, but  
it works differently from how things normally work in the OS. It  
therefore makes the Math Panel and other features of LyX kind of  
annoying. Would it be a hard quirk to eliminate?


Maria


Re: Math Panel not a window?

2006-05-24 Thread Bennett Helm

On May 24, 2006, at 3:01 PM, Maria Gouskova wrote:


I use Mac OS 10.4.6, LyX 1.4.1, but this was also the case in 1.3.7:

The default shortcut for closing a window in the mac bind file is  
Cmd+W, which closes any open document (as expected). But the Math  
Panel and other editing windows (e.g., Paragraph Settings, Edit  
Table) cannot be closed using Cmd+W--I've been closing them with  
the mouse (which I personally find a little distracting, since  
other programs on the Mac platform generally treat dialogs of this  
type as regular windows, and Cmd+W works on them).


Can something be added to the bind file to close these things with  
a key shortcut? Is this an intentional feature of the program,  
i.e., does LyX for Windows also not treat dialogs/editing panels as  
non-windows?


Try  to close all dialogs.

Bennett


Math Panel not a window?

2006-05-24 Thread Maria Gouskova

I use Mac OS 10.4.6, LyX 1.4.1, but this was also the case in 1.3.7:

The default shortcut for closing a window in the mac bind file is Cmd 
+W, which closes any open document (as expected). But the Math Panel  
and other editing windows (e.g., Paragraph Settings, Edit Table)  
cannot be closed using Cmd+W--I've been closing them with the mouse  
(which I personally find a little distracting, since other programs  
on the Mac platform generally treat dialogs of this type as regular  
windows, and Cmd+W works on them).


Can something be added to the bind file to close these things with a  
key shortcut? Is this an intentional feature of the program, i.e.,  
does LyX for Windows also not treat dialogs/editing panels as non- 
windows?


Maria


Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Ernesto Posse

> Do you know that we already have a math toolbar. It is disabled by
> default, and enabling it currently means editing the ui/default.ui
> file. It can be made to pop up automatically in maths, for those who
> like these kind of things.

Yes, but here come two points:

1) it should be possible to activate these without going into the text
files, why is there not View->Toolbars->Math,Extra,MiniBuffer,etc
menu which allows this?


 Actually you can activate it in lyx 1.4 without editing the
default.ui file: right-click on the toolbar and you'll get a few
options including the math toolbar.


--
Ernesto Posse
Modelling, Simulation and Design Lab - School of Computer Science
McGill University - Montreal, Quebec, Canada
url: http://moncs.cs.mcgill.ca/people/eposse


Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Jan Peters

Thanks, Georg. I knew about the possibility of adding symbols to the
toolbar and the little math toolbar is nice. However, what would be
needed are buttons where I can click and, e.g., get all symbols as  
pull-down
menu (see the SWP-LyX comparison at http://wiki.lyx.org/LyX/ 
LyxVersusScientificWorkplace),

etc.  Similar to what SWP or Mathtype have.

Is that possible with LyX yet? If so, I will be happy to sit down a  
couple of

weekends and create a nice demo setup which would provide the required
ease of use.

In order to become the best scientific typesetting solution -- which  
LyX is in terms of technology

just not yet as a user experience --  it needs to be better in equation
editing than Scientific Workplace or Mathtype.

Would people be interested in a set of recommendations for maximizing
LyX's user friendliness? I have shown some general ideas in a comparison
with SWP but I could make the user friendliness recommendations much
more precise.

Best,
-Jan



On May 24, 2006, at 1:19 AM, Georg Baum wrote:


Jan Peters wrote:


How difficult would it be to move the Math Panel into the toolbar?


You can have most of it already in the toolbar. Have a look at the  
files
lib/ui/default.ui and lib/ui/stdtoolbars.ui. They already define a  
small
math toolbar that is switched off by default. This can be switched  
on and
expanded to cover almost all math constructs. For example, we have  
the line


Item "Insert integral" "math-insert \int"

in the math toolbar section in stdtoolbars.ui. Adding the line

Item "Insert closed integral" "math-insert \oint"

will just work: A new button appears, and it will use the image file
lib/images/math/oint.xpm. AFAIK the only reason that this toolbar  
is rather

small is that nobody of the developers uses it. Any contribution that
extends it (or creates an alternative "full" version) will be  
welcome. This

may need some new icons in lib/images/math, but apart from that it is
simply creating some new entries in the .ui file.
Any volunteers (also for documenting this)?

Putting the specialized dialogs (e.g. for delimiters) of the math  
panel into
the toolbar would require some coding, but I don't think it would  
be too
difficult. If anybody wants to have a try at this I can tell where  
to look.



Georg



Best wishes,
Jan Peters

===
Jan Peters, Graduate Research Assistant, Dipl.Inf., Dipl.Ing., M.Sc. 
(CS,ME)

University of Southern California (USC)
Computational Learning and Motor Control Laboratories (CLMC)
3461 Watt Way, Los Angeles, CA 90089
Phone: +1-213-740-6717, Fax: +1-213-740-1510
email: [EMAIL PROTECTED], web: www.jan-peters.net
===




Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Georg Baum
Jan Peters wrote:

> 1) it should be possible to activate these without going into the text
> files, why is there not View->Toolbars->Math,Extra,MiniBuffer,etc
> menu which allows this?

Because nobody implemented it.

> 2) Why is it still a less pleasant experience to edit an equation in
> LyX than in either MathType (oh horror) or Scientific Workplace?
> Moving *everything* from the math panel into reconfigurable toolbars
> is a must for user friendliness.

Maybe because the developers don't use the math panel? I either use
shortcuts or type in directly the LaTeX code. I use the math panel only for
constructs I need so seldom that I can not remember the short cut. I
personally would not want to have these waisting space in a toolbar.
This does not mean that there is no room for improvement, it is only an
attempt to explain the current situation.

> Again, since 1.4, I am persuaded that LyX is technically completely
> there and few new real features are needed (search and replace
> of equations parts; more symbolic math, e.g., see my comparison
> http://wiki.lyx.org/LyX/LyxVersusScientificWorkplace).
> What LyX mainly needs is some *polishing* so that users stay with it
> after trying it. Math editing which beats SWP or MathType would
> be a very important step.

>From your posts it looks like you are not aware that LyX has a developer man
power problem: There are several useful polishing tasks that would be
desirable, but there are not enough developers available who do the work.
And of course (since this is a volunteer project) everybody implements what
he wants to implement, which does not need to be what the majority of users
wants). That explains the strange mix of highly developed areas (e.g.
graphics handling) and other parts that are missing basic features (e.g.
math macros) in LyX.


Georg



Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Jan Peters

Jan> Just my 2 cents: The LyX toolbars should be not repeats Word's
Jan> mistakes but include nice equation editing feature like SWP or
Jan> Mathtype which are currently "hidden" in the math panel (which
Jan> either costs me half my screen or has to be activated every
Jan> time). Practical math toolbars would really be a MAJOR
Jan> improvement.

Do you know that we already have a math toolbar. It is disabled by
default, and enabling it currently means editing the ui/default.ui
file. It can be made to pop up automatically in maths, for those who
like these kind of things.


Yes, but here come two points:

1) it should be possible to activate these without going into the text
files, why is there not View->Toolbars->Math,Extra,MiniBuffer,etc
menu which allows this?

2) Why is it still a less pleasant experience to edit an equation in
LyX than in either MathType (oh horror) or Scientific Workplace?
Moving *everything* from the math panel into reconfigurable toolbars
is a must for user friendliness.

Again, since 1.4, I am persuaded that LyX is technically completely
there and few new real features are needed (search and replace
of equations parts; more symbolic math, e.g., see my comparison
http://wiki.lyx.org/LyX/LyxVersusScientificWorkplace).
What LyX mainly needs is some *polishing* so that users stay with it
after trying it. Math editing which beats SWP or MathType would
be a very important step.



===
Jan Peters, Graduate Research Assistant, Dipl.Inf., Dipl.Ing., M.Sc. 
(CS,ME)

University of Southern California (USC)
Computational Learning and Motor Control Laboratories (CLMC)
3461 Watt Way, Los Angeles, CA 90089
Phone: +1-213-740-6717, Fax: +1-213-740-1510
email: [EMAIL PROTECTED], web: www.jan-peters.net
===




LyX and jurabib

2006-05-24 Thread Anders Dahnielson

Hi folks!

I'm new to the users list but not that new to LyX and LaTeX.

While trying to figure out how to use jurabib [1] for humanities and LyX
this morning I found this
half-elegant-workaround-hackish-style-solution-thingy. I don't know if it
been reported before, tried to search the archives but couldn't find
anything similar, so I decided to write it up as a blog post [2].

Thought maybe also people on this list wanted to know about it, so here it
is.

First I include the following in the preamble to control the citation style:


\usepackage{babel}
\usepackage[%
titleformat=italic,%
titleformat=commasep,%
commabeforerest,%
ibidem=strict,%
citefull=first,%
lookat,%
oxford,%
pages=format,%
idem%
]{jurabib}
\renewcommand{\cite}{\footcite}

This is just an example style using the latest version of jurabib ( v0.6).

Because I'm not going to use the regular bibliography formating but jurabibs
footnotes I must insert the following code in the document, presumably last,
using Insert > TeX Code and put the following in the ERT block:

\bibliographystyle{jox}%
\nobibliography{jbtest}

But this alone will not make it possible to use the LyX support for looking
up and inserting citation. To enable that I must also insert a regular
BibTex Bibliograhy as usual and select the BibTex database to be used. Of
course this will give me a regular bibliography at the end of the document
(or wherever I decided to insert it). Since that bibliography is only a
concern for LyX and not the final LaTeX document I've come up with an rather
elegand solution: Put the BibTex Bibliography in a LyX Note block! That way
LyX will still find the BibTex database but the \bibliography code it
generate will never reach the LaTeX processor.

The hiding only works in LyX 1.4! In LyX 1.3.6 you need to have the BibTeX
Bibliography block outside any notes. The problem is that you will end up
with an empty bibliography list and a header. To remove it I insert the
following code in an ERT block right before the BibTeX Bibliography:

\renewcommand\refname{}

For articles, or the following for reports and books:

\renewcommand\bibname{}

This remove the header, there is still an extra empty page. Less smooth but
it works too. Or just upgrade to LyX 1.4.

[1] http://www.jurabib.org

[2] http://www.dahnielson.com/2006/05/lyx-and-jurabib.html

--
Anders Dahnielson
<[EMAIL PROTECTED]>


Re: eliminate T1 fonts?

2006-05-24 Thread Jose' Matos
On Wednesday 24 May 2006 17:26, Paul A. Rubin wrote:
> And what in the font selection drop-down list?  Will document default work?

  Yes.

> /Paul

-- 
José Abílio


Re: eliminate T1 fonts?

2006-05-24 Thread Paul A. Rubin

Jose' Matos wrote:

On Wednesday 24 May 2006 16:31, Paul A. Rubin wrote:

The lmodern fonts (if I got
the name right) also apparently work well with PDFs, but require some
latex code to use.


\usepackage{lmodern}

in preamble. ;-)


/Paul




And what in the font selection drop-down list?  Will document default work?

/Paul



Re: funny math fonts with lyx 1.4.1 on winxp

2006-05-24 Thread Paul Smith

On 5/24/06, John Pye <[EMAIL PROTECTED]> wrote:

I've been using LyX 1.4.2 (from the win installer complete 2-01) on
Windows XP. I've found then when I enter math fonts, I get strange
effects like \delta showing up as a 'one half' character, and \tau
showing up as an upside-down question mark. Presumably this is to do
with LyX having a wrong character map for the font(s) it's using for the
live rendering of the equations. If I turn on the 'instant preview'
feature then the preview versions show correctly. But this makes it hard
to actually write the equations.

Has anyone got any suggestions for how to fix this? How can I check that
LyX has its necessary maths fonts?


Go to

http://wiki.lyx.org/Windows/LyX136

and check the section "Math fonts".

Paul


Are fonts of LyX code also added into the pdf file?

2006-05-24 Thread Paul Smith

Dear All

When using

\usepackage{lmodern}

pdflatex also adds the typewriter (LyX code) fonts into the pdf file?

Thanks in advance,

Paul


Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Steve Litt
On Wednesday 24 May 2006 11:01 am, Enrique S Gonzalez Di Totto wrote:

> So what I meant to say is that providing the user with a graphical
> interface where they can create layouts and customize the few usual
> options for an enviroment (font family, size, spacing, etc.) would
> allow them to get started. Most users wouldn't need to write even a
> single line of LaTeX code (either in a .layout or in an ERT inset) if
> you gave them that.

I'd *LOVE* to have a tool like that. One of my hardest jobs as a self 
publishing author is tweaking my layouts so that my book's "look and feel" 
will be pleasing to my audience. I do that in the layout file so as to 
present a consistent "look and feel" throughout the book. But tweaking layout 
files is a daunting task complete with huge amounts of debugging time.

If someone creates a tool like that, my one request is they don't make it 
dependent on the latest version of this_library and the latest version of 
that_library to the point where one would need to redo their whole Linux 
distribution to run the program. There's nothing inherant about making a 
layout constructing/modifying program requiring the latest of anything -- a 
simple Perl web app could do the job, or a simple Perl curses or tk app.

In fact, a text menu plus something to choose alternatives would do it. Maybe 
I could even glue it together with UMENU 
(http://www.troubleshooters.com/umenu/index.htm).

What I like about what you said is that we include a subset of the universe of 
LaTeX tweaks, not try to do everything (which as one person in this thread 
stated, might be more difficult than TeX itself).

If we do this, and if we spend most of our energy on the problem domain 
(layout construction) rather than figuring out intricacies of Tk, KDE, 
wxPython or whatever, I'd like to be part of the crew that does it.

Should we start designing it on this mailing list?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


funny math fonts with lyx 1.4.1 on winxp

2006-05-24 Thread John Pye
Hi all

I've been using LyX 1.4.2 (from the win installer complete 2-01) on
Windows XP. I've found then when I enter math fonts, I get strange
effects like \delta showing up as a 'one half' character, and \tau
showing up as an upside-down question mark. Presumably this is to do
with LyX having a wrong character map for the font(s) it's using for the
live rendering of the equations. If I turn on the 'instant preview'
feature then the preview versions show correctly. But this makes it hard
to actually write the equations.

Has anyone got any suggestions for how to fix this? How can I check that
LyX has its necessary maths fonts?

Cheers
JP

-- 
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/



Re: eliminate T1 fonts?

2006-05-24 Thread Jose' Matos
On Wednesday 24 May 2006 16:31, Paul A. Rubin wrote:
> The lmodern fonts (if I got
> the name right) also apparently work well with PDFs, but require some
> latex code to use.

\usepackage{lmodern}

in preamble. ;-)

> /Paul

-- 
José Abílio


Re: eliminate T1 fonts?

2006-05-24 Thread Paul A. Rubin

Eugeny N Dzhurinsky wrote:

Hello!

For some reason when generating PDF files from LyX, fonts used in these files
looks weird under windows. To fix that, I need to export file to TeX, and then
remove

\usepackage[T1]{fontenc}

After that pdflatex does its job fine and PDF file looks great. Is there any
way to fix that within LyX itself to avoid intermediate step of creation a TeX
document and then converting it to PDF with pdflatex?



First off, are you using PDF-friendly fonts?  For instance, ae and 
pslatex tend to display well in PDFs (without any fiddling with the 
encoding), whereas default fonts frequently look bad (I think they get 
mapped to bitmaps that don't scale well).  The lmodern fonts (if I got 
the name right) also apparently work well with PDFs, but require some 
latex code to use.


/Paul



Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Enrique S Gonzalez Di Totto

Citando a Stephen Harris <[EMAIL PROTECTED]>:


LyX developers already try to make the menus easier and
toolbars more available for _all_ users. I don't think Rich resents
making things easier, but the completely ignorant notion that making
Lyx menus more like Word menus would accomplish such a goal.


First of all, calling any suggestion a "completely ignorant notion" 
contributes more to a flame war than to intelligent debate. 
Particularly if by your own admission you are assuming a lot of things 
to be implied by my original post.



The original poster, Enrique said in part:

> ... or even one single line of LaTeX code is too steep a learning
> curve for the average Word user to ever climb.

SH: If you don't put ERTs, which I think qualifies as a
"single line of LaTeX code", (not just .layouts) inside
the LyX document in order to implement Latex functionality,
how then would it be accomplished? What alternative is
there but to use the menu with Word friendly user jargon?


I think it was quite clear the original question asked for features to 
*add* to LyX to make it more friendly to the Word crowd. There's no 
need to have an "exclusive OR" mentality. You can add features to make 
LyX more user-friendly and still keep the ERT inset for the advanced 
user.


As someone previously said, most users don't touch 10% of Word's 
features. Likewise, the casual user (the lawyer example seemed quite 
good to me) probably wouldn't need to use 90% or more of the 
functionality offered by LaTeX.


So what I meant to say is that providing the user with a graphical 
interface where they can create layouts and customize the few usual 
options for an enviroment (font family, size, spacing, etc.) would 
allow them to get started. Most users wouldn't need to write even a 
single line of LaTeX code (either in a .layout or in an ERT inset) if 
you gave them that.



Looking at how incredibly difficult it is to create a .layout


What is incredibly easy for the advanced user is a major roadblock for 
the casual user. Call it what you may, the casual user wants to get 
stuff done without having to learn much in the process.


Right now, creating a .layout requires to:
- Do stuff outside the LyX GUI
- Write code (opening the door to potential typos, for example)

Both are major no-no's when designing software for the casual user. 
Most casual users simply won't be up to these tasks.


As a software designer, one can have an elitist attitude and say "If 
the user can't do this, (s)he's too stupid/lazy to use the program". 
But I think the creators of LyX would very much like it to be as 
mainstream as Word. In various documents they state the WYSIWYM 
paradigm is better for most tasks people use Word for nowadays.







Re: [Pkg-lyx-devel] Re: dvipost (hopefully) ready for Debian

2006-05-24 Thread Per Olofsson
Sven Hoexter:
> Found it after Georgs hint to look for experimental.
> An I thought sid is the bleeding-edge of software packaging ;)

Oh, sorry, I forgot that I had experimental in my sources. I really
thought texlive were in sid.

-- 
Pelle


Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Jean-Marc Lasgouttes
> "Micha" == Micha Feigin <[EMAIL PROTECTED]> writes:

Micha> My guess, not much, with the toolbar support from qt. You
Micha> mostly need the ability to have second level (maybe more, I
Micha> don't use the math panel much), toolbar/menu popups (do the
Micha> exist by chance ?) and then just implement the math panel's
Micha> buttons/menus on the toolbar.

The constraint I will put on this is that this has to be designed in
the current GUI-I framework (not qt-only). We have to define new tags
in ToolbarBackend.C for:

- subtoolbars (use the same syntax as in menus)

- combox (currently, we have only the layout combox, this notion has
  to be extended).

Toolbar building is done in the respective frontends (for ex.
frontends/qt3/QLToolbar.C). 

JMarc


Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Jean-Marc Lasgouttes
> "Jan" == Jan Peters <[EMAIL PROTECTED]> writes:

Jan> Just my 2 cents: The LyX toolbars should be not repeats Word's
Jan> mistakes but include nice equation editing feature like SWP or
Jan> Mathtype which are currently "hidden" in the math panel (which
Jan> either costs me half my screen or has to be activated every
Jan> time). Practical math toolbars would really be a MAJOR
Jan> improvement.

Do you know that we already have a math toolbar. It is disabled by
default, and enabling it currently means editing the ui/default.ui
file. It can be made to pop up automatically in maths, for those who
like these kind of things.

Jan> How difficult would it be to move the Math Panel into the
Jan> toolbar?

Probably not so difficult, but still some work.

JMarc


Re: User math panel

2006-05-24 Thread Georg Baum
Jean-Pierre Chretien wrote:

> That will need some more coding, I guesse adapting the current math panel
> to these needs is not straightforward ?

I guess it will require more thinking about the UI than coding (apart from
the macros, their design is broken in general). As always, if you want this
to be remembered put it as enhancement request in http://bugzilla.lyx.org.


Georg



User math panel

2006-05-24 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>From: Georg Baum <[EMAIL PROTECTED]>
>>Subject: Re: A debate topic: What can LyX still learn from scientific 
>>workplace?
>>Date: Wed, 24 May 2006 10:19:36 +0200

[discussion on improvements of the toolobar with more math buttons]

Another way to tune the proposed math buttons to the particular user needs 
would be
to create a user math panel in which the user could paste the constructs 
frequently used
to retrieve them later, even in another document. 
This would solve also the problem of retrieval of the macros, as this math 
cache 
could include the currently defined math-macros.

The status of the user math panel should be of course subject to 
storage/retrieval.

This is not exactly a SW feature, I've used this 15 years ago with Publisher,
the Ann Arbor SGML instance of TeX.

That will need some more coding, I guesse adapting the current math panel to 
these needs
is not straightforward ?

-- 
Jean-Pierre






Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Georg Baum
Jan Peters wrote:

> How difficult would it be to move the Math Panel into the toolbar?

You can have most of it already in the toolbar. Have a look at the files
lib/ui/default.ui and lib/ui/stdtoolbars.ui. They already define a small
math toolbar that is switched off by default. This can be switched on and
expanded to cover almost all math constructs. For example, we have the line

Item "Insert integral" "math-insert \int"

in the math toolbar section in stdtoolbars.ui. Adding the line

Item "Insert closed integral" "math-insert \oint"

will just work: A new button appears, and it will use the image file 
lib/images/math/oint.xpm. AFAIK the only reason that this toolbar is rather
small is that nobody of the developers uses it. Any contribution that
extends it (or creates an alternative "full" version) will be welcome. This
may need some new icons in lib/images/math, but apart from that it is
simply creating some new entries in the .ui file.
Any volunteers (also for documenting this)?

Putting the specialized dialogs (e.g. for delimiters) of the math panel into
the toolbar would require some coding, but I don't think it would be too
difficult. If anybody wants to have a try at this I can tell where to look.


Georg



Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Juergen Spitzmueller
Jan Peters wrote:

> How difficult would it be to move the Math Panel into the toolbar?

You discovered that LyX 1.4 comes with a (limited) math toolbar? Covering
everything from the panel in the toolbar is not possible yet, though.

Jürgen



Re: Suse 10.1

2006-05-24 Thread Georg Baum
Declan O'Byrne wrote:

> Hi all,
> 
> I've been to the binaries page linked from the lyx.org page, but I can't
> quite understand if the rpms for lyx 1.4.1 there work on Suse 10.1.  Do
> they?

The rpms for SuSE 10.0 could work, just try it. The other ones will probably
not work.


Georg



eliminate T1 fonts?

2006-05-24 Thread Eugeny N Dzhurinsky
Hello!

For some reason when generating PDF files from LyX, fonts used in these files
looks weird under windows. To fix that, I need to export file to TeX, and then
remove

\usepackage[T1]{fontenc}

After that pdflatex does its job fine and PDF file looks great. Is there any
way to fix that within LyX itself to avoid intermediate step of creation a TeX
document and then converting it to PDF with pdflatex?

-- 
Eugene N Dzhurinsky