Re: math-macro-file child-document class issue

2009-03-12 Thread Guenter Milde
On 2009-03-11, Vincent van Ravesteijn wrote:
 Richard Heck schreef:
 Axel Heim wrote:
 Hi, on the lyx-webpage (see references below) it is recommended to use a
 math macro file to collect all personal macros. When I do that, I
 encounter the problem that lyx complains with popup windows upon
 compilation if the document class of the child document (which contains
 my macros) is different from the master's one. The compilation works,
 though.
 Is there an easy tweak to get rid of the popups, how do you deal with
 it?


 No, no easy tweak. I think someone may have introduced a Don't show 
 this message again type thing, but I'm not sure if it'll make it into 
 1.6.2. Vincent, did you do that? Or were we just talking about it?

 No. Someone just acknowledges that it was a good idea and a missing 
 feature, but that's also where it ended.

There is a request and patch from 2008-11-19 (bug #3218):
http://bugzilla.lyx.org/show_bug.cgi?id=3218

Günter



Re: lyx2lyx script failed... lyx 1.6.1 lyx 1.5.6

2009-03-12 Thread Guenter Milde
On 2009-03-11, Richard Heck wrote:
 M-L wrote:
 On Mon, 09 Mar 2009 17:34:24 -0400
 rgheck rgh...@bobjweil.com wrote:
 M-L wrote:
 rgheck rgh...@bobjweil.com wrote:

 As Jurgen said, export to 1.5.x should work on Windows, too. But
 you have to find the right file: FILENAME.lyx15.

 But maybe not many are so stupid and would look for the new version file
 by default, rather than assume the original is now altered?

The same effect can be achieved by a destination file choosing
dialogue (with the default file name and path pre-selected).
The added bonus is that you are able to modify the target
destination/name.

 If someone wants to file an enhancement request over at bugzilla about 
 this, and then cc me (rgh...@comcast.net),
 I'll see if I can get to it for 1.6.3. (We're frozen for 1.6.2, which
 should be out in a few days.)

I added the request for where to export also as choice from GUI 
to Bug # 4501 http://bugzilla.lyx.org/show_bug.cgi?id=4501
lyx -e  should have an option of where to export.

Maybe someone with right permission could change the topic to 
LyX should have an option of where to export.

Günter




Re: BIBINPUTS under Windows??

2009-03-12 Thread Siegfried Meunier-Guttin-Cluzel




To set an environment variable under Windows XP, just go to the menu
Start  Configuration Panel  System
Choose the Adanced panel and then the Environment Variables button
Here you can change/add the variables.

( The menu names can be different, my Windows is in french)

Hope it helps,
Siegfried.
-- 
MEUNIER-GUTTIN-CLUZEL


Siegfried MEUNIER-GUTTIN-CLUZEL
Matre de confrence  l'INSA de Rouen
Fax. 33 (0)2 32 95 37 94
Tl. 02 32 95 37 46 (CORIA)
 02 32 95 97 76 ( INSA )



CNRS UMR 6614 - CORIA
Universit de Rouen
Site Universitaire du Madrillet - BP 12
76801 Saint Etienne du Rouvray cedex
Tl. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85
www.coria.fr







Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Olivier Ripoll

Alex Fernandez wrote:

Dear LyX users,


Hi,

That looks like a very nice tool. The HTML code is indeed good-looking!


LyX is a wonderful editor; its PDF output is perhaps unmatched by
other graphical editors. But the most common interchange method of
today is HTML, and LyX does not produce good HTML. There are some
tools for TeX - HTML conversion, and even LyX - HTML, but the
results tend to be poor and rigid.

So undeterred by the myriad of similar efforts I set to the task of
producing a simple, specialized tool for LyX - HTML conversion, and
the result is eLyXer. It is meant to produce acceptable-to-beautiful
HTML code, depending on your browser's Unicode and CSS rendering
merits. To use it just type at the prompt:
  $ elyxer document.lyx document.html
This command takes a LyX document called (surprisingly) document.lyx,
and produces (just as surprisingly) a web page called document.html.
Ta-dah! The conversion is complete. For better results you may need to
copy the file docs/lyx.css to your working directory, and perhaps
customize it a bit. See this wiki page for details:
  http://wiki.lyx.org/Tools/ELyXer
and be sure to read the user guide included in the package.

A pretty example can be seen at
 http://vecinos-productions.com/rayleigh/book.html


Is there a problem with the bibliography export ? It looks like the 
above example contains many more entries in the bibliography that there 
are references in the text, most having not numbers between the brackets.


Best regards,

Olivier

PS: I noticed you use
#!/usr/bin/python
while the python scripts of LyX use
#! /usr/bin/env python

I'm not sure, but the later my be more 'universal' (tolerant/portable)



Re: lyx2lyx script failed... lyx 1.6.1 lyx 1.5.6

2009-03-12 Thread Pavel Sanda
Guenter Milde wrote:
 Maybe someone with right permission could change the topic to 
 LyX should have an option of where to export.

or somebody with the right permissions could give long standing
contributors bigger rights in bugzilla.

pavel


Re: math-macro-file child-document class issue

