Re: Formatted ref for Propositions broken?

2009-03-11 Thread rgheck

Ernesto Posse wrote:

It looks like the formatted reference for Propositions is not working
properly. While other math environments like "Theorem" and "Lemma"
correctly put the word "Theorem" (resp. Lemma, etc.) in the reference,
in the case of propositions, only the number appears. Is this normal?
How can it be fixed? Can I specify the format of references somewhere?

  
You probably need to add a manual prettyref declaration to your 
preamble. LyX doesn't actually add any of these at the moment, I don't 
think; we just use the defaults that the prettyref package provides. See 
the docs for the package (find it on ctan.org) for the details.


rh



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

2009-03-11 Thread Vincent van Ravesteijn

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?


rh

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


Vincent


Formatted ref for Propositions broken?

2009-03-11 Thread Ernesto Posse
It looks like the formatted reference for Propositions is not working
properly. While other math environments like "Theorem" and "Lemma"
correctly put the word "Theorem" (resp. Lemma, etc.) in the reference,
in the case of propositions, only the number appears. Is this normal?
How can it be fixed? Can I specify the format of references somewhere?

Thanks.

PS: I'm using LyX 1.6.1 on ubuntu, and I am using the Theorem modules
in the document settings.



-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: old document corrupted

2009-03-11 Thread Eran Kaplinsky

Thanks to Richard for the solution –
the file wouldn't open due to a problem in LyX2LyX, which has now been 
corrected.


Cheers!

Eran




page number position problem

2009-03-11 Thread Melissa Bukovsky

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


I need to fix this and at the moment my only other idea is to move all 
100+ pages and figures of my not so finished dissertation into MS Word 
(I'm a bit desperate, obviously).  If you have any ideas on why this is 
happening and how to fix it, please let me know, lyx has worked great so 
far, I'd hate to have to stop using it now (I don't really have the time 
at the moment).


Thanks in advance for any help!

~Melissa



Be careful to use float args when using ItemSep and ParSep

2009-03-11 Thread Steve Litt
Hi all,

Don't fall into the same trap I did...

In my "SkipThis" environment, I wanted to have the environment, as displayed 
in the LyX user interface, have noticible spaces between consecutive 
paragraphs of the environment.

According to the "Customizing LyX: Features for the Advanced User" document, 
the ItemSep and ParSep commands inside the LyX style should do that. But when 
I do this:

Style Skipthis
  CopyStyle Normal
  LatexType Environment
  LatexName skipthisL
  LeftMargin"MM"
  RightMargin   "MM"
  ParSep2in
  ItemSep   2in
  Font
Family Sans
Size Smaller
Color Blue

  End
end

When I do the preceding, in the LyX user interface every paragraph runs into 
the paragraph before it. I've tried values of 2in, -2in, and 0in -- it always 
causes consecutive paragraphs of the Skipthis environment to overlap.

Can you guess what I did wrong?

ParSep and ItemSep take floats, not lengths, as arguments. 2in should have 
been 2.0 or whatever.

Also, I found that once I set ParSep and ItemSep, my paragraph indents stoped 
working, so I had to also add the following:

ParIndent   "MMM"

STeveT

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



BIBINPUTS under Windows??

2009-03-11 Thread Richard Heck

David Bickel wrote:

Thanks, Richard.

Exactly where should I paste those two lines of text? Is there a shell
file somewhere I should edit? I do not know TeX, and I just started
using LyX.

  
That, I am afraid, is what I don't know, or even if you should paste 
them somewhere. I know how to do it on Linux, but not on Windows. So 
we'll have to hope that some helpful Windows user will know. Paul, is 
that you?


Richard



David


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







  




Re: Introducing eLyXer: LyX to HTML converter

2009-03-11 Thread Nikos Alexandris

Nikos:
> > first of all thank you for your efforts. All sounds very promising. I
> > just ran eLyXer (under Ubuntu II/ 64-bit) a couple of times. Your
> > example-files userguide.lyx and devguide.lyx are translated without
> > errors.

> > Unfortunately, by testing on my own documents I receive only errors.
> > Some examples (of output) below. Let me know if you need full-preamble
> > and/or other details.


Alex:
> Right, it's a bug in the parsing tree. Now corrected to accept generic
> insets. Could you please try again? Same download link:
>   http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-20090311.tar.gz
> 
> I would like to try a newer version; I am right now compiling LyX
> 1.6.2rc2 but it is going to take a while. Could you send me privately
> a sample document, even if it is a large one? It is probably the
> fastest way to diagnose any remaining problems.


Alex, the simple article with Title, a Section and some text lines is
translated now :-). The complete article though (both the KOMA-Script
and the standard article class) causes trouble. I am sending you
off-list my article (both versions, KOMA-Script and standard article).

(
And FWIW, regarding commands presented in any document (call it
userguide or tutorial or whatever) I think it's better if you use
Program Listings for code and set the font to courier. It's what this
environment is there for so you can manipulate all of your _listings_ at
once.
)

Keep up the good work and let us enjoy at some point full functionality
of eLyXer :-). Kindest regards, Nikos



Re: Max single-file book size

2009-03-11 Thread Steve Litt
On Wednesday 11 March 2009 10:37:18 am Sophie (itsme213) wrote:
> What is a rough page-size limit for a single-file Lyx book (assuming pretty
> current hardware, plenty of RAM etc)?
>
> Thanks

I don't know what it might be, or what your tolerance is for waits during 
compiles to PDF, but I can tell you my 100,000 word, 309 
page "Troubleshooting Techniques of the Successful Technologist" works fine 
as a whole in LyX, and did even back in the days when I was using a dual 
Celeron 450 with 512MB of RAM.

My new book, which is 68,000 words and 290 pages, takes 12 seconds to compile 
to PDF on my "Intel(R) Core(TM)2 Duo CPU E7200  @ 2.53GHz", with 8GB of RAM, 
running Mandriva Linux 2008 (Spring).

In my opinion, no matter how big your book will be, LyX will scale, because if 
worst comes to worst you can divide the book into parts, chapters or 
whatever, work on them that way, and when you're done compile the whole thing 
as a unit. Lots of people on this list do that.

There may be reasons to worry about using LyX for a book project, but book 
size isn't one of them.

HTM

SteveT

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



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

2009-03-11 Thread Richard Heck

M-L wrote:

On Mon, 09 Mar 2009 17:34:24 -0400
rgheck  wrote:

  

M-L wrote:


On Mon, 09 Mar 2009 07:58:49 -0400
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.




Thank you for that. I will have to look for the right file in
windows. It seems that was the problem and I didn't know a new file
was generated, just thought the original was converted. I sent the
wrong file and therefore LyX produced the error message on my Linux
box.

  
  

Perhaps it'd be worth our issuing a message after the conversion,
saying what file has been exported.

rh



Or maybe for dummies like me - that: the "new version" file has
been created?

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?

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


rh



Re: Max single-file book size

2009-03-11 Thread Richard Heck

Sophie (itsme213) wrote:
What is a rough page-size limit for a single-file Lyx book (assuming pretty 
current hardware, plenty of RAM etc)?


  
I don't know of any realistic limit. I think there are people who've got 
documents several hundred pages long. I've got one that's about 300 
pages myself.


rh



Re: change default path to .bib files

2009-03-11 Thread Richard Heck

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



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

2009-03-11 Thread Richard Heck

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?


rh



Re: Max single-file book size

2009-03-11 Thread Rich Shepard

On Wed, 11 Mar 2009, Sophie (itsme213) wrote:


What is a rough page-size limit for a single-file Lyx book (assuming
pretty current hardware, plenty of RAM etc)?


  Why do you think there could be a limit imposed by the software? There
shouldn't be any such limit.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Max single-file book size

2009-03-11 Thread Sophie (itsme213)
What is a rough page-size limit for a single-file Lyx book (assuming pretty 
current hardware, plenty of RAM etc)?

Thanks 





Re: italicised capitalics?

2009-03-11 Thread Guenter Milde
On 2009-03-11, Finalfin wrote:

> Hello!

> I have searched the archives, but haven't found this question answered.

> I would like to be able to put into my documents some capitalicised text in
> italics. However, I am unable to put both attributes on the same word. If I
> try to italicise a word which is already capitalicised (also known as 'noun'
> or 'small caps')