2009-03-12 Thread Pavel Sanda
Guenter Milde wrote:
 There is a request and patch from 2008-11-19 (bug #3218):
 http://bugzilla.lyx.org/show_bug.cgi?id=3218

unfortunately that is not general solution.
pavel


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Wolfgang Keller
 A pretty example can be seen at
  http://vecinos-productions.com/rayleigh/book.html

It even validates.

http://validator.w3.org/check?uri=http%3A%2F%2Fvecinos-productions.com%2Frayleigh%2Fbook.htmlcharset=
(detect+automatically)doctype=Inlinegroup=0verbose=1

Please make sure this remains so.

Sincerely,

Wolfgang


Re: math-macro-file child-document class issue

2009-03-12 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
 No, no easy tweak. I think someone may have introduced a Don't show this 
 message again type thing, but I'm not sure if it'll make it into 1.6.2. 
 Vincent, did you do that? Or were we just talking about it?

 rh

 No. Someone just acknowledges that it was a good idea and a missing 
 feature, but that's also where it ended.

yes there are bugs waiting for this feature,
eg http://bugzilla.lyx.org/show_bug.cgi?id=2120

pavel


Re: BIBINPUTS under Windows??

2009-03-12 Thread David Bickel
Thank you very much, Siegfried. I added my .bib location to the Path
variable, but that did not enable LyX to find the .bib file when I
compiled.

David


---
From: Siegfried Meunier-Guttin-Cluzel[SMTP:meun...@coria.fr]
Sent: Thursday, March 12, 2009 4:53:53 AM
To: Richard Heck
Cc: David Bickel; LyX User
Subject: Re: BIBINPUTS under Windows??
Auto forwarded by a Rule

To set an environment variable under Windows XP, just go to the menu
Start  Configuration Panel  System
Choose the Adanced panel and then the Environment Variables button
Here you can change/add the variables.

( The menu names can be different, my Windows is in french)

Hope it helps,
Siegfried.
-- 
Siegfried MEUNIER-GUTTIN-CLUZEL
Maître de conférence à l'INSA de Rouen
Fax. 33 (0)2 32 95 37 94
Tél. 02 32 95 37 46 (CORIA)
   02 32 95 97 76 ( INSA )
CNRS UMR 6614 - CORIA
Université de Rouen
Site Universitaire du Madrillet - BP 12
76801 Saint Etienne du Rouvray cedex
Tél. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85
www.coria.fr


Re: BIBINPUTS under Windows??

2009-03-12 Thread rgheck

David Bickel wrote:

Thank you very much, Siegfried. I added my .bib location to the Path
variable, but that did not enable LyX to find the .bib file when I
compiled.

  
No, not to the PATH variable. That finds executables. You need to add a 
BIBINPUTS variable, with the path to where you're storing the bib files.


rh



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
Hi Olivier,

 That looks like a very nice tool. The HTML code is indeed good-looking!

Thanks a lot! In time I hope it will be useful to other users. It is
the least I can do after having used LyX for several years so
satisfactorily.

 Is there a problem with the bibliography export ? It looks like the above
 example contains many more entries in the bibliography that there are
 references in the text, most having not numbers between the brackets.

No problem at all, just that my sample document contained both
referenced and unreferenced bibliography entries. In other words: I
cut most of the text but left the bibliography entries.

 PS: I noticed you use
 #!/usr/bin/python
 while the python scripts of LyX use
 #! /usr/bin/env python

 I'm not sure, but the later my be more 'universal' (tolerant/portable)

Changed now. I will release a new version later on today with the latter line :D

Thanks,

Alex.


Re: BIBINPUTS under Windows??

2009-03-12 Thread David Bickel
Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start  Control Panel  System  Adanced  Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.

David


On Thu, Mar 12, 2009 at 8:09 AM, David Bickel dbic...@uottawa.ca wrote:

 ---
 From: rgheck[SMTP:rgh...@bobjweil.com]
 Sent: Thursday, March 12, 2009 8:04:52 AM
 To: David Bickel
 Cc: LyX Users List; meun...@coria.fr
 Subject: Re: BIBINPUTS under Windows??
 Auto forwarded by a Rule

 David Bickel wrote:
 Thank you very much, Siegfried. I added my .bib location to the Path
 variable, but that did not enable LyX to find the .bib file when I
 compiled.


 No, not to the PATH variable. That finds executables. You need to add a
 BIBINPUTS variable, with the path to where you're storing the bib files.

 rh



-- 
David R. Bickel, PhD
Ottawa Institute of Systems Biology
BMI Dept., University of Ottawa
451 Smyth Road
Ottawa, Ontario K1H 8M5

http://www.statomics.com


Office Tel: (613) 562-5800 ext. 8670
Office Fax: (613) 562-5185
Office Room: RGN 4510F (Follow the signs to the elevator, and take it
to the fourth floor. Turn left and go all the way to the end of the
hall, and enter the door to the OISB area.)
Lab Tel.: (613) 562-5800 ext. 8304
Lab Room: RGN 4501T


Re: change default path to .bib files

2009-03-12 Thread David Bickel
Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start  Control Panel  System  Adanced  Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.

David

PS This is also posted under a different subject to aid future users.


On Wed, Mar 11, 2009 at 11:30 AM, Richard Heck rgh...@bobjweil.com wrote:
 David Bickel wrote:

 I keep my .bib files on a portable hard drive so I can easily work
 from multiple computers. The only way I have been able to get LyX to
 use these .bib files is to have it put the full path to my .bib
 directory in the .lyx file. The problem with this is that I share the
 .lyx file with other users whose computers do not recognize that path.

 Is there a way that I can instead set the preferences on my computer
 to use a different .bib path by default? That worked well in
 Scientific Word.

 I use Windows XP and Windows Vista with LyX 1.6.1.



 What you need is the BIBINPUTS environment variable. I have this:
   BIBINPUTS=/home/rgheck/files/bibtex::
   export BIBINPUTS;
 in my shell here. I assume there is some way to set these things on Windows.
 If worse comes to worse, of course, you can directly modify TeX's texmf.cnf
 configuration file. (I assume that must exist under Windows.)

 rh





-- 
David R. Bickel, PhD
Ottawa Institute of Systems Biology
BMI Dept., University of Ottawa
451 Smyth Road
Ottawa, Ontario K1H 8M5

http://www.statomics.com
dbic...@uottawa.ca

Office Tel: (613) 562-5800 ext. 8670
Office Fax: (613) 562-5185
Office Room: RGN 4510F (Follow the signs to the elevator, and take it
to the fourth floor. Turn left and go all the way to the end of the
hall, and enter the door to the OISB area.)
Lab Tel.: (613) 562-5800 ext. 8304
Lab Room: RGN 4501T


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Joachim Osnabryg

Am 11.03.2009, 02:08 Uhr, schrieb Alex Fernandez
alejandro...@gmail.com:


eLyXer is very much a work in progress, since it only supports a
pretty small subset of LyX features


Being very impressed of the quality of the example
http://vecinos-productions.com/rayleigh/book.html
I suppose that

margin notes in LyX

(or better footnotes as numbered margin notes in the Handout (Tufte) LyX  
layout) will not yet be translated as such (i. e. marginals) by eLyXer.


(Sorry, I didn't install and try out eLyXer yet.)

But if you and others who are able to develope eLyXer would build that
capability in, it would serve very well my publications plans of texts
with many short helping/illuminating notes in the margin (for less
disconnect someone's reading of the main text.

Just to make you know my wish,
Good luck, joachim



Re: BIBINPUTS under Windows??

2009-03-12 Thread rgheck

David Bickel wrote:

Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start  Control Panel  System  Adanced  Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.

  

Put it on the wiki?

rh



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
 It even validates.

 http://validator.w3.org/check?uri=http%3A%2F%2Fvecinos-productions.com%2Frayleigh%2Fbook.htmlcharset=
 (detect+automatically)doctype=Inlinegroup=0verbose=1

 Please make sure this remains so.

Sure. If you find an example of invalid XHTML please notify me.
Quoting from the user guide:
  The HTML code generated is technically XHTML Transitional, version
1.0, using UTF-8 encoding. It passes the W3C tests [w3c-validator]. If
your particular web page doesn't pass the tests, then it is a bug and
it will be treated as such.

Thanks,

Alex.


Re: change default path to .bib files

2009-03-12 Thread Paul A. Rubin

David Bickel wrote:

Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start  Control Panel  System  Adanced  Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.



I don't think the reboot should be necessary.  If LyX is running, 
though, you might have to restart it (not positive).  If you're running 
LaTeX (MiKTeX?) in a DOS shell, you definitely will have to close the 
DOS shell and reopen it.


Changes to environment variables should take effect immediately in the 
sense that any program (or DOS shell) started after the change should 
see the new environment variables.  Stuff that's already running 
inherited whatever environment variables were in effect when they 
started, and their environments are not updated.


/Paul



Re: page number position problem

2009-03-12 Thread Paul A. Rubin

Melissa Bukovsky wrote:

Hello all,

I'm having a problem with the location of my page numbers in lyx.  I'm 
using version 1.6.1 (just upgraded hoping my problem would be solved 
that way, but it wasn't) on a Mac.


I have my pagestyle set to plain, because all of the page numbers need 
to be on the bottom center of my pages for my dissertation.  However, on 
the pages where there are figures, the page number ends up in the upper 
right corner.


This is true even if the figure occupies only part of the page?  Or are 
your figures all on separate pages?


I have spent too much time trying to fix this using 
various suggestions from other posts on how to move your page number, 
etc using various fancy and fancypagestyle{plain} settings.  Nothing has 
worked.




Positioning of page numbers is controlled by LaTeX, and may be dictated 
(I think) by the document class you are using.  It's not a LyX function. 
 What class are you using for your thesis?


/Paul



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
Hi,

 But if you and others who are able to develope eLyXer would build that
 capability in, it would serve very well my publications plans of texts
 with many short helping/illuminating notes in the margin (for less
 disconnect someone's reading of the main text.

Right now, and with the kind help of Nikos Alexandris, I have added
basic support for footnotes: they appear as floating boxes on the
right, although not numbered. You will find them in the next release,
probably sometime this afternoon.

 Just to make you know my wish,

Great! If there is any other missing feature be sure to tell me. You
can send document samples privately and I will do my best.

Thanks,

Alex.


[math] horiztonal formulae too long

2009-03-12 Thread Hicham Mouline
Hello,
I have a cases environment, with only 2 columns as it is intended, and my 
formulae are too long in that, when I view the resulting PDF,
they are cutoff at the right-hand side of the page.
How can I get the forumla to continue in the next rows (display row not actual 
case row)?

regards,


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Nikos Alexandris
On Thu, 2009-03-12 at 16:43 +0100, Alex Fernandez wrote:
 Hi again,
 
 Version 0.4 (20090312) is uploaded:
   http://wiki.lyx.org/Tools/ELyXer
 Direct link:
   http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-20090312.tar.gz
 It now ignores ERT, and supports footnotes, newlines, bibitem entries
 and citations. If you are interested in living on the rough frontiers
 of command line tools please give it a spin.
 
 Thanks,
 
 Alex.

Alex,

thanks a million :-).

Just as a side-note: I don't know how you manage your source code
locally. I want only to mention that git is an excellent tool. It's
something more than a tool actually. And it's not that difficult to
start working with it. There are very nice and clean tutorials.

I use git locally for my LyX documents :-). Afterall, LyX files are like
source code :-). No need to save with multiple names and get lost with
tens of files. I have to thank a friend of mine who pointed out to the
use of git.

Cheers, Nikos



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Nikos Alexandris
On Thu, 2009-03-12 at 17:11 +0100, Alex Fernandez wrote:
[...]
 Actually (and coincidentally) I am using git to manage the source code
 :D  I can confirm that it is very nice to work with, even easier to
 use than Subversion with which I have some previous experience.
 
 I have not published the repository for lack of a hosting facility
 (and lack of knowledge to set it up), but once I find a suitable place
 I will make it public.
 
 Thanks,
 Alex.

Great :D



Re: math-macro-file child-document class issue

2009-03-12 Thread Guenter Milde
On 2009-03-12, Pavel Sanda wrote:
 Guenter Milde wrote:
 There is a request and patch from 2008-11-19 (bug #3218):
 http://bugzilla.lyx.org/show_bug.cgi?id=3218

 unfortunately that is not general solution.

What is missing?



Re: math-macro-file child-document class issue

2009-03-12 Thread Pavel Sanda
Guenter Milde wrote:
 On 2009-03-12, Pavel Sanda wrote:
  Guenter Milde wrote:
  There is a request and patch from 2008-11-19 (bug #3218):
  http://bugzilla.lyx.org/show_bug.cgi?id=3218
 
  unfortunately that is not general solution.
 
 What is missing?

rewrite of the Alert class which could display and remember Do not show me
again checkbox for other instances of this 'repeat' problem.

pavel


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Nikos Alexandris
On Thu, 2009-03-12 at 16:43 +0100, Alex Fernandez wrote:
 Hi again,
 
 Version 0.4 (20090312) is uploaded:
   http://wiki.lyx.org/Tools/ELyXer
 Direct link:
   http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-20090312.tar.gz
 It now ignores ERT, and supports footnotes, newlines, bibitem entries
 and citations. If you are interested in living on the rough frontiers
 of command line tools please give it a spin.
 
 Thanks,
 
 Alex.

OK,

it started producing html's for me :D

Notes (which you probably already know):
# using the KOMA-Script article class

1. All footnotes appear as normal text exactly there where they are
inserted in LyX' document and therefore cannot be distinguished from the
text-body.

2.  The section titles defined as Section* environments are ignored
and appear as normal text

3. The lstparams (parameters for the listings package) appear also in
the text.

4. Indentation of the LyX-Code environment is ignored

5. Pictures are used without the scaling that is defined within LyX
(well... I don't know how hard this would be to implement).

6. I would like to be able to control the Copyright (C) 2009 by...
message if possible, i.e. to be able to switch it off.


Cheers, Nikos



how to move or change moderncv Listitem more left

2009-03-12 Thread Md. Golam Parvez
Hi
Anybody can tell me how to move moderncv listitem more left. I have tried to
move it left so much but I could not. Alwayes listitems are coming far more
right side of a page. Hope my question makes sense. Thanks for your time.
-- 
Parvez Golam


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
Nikos,

 it started producing html's for me :D

Great!

 Notes (which you probably already know):
 # using the KOMA-Script article class

 1. All footnotes appear as normal text exactly there where they are
 inserted in LyX' document and therefore cannot be distinguished from the
 text-body.

As to the first point you may try to copy the docs/lyx.css file to
your html directory. It will improve significantly.

The rest will have to wait for the 0.5 (20090313) version :D

 5. Pictures are used without the scaling that is defined within LyX
 (well... I don't know how hard this would be to implement).

Actually it doesn't looks too difficult.

Thanks for the report,

Alex.


Re: Lyx and Sum symbol limits problem :(

2009-03-12 Thread curtis osterhoudt
It's by design. However, in version 1.6.1 (possibly in older versions, too), 
you can change that limit behavior by putting the cursor immediately after the 
\sum symbol, and going to the Edit - Math - change limit type menu entry.

 /
Down with categorical imperative!
flutz...@yahoo.com
/





From: Vincent van Ravesteijn v.f.vanraveste...@tudelft.nl
To: aivanov aivanovm...@aol.com
Cc: lyx-users@lists.lyx.org
Sent: Thursday, March 12, 2009 12:25:41 PM
Subject: Re: Lyx and Sum symbol limits problem :(

aivanov schreef:
 Hello!
 
 I have problem with the 'Sum' symbol and the placing of its limits. I do
 everything acording the User's Guide and it works only when the formula is
 on a separate row and the sum is not part of fraction.
 
 See the screenshots -- think they describe what I want to say:
 http://n2.nabble.com/file/n2469116/LyxSumProblem.jpeg 
 http://n2.nabble.com/file/n2469116/Screenpdfsumproblem.jpeg 
 I dont understand LaTex and am looking for a 'click-click' solution.
 
 Thank you!
 
 Alexander (from Bulgaria) 
 PS: Lyx 1.5.5 on Debian 5.0 and XFce.
  
Do you have a reason that you want the limits to be placed differently ?

To me it looks very good this way and I would be happy and satisfied.

Vincent



  

Re: lyx 1.6: changes to eqnarray numbering; idea for insert matrix dialog

2009-03-12 Thread Paul A. Rubin

matt wrote:


i am ok with toggling as opposed to off/on, but now it seems lyx toggles 
numbering for *all* equations in eqnarray, not just individual lines. i 
really need to be able to turn off numbering for some lines and not others!




Method 1:  Don't toggle numbering on, but instead insert a label (even 
if you have no intention to use it) in each row that you want numbered.


Method 2:  Alt-M Shift-N toggles numbering in just the row containing 
the cursor.  (Don't know if that's an Alt key, a Meta key or the Steve 
Jobs key on a Mac, though.  :-))


/Paul



several questions from a lyx-newbie. bear with me, pls ;)

2009-03-12 Thread Maurice Viehweger

hey guys,

i'm writing a term paper at the moment and it's almost finished. but 
there are several things bugging me still. i'm trying to give you as 
much information about my setup beforehand, but let me know, if theres 
something else you need to know.


i'm using lyx 1.6.1 and bibdesk 1.3.20. my document class is article 
(paper).



first problem:

my citation looks awful. at the moment the style is plain, but i want 
it to have more apa-like. i know theres also a predefined style with 
that name, but it doesn't work properly (at least it seems so).


my preamble says:

\usepackage{natbib}
\bibpunct[: ]{(}{)}{,}{}{ }{;}

because a friend told me i could switch on apa-citation with that 
settings. in the lyx settings i left it with the standard option in 
the references settings.


so, what does my output look like?

e.g.: at the moment in lyx while writing it says cooney:2005zl. when i 
click on that cite i can switch through several styles. i chose cooney 
(2005). but when i insert my citations via footnote it looks like see 
(1), p. 204. why is that thing numbered anyway? i just want it to look 
like what i chose in the citation-settings above.


at the end of the document i attached my references of course and they 
look like:


[4] Kevin Cooney. Alternative visions of japanese security: The role of 
absolute and relative
gains in the making of japanese security policy. Asian Perspective, 
29(3):127–154, 2005.


i don't want my citations numbered, i want them ordered by the last 
names followed by the usual information - more apa-like ;)



so beyond that i have a second question about editing the text in 
predefined elements, e.g. references. i'm writing my term paper in 
german and i would like to change references into 
literaturverzeichnis. is that possible? how?



in hope that you can help me i thank you in advance,

maurice


Re: several questions from a lyx-newbie. bear with me, pls ;)

2009-03-12 Thread rgheck

Maurice Viehweger wrote:

first problem:

my citation looks awful. at the moment the style is plain, but i 
want it to have more apa-like. i know theres also a predefined style 
with that name, but it doesn't work properly (at least it seems so).


my preamble says:

\usepackage{natbib}
\bibpunct[: ]{(}{)}{,}{}{ }{;}

because a friend told me i could switch on apa-citation with that 
settings. in the lyx settings i left it with the standard option in 
the references settings.


so, what does my output look like?

e.g.: at the moment in lyx while writing it says cooney:2005zl. when 
i click on that cite i can switch through several styles. i chose 
cooney (2005). but when i insert my citations via footnote it looks 
like see (1), p. 204. why is that thing numbered anyway? i just want 
it to look like what i chose in the citation-settings above.


at the end of the document i attached my references of course and they 
look like:


[4] Kevin Cooney. Alternative visions of japanese security: The role 
of absolute and relative
gains in the making of japanese security policy. Asian Perspective, 
29(3):127–154, 2005.


i don't want my citations numbered, i want them ordered by the last 
names followed by the usual information - more apa-like ;)


First, I'd just use apalike if that's what you want, and if you do, put 
\usepackage{apalike} into your preamble and take out the other stuff. 
Then go to DocumentSettingsBibliography and make sure you've got 
natbib with Author-Year chosen. Actually, I guess you must have that if 
you're seeing what you are in the citation dialog. But check anyway.


So second, my suspicion would be that there's some kind of error in your 
BibTeX file. Maybe a missing year somewhere. BibTeX will just default to 
numbered citations if there is such an error. The way to debug is to 
export to LaTeX and then run everything by hand:

   latex myfile
   bibtex myfile
   latex myfile
And maybe one more time, though LaTeX will tell you if you need it. I'm 
guessing BibTeX will spit out some errors.


so beyond that i have a second question about editing the text in 
predefined elements, e.g. references. i'm writing my term paper in 
german and i would like to change references into 
literaturverzeichnis. is that possible? how?



I don't know the best way, but putting this:
   \renewcommand\refname{Literaturverzeichnis}
into your preamble should do it. That said, is the document language set 
to German?


rh



Black box over image when printing pdf

2009-03-12 Thread rettie

Hello everyone! I use Lyx 1.6.1 on Arch linux and I've been having trouble
with a .png image in a figure of mine, this one specifically:

http://en.wikipedia.org/wiki/File:Terephthalic-acid-2D-skeletal.png
http://en.wikipedia.org/wiki/File:Terephthalic-acid-2D-skeletal.png 

It converts to pdf fine but as soon as I print it a black box appears over
the image. Has anyone else had this problem? I've tried various printers
with no luck. Also, the image came out fine when I used Word and made a pdf
file. Has anyone else had this problem? Thanks in advance!

Another quick question: the default margins for the article class are large,
but I've always liked them because I hate crowded pages. Are there any real
benefits of the margins this size? I remember someone told me it's something
to do with the average number of words on a line, though this could have
been a lie... haha if there's a science behind it I wouldn't dare change it!

Cheers!

Alex

-- 
View this message in context: 
http://n2.nabble.com/Black-box-over-image-when-printing-pdf-tp2470386p2470386.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Black box over image when printing pdf

2009-03-12 Thread rgheck

rettie wrote:

Another quick question: the default margins for the article class are large,
but I've always liked them because I hate crowded pages. Are there any real
benefits of the margins this size? I remember someone told me it's something
to do with the average number of words on a line, though this could have
been a lie... haha if there's a science behind it I wouldn't dare change it!

  

There's a nice discussion of this in the koma-script manual.

rh



Re: Lyx and Sum symbol limits problem :(

2009-03-12 Thread Uwe Stöhr

aivanov schrieb:


I dont understand LaTex and am looking for a 'click-click' solution.


Have a look at sec. 10.2 Operator Limits of LyX's Math manual that you find 
in the Help menu.

regards Uwe


PS: Lyx 1.5.5 on Debian 5.0 and XFce.


The Math manual in that LyX VERSION MIGHT perhaps be a bit outdated, just test it out or upgrade to 
LyX 1.6.2 when it is released (probably this weekend).


Re: [math] horiztonal formulae too long

2009-03-12 Thread Uwe Stöhr

Hicham Mouline schrieb:


I have a cases environment, with only 2 columns as it is intended, and my 
formulae are too long in that, when I view the resulting PDF,
they are cutoff at the right-hand side of the page.
How can I get the forumla to continue in the next rows (display row not actual 
case row)?


Either by inserting a new row or by the methods explained in sec. 18.1.3 Long Formulas or sec. 
18.6 Multiline Formula Parts in LyX's Math manual that you find in the Help menu.


regards Uwe


Re: Black box over image when printing pdf

2009-03-12 Thread Les Denham
On Thursday 12 March 2009, rettie wrote:
 Hello everyone! I use Lyx 1.6.1 on Arch linux and I've been having trouble
 with a .png image in a figure of mine, this one specifically:

 http://en.wikipedia.org/wiki/File:Terephthalic-acid-2D-skeletal.png
 http://en.wikipedia.org/wiki/File:Terephthalic-acid-2D-skeletal.png

 It converts to pdf fine but as soon as I print it a black box appears over
 the image. Has anyone else had this problem? I've tried various printers
 with no luck. Also, the image came out fine when I used Word and made a pdf
 file. Has anyone else had this problem? Thanks in advance!

This image has a transparent background -- I'm sure that's the problem.  
Convert it to one with a white background (using any image editing program) 
and it should be fine.

 Another quick question: the default margins for the article class are
 large, but I've always liked them because I hate crowded pages. Are there
 any real benefits of the margins this size? I remember someone told me it's
 something to do with the average number of words on a line, though this
 could have been a lie... haha if there's a science behind it I wouldn't
 dare change it!

If lines have too many characters in them, the eye has trouble going 
automatically to the start of the next line.  A rule of thumb is about 80 
characters per line, and the default margins are chosen (by LaTeX, not LyX) 
to limit lines to this length.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: lyx 1.6: changes to eqnarray numbering; idea for insert matrix dialog

2009-03-12 Thread Uwe Stöhr

matt schrieb:

i am ok with toggling as opposed to off/on, but now it seems lyx toggles 
numbering for *all* equations in eqnarray, not just individual lines. i 
really need to be able to turn off numbering for some lines and not others!


Bit this was not changed. Use Ctrl+N to change all line numberings or Ctrl+Shift+N for only the 
current line.


also, as an aside, could we get a dialog box for matrix sizes as easy to 
use as the one for tables?


We have this, use the matrix button in the math toolbar. (The toolbar automatically appears when you 
are in a formula.)


Everything is also described in the LyX manuals, in your case in the Math 
manual.

regards Uwe


Re: Sure Fire Way to Create Lyx Layouts

2009-03-12 Thread Christian Liesen

Cool, comes in very useful. Many thanks for sharing this.

-- Christian


Am 11.03.2009 um 11:09 schrieb Steve Litt:


Hi all,

I just created a new web page called Steve Litt's Sure Fire,
No Fail Way to Create Lyx Layouts. Most people won't need it, but  
some people
(like me) have trouble getting layout files to work right away. This  
document
gives a standard way to get your layout file recognized instantly by  
LyX.


http://www.troubleshooters.com/linux/lyx/surefire_layout.htm

Have fun with it.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US





Re: Lyx and Sum symbol limits problem :(

2009-03-12 Thread Waluyo Adi Siswanto



 I dont understand LaTex and am looking for a 'click-click' solution.





Before you Click Sum symbol (Toolbar: Math - Auto)  in your equation
fraction. Click the second button from the left (Toolbar:Math Panel), and
click Display Style.

-- 
WAS


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Joachim Osnabryg
Am 12.03.2009, 16:43 Uhr, schrieb Alex Fernandez  
alejandro...@gmail.com:

Version 0.4 (20090312) is uploaded:
  http://wiki.lyx.org/Tools/ELyXer


OK, I dared to download and uncompress it.

And proceeded to the first step, with the response:

joachim$ ../elyxer userguide.lyx userguide2.html
  File ../elyxer, line 21
@classmethod
^
SyntaxError: invalid syntax

There is no userguide2.html in my /elyxer/docs directory.

So far, according to your userguide.lyx and .html not everything is  
working fine.


Might be because of Mac-OSX (as you haven’t tested it on Mac OS X)???

Just to report it.

Good luck, joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.1
MacBook Pro OSX 10.4.11 Tiger



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
Hi, Joachim,

 OK, I dared to download and uncompress it.

Great, another brave soul!

 And proceeded to the first step, with the response:

 joachim$ ../elyxer userguide.lyx userguide2.html
  File ../elyxer, line 21
   �...@classmethod
    ^
 SyntaxError: invalid syntax

It seems that your Python is not understanding the decorator syntax
for classmethods, which were introduced in Python 2.4:
  http://pyref.infogami.com/classmethod
The following command would verify that this is indeed the problem:
  $ python --version

 Might be because of Mac-OSX (as you haven’t tested it on Mac OS X)???

You are right:
 MacBook Pro OSX 10.4.11 Tiger

It would appear that Tiger comes with a Python 2.3 version. It is easy
to upgrade to a more current version:
  http://www.python.org/download/mac/
I would commit to make eLyXer work with Tiger, but only if you are
willing to be the guinea pig -- I don't have a Python 2.3 installation
and don't have the resources to create one. What do you think?

 Just to report it.

Thanks!

Alex.


Re: math-macro-file child-document class issue

2009-03-12 Thread Guenter Milde
On 2009-03-11, Vincent van Ravesteijn wrote:
 Richard Heck schreef:
 Axel Heim wrote:
 Hi, on the lyx-webpage (see references below) it is recommended to use a
 math macro file to collect all personal macros. When I do that, I
 encounter the problem that lyx complains with popup windows upon
 compilation if the document class of the child document (which contains
 my macros) is different from the master's one. The compilation works,
 though.
 Is there an easy tweak to get rid of the popups, how do you deal with
 it?


 No, no easy tweak. I think someone may have introduced a Don't show 
 this message again type thing, but I'm not sure if it'll make it into 
 1.6.2. Vincent, did you do that? Or were we just talking about it?

 No. Someone just acknowledges that it was a good idea and a missing 
 feature, but that's also where it ended.

There is a request and patch from 2008-11-19 (bug #3218):
http://bugzilla.lyx.org/show_bug.cgi?id=3218

Günter



Re: lyx2lyx script failed... lyx 1.6.1 lyx 1.5.6

2009-03-12 Thread Guenter Milde
On 2009-03-11, Richard Heck wrote:
 M-L wrote:
 On Mon, 09 Mar 2009 17:34:24 -0400
 rgheck rgh...@bobjweil.com wrote:
 M-L wrote:
 rgheck rgh...@bobjweil.com wrote:

 As Jurgen said, export to 1.5.x should work on Windows, too. But
 you have to find the right file: FILENAME.lyx15.

 But maybe not many are so stupid and would look for the new version file
 by default, rather than assume the original is now altered?

The same effect can be achieved by a destination file choosing
dialogue (with the default file name and path pre-selected).
The added bonus is that you are able to modify the target
destination/name.

 If someone wants to file an enhancement request over at bugzilla about 
 this, and then cc me (rgh...@comcast.net),
 I'll see if I can get to it for 1.6.3. (We're frozen for 1.6.2, which
 should be out in a few days.)

I added the request for where to export also as choice from GUI 
to Bug # 4501 http://bugzilla.lyx.org/show_bug.cgi?id=4501
lyx -e  should have an option of where to export.

Maybe someone with right permission could change the topic to 
LyX should have an option of where to export.

Günter




Re: BIBINPUTS under Windows??

2009-03-12 Thread Siegfried Meunier-Guttin-Cluzel




To set an environment variable under Windows XP, just go to the menu
Start  Configuration Panel  System
Choose the Adanced panel and then the Environment Variables button
Here you can change/add the variables.

( The menu names can be different, my Windows is in french)

Hope it helps,
Siegfried.
-- 
MEUNIER-GUTTIN-CLUZEL


Siegfried MEUNIER-GUTTIN-CLUZEL
Matre de confrence  l'INSA de Rouen
Fax. 33 (0)2 32 95 37 94
Tl. 02 32 95 37 46 (CORIA)
 02 32 95 97 76 ( INSA )



CNRS UMR 6614 - CORIA
Universit de Rouen
Site Universitaire du Madrillet - BP 12
76801 Saint Etienne du Rouvray cedex
Tl. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85
www.coria.fr







Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Olivier Ripoll

Alex Fernandez wrote:

Dear LyX users,


Hi,

That looks like a very nice tool. The HTML code is indeed good-looking!


LyX is a wonderful editor; its PDF output is perhaps unmatched by
other graphical editors. But the most common interchange method of
today is HTML, and LyX does not produce good HTML. There are some
tools for TeX - HTML conversion, and even LyX - HTML, but the
results tend to be poor and rigid.

So undeterred by the myriad of similar efforts I set to the task of
producing a simple, specialized tool for LyX - HTML conversion, and
the result is eLyXer. It is meant to produce acceptable-to-beautiful
HTML code, depending on your browser's Unicode and CSS rendering
merits. To use it just type at the prompt:
  $ elyxer document.lyx document.html
This command takes a LyX document called (surprisingly) document.lyx,
and produces (just as surprisingly) a web page called document.html.
Ta-dah! The conversion is complete. For better results you may need to
copy the file docs/lyx.css to your working directory, and perhaps
customize it a bit. See this wiki page for details:
  http://wiki.lyx.org/Tools/ELyXer
and be sure to read the user guide included in the package.

A pretty example can be seen at
 http://vecinos-productions.com/rayleigh/book.html


Is there a problem with the bibliography export ? It looks like the 
above example contains many more entries in the bibliography that there 
are references in the text, most having not numbers between the brackets.


Best regards,

Olivier

PS: I noticed you use
#!/usr/bin/python
while the python scripts of LyX use
#! /usr/bin/env python

I'm not sure, but the later my be more 'universal' (tolerant/portable)



Re: lyx2lyx script failed... lyx 1.6.1 lyx 1.5.6

2009-03-12 Thread Pavel Sanda
Guenter Milde wrote:
 Maybe someone with right permission could change the topic to 
 LyX should have an option of where to export.

or somebody with the right permissions could give long standing
contributors bigger rights in bugzilla.

pavel


Re: math-macro-file child-document class issue

2009-03-12 Thread Pavel Sanda
Guenter Milde wrote:
 There is a request and patch from 2008-11-19 (bug #3218):
 http://bugzilla.lyx.org/show_bug.cgi?id=3218

unfortunately that is not general solution.
pavel


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Wolfgang Keller
 A pretty example can be seen at
  http://vecinos-productions.com/rayleigh/book.html

It even validates.

http://validator.w3.org/check?uri=http%3A%2F%2Fvecinos-productions.com%2Frayleigh%2Fbook.htmlcharset=
(detect+automatically)doctype=Inlinegroup=0verbose=1

Please make sure this remains so.

Sincerely,

Wolfgang


Re: math-macro-file child-document class issue

2009-03-12 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
 No, no easy tweak. I think someone may have introduced a Don't show this 
 message again type thing, but I'm not sure if it'll make it into 1.6.2. 
 Vincent, did you do that? Or were we just talking about it?

 rh

 No. Someone just acknowledges that it was a good idea and a missing 
 feature, but that's also where it ended.

yes there are bugs waiting for this feature,
eg http://bugzilla.lyx.org/show_bug.cgi?id=2120

pavel


Re: BIBINPUTS under Windows??

2009-03-12 Thread David Bickel
Thank you very much, Siegfried. I added my .bib location to the Path
variable, but that did not enable LyX to find the .bib file when I
compiled.

David


---
From: Siegfried Meunier-Guttin-Cluzel[SMTP:meun...@coria.fr]
Sent: Thursday, March 12, 2009 4:53:53 AM
To: Richard Heck
Cc: David Bickel; LyX User
Subject: Re: BIBINPUTS under Windows??
Auto forwarded by a Rule

To set an environment variable under Windows XP, just go to the menu
Start  Configuration Panel  System
Choose the Adanced panel and then the Environment Variables button
Here you can change/add the variables.

( The menu names can be different, my Windows is in french)

Hope it helps,
Siegfried.
-- 
Siegfried MEUNIER-GUTTIN-CLUZEL
Maître de conférence à l'INSA de Rouen
Fax. 33 (0)2 32 95 37 94
Tél. 02 32 95 37 46 (CORIA)
   02 32 95 97 76 ( INSA )
CNRS UMR 6614 - CORIA
Université de Rouen
Site Universitaire du Madrillet - BP 12
76801 Saint Etienne du Rouvray cedex
Tél. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85
www.coria.fr


Re: BIBINPUTS under Windows??

2009-03-12 Thread rgheck

David Bickel wrote:

Thank you very much, Siegfried. I added my .bib location to the Path
variable, but that did not enable LyX to find the .bib file when I
compiled.

  
No, not to the PATH variable. That finds executables. You need to add a 
BIBINPUTS variable, with the path to where you're storing the bib files.


rh



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
Hi Olivier,

 That looks like a very nice tool. The HTML code is indeed good-looking!

Thanks a lot! In time I hope it will be useful to other users. It is
the least I can do after having used LyX for several years so
satisfactorily.

 Is there a problem with the bibliography export ? It looks like the above
 example contains many more entries in the bibliography that there are
 references in the text, most having not numbers between the brackets.

No problem at all, just that my sample document contained both
referenced and unreferenced bibliography entries. In other words: I
cut most of the text but left the bibliography entries.

 PS: I noticed you use
 #!/usr/bin/python
 while the python scripts of LyX use
 #! /usr/bin/env python

 I'm not sure, but the later my be more 'universal' (tolerant/portable)

Changed now. I will release a new version later on today with the latter line :D

Thanks,

Alex.


Re: BIBINPUTS under Windows??

2009-03-12 Thread David Bickel
Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start  Control Panel  System  Adanced  Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.

David


On Thu, Mar 12, 2009 at 8:09 AM, David Bickel dbic...@uottawa.ca wrote:

 ---
 From: rgheck[SMTP:rgh...@bobjweil.com]
 Sent: Thursday, March 12, 2009 8:04:52 AM
 To: David Bickel
 Cc: LyX Users List; meun...@coria.fr
 Subject: Re: BIBINPUTS under Windows??
 Auto forwarded by a Rule

 David Bickel wrote:
 Thank you very much, Siegfried. I added my .bib location to the Path
 variable, but that did not enable LyX to find the .bib file when I
 compiled.


 No, not to the PATH variable. That finds executables. You need to add a
 BIBINPUTS variable, with the path to where you're storing the bib files.

 rh



-- 
David R. Bickel, PhD
Ottawa Institute of Systems Biology
BMI Dept., University of Ottawa
451 Smyth Road
Ottawa, Ontario K1H 8M5

http://www.statomics.com


Office Tel: (613) 562-5800 ext. 8670
Office Fax: (613) 562-5185
Office Room: RGN 4510F (Follow the signs to the elevator, and take it
to the fourth floor. Turn left and go all the way to the end of the
hall, and enter the door to the OISB area.)
Lab Tel.: (613) 562-5800 ext. 8304
Lab Room: RGN 4501T


Re: change default path to .bib files

2009-03-12 Thread David Bickel
Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start  Control Panel  System  Adanced  Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.

David

PS This is also posted under a different subject to aid future users.


On Wed, Mar 11, 2009 at 11:30 AM, Richard Heck rgh...@bobjweil.com wrote:
 David Bickel wrote:

 I keep my .bib files on a portable hard drive so I can easily work
 from multiple computers. The only way I have been able to get LyX to
 use these .bib files is to have it put the full path to my .bib
 directory in the .lyx file. The problem with this is that I share the
 .lyx file with other users whose computers do not recognize that path.

 Is there a way that I can instead set the preferences on my computer
 to use a different .bib path by default? That worked well in
 Scientific Word.

 I use Windows XP and Windows Vista with LyX 1.6.1.



 What you need is the BIBINPUTS environment variable. I have this:
   BIBINPUTS=/home/rgheck/files/bibtex::
   export BIBINPUTS;
 in my shell here. I assume there is some way to set these things on Windows.
 If worse comes to worse, of course, you can directly modify TeX's texmf.cnf
 configuration file. (I assume that must exist under Windows.)

 rh





-- 
David R. Bickel, PhD
Ottawa Institute of Systems Biology
BMI Dept., University of Ottawa
451 Smyth Road
Ottawa, Ontario K1H 8M5

http://www.statomics.com
dbic...@uottawa.ca

Office Tel: (613) 562-5800 ext. 8670
Office Fax: (613) 562-5185
Office Room: RGN 4510F (Follow the signs to the elevator, and take it
to the fourth floor. Turn left and go all the way to the end of the
hall, and enter the door to the OISB area.)
Lab Tel.: (613) 562-5800 ext. 8304
Lab Room: RGN 4501T


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Joachim Osnabryg

Am 11.03.2009, 02:08 Uhr, schrieb Alex Fernandez
alejandro...@gmail.com:


eLyXer is very much a work in progress, since it only supports a
pretty small subset of LyX features


Being very impressed of the quality of the example
http://vecinos-productions.com/rayleigh/book.html
I suppose that

margin notes in LyX

(or better footnotes as numbered margin notes in the Handout (Tufte) LyX  
layout) will not yet be translated as such (i. e. marginals) by eLyXer.


(Sorry, I didn't install and try out eLyXer yet.)

But if you and others who are able to develope eLyXer would build that
capability in, it would serve very well my publications plans of texts
with many short helping/illuminating notes in the margin (for less
disconnect someone's reading of the main text.

Just to make you know my wish,
Good luck, joachim



Re: BIBINPUTS under Windows??

2009-03-12 Thread rgheck

David Bickel wrote:

Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start  Control Panel  System  Adanced  Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.

  

Put it on the wiki?

rh



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
 It even validates.

 http://validator.w3.org/check?uri=http%3A%2F%2Fvecinos-productions.com%2Frayleigh%2Fbook.htmlcharset=
 (detect+automatically)doctype=Inlinegroup=0verbose=1

 Please make sure this remains so.

Sure. If you find an example of invalid XHTML please notify me.
Quoting from the user guide:
  The HTML code generated is technically XHTML Transitional, version
1.0, using UTF-8 encoding. It passes the W3C tests [w3c-validator]. If
your particular web page doesn't pass the tests, then it is a bug and
it will be treated as such.

Thanks,

Alex.


Re: change default path to .bib files

2009-03-12 Thread Paul A. Rubin

David Bickel wrote:

Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start  Control Panel  System  Adanced  Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.



I don't think the reboot should be necessary.  If LyX is running, 
though, you might have to restart it (not positive).  If you're running 
LaTeX (MiKTeX?) in a DOS shell, you definitely will have to close the 
DOS shell and reopen it.


Changes to environment variables should take effect immediately in the 
sense that any program (or DOS shell) started after the change should 
see the new environment variables.  Stuff that's already running 
inherited whatever environment variables were in effect when they 
started, and their environments are not updated.


/Paul



Re: page number position problem

2009-03-12 Thread Paul A. Rubin

Melissa Bukovsky wrote:

Hello all,

I'm having a problem with the location of my page numbers in lyx.  I'm 
using version 1.6.1 (just upgraded hoping my problem would be solved 
that way, but it wasn't) on a Mac.


I have my pagestyle set to plain, because all of the page numbers need 
to be on the bottom center of my pages for my dissertation.  However, on 
the pages where there are figures, the page number ends up in the upper 
right corner.


This is true even if the figure occupies only part of the page?  Or are 
your figures all on separate pages?


I have spent too much time trying to fix this using 
various suggestions from other posts on how to move your page number, 
etc using various fancy and fancypagestyle{plain} settings.  Nothing has 
worked.




Positioning of page numbers is controlled by LaTeX, and may be dictated 
(I think) by the document class you are using.  It's not a LyX function. 
 What class are you using for your thesis?


/Paul



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
Hi,

 But if you and others who are able to develope eLyXer would build that
 capability in, it would serve very well my publications plans of texts
 with many short helping/illuminating notes in the margin (for less
 disconnect someone's reading of the main text.

Right now, and with the kind help of Nikos Alexandris, I have added
basic support for footnotes: they appear as floating boxes on the
right, although not numbered. You will find them in the next release,
probably sometime this afternoon.

 Just to make you know my wish,

Great! If there is any other missing feature be sure to tell me. You
can send document samples privately and I will do my best.

Thanks,

Alex.


[math] horiztonal formulae too long

2009-03-12 Thread Hicham Mouline
Hello,
I have a cases environment, with only 2 columns as it is intended, and my 
formulae are too long in that, when I view the resulting PDF,
they are cutoff at the right-hand side of the page.
How can I get the forumla to continue in the next rows (display row not actual 
case row)?

regards,


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Nikos Alexandris
On Thu, 2009-03-12 at 16:43 +0100, Alex Fernandez wrote:
 Hi again,
 
 Version 0.4 (20090312) is uploaded:
   http://wiki.lyx.org/Tools/ELyXer
 Direct link:
   http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-20090312.tar.gz
 It now ignores ERT, and supports footnotes, newlines, bibitem entries
 and citations. If you are interested in living on the rough frontiers
 of command line tools please give it a spin.
 
 Thanks,
 
 Alex.

Alex,

thanks a million :-).

Just as a side-note: I don't know how you manage your source code
locally. I want only to mention that git is an excellent tool. It's
something more than a tool actually. And it's not that difficult to
start working with it. There are very nice and clean tutorials.

I use git locally for my LyX documents :-). Afterall, LyX files are like
source code :-). No need to save with multiple names and get lost with
tens of files. I have to thank a friend of mine who pointed out to the
use of git.

Cheers, Nikos



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Nikos Alexandris
On Thu, 2009-03-12 at 17:11 +0100, Alex Fernandez wrote:
[...]
 Actually (and coincidentally) I am using git to manage the source code
 :D  I can confirm that it is very nice to work with, even easier to
 use than Subversion with which I have some previous experience.
 
 I have not published the repository for lack of a hosting facility
 (and lack of knowledge to set it up), but once I find a suitable place
 I will make it public.
 
 Thanks,
 Alex.

Great :D



Re: math-macro-file child-document class issue

2009-03-12 Thread Guenter Milde
On 2009-03-12, Pavel Sanda wrote:
 Guenter Milde wrote:
 There is a request and patch from 2008-11-19 (bug #3218):
 http://bugzilla.lyx.org/show_bug.cgi?id=3218

 unfortunately that is not general solution.

What is missing?



Re: math-macro-file child-document class issue

2009-03-12 Thread Pavel Sanda
Guenter Milde wrote:
 On 2009-03-12, Pavel Sanda wrote:
  Guenter Milde wrote:
  There is a request and patch from 2008-11-19 (bug #3218):
  http://bugzilla.lyx.org/show_bug.cgi?id=3218
 
  unfortunately that is not general solution.
 
 What is missing?

rewrite of the Alert class which could display and remember Do not show me
again checkbox for other instances of this 'repeat' problem.

pavel


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Nikos Alexandris
On Thu, 2009-03-12 at 16:43 +0100, Alex Fernandez wrote:
 Hi again,
 
 Version 0.4 (20090312) is uploaded:
   http://wiki.lyx.org/Tools/ELyXer
 Direct link:
   http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-20090312.tar.gz
 It now ignores ERT, and supports footnotes, newlines, bibitem entries
 and citations. If you are interested in living on the rough frontiers
 of command line tools please give it a spin.
 
 Thanks,
 
 Alex.

OK,

it started producing html's for me :D

Notes (which you probably already know):
# using the KOMA-Script article class

1. All footnotes appear as normal text exactly there where they are
inserted in LyX' document and therefore cannot be distinguished from the
text-body.

2.  The section titles defined as Section* environments are ignored
and appear as normal text

3. The lstparams (parameters for the listings package) appear also in
the text.

4. Indentation of the LyX-Code environment is ignored

5. Pictures are used without the scaling that is defined within LyX
(well... I don't know how hard this would be to implement).

6. I would like to be able to control the Copyright (C) 2009 by...
message if possible, i.e. to be able to switch it off.


Cheers, Nikos



how to move or change moderncv Listitem more left

2009-03-12 Thread Md. Golam Parvez
Hi
Anybody can tell me how to move moderncv listitem more left. I have tried to
move it left so much but I could not. Alwayes listitems are coming far more
right side of a page. Hope my question makes sense. Thanks for your time.
-- 
Parvez Golam


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
Nikos,

 it started producing html's for me :D

Great!

 Notes (which you probably already know):
 # using the KOMA-Script article class

 1. All footnotes appear as normal text exactly there where they are
 inserted in LyX' document and therefore cannot be distinguished from the
 text-body.

As to the first point you may try to copy the docs/lyx.css file to
your html directory. It will improve significantly.

The rest will have to wait for the 0.5 (20090313) version :D

 5. Pictures are used without the scaling that is defined within LyX
 (well... I don't know how hard this would be to implement).

Actually it doesn't looks too difficult.

Thanks for the report,

Alex.


Re: Lyx and Sum symbol limits problem :(

2009-03-12 Thread curtis osterhoudt
It's by design. However, in version 1.6.1 (possibly in older versions, too), 
you can change that limit behavior by putting the cursor immediately after the 
\sum symbol, and going to the Edit - Math - change limit type menu entry.

 /
Down with categorical imperative!
flutz...@yahoo.com
/





From: Vincent van Ravesteijn v.f.vanraveste...@tudelft.nl
To: aivanov aivanovm...@aol.com
Cc: lyx-users@lists.lyx.org
Sent: Thursday, March 12, 2009 12:25:41 PM
Subject: Re: Lyx and Sum symbol limits problem :(

aivanov schreef:
 Hello!
 
 I have problem with the 'Sum' symbol and the placing of its limits. I do
 everything acording the User's Guide and it works only when the formula is
 on a separate row and the sum is not part of fraction.
 
 See the screenshots -- think they describe what I want to say:
 http://n2.nabble.com/file/n2469116/LyxSumProblem.jpeg 
 http://n2.nabble.com/file/n2469116/Screenpdfsumproblem.jpeg 
 I dont understand LaTex and am looking for a 'click-click' solution.
 
 Thank you!
 
 Alexander (from Bulgaria) 
 PS: Lyx 1.5.5 on Debian 5.0 and XFce.
  
Do you have a reason that you want the limits to be placed differently ?

To me it looks very good this way and I would be happy and satisfied.

Vincent



  

Re: lyx 1.6: changes to eqnarray numbering; idea for insert matrix dialog

2009-03-12 Thread Paul A. Rubin

matt wrote:


i am ok with toggling as opposed to off/on, but now it seems lyx toggles 
numbering for *all* equations in eqnarray, not just individual lines. i 
really need to be able to turn off numbering for some lines and not others!




Method 1:  Don't toggle numbering on, but instead insert a label (even 
if you have no intention to use it) in each row that you want numbered.


Method 2:  Alt-M Shift-N toggles numbering in just the row containing 
the cursor.  (Don't know if that's an Alt key, a Meta key or the Steve 
Jobs key on a Mac, though.  :-))


/Paul



several questions from a lyx-newbie. bear with me, pls ;)

2009-03-12 Thread Maurice Viehweger

hey guys,

i'm writing a term paper at the moment and it's almost finished. but 
there are several things bugging me still. i'm trying to give you as 
much information about my setup beforehand, but let me know, if theres 
something else you need to know.


i'm using lyx 1.6.1 and bibdesk 1.3.20. my document class is article 
(paper).



first problem:

my citation looks awful. at the moment the style is plain, but i want 
it to have more apa-like. i know theres also a predefined style with 
that name, but it doesn't work properly (at least it seems so).


my preamble says:

\usepackage{natbib}
\bibpunct[: ]{(}{)}{,}{}{ }{;}

because a friend told me i could switch on apa-citation with that 
settings. in the lyx settings i left it with the standard option in 
the references settings.


so, what does my output look like?

e.g.: at the moment in lyx while writing it says cooney:2005zl. when i 
click on that cite i can switch through several styles. i chose cooney 
(2005). but when i insert my citations via footnote it looks like see 
(1), p. 204. why is that thing numbered anyway? i just want it to look 
like what i chose in the citation-settings above.


at the end of the document i attached my references of course and they 
look like:


[4] Kevin Cooney. Alternative visions of japanese security: The role of 
absolute and relative
gains in the making of japanese security policy. Asian Perspective, 
29(3):127–154, 2005.


i don't want my citations numbered, i want them ordered by the last 
names followed by the usual information - more apa-like ;)



so beyond that i have a second question about editing the text in 
predefined elements, e.g. references. i'm writing my term paper in 
german and i would like to change references into 
literaturverzeichnis. is that possible? how?



in hope that you can help me i thank you in advance,

maurice


Re: several questions from a lyx-newbie. bear with me, pls ;)

2009-03-12 Thread rgheck

Maurice Viehweger wrote:

first problem:

my citation looks awful. at the moment the style is plain, but i 
want it to have more apa-like. i know theres also a predefined style 
with that name, but it doesn't work properly (at least it seems so).


my preamble says:

\usepackage{natbib}
\bibpunct[: ]{(}{)}{,}{}{ }{;}

because a friend told me i could switch on apa-citation with that 
settings. in the lyx settings i left it with the standard option in 
the references settings.


so, what does my output look like?

e.g.: at the moment in lyx while writing it says cooney:2005zl. when 
i click on that cite i can switch through several styles. i chose 
cooney (2005). but when i insert my citations via footnote it looks 
like see (1), p. 204. why is that thing numbered anyway? i just want 
it to look like what i chose in the citation-settings above.


at the end of the document i attached my references of course and they 
look like:


[4] Kevin Cooney. Alternative visions of japanese security: The role 
of absolute and relative
gains in the making of japanese security policy. Asian Perspective, 
29(3):127–154, 2005.


i don't want my citations numbered, i want them ordered by the last 
names followed by the usual information - more apa-like ;)


First, I'd just use apalike if that's what you want, and if you do, put 
\usepackage{apalike} into your preamble and take out the other stuff. 
Then go to DocumentSettingsBibliography and make sure you've got 
natbib with Author-Year chosen. Actually, I guess you must have that if 
you're seeing what you are in the citation dialog. But check anyway.


So second, my suspicion would be that there's some kind of error in your 
BibTeX file. Maybe a missing year somewhere. BibTeX will just default to 
numbered citations if there is such an error. The way to debug is to 
export to LaTeX and then run everything by hand:

   latex myfile
   bibtex myfile
   latex myfile
And maybe one more time, though LaTeX will tell you if you need it. I'm 
guessing BibTeX will spit out some errors.


so beyond that i have a second question about editing the text in 
predefined elements, e.g. references. i'm writing my term paper in 
german and i would like to change references into 
literaturverzeichnis. is that possible? how?



I don't know the best way, but putting this:
   \renewcommand\refname{Literaturverzeichnis}
into your preamble should do it. That said, is the document language set 
to German?


rh



Black box over image when printing pdf

2009-03-12 Thread rettie

Hello everyone! I use Lyx 1.6.1 on Arch linux and I've been having trouble
with a .png image in a figure of mine, this one specifically:

http://en.wikipedia.org/wiki/File:Terephthalic-acid-2D-skeletal.png
http://en.wikipedia.org/wiki/File:Terephthalic-acid-2D-skeletal.png 

It converts to pdf fine but as soon as I print it a black box appears over
the image. Has anyone else had this problem? I've tried various printers
with no luck. Also, the image came out fine when I used Word and made a pdf
file. Has anyone else had this problem? Thanks in advance!

Another quick question: the default margins for the article class are large,
but I've always liked them because I hate crowded pages. Are there any real
benefits of the margins this size? I remember someone told me it's something
to do with the average number of words on a line, though this could have
been a lie... haha if there's a science behind it I wouldn't dare change it!

Cheers!

Alex

-- 
View this message in context: 
http://n2.nabble.com/Black-box-over-image-when-printing-pdf-tp2470386p2470386.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Black box over image when printing pdf

2009-03-12 Thread rgheck

rettie wrote:

Another quick question: the default margins for the article class are large,
but I've always liked them because I hate crowded pages. Are there any real
benefits of the margins this size? I remember someone told me it's something
to do with the average number of words on a line, though this could have
been a lie... haha if there's a science behind it I wouldn't dare change it!

  

There's a nice discussion of this in the koma-script manual.

rh



Re: Lyx and Sum symbol limits problem :(

2009-03-12 Thread Uwe Stöhr

aivanov schrieb:


I dont understand LaTex and am looking for a 'click-click' solution.


Have a look at sec. 10.2 Operator Limits of LyX's Math manual that you find 
in the Help menu.

regards Uwe


PS: Lyx 1.5.5 on Debian 5.0 and XFce.


The Math manual in that LyX VERSION MIGHT perhaps be a bit outdated, just test it out or upgrade to 
LyX 1.6.2 when it is released (probably this weekend).


Re: [math] horiztonal formulae too long

2009-03-12 Thread Uwe Stöhr

Hicham Mouline schrieb:


I have a cases environment, with only 2 columns as it is intended, and my 
formulae are too long in that, when I view the resulting PDF,
they are cutoff at the right-hand side of the page.
How can I get the forumla to continue in the next rows (display row not actual 
case row)?


Either by inserting a new row or by the methods explained in sec. 18.1.3 Long Formulas or sec. 
18.6 Multiline Formula Parts in LyX's Math manual that you find in the Help menu.


regards Uwe


Re: Black box over image when printing pdf

2009-03-12 Thread Les Denham
On Thursday 12 March 2009, rettie wrote:
 Hello everyone! I use Lyx 1.6.1 on Arch linux and I've been having trouble
 with a .png image in a figure of mine, this one specifically:

 http://en.wikipedia.org/wiki/File:Terephthalic-acid-2D-skeletal.png
 http://en.wikipedia.org/wiki/File:Terephthalic-acid-2D-skeletal.png

 It converts to pdf fine but as soon as I print it a black box appears over
 the image. Has anyone else had this problem? I've tried various printers
 with no luck. Also, the image came out fine when I used Word and made a pdf
 file. Has anyone else had this problem? Thanks in advance!

This image has a transparent background -- I'm sure that's the problem.  
Convert it to one with a white background (using any image editing program) 
and it should be fine.

 Another quick question: the default margins for the article class are
 large, but I've always liked them because I hate crowded pages. Are there
 any real benefits of the margins this size? I remember someone told me it's
 something to do with the average number of words on a line, though this
 could have been a lie... haha if there's a science behind it I wouldn't
 dare change it!

If lines have too many characters in them, the eye has trouble going 
automatically to the start of the next line.  A rule of thumb is about 80 
characters per line, and the default margins are chosen (by LaTeX, not LyX) 
to limit lines to this length.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: lyx 1.6: changes to eqnarray numbering; idea for insert matrix dialog

2009-03-12 Thread Uwe Stöhr

matt schrieb:

i am ok with toggling as opposed to off/on, but now it seems lyx toggles 
numbering for *all* equations in eqnarray, not just individual lines. i 
really need to be able to turn off numbering for some lines and not others!


Bit this was not changed. Use Ctrl+N to change all line numberings or Ctrl+Shift+N for only the 
current line.


also, as an aside, could we get a dialog box for matrix sizes as easy to 
use as the one for tables?


We have this, use the matrix button in the math toolbar. (The toolbar automatically appears when you 
are in a formula.)


Everything is also described in the LyX manuals, in your case in the Math 
manual.

regards Uwe


Re: Sure Fire Way to Create Lyx Layouts

2009-03-12 Thread Christian Liesen

Cool, comes in very useful. Many thanks for sharing this.

-- Christian


Am 11.03.2009 um 11:09 schrieb Steve Litt:


Hi all,

I just created a new web page called Steve Litt's Sure Fire,
No Fail Way to Create Lyx Layouts. Most people won't need it, but  
some people
(like me) have trouble getting layout files to work right away. This  
document
gives a standard way to get your layout file recognized instantly by  
LyX.


http://www.troubleshooters.com/linux/lyx/surefire_layout.htm

Have fun with it.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US





Re: Lyx and Sum symbol limits problem :(

2009-03-12 Thread Waluyo Adi Siswanto



 I dont understand LaTex and am looking for a 'click-click' solution.





Before you Click Sum symbol (Toolbar: Math - Auto)  in your equation
fraction. Click the second button from the left (Toolbar:Math Panel), and
click Display Style.

-- 
WAS


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Joachim Osnabryg
Am 12.03.2009, 16:43 Uhr, schrieb Alex Fernandez  
alejandro...@gmail.com:

Version 0.4 (20090312) is uploaded:
  http://wiki.lyx.org/Tools/ELyXer


OK, I dared to download and uncompress it.

And proceeded to the first step, with the response:

joachim$ ../elyxer userguide.lyx userguide2.html
  File ../elyxer, line 21
@classmethod
^
SyntaxError: invalid syntax

There is no userguide2.html in my /elyxer/docs directory.

So far, according to your userguide.lyx and .html not everything is  
working fine.


Might be because of Mac-OSX (as you haven’t tested it on Mac OS X)???

Just to report it.

Good luck, joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.1
MacBook Pro OSX 10.4.11 Tiger



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
Hi, Joachim,

 OK, I dared to download and uncompress it.

Great, another brave soul!

 And proceeded to the first step, with the response:

 joachim$ ../elyxer userguide.lyx userguide2.html
  File ../elyxer, line 21
   �...@classmethod
    ^
 SyntaxError: invalid syntax

It seems that your Python is not understanding the decorator syntax
for classmethods, which were introduced in Python 2.4:
  http://pyref.infogami.com/classmethod
The following command would verify that this is indeed the problem:
  $ python --version

 Might be because of Mac-OSX (as you haven’t tested it on Mac OS X)???

You are right:
 MacBook Pro OSX 10.4.11 Tiger

It would appear that Tiger comes with a Python 2.3 version. It is easy
to upgrade to a more current version:
  http://www.python.org/download/mac/
I would commit to make eLyXer work with Tiger, but only if you are
willing to be the guinea pig -- I don't have a Python 2.3 installation
and don't have the resources to create one. What do you think?

 Just to report it.

Thanks!

Alex.


Re: math-macro-file child-document class issue

2009-03-12 Thread Guenter Milde
On 2009-03-11, Vincent van Ravesteijn wrote:
> Richard Heck schreef:
>> Axel Heim wrote:
>>> Hi, on the lyx-webpage (see references below) it is recommended to use a
>>> math macro file to collect all personal macros. When I do that, I
>>> encounter the problem that lyx complains with popup windows upon
>>> compilation if the document class of the child document (which contains
>>> my macros) is different from the master's one. The compilation works,
>>> though.
>>> Is there an easy tweak to get rid of the popups, how do you deal with
>>> it?


>> No, no easy tweak. I think someone may have introduced a "Don't show 
>> this message again" type thing, but I'm not sure if it'll make it into 
>> 1.6.2. Vincent, did you do that? Or were we just talking about it?

> No. Someone just acknowledges that it was a good idea and a missing 
> feature, but that's also where it ended.

There is a request and patch from 2008-11-19 (bug #3218):
http://bugzilla.lyx.org/show_bug.cgi?id=3218

Günter



Re: lyx2lyx script failed... lyx 1.6.1 >>lyx 1.5.6

2009-03-12 Thread Guenter Milde
On 2009-03-11, Richard Heck wrote:
> M-L wrote:
>> On Mon, 09 Mar 2009 17:34:24 -0400
>> rgheck  wrote:
>>> M-L wrote:
 rgheck  wrote:

> As Jurgen said, export to 1.5.x should work on Windows, too. But
> you have to find the right file: FILENAME.lyx15.

>> But maybe not many are so stupid and would look for the new version file
>> by default, rather than assume the original is now altered?

The same effect can be achieved by a "destination file choosing"
dialogue (with the default file name and path pre-selected).
The added bonus is that you are able to modify the target
destination/name.

> If someone wants to file an enhancement request over at bugzilla about 
> this, and then cc me (rgh...@comcast.net),
> I'll see if I can get to it for 1.6.3. (We're frozen for 1.6.2, which
> should be out in a few days.)

I added the request for "where to export" also as choice from GUI 
to Bug # 4501 
"lyx -e  should have an option of where to export".

Maybe someone with right permission could change the topic to 
"LyX should have an option of where to export".

Günter




Re: BIBINPUTS under Windows??

2009-03-12 Thread Siegfried Meunier-Guttin-Cluzel




To set an environment variable under Windows XP, just go to the menu
Start > Configuration Panel > System
Choose the Adanced panel and then the Environment Variables button
Here you can change/add the variables.

( The menu names can be different, my Windows is in french)

Hope it helps,
Siegfried.
-- 
MEUNIER-GUTTIN-CLUZEL


Siegfried MEUNIER-GUTTIN-CLUZEL
Maître de conférence à l'INSA de Rouen
Fax. 33 (0)2 32 95 37 94
Tél. 02 32 95 37 46 (CORIA)
   02 32 95 97 76 ( INSA )



CNRS UMR 6614 - CORIA
Université de Rouen
Site Universitaire du Madrillet - BP 12
76801 Saint Etienne du Rouvray cedex
Tél. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85
www.coria.fr







Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Olivier Ripoll

Alex Fernandez wrote:

Dear LyX users,


Hi,

That looks like a very nice tool. The HTML code is indeed good-looking!


LyX is a wonderful editor; its PDF output is perhaps unmatched by
other graphical editors. But the most common interchange method of
today is HTML, and LyX does not produce good HTML. There are some
tools for TeX -> HTML conversion, and even LyX -> HTML, but the
results tend to be poor and rigid.

So undeterred by the myriad of similar efforts I set to the task of
producing a simple, specialized tool for LyX -> HTML conversion, and
the result is eLyXer. It is meant to produce acceptable-to-beautiful
HTML code, depending on your browser's Unicode and CSS rendering
merits. To use it just type at the prompt:
  $ elyxer document.lyx document.html
This command takes a LyX document called (surprisingly) document.lyx,
and produces (just as surprisingly) a web page called document.html.
Ta-dah! The conversion is complete. For better results you may need to
copy the file docs/lyx.css to your working directory, and perhaps
customize it a bit. See this wiki page for details:
  http://wiki.lyx.org/Tools/ELyXer
and be sure to read the user guide included in the package.

A pretty example can be seen at
 http://vecinos-productions.com/rayleigh/book.html


Is there a problem with the bibliography export ? It looks like the 
above example contains many more entries in the bibliography that there 
are references in the text, most having not numbers between the brackets.


Best regards,

Olivier

PS: I noticed you use
#!/usr/bin/python
while the python scripts of LyX use
#! /usr/bin/env python

I'm not sure, but the later my be more 'universal' (tolerant/portable)



Re: lyx2lyx script failed... lyx 1.6.1 >>lyx 1.5.6

2009-03-12 Thread Pavel Sanda
Guenter Milde wrote:
> Maybe someone with right permission could change the topic to 
> "LyX should have an option of where to export".

or somebody with the right permissions could give long standing
contributors bigger rights in bugzilla.

pavel


Re: math-macro-file child-document class issue

2009-03-12 Thread Pavel Sanda
Guenter Milde wrote:
> There is a request and patch from 2008-11-19 (bug #3218):
> http://bugzilla.lyx.org/show_bug.cgi?id=3218

unfortunately that is not general solution.
pavel


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Wolfgang Keller
> A pretty example can be seen at
>  http://vecinos-productions.com/rayleigh/book.html

It even validates.

http://validator.w3.org/check?uri=http%3A%2F%2Fvecinos-productions.com%2Frayleigh%2Fbook.html=
(detect+automatically)=Inline=0=1

Please make sure this remains so.

Sincerely,

Wolfgang


Re: math-macro-file child-document class issue

2009-03-12 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
>> No, no easy tweak. I think someone may have introduced a "Don't show this 
>> message again" type thing, but I'm not sure if it'll make it into 1.6.2. 
>> Vincent, did you do that? Or were we just talking about it?
>>
>> rh
>>
> No. Someone just acknowledges that it was a good idea and a missing 
> feature, but that's also where it ended.

yes there are bugs waiting for this feature,
eg http://bugzilla.lyx.org/show_bug.cgi?id=2120

pavel


Re: BIBINPUTS under Windows??

2009-03-12 Thread David Bickel
Thank you very much, Siegfried. I added my .bib location to the Path
variable, but that did not enable LyX to find the .bib file when I
compiled.

David


---
From: Siegfried Meunier-Guttin-Cluzel[SMTP:meun...@coria.fr]
Sent: Thursday, March 12, 2009 4:53:53 AM
To: Richard Heck
Cc: David Bickel; LyX User
Subject: Re: BIBINPUTS under Windows??
Auto forwarded by a Rule

To set an environment variable under Windows XP, just go to the menu
Start > Configuration Panel > System
Choose the Adanced panel and then the Environment Variables button
Here you can change/add the variables.

( The menu names can be different, my Windows is in french)

Hope it helps,
Siegfried.
-- 
Siegfried MEUNIER-GUTTIN-CLUZEL
Maître de conférence à l'INSA de Rouen
Fax. 33 (0)2 32 95 37 94
Tél. 02 32 95 37 46 (CORIA)
   02 32 95 97 76 ( INSA )
CNRS UMR 6614 - CORIA
Université de Rouen
Site Universitaire du Madrillet - BP 12
76801 Saint Etienne du Rouvray cedex
Tél. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85
www.coria.fr


Re: BIBINPUTS under Windows??

2009-03-12 Thread rgheck

David Bickel wrote:

Thank you very much, Siegfried. I added my .bib location to the Path
variable, but that did not enable LyX to find the .bib file when I
compiled.

  
No, not to the PATH variable. That finds executables. You need to add a 
BIBINPUTS variable, with the path to where you're storing the bib files.


rh



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
Hi Olivier,

> That looks like a very nice tool. The HTML code is indeed good-looking!

Thanks a lot! In time I hope it will be useful to other users. It is
the least I can do after having used LyX for several years so
satisfactorily.

> Is there a problem with the bibliography export ? It looks like the above
> example contains many more entries in the bibliography that there are
> references in the text, most having not numbers between the brackets.

No problem at all, just that my sample document contained both
referenced and unreferenced bibliography entries. In other words: I
cut most of the text but left the bibliography entries.

> PS: I noticed you use
> #!/usr/bin/python
> while the python scripts of LyX use
> #! /usr/bin/env python
>
> I'm not sure, but the later my be more 'universal' (tolerant/portable)

Changed now. I will release a new version later on today with the latter line :D

Thanks,

Alex.


Re: BIBINPUTS under Windows??

2009-03-12 Thread David Bickel
Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start > Control Panel > System > Adanced > Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.

David


On Thu, Mar 12, 2009 at 8:09 AM, David Bickel  wrote:
>
> ---
> From: rgheck[SMTP:rgh...@bobjweil.com]
> Sent: Thursday, March 12, 2009 8:04:52 AM
> To: David Bickel
> Cc: LyX Users List; meun...@coria.fr
> Subject: Re: BIBINPUTS under Windows??
> Auto forwarded by a Rule
>
> David Bickel wrote:
>> Thank you very much, Siegfried. I added my .bib location to the Path
>> variable, but that did not enable LyX to find the .bib file when I
>> compiled.
>>
>>
> No, not to the PATH variable. That finds executables. You need to add a
> BIBINPUTS variable, with the path to where you're storing the bib files.
>
> rh



-- 
David R. Bickel, PhD
Ottawa Institute of Systems Biology
BMI Dept., University of Ottawa
451 Smyth Road
Ottawa, Ontario K1H 8M5

http://www.statomics.com


Office Tel: (613) 562-5800 ext. 8670
Office Fax: (613) 562-5185
Office Room: RGN 4510F (Follow the signs to the elevator, and take it
to the fourth floor. Turn left and go all the way to the end of the
hall, and enter the door to the OISB area.)
Lab Tel.: (613) 562-5800 ext. 8304
Lab Room: RGN 4501T


Re: change default path to .bib files

2009-03-12 Thread David Bickel
Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start > Control Panel > System > Adanced > Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.

David

PS This is also posted under a different subject to aid future users.


On Wed, Mar 11, 2009 at 11:30 AM, Richard Heck  wrote:
> David Bickel wrote:
>>
>> I keep my .bib files on a portable hard drive so I can easily work
>> from multiple computers. The only way I have been able to get LyX to
>> use these .bib files is to have it put the full path to my .bib
>> directory in the .lyx file. The problem with this is that I share the
>> .lyx file with other users whose computers do not recognize that path.
>>
>> Is there a way that I can instead set the preferences on my computer
>> to use a different .bib path by default? That worked well in
>> Scientific Word.
>>
>> I use Windows XP and Windows Vista with LyX 1.6.1.
>>
>>
>
> What you need is the BIBINPUTS environment variable. I have this:
>   BIBINPUTS=/home/rgheck/files/bibtex::
>   export BIBINPUTS;
> in my shell here. I assume there is some way to set these things on Windows.
> If worse comes to worse, of course, you can directly modify TeX's texmf.cnf
> configuration file. (I assume that must exist under Windows.)
>
> rh
>
>



-- 
David R. Bickel, PhD
Ottawa Institute of Systems Biology
BMI Dept., University of Ottawa
451 Smyth Road
Ottawa, Ontario K1H 8M5

http://www.statomics.com
dbic...@uottawa.ca

Office Tel: (613) 562-5800 ext. 8670
Office Fax: (613) 562-5185
Office Room: RGN 4510F (Follow the signs to the elevator, and take it
to the fourth floor. Turn left and go all the way to the end of the
hall, and enter the door to the OISB area.)
Lab Tel.: (613) 562-5800 ext. 8304
Lab Room: RGN 4501T


Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Joachim Osnabryg

Am 11.03.2009, 02:08 Uhr, schrieb Alex Fernandez
:


eLyXer is very much a work in progress, since it only supports a
pretty small subset of LyX features


Being very impressed of the quality of the example
http://vecinos-productions.com/rayleigh/book.html
I suppose that

margin notes in LyX

(or better footnotes as numbered margin notes in the Handout (Tufte) LyX  
layout) will not yet be translated as such (i. e. marginals) by eLyXer.


(Sorry, I didn't install and try out eLyXer yet.)

But if you and others who are able to develope eLyXer would build that
capability in, it would serve very well my publications plans of texts
with many short helping/illuminating notes in the margin (for less
disconnect someone's reading of the main text.

Just to make you know my wish,
Good luck, joachim



Re: BIBINPUTS under Windows??

2009-03-12 Thread rgheck

David Bickel wrote:

Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start > Control Panel > System > Adanced > Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.

  

Put it on the wiki?

rh



Re: Introducing eLyXer: LyX to HTML converter

2009-03-12 Thread Alex Fernandez
> It even validates.
>
> http://validator.w3.org/check?uri=http%3A%2F%2Fvecinos-productions.com%2Frayleigh%2Fbook.html=
> (detect+automatically)=Inline=0=1
>
> Please make sure this remains so.

Sure. If you find an example of invalid XHTML please notify me.
Quoting from the user guide:
  "The HTML code generated is technically XHTML Transitional, version
1.0, using UTF-8 encoding. It passes the W3C tests [w3c-validator]. If
your particular web page doesn't pass the tests, then it is a bug and
it will be treated as such."

Thanks,

Alex.


Re: change default path to .bib files

2009-03-12 Thread Paul A. Rubin

David Bickel wrote:

Thanks, Richard. It works now.

In summary, this changes the default path to .bib files:
1 Start > Control Panel > System > Adanced > Environment Variables (as
Siegfried instructed);
2 add a BIBINPUTS variable with the path to the bib files (as you instructed);
3 reboot.



I don't think the reboot should be necessary.  If LyX is running, 
though, you might have to restart it (not positive).  If you're running 
LaTeX (MiKTeX?) in a DOS shell, you definitely will have to close the 
DOS shell and reopen it.


Changes to environment variables should take effect immediately in the 
sense that any program (or DOS shell) started after the change should 
see the new environment variables.  Stuff that's already running 
inherited whatever environment variables were in effect when they 
started, and their environments are not updated.


/Paul



Re: page number position problem

2009-03-12 Thread Paul A. Rubin

Melissa Bukovsky wrote:

Hello all,

I'm having a problem with the location of my page numbers in lyx.  I'm 
using version 1.6.1 (just upgraded hoping my problem would be solved 
that way, but it wasn't) on a Mac.


I have my pagestyle set to plain, because all of the page numbers need 
to be on the bottom center of my pages for my dissertation.  However, on 
the pages where there are figures, the page number ends up in the upper 
right corner.


This is true even if the figure occupies only part of the page?  Or are 
your figures all on separate pages?


I have spent too much time trying to fix this using 
various suggestions from other posts on how to move your page number, 
etc using various fancy and fancypagestyle{plain} settings.  Nothing has 
worked.




Positioning of page numbers is controlled by LaTeX, and may be dictated 
(I think) by the document class you are using.  It's not a LyX function. 
 What class are you using for your thesis?


/Paul



  1   2   >