Actually, "capitalised" is "with a Capital Starting Letter" while
"small-caps" ("Kapitälchen") is "use (special) small capital letters
instead of small letters"

> it doesn't change and stays upright. The same goes for the
> output.

This is a (missing) feature of the used font.

> I don't really care about how LyX shows it on the screen, but I do care for
> how it looks printed. Is there a way to do it?

Some fonts (e.g. ADF Venturis) support italic small-caps. Have a look at
the package venturisadf and its documentation.
http://dante.ctan.org/CTAN/help/Catalogue/entries/venturisadf.html
(italic small-caps are selected with \sishape or \textsi{}, put these in
ERT in LyX).

Using fonts that are not supported by the LyX GUI is simple, if there is
a LaTeX package:

* In Document>Settings>Fonts choose Standard, and
* in the LaTeX-preamble insert \usepackage{venturisadf} (or whatever the
  package name is).
  
Günter




italicised capitalics?

2009-03-11 Thread Finalfin

Hello!

I have searched the archives, but haven't found this question answered.

I would like to be able to put into my documents some capitalicised text in
italics. However, I am unable to put both attributes on the same word. If I
try to italicise a word which is already capitalicised (also known as 'noun'
or 'small caps'), it doesn't change and stays upright. The same goes for the
output.

I don't really care about how LyX shows it on the screen, but I do care for
how it looks printed. Is there a way to do it?

Thanks in advance,

Piotr Sulecki.

-- 
View this message in context: 
http://n2.nabble.com/italicised-capitalics--tp2461091p2461091.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Introducing eLyXer: LyX to HTML converter

2009-03-11 Thread Alex Fernandez
Hi Nikos,

> first of all thank you for your efforts. All sounds very promising. I
> just ran eLyXer (under Ubuntu II/ 64-bit) a couple of times. Your
> example-files userguide.lyx and devguide.lyx are translated without
> errors.

Good to know! Thanks for trying it out, you are indeed a brave soul.

> Unfortunately, by testing on my own documents I receive only errors.
> Some examples (of output) below. Let me know if you need full-preamble
> and/or other details.

Right, it's a bug in the parsing tree. Now corrected to accept generic
insets. Could you please try again? Same download link:
  http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-20090311.tar.gz

I would like to try a newer version; I am right now compiling LyX
1.6.2rc2 but it is going to take a while. Could you send me privately
a sample document, even if it is a large one? It is probably the
fastest way to diagnose any remaining problems.

Thanks,

Alex.


change default path to .bib files

2009-03-11 Thread David Bickel
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.

David

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


math-macro-file child-document class issue

2009-03-11 Thread Axel Heim
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?

regards, axel
(LyX 1.6.1, Linux)

http://wiki.lyx.org/LyX/NewInLyX16
or
http://www.lyx.org/VisualTour
cite: 'LyX knows about macros in child and master documents. Create your
macro collection in a macro file and use this in all your documents.'




Re: Sure Fire Way to Create Lyx Layouts

2009-03-11 Thread Erez Yerushalmi
thanks a lot

looks really useful,


erez



On Wed, Mar 11, 2009 at 10:09 AM, Steve Litt wrote:

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


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Sure Fire Way to Create Lyx Layouts

2009-03-11 Thread 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: Exporting to RTF

2009-03-11 Thread Nikos Alexandris

Nikos:
> I need some help. I have an article (for a Newsletter) which I have to
> deliver today. I am trying unsuccessfully to export my document _at
> least_ as an RTF to make my colleague's life easy :-).
> [I still have problems with all kinds of _external_ file formats]

> I get the following error in the terminal:
> (Not set):213 Error! More than 100 PushSource() calls
> Error: Cannot convert file
> 
> Any hints?
> Thanks in advance, Nikos


OK, I managed to get something. I removed all commands from the Preamble
and all figures from the document (some svg caused problems - don't
appear with their correct size in the produced RTF) and I get something
which is more or less ready to work with.

Cheers, Nikos



Re: LyX trunk: where is the configure script?

2009-03-11 Thread Nikos Alexandris
On Wed, 2009-03-11 at 09:16 +0100, Nikos Alexandris wrote:
> Nikos:
> > > Hi all!
> > >
> > > I've jsut tried to compile from source (trunk). There is no executable
> > > _configure_ script though !?
> > >
> > > ls -l | grep configure
> > > -rw-r--r--  1 nik nik 15612 2009-03-11 08:05 configure.ac
> > >
> > > Anything different in LyX than with usual source-codes?
> 
> 
> Florian:   
> > quote from INSTALL:
> 
> > Note for Subversion (SVN) checkouts
> > -
> > If you have checked this out from Subversion, you need to have:
> > * automake >= 1.5
> > * autoconf >= 2.59c
> > * gettext >= 0.12
> > Then type "./autogen.sh" to build the needed configuration
> > files and proceed as stated below.
> 
> > hope that helps for i never tried to compile on a linux machine...
> 
> 
> Right! In the past I've got a tarred source code package I think and
> compiled as usual (using ./configure).
> 
> Thanks Florian, Nikos

Just compiled. It runs fine :-)
Regards, Nikos



Exporting to RTF

2009-03-11 Thread Nikos Alexandris
Folks,

I need some help. I have an article (for a Newsletter) which I have to
deliver today. I am trying unsuccessfully to export my document _at
least_ as an RTF to make my colleague's life easy :-).

[I still have problems with all kinds of _external_ file formats]

I get the following error in the terminal:

(Not set):213 Error! More than 100 PushSource() calls
Error: Cannot convert file

Any hints?

Thanks in advance, Nikos



Re: LyX trunk: where is the configure script?

2009-03-11 Thread Nikos Alexandris

Nikos:
> > Hi all!
> >
> > I've jsut tried to compile from source (trunk). There is no executable
> > _configure_ script though !?
> >
> > ls -l | grep configure
> > -rw-r--r--  1 nik nik 15612 2009-03-11 08:05 configure.ac
> >
> > Anything different in LyX than with usual source-codes?


Florian:   
> quote from INSTALL:

> Note for Subversion (SVN) checkouts
> -
> If you have checked this out from Subversion, you need to have:
> * automake >= 1.5
> * autoconf >= 2.59c
> * gettext >= 0.12
> Then type "./autogen.sh" to build the needed configuration
> files and proceed as stated below.

> hope that helps for i never tried to compile on a linux machine...


Right! In the past I've got a tarred source code package I think and
compiled as usual (using ./configure).

Thanks Florian, Nikos



Re: LyX trunk: where is the configure script?

2009-03-11 Thread Florian Rubach
Nikos Alexandris schrieb:
> Hi all!
>
> I've jsut tried to compile from source (trunk). There is no executable
> _configure_ script though !?
>
> ls -l | grep configure
> -rw-r--r--  1 nik nik 15612 2009-03-11 08:05 configure.ac
>
>
> Anything different in LyX than with usual source-codes?
> Kindest regards, Nikos
>
>   
quote from INSTALL:


Note for Subversion (SVN) checkouts
-

If you have checked this out from Subversion, you need to have:
* automake >= 1.5
* autoconf >= 2.59c
* gettext >= 0.12
Then type "./autogen.sh" to build the needed configuration
files and proceed as stated below.


hope that helps for i never tried to compile on a linux machine...

Greetings,

Florian


LyX trunk: where is the configure script?

2009-03-11 Thread Nikos Alexandris
Hi all!

I've jsut tried to compile from source (trunk). There is no executable
_configure_ script though !?

ls -l | grep configure
-rw-r--r--  1 nik nik 15612 2009-03-11 08:05 configure.ac


Anything different in LyX than with usual source-codes?
Kindest regards, Nikos



Re: pdfsync and tables clash

2009-03-11 Thread Konrad Hofbauer

James C. Sutherland wrote:
If you use the pdfsync class and then create a table with a specified 
column width then the table column width becomes very wide.  Removing 
the pdfsync package seems to fix the problem.


Can anyone duplicate this?  Is it a LyX bug or a LaTeX problem???


A known problem of pdfsync. Do NEVER use pdfsync for the final 
(publication/printing) PDF output. See the pdfsync manual.

Synctex is the future way to go (but not yet supported in LyX).

/Korad