Re: Need help locating LyX errors

2023-08-14 Thread Richard Kimberly Heck

On 8/13/23 15:12, Edwin Burmeister wrote:


Hi--


Need some LyX help.


I am using LyX 2.3.7 on a Mac (silicon chip) running OS Ventura 13.5.


From LaTeX Errors window:


“Selecting an error ... the cursor will jump to the location in the 
document where the error occurred.”



This does not happen for me. How can I get it to work?

Generally, this should work, but it may not in some cases. The code that 
tracks line locations is pretty complicated.


Note that you do have access to the full LaTeX log, which can help 
finding errors.


Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Need help locating LyX errors

2023-08-13 Thread Edwin Burmeister
Hi--


Need some LyX help.


I am using LyX 2.3.7 on a Mac (silicon chip) running OS Ventura 13.5.


From LaTeX Errors window:


“Selecting an error ... the cursor will jump to the location in the document 
where the error occurred.”


This does not happen for me. How can I get it to work?


I then tried to locate my errors via line number. But putting


\usepackage[left,modulo]{lineno}

\linenumbers


in the LaTeX Preamble did not work.


How can I obtain line numbers as an aid for locating errors?


Thanks in advance for your help.


Ed


***
Edwin Burmeister
Research Professor of Economics Emeritus
Duke University
Commonwealth Professor of Economics Emeritus
University of Virginia
e...@econ.duke.edu<mailto:e...@econ.duke.edu>



-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Fwd: Help with Lyx

2014-11-12 Thread Trisha Lawrence
Hi Scott

I've currently uninstalled Lyx from my laptop. I've noticed on the
lyx-users platform a suggestion to do that as well as downloading the
following link below

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

Should this work? Would I still need to make any changes after
downloading Lyx from the link above,

like coping the layout packages from MiKTeX to LyX?

Also I can't seem to post any questions on Lyx-users platform. I'd
really appreciate your help Scott.

Kindest Regards,
Trisha Lawrence


-- Forwarded message --
From: Scott Kostyshak skost...@lyx.org
Date: Tue, Nov 11, 2014 at 11:40 AM
Subject: Re: Help with Lyx
To: Trisha Lawrence trishalaw...@gmail.com
Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org, LyX Documentation
Team lyx-d...@lists.lyx.org


On Tue, Nov 11, 2014 at 2:24 PM, Trisha Lawrence trishalaw...@gmail.com
wrote:
 HI

 I have recently obtained a new laptop and I am unable to obtain the
document
 classes that were available in the Lyx docment processor of my old Laptop.
 I've followed the steps included in the link below which suggested copying
 the layout types to users then reconfiguring Lyx, however it still doesn't
 seem to work.

 http://wiki.lyx.org/Layouts/Layouts#toc1

 I remember getting tremendous help from someone@ Lyx-doc upon completing
my
 thesis for my MSc. I am currently pursuing my PhD and this will help me
 immensely. Can anyone help in anyway?

Hi Trisha,

I think you meant to send this email to lyx-users@lists.lyx.org . I
will forward it to there. All future responses to this email should
not reply to lyx-d...@lists.lyx.org.

Best of luck,

Scott


Re: Fwd: Help with Lyx

2014-11-12 Thread Christopher Menzel

Trisha Lawrence wrote:

Hi Scott

I've currently uninstalled Lyx from my laptop. I've noticed on the 
lyx-users platform a suggestion to do that as well as downloading the 
following link below

http://wiki.lyx.org/Windows/LyXWinInstaller
Should this work? Would I still need to make any changes after 
downloading Lyx from the link above, like coping the layout packages 
from MiKTeX to LyX?

Trisha,

The link above takes you to an installer for a very old version (2.0.5) 
of LyX. You shouldn't use it.


In your email to me this morning you told me that LyX (well, more 
exactly, the LaTeX engine that it was calling) wasn't even finding 
article.cls, which is the most basic class file, which suggests to me 
that your problem (or, at least, one very basic problem) doesn't have 
anything to do with the problem of finding missing layouts discussed in 
the link in your original message. I think your best bet, short of a 
complete reinstall of Windows, is to reinstall the latest versions of 
MikTeX and LyX. MikTeX is found here http://miktex.org/download. You 
can download the latest version (2.1.2) of LyX for Windows by clicking 
here ftp://ftp.lyx.org/pub/lyx/bin/2.1.2/LyX-2.1.2-Installer-1.exe.


You noted that you did some sort of migration from your old laptop to 
your new one, and those are notorious (on both Macs and Windows 
machines) for screwing things up. If you have the time and the patience, 
I suspect doing a fresh install of Windows on a clean drive, followed by 
fresh installs of MikTeX and LyX would solve your problems. If that 
isn't possible, once again, give the latest versions of MikTeX and LyX a 
shot.


 Also I can't seem to post any questions on Lyx-users platform.

You seem able to now. :-)

-chris


-- Forwarded message --
From: Scott Kostyshak skost...@lyx.org mailto:skost...@lyx.org
Date: Tue, Nov 11, 2014 at 11:40 AM
Subject: Re: Help with Lyx
To: Trisha Lawrence trishalaw...@gmail.com 
mailto:trishalaw...@gmail.com
Cc: lyx-users@lists.lyx.org mailto:lyx-users@lists.lyx.org 
lyx-users@lists.lyx.org mailto:lyx-users@lists.lyx.org, LyX 
Documentation Team lyx-d...@lists.lyx.org 
mailto:lyx-d...@lists.lyx.org



On Tue, Nov 11, 2014 at 2:24 PM, Trisha Lawrence 
trishalaw...@gmail.com mailto:trishalaw...@gmail.com wrote:

 HI

 I have recently obtained a new laptop and I am unable to obtain the 
document
 classes that were available in the Lyx docment processor of my old 
Laptop.
 I've followed the steps included in the link below which suggested 
copying
 the layout types to users then reconfiguring Lyx, however it still 
doesn't

 seem to work.

 http://wiki.lyx.org/Layouts/Layouts#toc1

 I remember getting tremendous help from someone@ Lyx-doc upon 
completing my

 thesis for my MSc. I am currently pursuing my PhD and this will help me
 immensely. Can anyone help in anyway?

Hi Trisha,

I think you meant to send this email to lyx-users@lists.lyx.org 
mailto:lyx-users@lists.lyx.org . I

will forward it to there. All future responses to this email should
not reply to lyx-d...@lists.lyx.org mailto:lyx-d...@lists.lyx.org.

Best of luck,

Scott


Fwd: Help with Lyx

2014-11-12 Thread Trisha Lawrence
Hi Scott

I've currently uninstalled Lyx from my laptop. I've noticed on the
lyx-users platform a suggestion to do that as well as downloading the
following link below

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

Should this work? Would I still need to make any changes after
downloading Lyx from the link above,

like coping the layout packages from MiKTeX to LyX?

Also I can't seem to post any questions on Lyx-users platform. I'd
really appreciate your help Scott.

Kindest Regards,
Trisha Lawrence


-- Forwarded message --
From: Scott Kostyshak skost...@lyx.org
Date: Tue, Nov 11, 2014 at 11:40 AM
Subject: Re: Help with Lyx
To: Trisha Lawrence trishalaw...@gmail.com
Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org, LyX Documentation
Team lyx-d...@lists.lyx.org


On Tue, Nov 11, 2014 at 2:24 PM, Trisha Lawrence trishalaw...@gmail.com
wrote:
 HI

 I have recently obtained a new laptop and I am unable to obtain the
document
 classes that were available in the Lyx docment processor of my old Laptop.
 I've followed the steps included in the link below which suggested copying
 the layout types to users then reconfiguring Lyx, however it still doesn't
 seem to work.

 http://wiki.lyx.org/Layouts/Layouts#toc1

 I remember getting tremendous help from someone@ Lyx-doc upon completing
my
 thesis for my MSc. I am currently pursuing my PhD and this will help me
 immensely. Can anyone help in anyway?

Hi Trisha,

I think you meant to send this email to lyx-users@lists.lyx.org . I
will forward it to there. All future responses to this email should
not reply to lyx-d...@lists.lyx.org.

Best of luck,

Scott


Re: Fwd: Help with Lyx

2014-11-12 Thread Christopher Menzel

Trisha Lawrence wrote:

Hi Scott

I've currently uninstalled Lyx from my laptop. I've noticed on the 
lyx-users platform a suggestion to do that as well as downloading the 
following link below

http://wiki.lyx.org/Windows/LyXWinInstaller
Should this work? Would I still need to make any changes after 
downloading Lyx from the link above, like coping the layout packages 
from MiKTeX to LyX?

Trisha,

The link above takes you to an installer for a very old version (2.0.5) 
of LyX. You shouldn't use it.


In your email to me this morning you told me that LyX (well, more 
exactly, the LaTeX engine that it was calling) wasn't even finding 
article.cls, which is the most basic class file, which suggests to me 
that your problem (or, at least, one very basic problem) doesn't have 
anything to do with the problem of finding missing layouts discussed in 
the link in your original message. I think your best bet, short of a 
complete reinstall of Windows, is to reinstall the latest versions of 
MikTeX and LyX. MikTeX is found here http://miktex.org/download. You 
can download the latest version (2.1.2) of LyX for Windows by clicking 
here ftp://ftp.lyx.org/pub/lyx/bin/2.1.2/LyX-2.1.2-Installer-1.exe.


You noted that you did some sort of migration from your old laptop to 
your new one, and those are notorious (on both Macs and Windows 
machines) for screwing things up. If you have the time and the patience, 
I suspect doing a fresh install of Windows on a clean drive, followed by 
fresh installs of MikTeX and LyX would solve your problems. If that 
isn't possible, once again, give the latest versions of MikTeX and LyX a 
shot.


 Also I can't seem to post any questions on Lyx-users platform.

You seem able to now. :-)

-chris


-- Forwarded message --
From: Scott Kostyshak skost...@lyx.org mailto:skost...@lyx.org
Date: Tue, Nov 11, 2014 at 11:40 AM
Subject: Re: Help with Lyx
To: Trisha Lawrence trishalaw...@gmail.com 
mailto:trishalaw...@gmail.com
Cc: lyx-users@lists.lyx.org mailto:lyx-users@lists.lyx.org 
lyx-users@lists.lyx.org mailto:lyx-users@lists.lyx.org, LyX 
Documentation Team lyx-d...@lists.lyx.org 
mailto:lyx-d...@lists.lyx.org



On Tue, Nov 11, 2014 at 2:24 PM, Trisha Lawrence 
trishalaw...@gmail.com mailto:trishalaw...@gmail.com wrote:

 HI

 I have recently obtained a new laptop and I am unable to obtain the 
document
 classes that were available in the Lyx docment processor of my old 
Laptop.
 I've followed the steps included in the link below which suggested 
copying
 the layout types to users then reconfiguring Lyx, however it still 
doesn't

 seem to work.

 http://wiki.lyx.org/Layouts/Layouts#toc1

 I remember getting tremendous help from someone@ Lyx-doc upon 
completing my

 thesis for my MSc. I am currently pursuing my PhD and this will help me
 immensely. Can anyone help in anyway?

Hi Trisha,

I think you meant to send this email to lyx-users@lists.lyx.org 
mailto:lyx-users@lists.lyx.org . I

will forward it to there. All future responses to this email should
not reply to lyx-d...@lists.lyx.org mailto:lyx-d...@lists.lyx.org.

Best of luck,

Scott


Fwd: Help with Lyx

2014-11-12 Thread Trisha Lawrence
Hi Scott

I've currently uninstalled Lyx from my laptop. I've noticed on the
lyx-users platform a suggestion to do that as well as downloading the
following link below

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

Should this work? Would I still need to make any changes after
downloading Lyx from the link above,

like coping the layout packages from MiKTeX to LyX?

Also I can't seem to post any questions on Lyx-users platform. I'd
really appreciate your help Scott.

Kindest Regards,
Trisha Lawrence


-- Forwarded message --
From: Scott Kostyshak <skost...@lyx.org>
Date: Tue, Nov 11, 2014 at 11:40 AM
Subject: Re: Help with Lyx
To: Trisha Lawrence <trishalaw...@gmail.com>
Cc: "lyx-users@lists.lyx.org" <lyx-users@lists.lyx.org>, LyX Documentation
Team <lyx-d...@lists.lyx.org>


On Tue, Nov 11, 2014 at 2:24 PM, Trisha Lawrence <trishalaw...@gmail.com>
wrote:
> HI
>
> I have recently obtained a new laptop and I am unable to obtain the
document
> classes that were available in the Lyx docment processor of my old Laptop.
> I've followed the steps included in the link below which suggested copying
> the layout types to users then reconfiguring Lyx, however it still doesn't
> seem to work.
>
> http://wiki.lyx.org/Layouts/Layouts#toc1
>
> I remember getting tremendous help from someone@ Lyx-doc upon completing
my
> thesis for my MSc. I am currently pursuing my PhD and this will help me
> immensely. Can anyone help in anyway?

Hi Trisha,

I think you meant to send this email to lyx-users@lists.lyx.org . I
will forward it to there. All future responses to this email should
not reply to lyx-d...@lists.lyx.org.

Best of luck,

Scott


Re: Fwd: Help with Lyx

2014-11-12 Thread Christopher Menzel

Trisha Lawrence wrote:

Hi Scott

I've currently uninstalled Lyx from my laptop. I've noticed on the 
lyx-users platform a suggestion to do that as well as downloading the 
following link below

http://wiki.lyx.org/Windows/LyXWinInstaller
Should this work? Would I still need to make any changes after 
downloading Lyx from the link above, like coping the layout packages 
from MiKTeX to LyX?

Trisha,

The link above takes you to an installer for a very old version (2.0.5) 
of LyX. You shouldn't use it.


In your email to me this morning you told me that LyX (well, more 
exactly, the LaTeX engine that it was calling) wasn't even finding 
article.cls, which is the most basic class file, which suggests to me 
that your problem (or, at least, one very basic problem) doesn't have 
anything to do with the problem of finding missing layouts discussed in 
the link in your original message. I think your best bet, short of a 
complete reinstall of Windows, is to reinstall the latest versions of 
MikTeX and LyX. MikTeX is found here <http://miktex.org/download>. You 
can download the latest version (2.1.2) of LyX for Windows by clicking 
here <ftp://ftp.lyx.org/pub/lyx/bin/2.1.2/LyX-2.1.2-Installer-1.exe>.


You noted that you did some sort of "migration" from your old laptop to 
your new one, and those are notorious (on both Macs and Windows 
machines) for screwing things up. If you have the time and the patience, 
I suspect doing a fresh install of Windows on a clean drive, followed by 
fresh installs of MikTeX and LyX would solve your problems. If that 
isn't possible, once again, give the latest versions of MikTeX and LyX a 
shot.


> Also I can't seem to post any questions on Lyx-users platform.

You seem able to now. :-)

-chris


-- Forwarded message --
From: Scott Kostyshak <skost...@lyx.org <mailto:skost...@lyx.org>>
Date: Tue, Nov 11, 2014 at 11:40 AM
Subject: Re: Help with Lyx
To: Trisha Lawrence <trishalaw...@gmail.com 
<mailto:trishalaw...@gmail.com>>
Cc: "lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>" 
<lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>>, LyX 
Documentation Team <lyx-d...@lists.lyx.org 
<mailto:lyx-d...@lists.lyx.org>>



On Tue, Nov 11, 2014 at 2:24 PM, Trisha Lawrence 
<trishalaw...@gmail.com <mailto:trishalaw...@gmail.com>> wrote:

> HI
>
> I have recently obtained a new laptop and I am unable to obtain the 
document
> classes that were available in the Lyx docment processor of my old 
Laptop.
> I've followed the steps included in the link below which suggested 
copying
> the layout types to users then reconfiguring Lyx, however it still 
doesn't

> seem to work.
>
> http://wiki.lyx.org/Layouts/Layouts#toc1
>
> I remember getting tremendous help from someone@ Lyx-doc upon 
completing my

> thesis for my MSc. I am currently pursuing my PhD and this will help me
> immensely. Can anyone help in anyway?

Hi Trisha,

I think you meant to send this email to lyx-users@lists.lyx.org 
<mailto:lyx-users@lists.lyx.org> . I

will forward it to there. All future responses to this email should
not reply to lyx-d...@lists.lyx.org <mailto:lyx-d...@lists.lyx.org>.

Best of luck,

Scott


Re: Help with Lyx

2014-11-11 Thread Scott Kostyshak
On Tue, Nov 11, 2014 at 2:24 PM, Trisha Lawrence trishalaw...@gmail.com wrote:
 HI

 I have recently obtained a new laptop and I am unable to obtain the document
 classes that were available in the Lyx docment processor of my old Laptop.
 I've followed the steps included in the link below which suggested copying
 the layout types to users then reconfiguring Lyx, however it still doesn't
 seem to work.

 http://wiki.lyx.org/Layouts/Layouts#toc1

 I remember getting tremendous help from someone@ Lyx-doc upon completing my
 thesis for my MSc. I am currently pursuing my PhD and this will help me
 immensely. Can anyone help in anyway?

Hi Trisha,

I think you meant to send this email to lyx-users@lists.lyx.org . I
will forward it to there. All future responses to this email should
not reply to lyx-d...@lists.lyx.org.

Best of luck,

Scott


Re: Help with Lyx

2014-11-11 Thread Scott Kostyshak
On Tue, Nov 11, 2014 at 2:24 PM, Trisha Lawrence trishalaw...@gmail.com wrote:
 HI

 I have recently obtained a new laptop and I am unable to obtain the document
 classes that were available in the Lyx docment processor of my old Laptop.
 I've followed the steps included in the link below which suggested copying
 the layout types to users then reconfiguring Lyx, however it still doesn't
 seem to work.

 http://wiki.lyx.org/Layouts/Layouts#toc1

 I remember getting tremendous help from someone@ Lyx-doc upon completing my
 thesis for my MSc. I am currently pursuing my PhD and this will help me
 immensely. Can anyone help in anyway?

Hi Trisha,

I think you meant to send this email to lyx-users@lists.lyx.org . I
will forward it to there. All future responses to this email should
not reply to lyx-d...@lists.lyx.org.

Best of luck,

Scott


Re: Help with Lyx

2014-11-11 Thread Scott Kostyshak
On Tue, Nov 11, 2014 at 2:24 PM, Trisha Lawrence <trishalaw...@gmail.com> wrote:
> HI
>
> I have recently obtained a new laptop and I am unable to obtain the document
> classes that were available in the Lyx docment processor of my old Laptop.
> I've followed the steps included in the link below which suggested copying
> the layout types to users then reconfiguring Lyx, however it still doesn't
> seem to work.
>
> http://wiki.lyx.org/Layouts/Layouts#toc1
>
> I remember getting tremendous help from someone@ Lyx-doc upon completing my
> thesis for my MSc. I am currently pursuing my PhD and this will help me
> immensely. Can anyone help in anyway?

Hi Trisha,

I think you meant to send this email to lyx-users@lists.lyx.org . I
will forward it to there. All future responses to this email should
not reply to lyx-d...@lists.lyx.org.

Best of luck,

Scott


Re: Need Help Using LyX

2014-08-07 Thread Philipp Gröne
Hi!

Jacob and Richard, thank you very much for you answers!
I just found the time to experiment a bit with LyX. I will try to
answer each of you in this mail.

@Jacob:

 Also, if you send a minimal example, it  will make it easier to help you.

I have tried to do that.

 2) The font of all entries in the table of contents should be
 identical. At the moment, the chapter- and the section titles have
 different font families in the table of content, and changing it
 manually only changes the chapter-titles in the ToC, not the
 section-titles.

 This can be done by redefining the chapter headings, and specifying the font
 in the redefinitions. To start figuring out how to do that, open your
 document template and search for where these are given. Then, start changing
 things until you get what you want :)

I do not find anything about this in the template I use. I guess they
are defined in the book.class?

 3) The font of te chapter numbers should also be identical, i.e. 12p
 and non-fat.


 Use the same method as 2).

Same as above.


 That is because the thesis template is based on book, which has three parts,
 frontmatter, mainmatter, and endmatter. By default, I think frontmatter uses
 lowercase roman numbering. You can suppress the page number with (in ERT)
 \thispagestyle{empty} For more on numbering, see the wiki:
 http://wiki.lyx.org/FAQ/Numbering

The ERT also supresses also that the ToC is shown at all. I guess
there's a reason why it is called evil.


 Reasonably easy if you have invested enough time in understanding things,
 but not nearly as easy as I (and likely many others) wish it were. Someday,
 I hope we will have a nice graphical editor that we can use to create new
 document templates (as soon as somebody decides to write one...not
 necessarily part of LyX), but right now the process of creating or modifying
 one has a bit of a learning curve.

That would be very nice. For a newby like me, it would be nice if it
would be a bit easier to distinguish between LaTeX- and LyX - issues.

@Richard:

 These are all LaTeX issues. All of these things are set by the document
 class and are not really designed to be customizable. You can change them,
 but it means learning some LaTeX and doing some work in the preamble.

Thanks for the clarification. I have no clue about LaTeX as I have
started using LyX. From my perspective it is indistinguishable if I
have a LaTeX-issue or an LyX-issue.

 For what it's worth, I'd suggest you use the basic book class. It's more
 easily customizable. What follows is for that.

Thanks for the suggestion, I've tried just that. The only issue is
that this does not give me a PDF-bookmarked ToC, but I will figure out
how to do that later.

 1) The table of contents should not have a title (i.e. Table of
 contents)


 \renewcommand\contents{}
This does not work. I have experimented a bit. The command given above
yields a LaTeX Error: \contents undefinded if I try to compile the
document.
I'm unable to overcome that issue. Even using
renewcommand\tableofcontens does not work, this yields just an empty
site instead of a ToC.

Conclusion: I do now not enough about LaTeX to mess around with this.

 2)

 \newcommand*\l@chapter[2]{%
   \ifnum \c@tocdepth \m@ne
 \addpenalty{-\@highpenalty}%
 \vskip 1.0em \@plus\p@
 \setlength\@tempdima{1.5em}%
 \begingroup
   \parindent \z@ \rightskip \@pnumwidth
   \parfillskip -\@pnumwidth
   \leavevmode \bfseries
   \advance\leftskip\@tempdima
   \hskip -\leftskip
   #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
   \penalty\@highpenalty
 \endgroup
   \fi}

 If you want to change them, you can copy them to your premable, change it to
 \renewcommand, and do whatever you wish.

I've tried that. I'm not able to figure out what all these commands
mean. Is there a list somewhere? Or some sort of introduction?


 I assume you mean the page (seite) with the TOC. In any event, I'm not sure
 what to do about this. Maybe someone else would know.

Sorry, yes, I meant page. I figure that is part of the
Thesis-template, if I learn enough about LaTeX to change that this
will be a chinch.

 5) There shouldnt be any page breaks, neither after the Toc nor before
 chapters.

 So perhaps something like:

 \renewcommand\chapter{\vspace*{2em}
 \global\@topnum\z@
 \@afterindentfalse
 \secdef\@chapter\@schapter}

This has actually worked out-of-the-box. Thank you very much!

I figure I will have to learn a lot about LaTeX. A quick search
revealed this LaTeX-Introduction: tobi.oetiker.ch/lshort/lshort.pdf
I guess there are many more. Any recommendations?

Greetings!
Ph.


Minimal.lyx
Description: application/lyx


Re: Need Help Using LyX

2014-08-07 Thread Philipp Gröne
Hi!

Jacob and Richard, thank you very much for you answers!
I just found the time to experiment a bit with LyX. I will try to
answer each of you in this mail.

@Jacob:

 Also, if you send a minimal example, it  will make it easier to help you.

I have tried to do that.

 2) The font of all entries in the table of contents should be
 identical. At the moment, the chapter- and the section titles have
 different font families in the table of content, and changing it
 manually only changes the chapter-titles in the ToC, not the
 section-titles.

 This can be done by redefining the chapter headings, and specifying the font
 in the redefinitions. To start figuring out how to do that, open your
 document template and search for where these are given. Then, start changing
 things until you get what you want :)

I do not find anything about this in the template I use. I guess they
are defined in the book.class?

 3) The font of te chapter numbers should also be identical, i.e. 12p
 and non-fat.


 Use the same method as 2).

Same as above.


 That is because the thesis template is based on book, which has three parts,
 frontmatter, mainmatter, and endmatter. By default, I think frontmatter uses
 lowercase roman numbering. You can suppress the page number with (in ERT)
 \thispagestyle{empty} For more on numbering, see the wiki:
 http://wiki.lyx.org/FAQ/Numbering

The ERT also supresses also that the ToC is shown at all. I guess
there's a reason why it is called evil.


 Reasonably easy if you have invested enough time in understanding things,
 but not nearly as easy as I (and likely many others) wish it were. Someday,
 I hope we will have a nice graphical editor that we can use to create new
 document templates (as soon as somebody decides to write one...not
 necessarily part of LyX), but right now the process of creating or modifying
 one has a bit of a learning curve.

That would be very nice. For a newby like me, it would be nice if it
would be a bit easier to distinguish between LaTeX- and LyX - issues.

@Richard:

 These are all LaTeX issues. All of these things are set by the document
 class and are not really designed to be customizable. You can change them,
 but it means learning some LaTeX and doing some work in the preamble.

Thanks for the clarification. I have no clue about LaTeX as I have
started using LyX. From my perspective it is indistinguishable if I
have a LaTeX-issue or an LyX-issue.

 For what it's worth, I'd suggest you use the basic book class. It's more
 easily customizable. What follows is for that.

Thanks for the suggestion, I've tried just that. The only issue is
that this does not give me a PDF-bookmarked ToC, but I will figure out
how to do that later.

 1) The table of contents should not have a title (i.e. Table of
 contents)


 \renewcommand\contents{}
This does not work. I have experimented a bit. The command given above
yields a LaTeX Error: \contents undefinded if I try to compile the
document.
I'm unable to overcome that issue. Even using
renewcommand\tableofcontens does not work, this yields just an empty
site instead of a ToC.

Conclusion: I do now not enough about LaTeX to mess around with this.

 2)

 \newcommand*\l@chapter[2]{%
   \ifnum \c@tocdepth \m@ne
 \addpenalty{-\@highpenalty}%
 \vskip 1.0em \@plus\p@
 \setlength\@tempdima{1.5em}%
 \begingroup
   \parindent \z@ \rightskip \@pnumwidth
   \parfillskip -\@pnumwidth
   \leavevmode \bfseries
   \advance\leftskip\@tempdima
   \hskip -\leftskip
   #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
   \penalty\@highpenalty
 \endgroup
   \fi}

 If you want to change them, you can copy them to your premable, change it to
 \renewcommand, and do whatever you wish.

I've tried that. I'm not able to figure out what all these commands
mean. Is there a list somewhere? Or some sort of introduction?


 I assume you mean the page (seite) with the TOC. In any event, I'm not sure
 what to do about this. Maybe someone else would know.

Sorry, yes, I meant page. I figure that is part of the
Thesis-template, if I learn enough about LaTeX to change that this
will be a chinch.

 5) There shouldnt be any page breaks, neither after the Toc nor before
 chapters.

 So perhaps something like:

 \renewcommand\chapter{\vspace*{2em}
 \global\@topnum\z@
 \@afterindentfalse
 \secdef\@chapter\@schapter}

This has actually worked out-of-the-box. Thank you very much!

I figure I will have to learn a lot about LaTeX. A quick search
revealed this LaTeX-Introduction: tobi.oetiker.ch/lshort/lshort.pdf
I guess there are many more. Any recommendations?

Greetings!
Ph.


Minimal.lyx
Description: application/lyx


Re: Need Help Using LyX

2014-08-07 Thread Philipp Gröne
Hi!

Jacob and Richard, thank you very much for you answers!
I just found the time to experiment a bit with LyX. I will try to
answer each of you in this mail.

@Jacob:

> Also, if you send a minimal example, it  will make it easier to help you.

I have tried to do that.

>> 2) The font of all entries in the table of contents should be
>> identical. At the moment, the chapter- and the section titles have
>> different font families in the table of content, and changing it
>> manually only changes the chapter-titles in the ToC, not the
>> section-titles.
>>
> This can be done by redefining the chapter headings, and specifying the font
> in the redefinitions. To start figuring out how to do that, open your
> document template and search for where these are given. Then, start changing
> things until you get what you want :)

I do not find anything about this in the template I use. I guess they
are defined in the book.class?

>> 3) The font of te chapter numbers should also be identical, i.e. 12p
>> and non-fat.
>
>
> Use the same method as 2).

Same as above.

>
> That is because the thesis template is based on book, which has three parts,
> frontmatter, mainmatter, and endmatter. By default, I think frontmatter uses
> lowercase roman numbering. You can suppress the page number with (in ERT)
> \thispagestyle{empty} For more on numbering, see the wiki:
> http://wiki.lyx.org/FAQ/Numbering

The ERT also supresses also that the ToC is shown at all. I guess
there's a reason why it is called evil.


> Reasonably easy if you have invested enough time in understanding things,
> but not nearly as easy as I (and likely many others) wish it were. Someday,
> I hope we will have a nice graphical editor that we can use to create new
> document templates (as soon as somebody decides to write one...not
> necessarily part of LyX), but right now the process of creating or modifying
> one has a bit of a learning curve.

That would be very nice. For a newby like me, it would be nice if it
would be a bit easier to distinguish between LaTeX- and LyX - issues.

@Richard:

> These are all LaTeX issues. All of these things are set by the document
> class and are not really designed to be customizable. You can change them,
> but it means learning some LaTeX and doing some work in the preamble.

Thanks for the clarification. I have no clue about LaTeX as I have
started using LyX. From my perspective it is indistinguishable if I
have a LaTeX-issue or an LyX-issue.

> For what it's worth, I'd suggest you use the basic book class. It's more
> easily customizable. What follows is for that.

Thanks for the suggestion, I've tried just that. The only issue is
that this does not give me a PDF-bookmarked ToC, but I will figure out
how to do that later.

>> 1) The table of contents should not have a title (i.e. "Table of
>> contents")
>
>
> \renewcommand\contents{}
This does not work. I have experimented a bit. The command given above
yields a "LaTeX Error: \contents undefinded" if I try to compile the
document.
I'm unable to overcome that issue. Even using
"renewcommand\tableofcontens" does not work, this yields just an empty
site instead of a ToC.

Conclusion: I do now not enough about LaTeX to mess around with this.
>
>> 2)
>
> \newcommand*\l@chapter[2]{%
>   \ifnum \c@tocdepth >\m@ne
> \addpenalty{-\@highpenalty}%
> \vskip 1.0em \@plus\p@
> \setlength\@tempdima{1.5em}%
> \begingroup
>   \parindent \z@ \rightskip \@pnumwidth
>   \parfillskip -\@pnumwidth
>   \leavevmode \bfseries
>   \advance\leftskip\@tempdima
>   \hskip -\leftskip
>   #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
>   \penalty\@highpenalty
> \endgroup
>   \fi}
>
> If you want to change them, you can copy them to your premable, change it to
> "\renewcommand", and do whatever you wish.

I've tried that. I'm not able to figure out what all these commands
mean. Is there a list somewhere? Or some sort of introduction?


> I assume you mean the page (seite) with the TOC. In any event, I'm not sure
> what to do about this. Maybe someone else would know.

Sorry, yes, I meant page. I figure that is part of the
Thesis-template, if I learn enough about LaTeX to change that this
will be a chinch.

>> 5) There shouldnt be any page breaks, neither after the Toc nor before
>> chapters.

> So perhaps something like:
>
> \renewcommand\chapter{\vspace*{2em}
> \global\@topnum\z@
> \@afterindentfalse
> \secdef\@chapter\@schapter}

This has actually worked out-of-the-box. Thank you very much!

I figure I will have to learn a lot about LaTeX. A quick search
revealed this LaTeX-Introduction: tobi.oetiker.ch/lshort/lshort.pdf
I guess there are many more. Any recommendations?

Greetings!
Ph.


Minimal.lyx
Description: application/lyx


Re: Need Help Using LyX

2014-08-04 Thread Richard Heck

On 08/01/2014 07:44 AM, Philipp Gröne wrote:

Hi there!

I need some assistance using LyX.
I want to make a list of pictures. Each of this pictures has either a
chapter number (1) or a section number (1.1).
I chose the thesis-template shiped with LyX to achieve this, mainly
because it provides chapters, sections and a table of contents.
It looks mostly okay, but I still need to change the following things,
listed in no particular order:


These are all LaTeX issues. All of these things are set by the document 
class and are not really designed to be customizable. You can change 
them, but it means learning some LaTeX and doing some work in the preamble.


For what it's worth, I'd suggest you use the basic book class. It's more 
easily customizable. What follows is for that.



1) The table of contents should not have a title (i.e. Table of contents)


\renewcommand\contents{}


2) The font of all entries in the table of contents should be
identical. At the moment, the chapter- and the section titles have
different font families in the table of content, and changing it
manually only changes the chapter-titles in the ToC, not the
section-titles.


This is probably done most easily using the titletoc or titlesec 
package, but the TOC entries are set using a bunch of macros l@chapter, 
l@section, etc, that are defined in the book.cls file, e.g.:


\newcommand*\l@chapter[2]{%
  \ifnum \c@tocdepth \m@ne
\addpenalty{-\@highpenalty}%
\vskip 1.0em \@plus\p@
\setlength\@tempdima{1.5em}%
\begingroup
  \parindent \z@ \rightskip \@pnumwidth
  \parfillskip -\@pnumwidth
  \leavevmode \bfseries
  \advance\leftskip\@tempdima
  \hskip -\leftskip
  #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
  \penalty\@highpenalty
\endgroup
  \fi}

If you want to change them, you can copy them to your premable, change 
it to \renewcommand, and do whatever you wish.



3) The font of the chapter numbers should also be identical, i.e. 12p
and non-fat.


Same.


4) The site with the ToC should have no page number. Currently it is
labeled i.


I assume you mean the page (seite) with the TOC. In any event, I'm not 
sure what to do about this. Maybe someone else would know.



5) There shouldnt be any page breaks, neither after the Toc nor before chapters.


The command in book.cls is:

\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}

The first bit is what causes the page break, so you can remove it. This 
probably will not leave enough space above the chapter title, though, so 
you'll have to add something to do that. And you probably don't need the 
plain page style now. So perhaps something like:


\renewcommand\chapter{\vspace*{2em}
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}

Richard



Re: Need Help Using LyX

2014-08-04 Thread Richard Heck

On 08/01/2014 07:44 AM, Philipp Gröne wrote:

Hi there!

I need some assistance using LyX.
I want to make a list of pictures. Each of this pictures has either a
chapter number (1) or a section number (1.1).
I chose the thesis-template shiped with LyX to achieve this, mainly
because it provides chapters, sections and a table of contents.
It looks mostly okay, but I still need to change the following things,
listed in no particular order:


These are all LaTeX issues. All of these things are set by the document 
class and are not really designed to be customizable. You can change 
them, but it means learning some LaTeX and doing some work in the preamble.


For what it's worth, I'd suggest you use the basic book class. It's more 
easily customizable. What follows is for that.



1) The table of contents should not have a title (i.e. Table of contents)


\renewcommand\contents{}


2) The font of all entries in the table of contents should be
identical. At the moment, the chapter- and the section titles have
different font families in the table of content, and changing it
manually only changes the chapter-titles in the ToC, not the
section-titles.


This is probably done most easily using the titletoc or titlesec 
package, but the TOC entries are set using a bunch of macros l@chapter, 
l@section, etc, that are defined in the book.cls file, e.g.:


\newcommand*\l@chapter[2]{%
  \ifnum \c@tocdepth \m@ne
\addpenalty{-\@highpenalty}%
\vskip 1.0em \@plus\p@
\setlength\@tempdima{1.5em}%
\begingroup
  \parindent \z@ \rightskip \@pnumwidth
  \parfillskip -\@pnumwidth
  \leavevmode \bfseries
  \advance\leftskip\@tempdima
  \hskip -\leftskip
  #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
  \penalty\@highpenalty
\endgroup
  \fi}

If you want to change them, you can copy them to your premable, change 
it to \renewcommand, and do whatever you wish.



3) The font of the chapter numbers should also be identical, i.e. 12p
and non-fat.


Same.


4) The site with the ToC should have no page number. Currently it is
labeled i.


I assume you mean the page (seite) with the TOC. In any event, I'm not 
sure what to do about this. Maybe someone else would know.



5) There shouldnt be any page breaks, neither after the Toc nor before chapters.


The command in book.cls is:

\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}

The first bit is what causes the page break, so you can remove it. This 
probably will not leave enough space above the chapter title, though, so 
you'll have to add something to do that. And you probably don't need the 
plain page style now. So perhaps something like:


\renewcommand\chapter{\vspace*{2em}
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}

Richard



Re: Need Help Using LyX

2014-08-04 Thread Richard Heck

On 08/01/2014 07:44 AM, Philipp Gröne wrote:

Hi there!

I need some assistance using LyX.
I want to make a list of pictures. Each of this pictures has either a
chapter number (1) or a section number (1.1).
I chose the thesis-template shiped with LyX to achieve this, mainly
because it provides chapters, sections and a table of contents.
It looks mostly okay, but I still need to change the following things,
listed in no particular order:


These are all LaTeX issues. All of these things are set by the document 
class and are not really designed to be customizable. You can change 
them, but it means learning some LaTeX and doing some work in the preamble.


For what it's worth, I'd suggest you use the basic book class. It's more 
easily customizable. What follows is for that.



1) The table of contents should not have a title (i.e. "Table of contents")


\renewcommand\contents{}


2) The font of all entries in the table of contents should be
identical. At the moment, the chapter- and the section titles have
different font families in the table of content, and changing it
manually only changes the chapter-titles in the ToC, not the
section-titles.


This is probably done most easily using the titletoc or titlesec 
package, but the TOC entries are set using a bunch of macros l@chapter, 
l@section, etc, that are defined in the book.cls file, e.g.:


\newcommand*\l@chapter[2]{%
  \ifnum \c@tocdepth >\m@ne
\addpenalty{-\@highpenalty}%
\vskip 1.0em \@plus\p@
\setlength\@tempdima{1.5em}%
\begingroup
  \parindent \z@ \rightskip \@pnumwidth
  \parfillskip -\@pnumwidth
  \leavevmode \bfseries
  \advance\leftskip\@tempdima
  \hskip -\leftskip
  #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
  \penalty\@highpenalty
\endgroup
  \fi}

If you want to change them, you can copy them to your premable, change 
it to "\renewcommand", and do whatever you wish.



3) The font of the chapter numbers should also be identical, i.e. 12p
and non-fat.


Same.


4) The site with the ToC should have no page number. Currently it is
labeled "i".


I assume you mean the page (seite) with the TOC. In any event, I'm not 
sure what to do about this. Maybe someone else would know.



5) There shouldnt be any page breaks, neither after the Toc nor before chapters.


The command in book.cls is:

\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}

The first bit is what causes the page break, so you can remove it. This 
probably will not leave enough space above the chapter title, though, so 
you'll have to add something to do that. And you probably don't need the 
plain page style now. So perhaps something like:


\renewcommand\chapter{\vspace*{2em}
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}

Richard



Need Help Using LyX

2014-08-01 Thread Philipp Gröne
Hi there!

I need some assistance using LyX.
I want to make a list of pictures. Each of this pictures has either a
chapter number (1) or a section number (1.1).
I chose the thesis-template shiped with LyX to achieve this, mainly
because it provides chapters, sections and a table of contents.
It looks mostly okay, but I still need to change the following things,
listed in no particular order:
1) The table of contents should not have a title (i.e. Table of contents)
2) The font of all entries in the table of contents should be
identical. At the moment, the chapter- and the section titles have
different font families in the table of content, and changing it
manually only changes the chapter-titles in the ToC, not the
section-titles.
3) The font of te chapter numbers should also be identical, i.e. 12p
and non-fat.
4) The site with the ToC should have no page number. Currently it is
labeled i.
5) There shouldnt be any page breaks, neither after the Toc nor before chapters.

I guess, everything in this list is fairly easy to achieve.
Unfortunately, I do not even now were I should start reading to learn
how to do this. I would be most gratefull if someone could explain how
to solve my problems, and point me in the right direction of a manual.

Thanks in advance!
Ph.


Need Help Using LyX

2014-08-01 Thread Philipp Gröne
Hi there!

I need some assistance using LyX.
I want to make a list of pictures. Each of this pictures has either a
chapter number (1) or a section number (1.1).
I chose the thesis-template shiped with LyX to achieve this, mainly
because it provides chapters, sections and a table of contents.
It looks mostly okay, but I still need to change the following things,
listed in no particular order:
1) The table of contents should not have a title (i.e. Table of contents)
2) The font of all entries in the table of contents should be
identical. At the moment, the chapter- and the section titles have
different font families in the table of content, and changing it
manually only changes the chapter-titles in the ToC, not the
section-titles.
3) The font of te chapter numbers should also be identical, i.e. 12p
and non-fat.
4) The site with the ToC should have no page number. Currently it is
labeled i.
5) There shouldnt be any page breaks, neither after the Toc nor before chapters.

I guess, everything in this list is fairly easy to achieve.
Unfortunately, I do not even now were I should start reading to learn
how to do this. I would be most gratefull if someone could explain how
to solve my problems, and point me in the right direction of a manual.

Thanks in advance!
Ph.


Need Help Using LyX

2014-08-01 Thread Philipp Gröne
Hi there!

I need some assistance using LyX.
I want to make a list of pictures. Each of this pictures has either a
chapter number (1) or a section number (1.1).
I chose the thesis-template shiped with LyX to achieve this, mainly
because it provides chapters, sections and a table of contents.
It looks mostly okay, but I still need to change the following things,
listed in no particular order:
1) The table of contents should not have a title (i.e. "Table of contents")
2) The font of all entries in the table of contents should be
identical. At the moment, the chapter- and the section titles have
different font families in the table of content, and changing it
manually only changes the chapter-titles in the ToC, not the
section-titles.
3) The font of te chapter numbers should also be identical, i.e. 12p
and non-fat.
4) The site with the ToC should have no page number. Currently it is
labeled "i".
5) There shouldnt be any page breaks, neither after the Toc nor before chapters.

I guess, everything in this list is fairly easy to achieve.
Unfortunately, I do not even now were I should start reading to learn
how to do this. I would be most gratefull if someone could explain how
to solve my problems, and point me in the right direction of a manual.

Thanks in advance!
Ph.


I need help on LyX version conversion information

2013-08-14 Thread Steve Litt
Hi all,

Could somebody please point me to a few web resources explaining not
only format numbers, but conversions between LyX versions? 

This conditional compilation will be done with my Troubleshooting
Techniques of the Successful
Technologist (TToTST)
(http://www.troubleshooters.com/bookstore/ttech.htm). Without changing
the readable content, I'm bringing my 2002, LyX 1.2 or 1.3 written
TToTST up to modern LyX 2.0.x standards. I've already substituted real
character styles for the Dekl Tsur color workaround character styles
necessary before LyX got real character styles in 1.4.x. And by the
way, I still thank Dekl profusely for that --- I could not have
remained with LyX without *some* way to express character styles. I'd
like to give it a format number so that LyX doesn't need to convert on
the fly every time.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: I need help on LyX version conversion information

2013-08-14 Thread Pavel Sanda
Steve Litt wrote:
 Hi all,
 
 Could somebody please point me to a few web resources explaining not
 only format numbers, but conversions between LyX versions? 

Some info can be found in FORMAT file inside your installed LyX,
more precise info can be found only in source code (lyx2lyx directory).

 Technologist (TToTST)
 (http://www.troubleshooters.com/bookstore/ttech.htm). Without changing
 the readable content, I'm bringing my 2002, LyX 1.2 or 1.3 written
 TToTST up to modern LyX 2.0.x standards. I've already substituted real

Personally I would try to convert them first into 2.x and after
that run some substitution.

Pavel


I need help on LyX version conversion information

2013-08-14 Thread Steve Litt
Hi all,

Could somebody please point me to a few web resources explaining not
only format numbers, but conversions between LyX versions? 

This conditional compilation will be done with my Troubleshooting
Techniques of the Successful
Technologist (TToTST)
(http://www.troubleshooters.com/bookstore/ttech.htm). Without changing
the readable content, I'm bringing my 2002, LyX 1.2 or 1.3 written
TToTST up to modern LyX 2.0.x standards. I've already substituted real
character styles for the Dekl Tsur color workaround character styles
necessary before LyX got real character styles in 1.4.x. And by the
way, I still thank Dekl profusely for that --- I could not have
remained with LyX without *some* way to express character styles. I'd
like to give it a format number so that LyX doesn't need to convert on
the fly every time.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: I need help on LyX version conversion information

2013-08-14 Thread Pavel Sanda
Steve Litt wrote:
 Hi all,
 
 Could somebody please point me to a few web resources explaining not
 only format numbers, but conversions between LyX versions? 

Some info can be found in FORMAT file inside your installed LyX,
more precise info can be found only in source code (lyx2lyx directory).

 Technologist (TToTST)
 (http://www.troubleshooters.com/bookstore/ttech.htm). Without changing
 the readable content, I'm bringing my 2002, LyX 1.2 or 1.3 written
 TToTST up to modern LyX 2.0.x standards. I've already substituted real

Personally I would try to convert them first into 2.x and after
that run some substitution.

Pavel


I need help on LyX version conversion information

2013-08-14 Thread Steve Litt
Hi all,

Could somebody please point me to a few web resources explaining not
only format numbers, but conversions between LyX versions? 

This conditional compilation will be done with my "Troubleshooting
Techniques of the Successful
Technologist" (TToTST)
(http://www.troubleshooters.com/bookstore/ttech.htm). Without changing
the readable content, I'm bringing my 2002, LyX 1.2 or 1.3 written
TToTST up to modern LyX 2.0.x standards. I've already substituted real
character styles for the Dekl Tsur color workaround character styles
necessary before LyX got real character styles in 1.4.x. And by the
way, I still thank Dekl profusely for that --- I could not have
remained with LyX without *some* way to express character styles. I'd
like to give it a format number so that LyX doesn't need to convert on
the fly every time.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: I need help on LyX version conversion information

2013-08-14 Thread Pavel Sanda
Steve Litt wrote:
> Hi all,
> 
> Could somebody please point me to a few web resources explaining not
> only format numbers, but conversions between LyX versions? 

Some info can be found in FORMAT file inside your installed LyX,
more precise info can be found only in source code (lyx2lyx directory).

> Technologist" (TToTST)
> (http://www.troubleshooters.com/bookstore/ttech.htm). Without changing
> the readable content, I'm bringing my 2002, LyX 1.2 or 1.3 written
> TToTST up to modern LyX 2.0.x standards. I've already substituted real

Personally I would try to convert them first into 2.x and after
that run some substitution.

Pavel


Re: A little help with LyX-Sweave-R

2010-04-12 Thread phgrosjean
I am currently away from my office. Not much time to work on this. Next
week will be very busy too. I'll save some times after that looking what
could be contributed to LyX 2.0.

To answer a question from David, there is little connection between this
and the rest of SciViews, except the default R code editor is configured
to be Komodo Edit/SciViews-K.

All the best,

Philippe



Re: A little help with LyX-Sweave-R

2010-04-12 Thread phgrosjean
I am currently away from my office. Not much time to work on this. Next
week will be very busy too. I'll save some times after that looking what
could be contributed to LyX 2.0.

To answer a question from David, there is little connection between this
and the rest of SciViews, except the default R code editor is configured
to be Komodo Edit/SciViews-K.

All the best,

Philippe



Re: A little help with LyX-Sweave-R

2010-04-12 Thread phgrosjean
I am currently away from my office. Not much time to work on this. Next
week will be very busy too. I'll save some times after that looking what
could be contributed to LyX 2.0.

To answer a question from David, there is little connection between this
and the rest of SciViews, except the default R code editor is configured
to be Komodo Edit/SciViews-K.

All the best,

Philippe



Re: A little help with LyX-Sweave-R

2010-04-09 Thread phgrosjean
It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
solution (for SciViews). It provides more than just the possibility to
weaving/tangling LyX documents (new styles, menu entries and toolbar
buttons to easily create various R chunks, a weaving/tangling log or
errors or warnings, Sweave features contaibned in a LyX module, etc.)

It is not completely finished, but pretty usable for now. If you like, I
have put everything in a zip file you can get from here:
http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
file included in it.

Take care: it completely replaces your whole LyX configuration! You have
to backup it first (as explained in the ReadMe.txt file).

With this version, R only converts the LyX file to .tex and LyX does the
rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
to compile it outside of LyX (useful for packages vignettes, for
instance).

I have it also running on Mac OS X and Linux, but the files and
instructions in the link provided above are for Windows only (tested on
Windows XP sp3). Please, ask me later on for the other configs... but for
today, I don't have time to compile them.

Best,

Philippe Grosjean

..°}))
 ) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
 ) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
 ) ) ) ) )   Mons University, Belgium
( ( ( ( (
..

On 09/04/10 00:41, David Hewitt wrote:
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

 Did you look at Document  LaTeX log? Sometimes it will display errors
 that are not popped-up by LyX.

 That menu item is greyed out, presumably because I used a converter
 through the batch file to make the PDF, so LyX wasn't really doing the
 work (and thus does not have record of the transaction?).

 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

 Did you try pdflatex, or ps2pdf?

 Yeah, pdflatex works a charm when called on the tex file resulting
 from Sweaving directly from the command line. That's what I was
 getting at here. It seems like the issue is in R's function texi2dvi
 (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
 there was some way to let the converter in LyX run the batch file,
 pass the Sweaving/Stangling and TeX file production off to R, then
 come back and run pdflatex out of LyX to get the PDF from the TeX
 file. Surely this is possible?


 Thanks a million for the help!






Re: A little help with LyX-Sweave-R

2010-04-09 Thread Pavel Sanda
phgrosj...@sciviews.org wrote:
 I have it also running on Mac OS X and Linux, but the files and
 instructions in the link provided above are for Windows only (tested on
 Windows XP sp3). Please, ask me later on for the other configs... but for
 today, I don't have time to compile them.

fyi there should better support in lyx 2.0 and in case you want something
to contribute directly into lyx distribution, its just the right time to
check out lyx 2.0 alpha and discuss things on devel list so 2.0 is compatible...

pavel


Re: A little help with LyX-Sweave-R

2010-04-09 Thread David Hewitt
Man, this will be awesome. To clarify, Prof. Grosjean, can you
indicate what specific connection this will require with SciViews? I
use Tinn-R for code editing, but my workflow with LyX-R-Sweave
requires no editor. Would the same be true for what you are
developing?

Lastly, I think I may have discovered part of the problem. Perhaps
someone on this list is familiar enough with LaTeX config in MiKTeX in
Windows to sort it out for me. It might be related to having some
MiKTeX packages as All Users that are installed and updated with
Admin privileges and others that are specific to my own account. I get
a Windows API Error if I run texify.exe on a file:

Windows API error 14001: This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem.
texify: Data: C:\Documents and Settings\dhewitt\Application
Data\MiKTeX\2.8\miktex\bin\pdflatex.EXE

But if I run pdflatex.exe (which I believe calls the EXE in C:\Program
Files\MiKTeX 2.8\miktex\bin) on the same file, it all works.

In general, I don't understand the details of pdflatex, texify,
texi2dvi, etc. that are used in the processing, and how they relate to
each other. If I did, I could probably troubleshoot this more easily.

- Dave


On Fri, Apr 9, 2010 at 4:45 AM,  phgrosj...@sciviews.org wrote:
 It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
 solution (for SciViews). It provides more than just the possibility to
 weaving/tangling LyX documents (new styles, menu entries and toolbar
 buttons to easily create various R chunks, a weaving/tangling log or
 errors or warnings, Sweave features contaibned in a LyX module, etc.)

 It is not completely finished, but pretty usable for now. If you like, I
 have put everything in a zip file you can get from here:
 http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
 file included in it.

 Take care: it completely replaces your whole LyX configuration! You have
 to backup it first (as explained in the ReadMe.txt file).

 With this version, R only converts the LyX file to .tex and LyX does the
 rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
 to compile it outside of LyX (useful for packages vignettes, for
 instance).

 I have it also running on Mac OS X and Linux, but the files and
 instructions in the link provided above are for Windows only (tested on
 Windows XP sp3). Please, ask me later on for the other configs... but for
 today, I don't have time to compile them.

 Best,

 Philippe Grosjean

 On 09/04/10 00:41, David Hewitt wrote:
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

 Did you look at Document  LaTeX log? Sometimes it will display errors
 that are not popped-up by LyX.

 That menu item is greyed out, presumably because I used a converter
 through the batch file to make the PDF, so LyX wasn't really doing the
 work (and thus does not have record of the transaction?).

 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

 Did you try pdflatex, or ps2pdf?

 Yeah, pdflatex works a charm when called on the tex file resulting
 from Sweaving directly from the command line. That's what I was
 getting at here. It seems like the issue is in R's function texi2dvi
 (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
 there was some way to let the converter in LyX run the batch file,
 pass the Sweaving/Stangling and TeX file production off to R, then
 come back and run pdflatex out of LyX to get the PDF from the TeX
 file. Surely this is possible?


Re: A little help with LyX-Sweave-R

2010-04-09 Thread phgrosjean
It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
solution (for SciViews). It provides more than just the possibility to
weaving/tangling LyX documents (new styles, menu entries and toolbar
buttons to easily create various R chunks, a weaving/tangling log or
errors or warnings, Sweave features contaibned in a LyX module, etc.)

It is not completely finished, but pretty usable for now. If you like, I
have put everything in a zip file you can get from here:
http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
file included in it.

Take care: it completely replaces your whole LyX configuration! You have
to backup it first (as explained in the ReadMe.txt file).

With this version, R only converts the LyX file to .tex and LyX does the
rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
to compile it outside of LyX (useful for packages vignettes, for
instance).

I have it also running on Mac OS X and Linux, but the files and
instructions in the link provided above are for Windows only (tested on
Windows XP sp3). Please, ask me later on for the other configs... but for
today, I don't have time to compile them.

Best,

Philippe Grosjean

..°}))
 ) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
 ) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
 ) ) ) ) )   Mons University, Belgium
( ( ( ( (
..

On 09/04/10 00:41, David Hewitt wrote:
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

 Did you look at Document  LaTeX log? Sometimes it will display errors
 that are not popped-up by LyX.

 That menu item is greyed out, presumably because I used a converter
 through the batch file to make the PDF, so LyX wasn't really doing the
 work (and thus does not have record of the transaction?).

 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

 Did you try pdflatex, or ps2pdf?

 Yeah, pdflatex works a charm when called on the tex file resulting
 from Sweaving directly from the command line. That's what I was
 getting at here. It seems like the issue is in R's function texi2dvi
 (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
 there was some way to let the converter in LyX run the batch file,
 pass the Sweaving/Stangling and TeX file production off to R, then
 come back and run pdflatex out of LyX to get the PDF from the TeX
 file. Surely this is possible?


 Thanks a million for the help!






Re: A little help with LyX-Sweave-R

2010-04-09 Thread Pavel Sanda
phgrosj...@sciviews.org wrote:
 I have it also running on Mac OS X and Linux, but the files and
 instructions in the link provided above are for Windows only (tested on
 Windows XP sp3). Please, ask me later on for the other configs... but for
 today, I don't have time to compile them.

fyi there should better support in lyx 2.0 and in case you want something
to contribute directly into lyx distribution, its just the right time to
check out lyx 2.0 alpha and discuss things on devel list so 2.0 is compatible...

pavel


Re: A little help with LyX-Sweave-R

2010-04-09 Thread David Hewitt
Man, this will be awesome. To clarify, Prof. Grosjean, can you
indicate what specific connection this will require with SciViews? I
use Tinn-R for code editing, but my workflow with LyX-R-Sweave
requires no editor. Would the same be true for what you are
developing?

Lastly, I think I may have discovered part of the problem. Perhaps
someone on this list is familiar enough with LaTeX config in MiKTeX in
Windows to sort it out for me. It might be related to having some
MiKTeX packages as All Users that are installed and updated with
Admin privileges and others that are specific to my own account. I get
a Windows API Error if I run texify.exe on a file:

Windows API error 14001: This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem.
texify: Data: C:\Documents and Settings\dhewitt\Application
Data\MiKTeX\2.8\miktex\bin\pdflatex.EXE

But if I run pdflatex.exe (which I believe calls the EXE in C:\Program
Files\MiKTeX 2.8\miktex\bin) on the same file, it all works.

In general, I don't understand the details of pdflatex, texify,
texi2dvi, etc. that are used in the processing, and how they relate to
each other. If I did, I could probably troubleshoot this more easily.

- Dave


On Fri, Apr 9, 2010 at 4:45 AM,  phgrosj...@sciviews.org wrote:
 It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
 solution (for SciViews). It provides more than just the possibility to
 weaving/tangling LyX documents (new styles, menu entries and toolbar
 buttons to easily create various R chunks, a weaving/tangling log or
 errors or warnings, Sweave features contaibned in a LyX module, etc.)

 It is not completely finished, but pretty usable for now. If you like, I
 have put everything in a zip file you can get from here:
 http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
 file included in it.

 Take care: it completely replaces your whole LyX configuration! You have
 to backup it first (as explained in the ReadMe.txt file).

 With this version, R only converts the LyX file to .tex and LyX does the
 rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
 to compile it outside of LyX (useful for packages vignettes, for
 instance).

 I have it also running on Mac OS X and Linux, but the files and
 instructions in the link provided above are for Windows only (tested on
 Windows XP sp3). Please, ask me later on for the other configs... but for
 today, I don't have time to compile them.

 Best,

 Philippe Grosjean

 On 09/04/10 00:41, David Hewitt wrote:
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

 Did you look at Document  LaTeX log? Sometimes it will display errors
 that are not popped-up by LyX.

 That menu item is greyed out, presumably because I used a converter
 through the batch file to make the PDF, so LyX wasn't really doing the
 work (and thus does not have record of the transaction?).

 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

 Did you try pdflatex, or ps2pdf?

 Yeah, pdflatex works a charm when called on the tex file resulting
 from Sweaving directly from the command line. That's what I was
 getting at here. It seems like the issue is in R's function texi2dvi
 (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
 there was some way to let the converter in LyX run the batch file,
 pass the Sweaving/Stangling and TeX file production off to R, then
 come back and run pdflatex out of LyX to get the PDF from the TeX
 file. Surely this is possible?


Re: A little help with LyX-Sweave-R

2010-04-09 Thread phgrosjean
It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
solution (for SciViews). It provides more than just the possibility to
weaving/tangling LyX documents (new styles, menu entries and toolbar
buttons to easily create various R chunks, a weaving/tangling log or
errors or warnings, Sweave features contaibned in a LyX module, etc.)

It is not completely finished, but pretty usable for now. If you like, I
have put everything in a zip file you can get from here:
http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
file included in it.

Take care: it completely replaces your whole LyX configuration! You have
to backup it first (as explained in the ReadMe.txt file).

With this version, R only converts the LyX file to .tex and LyX does the
rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
to compile it outside of LyX (useful for packages vignettes, for
instance).

I have it also running on Mac OS X and Linux, but the files and
instructions in the link provided above are for Windows only (tested on
Windows XP sp3). Please, ask me later on for the other configs... but for
today, I don't have time to compile them.

Best,

Philippe Grosjean

..<°}))><
 ) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
 ) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
 ) ) ) ) )   Mons University, Belgium
( ( ( ( (
..

On 09/04/10 00:41, David Hewitt wrote:
>>> I run LyX from a command window and watch what goes on in the
>>> background. All goes fine through the whole process, texi2dvi runs and
>>> finishes (and I can confirm that it finds and executes texi2dvi.exe in
>>> the MiKTeX bin), and then LyX pukes an error that it cannot open the
>>> PDF because the PDF does not exist. Indeed, if I check the temp
>>> directory
>>> for LyX, all files are present but the PDF. I get no other warnings or
>>> errors from texi2dvi and cannot figure out why this happens.
>>>
>> Did you look at Document>  LaTeX log? Sometimes it will display errors
>> that are not popped-up by LyX.
>
> That menu item is greyed out, presumably because I used a converter
> through the batch file to make the PDF, so LyX wasn't really doing the
> work (and thus does not have record of the transaction?).
>
>>> Can someone help me figure out why texi2dvi fails to produce a PDF?
>>> Does anyone know if it is perhaps something about MiKTeX and the way
>>> the texi2dvi.exe works? Might it be possible to bypass that program
>>> and do the conversion via LyX more directly after R finishes the
>>> Sweaving and Stangling?
>>>
>> Did you try pdflatex, or ps2pdf?
>
> Yeah, pdflatex works a charm when called on the tex file resulting
> from Sweaving directly from the command line. That's what I was
> getting at here. It seems like the issue is in R's function texi2dvi
> (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
> there was some way to let the converter in LyX run the batch file,
> pass the Sweaving/Stangling and TeX file production off to R, then
> come back and run pdflatex out of LyX to get the PDF from the TeX
> file. Surely this is possible?
>
>
> Thanks a million for the help!
>
>




Re: A little help with LyX-Sweave-R

2010-04-09 Thread Pavel Sanda
phgrosj...@sciviews.org wrote:
> I have it also running on Mac OS X and Linux, but the files and
> instructions in the link provided above are for Windows only (tested on
> Windows XP sp3). Please, ask me later on for the other configs... but for
> today, I don't have time to compile them.

fyi there should better support in lyx 2.0 and in case you want something
to contribute directly into lyx distribution, its just the right time to
check out lyx 2.0 alpha and discuss things on devel list so 2.0 is compatible...

pavel


Re: A little help with LyX-Sweave-R

2010-04-09 Thread David Hewitt
Man, this will be awesome. To clarify, Prof. Grosjean, can you
indicate what specific connection this will require with SciViews? I
use Tinn-R for code editing, but my workflow with LyX-R-Sweave
requires no editor. Would the same be true for what you are
developing?

Lastly, I think I may have discovered part of the problem. Perhaps
someone on this list is familiar enough with LaTeX config in MiKTeX in
Windows to sort it out for me. It might be related to having some
MiKTeX packages as "All Users" that are installed and updated with
Admin privileges and others that are specific to my own account. I get
a Windows API Error if I run texify.exe on a file:

Windows API error 14001: This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem.
texify: Data: C:\Documents and Settings\dhewitt\Application
Data\MiKTeX\2.8\miktex\bin\pdflatex.EXE

But if I run pdflatex.exe (which I believe calls the EXE in C:\Program
Files\MiKTeX 2.8\miktex\bin) on the same file, it all works.

In general, I don't understand the details of pdflatex, texify,
texi2dvi, etc. that are used in the processing, and how they relate to
each other. If I did, I could probably troubleshoot this more easily.

- Dave


On Fri, Apr 9, 2010 at 4:45 AM,   wrote:
> It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
> solution (for SciViews). It provides more than just the possibility to
> weaving/tangling LyX documents (new styles, menu entries and toolbar
> buttons to easily create various R chunks, a weaving/tangling log or
> errors or warnings, Sweave features contaibned in a LyX module, etc.)
>
> It is not completely finished, but pretty usable for now. If you like, I
> have put everything in a zip file you can get from here:
> http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
> file included in it.
>
> Take care: it completely replaces your whole LyX configuration! You have
> to backup it first (as explained in the ReadMe.txt file).
>
> With this version, R only converts the LyX file to .tex and LyX does the
> rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
> to compile it outside of LyX (useful for packages vignettes, for
> instance).
>
> I have it also running on Mac OS X and Linux, but the files and
> instructions in the link provided above are for Windows only (tested on
> Windows XP sp3). Please, ask me later on for the other configs... but for
> today, I don't have time to compile them.
>
> Best,
>
> Philippe Grosjean
>
> On 09/04/10 00:41, David Hewitt wrote:
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

>>> Did you look at Document>  LaTeX log? Sometimes it will display errors
>>> that are not popped-up by LyX.
>>
>> That menu item is greyed out, presumably because I used a converter
>> through the batch file to make the PDF, so LyX wasn't really doing the
>> work (and thus does not have record of the transaction?).
>>
 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

>>> Did you try pdflatex, or ps2pdf?
>>
>> Yeah, pdflatex works a charm when called on the tex file resulting
>> from Sweaving directly from the command line. That's what I was
>> getting at here. It seems like the issue is in R's function texi2dvi
>> (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
>> there was some way to let the converter in LyX run the batch file,
>> pass the Sweaving/Stangling and TeX file production off to R, then
>> come back and run pdflatex out of LyX to get the PDF from the TeX
>> file. Surely this is possible?


A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
This is a bit of a tangent from true LyX issues, but it is related and
I suspect the expertise exists on this list to solve my problem. I
appreciate any help. For those also on the R-Help mailing list, I
apologize for the duplication.

I use LyX on a Windows XP machine with R 2.10.1 and a recent
installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
the LyX Wiki (which I recently posted! --
http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
up to run Sweave and Stangle and then make the PDF through R (though a
batch script called from LyX then on to a MakeSweave.R file that does
the work through R). All of this system worked just fine until I ran
some MiKTeX updates yesterday.

After the updates yesterday, which I noticed included the miktex core
stuff, everything goes smoothly except that the code in the
MakeSweave.R file that runs texi2dvi (an R function that calls the
MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
PDF but gives no warnings or errors.

The contents of the batch file are:

Rterm --no-site-file --no-save -f C:/Program Files/LyX
1.6.5/bin/MakeSweave.R --args %1

The batch file is called in the temporary directory where LyX does its work,

The MakeSweave.R contents are:

library(tools)
args - commandArgs()
filename - args[length(args)]
Sweave(filename)
Stangle(filename)
basename - sub(\\.(Rnw|Rtex|nw)$, , filename)
texi2dvi(paste(basename, .tex, sep=), pdf=TRUE)

I run LyX from a command window and watch what goes on in the
background. All goes fine through the whole process, texi2dvi runs and
finishes (and I can confirm that it finds and executes texi2dvi.exe in
the MiKTeX bin), and then LyX pukes an error that it cannot open the
PDF because the PDF does not exist. Indeed, if I check the temp
directory
for LyX, all files are present but the PDF. I get no other warnings or
errors from texi2dvi and cannot figure out why this happens.

Can someone help me figure out why texi2dvi fails to produce a PDF?
Does anyone know if it is perhaps something about MiKTeX and the way
the texi2dvi.exe works? Might it be possible to bypass that program
and do the conversion via LyX more directly after R finishes the
Sweaving and Stangling?

A potential complication (as always) is that I am working in a
non-Admin account on the machine. I can invoke Admin permissions to
change things and had managed to get everything working before.
Permissions may be an issue, but I have set full access to all the
folders involved in this process (R, LyX, MiKTeX bins for example),
and this got it working prior to updates. I am hoping that is not it.
It seems like an issue with texi2dvi.

Dave Hewitt
Research Fishery Biologist
USGS Western Fisheries Research Center
Klamath Falls Field Station, Oregon
http://profile.usgs.gov/dhewitt


Re: A little help with LyX-Sweave-R

2010-04-08 Thread Liviu Andronic
Hello
I am not sure that I can help in this case, but I will still throw some ideas.

On Thu, Apr 8, 2010 at 7:28 PM, David Hewitt dhewit...@gmail.com wrote:
 This is a bit of a tangent from true LyX issues, but it is related and
 I suspect the expertise exists on this list to solve my problem. I
 appreciate any help. For those also on the R-Help mailing list, I
 apologize for the duplication.

 I use LyX on a Windows XP machine with R 2.10.1 and a recent
 installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
 the LyX Wiki (which I recently posted! --
 http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
 up to run Sweave and Stangle and then make the PDF through R (though a
 batch script called from LyX then on to a MakeSweave.R file that does
 the work through R). All of this system worked just fine until I ran
 some MiKTeX updates yesterday.

 After the updates yesterday, which I noticed included the miktex core
 stuff, everything goes smoothly except that the code in the
 MakeSweave.R file that runs texi2dvi (an R function that calls the
 MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
 PDF but gives no warnings or errors.

 The contents of the batch file are:

 Rterm --no-site-file --no-save -f C:/Program Files/LyX
 1.6.5/bin/MakeSweave.R --args %1

 The batch file is called in the temporary directory where LyX does its work,

 The MakeSweave.R contents are:

 library(tools)
 args - commandArgs()
 filename - args[length(args)]
 Sweave(filename)
 Stangle(filename)
 basename - sub(\\.(Rnw|Rtex|nw)$, , filename)
 texi2dvi(paste(basename, .tex, sep=), pdf=TRUE)

 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

Did you look at Document  LaTeX log? Sometimes it will display errors
that are not popped-up by LyX.


 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

Did you try pdflatex, or ps2pdf?
Liviu


 A potential complication (as always) is that I am working in a
 non-Admin account on the machine. I can invoke Admin permissions to
 change things and had managed to get everything working before.
 Permissions may be an issue, but I have set full access to all the
 folders involved in this process (R, LyX, MiKTeX bins for example),
 and this got it working prior to updates. I am hoping that is not it.
 It seems like an issue with texi2dvi.

 Dave Hewitt
 Research Fishery Biologist
 USGS Western Fisheries Research Center
 Klamath Falls Field Station, Oregon
 http://profile.usgs.gov/dhewitt




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

 Did you look at Document  LaTeX log? Sometimes it will display errors
 that are not popped-up by LyX.

That menu item is greyed out, presumably because I used a converter
through the batch file to make the PDF, so LyX wasn't really doing the
work (and thus does not have record of the transaction?).

 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

 Did you try pdflatex, or ps2pdf?

Yeah, pdflatex works a charm when called on the tex file resulting
from Sweaving directly from the command line. That's what I was
getting at here. It seems like the issue is in R's function texi2dvi
(which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
there was some way to let the converter in LyX run the batch file,
pass the Sweaving/Stangling and TeX file production off to R, then
come back and run pdflatex out of LyX to get the PDF from the TeX
file. Surely this is possible?


Thanks a million for the help!


A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
This is a bit of a tangent from true LyX issues, but it is related and
I suspect the expertise exists on this list to solve my problem. I
appreciate any help. For those also on the R-Help mailing list, I
apologize for the duplication.

I use LyX on a Windows XP machine with R 2.10.1 and a recent
installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
the LyX Wiki (which I recently posted! --
http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
up to run Sweave and Stangle and then make the PDF through R (though a
batch script called from LyX then on to a MakeSweave.R file that does
the work through R). All of this system worked just fine until I ran
some MiKTeX updates yesterday.

After the updates yesterday, which I noticed included the miktex core
stuff, everything goes smoothly except that the code in the
MakeSweave.R file that runs texi2dvi (an R function that calls the
MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
PDF but gives no warnings or errors.

The contents of the batch file are:

Rterm --no-site-file --no-save -f C:/Program Files/LyX
1.6.5/bin/MakeSweave.R --args %1

The batch file is called in the temporary directory where LyX does its work,

The MakeSweave.R contents are:

library(tools)
args - commandArgs()
filename - args[length(args)]
Sweave(filename)
Stangle(filename)
basename - sub(\\.(Rnw|Rtex|nw)$, , filename)
texi2dvi(paste(basename, .tex, sep=), pdf=TRUE)

I run LyX from a command window and watch what goes on in the
background. All goes fine through the whole process, texi2dvi runs and
finishes (and I can confirm that it finds and executes texi2dvi.exe in
the MiKTeX bin), and then LyX pukes an error that it cannot open the
PDF because the PDF does not exist. Indeed, if I check the temp
directory
for LyX, all files are present but the PDF. I get no other warnings or
errors from texi2dvi and cannot figure out why this happens.

Can someone help me figure out why texi2dvi fails to produce a PDF?
Does anyone know if it is perhaps something about MiKTeX and the way
the texi2dvi.exe works? Might it be possible to bypass that program
and do the conversion via LyX more directly after R finishes the
Sweaving and Stangling?

A potential complication (as always) is that I am working in a
non-Admin account on the machine. I can invoke Admin permissions to
change things and had managed to get everything working before.
Permissions may be an issue, but I have set full access to all the
folders involved in this process (R, LyX, MiKTeX bins for example),
and this got it working prior to updates. I am hoping that is not it.
It seems like an issue with texi2dvi.

Dave Hewitt
Research Fishery Biologist
USGS Western Fisheries Research Center
Klamath Falls Field Station, Oregon
http://profile.usgs.gov/dhewitt


Re: A little help with LyX-Sweave-R

2010-04-08 Thread Liviu Andronic
Hello
I am not sure that I can help in this case, but I will still throw some ideas.

On Thu, Apr 8, 2010 at 7:28 PM, David Hewitt dhewit...@gmail.com wrote:
 This is a bit of a tangent from true LyX issues, but it is related and
 I suspect the expertise exists on this list to solve my problem. I
 appreciate any help. For those also on the R-Help mailing list, I
 apologize for the duplication.

 I use LyX on a Windows XP machine with R 2.10.1 and a recent
 installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
 the LyX Wiki (which I recently posted! --
 http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
 up to run Sweave and Stangle and then make the PDF through R (though a
 batch script called from LyX then on to a MakeSweave.R file that does
 the work through R). All of this system worked just fine until I ran
 some MiKTeX updates yesterday.

 After the updates yesterday, which I noticed included the miktex core
 stuff, everything goes smoothly except that the code in the
 MakeSweave.R file that runs texi2dvi (an R function that calls the
 MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
 PDF but gives no warnings or errors.

 The contents of the batch file are:

 Rterm --no-site-file --no-save -f C:/Program Files/LyX
 1.6.5/bin/MakeSweave.R --args %1

 The batch file is called in the temporary directory where LyX does its work,

 The MakeSweave.R contents are:

 library(tools)
 args - commandArgs()
 filename - args[length(args)]
 Sweave(filename)
 Stangle(filename)
 basename - sub(\\.(Rnw|Rtex|nw)$, , filename)
 texi2dvi(paste(basename, .tex, sep=), pdf=TRUE)

 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

Did you look at Document  LaTeX log? Sometimes it will display errors
that are not popped-up by LyX.


 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

Did you try pdflatex, or ps2pdf?
Liviu


 A potential complication (as always) is that I am working in a
 non-Admin account on the machine. I can invoke Admin permissions to
 change things and had managed to get everything working before.
 Permissions may be an issue, but I have set full access to all the
 folders involved in this process (R, LyX, MiKTeX bins for example),
 and this got it working prior to updates. I am hoping that is not it.
 It seems like an issue with texi2dvi.

 Dave Hewitt
 Research Fishery Biologist
 USGS Western Fisheries Research Center
 Klamath Falls Field Station, Oregon
 http://profile.usgs.gov/dhewitt




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

 Did you look at Document  LaTeX log? Sometimes it will display errors
 that are not popped-up by LyX.

That menu item is greyed out, presumably because I used a converter
through the batch file to make the PDF, so LyX wasn't really doing the
work (and thus does not have record of the transaction?).

 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

 Did you try pdflatex, or ps2pdf?

Yeah, pdflatex works a charm when called on the tex file resulting
from Sweaving directly from the command line. That's what I was
getting at here. It seems like the issue is in R's function texi2dvi
(which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
there was some way to let the converter in LyX run the batch file,
pass the Sweaving/Stangling and TeX file production off to R, then
come back and run pdflatex out of LyX to get the PDF from the TeX
file. Surely this is possible?


Thanks a million for the help!


A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
This is a bit of a tangent from true LyX issues, but it is related and
I suspect the expertise exists on this list to solve my problem. I
appreciate any help. For those also on the R-Help mailing list, I
apologize for the duplication.

I use LyX on a Windows XP machine with R 2.10.1 and a recent
installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
the LyX Wiki (which I recently posted! --
http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
up to run Sweave and Stangle and then make the PDF through R (though a
batch script called from LyX then on to a MakeSweave.R file that does
the work through R). All of this system worked just fine until I ran
some MiKTeX updates yesterday.

After the updates yesterday, which I noticed included the miktex core
stuff, everything goes smoothly except that the code in the
MakeSweave.R file that runs texi2dvi (an R function that calls the
MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
PDF but gives no warnings or errors.

The contents of the batch file are:

Rterm --no-site-file --no-save -f "C:/Program Files/LyX
1.6.5/bin/MakeSweave.R" --args %1

The batch file is called in the temporary directory where LyX does its work,

The MakeSweave.R contents are:

library(tools)
args <- commandArgs()
filename <- args[length(args)]
Sweave(filename)
Stangle(filename)
basename <- sub("\\.(Rnw|Rtex|nw)$", "", filename)
texi2dvi(paste(basename, ".tex", sep=""), pdf=TRUE)

I run LyX from a command window and watch what goes on in the
background. All goes fine through the whole process, texi2dvi runs and
finishes (and I can confirm that it finds and executes texi2dvi.exe in
the MiKTeX bin), and then LyX pukes an error that it cannot open the
PDF because the PDF does not exist. Indeed, if I check the temp
directory
for LyX, all files are present but the PDF. I get no other warnings or
errors from texi2dvi and cannot figure out why this happens.

Can someone help me figure out why texi2dvi fails to produce a PDF?
Does anyone know if it is perhaps something about MiKTeX and the way
the texi2dvi.exe works? Might it be possible to bypass that program
and do the conversion via LyX more directly after R finishes the
Sweaving and Stangling?

A potential complication (as always) is that I am working in a
non-Admin account on the machine. I can invoke Admin permissions to
change things and had managed to get everything working before.
Permissions may be an issue, but I have set full access to all the
folders involved in this process (R, LyX, MiKTeX bins for example),
and this got it working prior to updates. I am hoping that is not it.
It seems like an issue with texi2dvi.

Dave Hewitt
Research Fishery Biologist
USGS Western Fisheries Research Center
Klamath Falls Field Station, Oregon
http://profile.usgs.gov/dhewitt


Re: A little help with LyX-Sweave-R

2010-04-08 Thread Liviu Andronic
Hello
I am not sure that I can help in this case, but I will still throw some ideas.

On Thu, Apr 8, 2010 at 7:28 PM, David Hewitt <dhewit...@gmail.com> wrote:
> This is a bit of a tangent from true LyX issues, but it is related and
> I suspect the expertise exists on this list to solve my problem. I
> appreciate any help. For those also on the R-Help mailing list, I
> apologize for the duplication.
>
> I use LyX on a Windows XP machine with R 2.10.1 and a recent
> installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
> the LyX Wiki (which I recently posted! --
> http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
> up to run Sweave and Stangle and then make the PDF through R (though a
> batch script called from LyX then on to a MakeSweave.R file that does
> the work through R). All of this system worked just fine until I ran
> some MiKTeX updates yesterday.
>
> After the updates yesterday, which I noticed included the miktex core
> stuff, everything goes smoothly except that the code in the
> MakeSweave.R file that runs texi2dvi (an R function that calls the
> MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
> PDF but gives no warnings or errors.
>
> The contents of the batch file are:
>
> Rterm --no-site-file --no-save -f "C:/Program Files/LyX
> 1.6.5/bin/MakeSweave.R" --args %1
>
> The batch file is called in the temporary directory where LyX does its work,
>
> The MakeSweave.R contents are:
>
> library(tools)
> args <- commandArgs()
> filename <- args[length(args)]
> Sweave(filename)
> Stangle(filename)
> basename <- sub("\\.(Rnw|Rtex|nw)$", "", filename)
> texi2dvi(paste(basename, ".tex", sep=""), pdf=TRUE)
>
> I run LyX from a command window and watch what goes on in the
> background. All goes fine through the whole process, texi2dvi runs and
> finishes (and I can confirm that it finds and executes texi2dvi.exe in
> the MiKTeX bin), and then LyX pukes an error that it cannot open the
> PDF because the PDF does not exist. Indeed, if I check the temp
> directory
> for LyX, all files are present but the PDF. I get no other warnings or
> errors from texi2dvi and cannot figure out why this happens.
>
Did you look at Document > LaTeX log? Sometimes it will display errors
that are not popped-up by LyX.


> Can someone help me figure out why texi2dvi fails to produce a PDF?
> Does anyone know if it is perhaps something about MiKTeX and the way
> the texi2dvi.exe works? Might it be possible to bypass that program
> and do the conversion via LyX more directly after R finishes the
> Sweaving and Stangling?
>
Did you try pdflatex, or ps2pdf?
Liviu


> A potential complication (as always) is that I am working in a
> non-Admin account on the machine. I can invoke Admin permissions to
> change things and had managed to get everything working before.
> Permissions may be an issue, but I have set full access to all the
> folders involved in this process (R, LyX, MiKTeX bins for example),
> and this got it working prior to updates. I am hoping that is not it.
> It seems like an issue with texi2dvi.
>
> Dave Hewitt
> Research Fishery Biologist
> USGS Western Fisheries Research Center
> Klamath Falls Field Station, Oregon
> http://profile.usgs.gov/dhewitt
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
>> I run LyX from a command window and watch what goes on in the
>> background. All goes fine through the whole process, texi2dvi runs and
>> finishes (and I can confirm that it finds and executes texi2dvi.exe in
>> the MiKTeX bin), and then LyX pukes an error that it cannot open the
>> PDF because the PDF does not exist. Indeed, if I check the temp
>> directory
>> for LyX, all files are present but the PDF. I get no other warnings or
>> errors from texi2dvi and cannot figure out why this happens.
>>
> Did you look at Document > LaTeX log? Sometimes it will display errors
> that are not popped-up by LyX.

That menu item is greyed out, presumably because I used a converter
through the batch file to make the PDF, so LyX wasn't really doing the
work (and thus does not have record of the transaction?).

>> Can someone help me figure out why texi2dvi fails to produce a PDF?
>> Does anyone know if it is perhaps something about MiKTeX and the way
>> the texi2dvi.exe works? Might it be possible to bypass that program
>> and do the conversion via LyX more directly after R finishes the
>> Sweaving and Stangling?
>>
> Did you try pdflatex, or ps2pdf?

Yeah, pdflatex works a charm when called on the tex file resulting
from Sweaving directly from the command line. That's what I was
getting at here. It seems like the issue is in R's function texi2dvi
(which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
there was some way to let the converter in LyX run the batch file,
pass the Sweaving/Stangling and TeX file production off to R, then
come back and run pdflatex out of LyX to get the PDF from the TeX
file. Surely this is possible?


Thanks a million for the help!


Re: Help needed: LyX files Win-Linux Mint Gloria 7

2009-08-28 Thread Paul A. Rubin

KR Thorne wrote:

Hello,
 
I created a number of files in LyX under Windows Vista, saved in .lyx format. I have just migrated over to Linux Mint Gloria 7, and now my files will not open. I receive an error message:
 


/media/FreeAgent Drive/Encryption Folder/Seagate
Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a 
readable LyX document.

I also tried the files I had copied to a data DVD, but cannot open them either.
 
Both the Windows Lyx and the Linux LyX are the latest release, 1.6.2.
 
This is extremely important, as these are manuscripts representing several years of work. At present I cannot simply open them in Windows, as my Windows installation was not working and the recovery disks are unsuccessful (ticket open with the laptop mfr).
 
Any help would be greatly appreciated!
 


In the midst of that path I see Encryption Folder.  Was this folder by 
any chance automatically encrypted under Vista?  If so, you may need to 
use Vista to move the files to an unencrypted folder somewhere.


/Paul



Re: Help needed: LyX files Win-Linux Mint Gloria 7

2009-08-28 Thread Manveru
2009/8/28 Paul A. Rubin ru...@msu.edu:
 KR Thorne wrote:
[...]
 /media/FreeAgent Drive/Encryption Folder/Seagate
 Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is
 not a readable LyX document.

 I also tried the files I had copied to a data DVD, but cannot open them
 either.
[...]

 In the midst of that path I see Encryption Folder.  Was this folder by any
 chance automatically encrypted under Vista?  If so, you may need to use
 Vista to move the files to an unencrypted folder somewhere.

This may be a folder encrypted by External HDD itself. I am wondering
whether these files on DVD are copied under Vista (probably
unencrypted) or under Windows. It would be nice to look into files to
check whether are they text files or scrambled binary.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: Help needed: LyX files Win-Linux Mint Gloria 7

2009-08-28 Thread rgheck

On 08/27/2009 11:08 PM, KR Thorne wrote:

Hi rh,

Attached is a sample file done in the Windows version of LyX. I cannot 
open this file in LyX 1.6.2 installed on my Linux Mint 7 Gloria system 
-- returns the same error message as below. I've tried several files, 
all with the same result.


Please let me know what you find.

Well, if I save it to /tmp/, it opens up just fine, so that didn't tell 
us very much.


I think the issue is certainly the one pointed out by Paul and Manervu: 
The document is encrypted in some way, but LyX is not getting a 
decrypted version. The only way you can get that message is if the first 
non-comment line of the file isn't \lyxformat ..., which it certainly 
would be.


Try copying the file to your home directory and opening it from there. 
If that does not work, open a terminal and run cat myfile.lyx. If you 
don't see something like this:


#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header

and in particular if you get jumbled garbage, then we've found the problem.

That said, the fact that I could open the file you sent me suggests that 
copying your LyX files to your home directory may be all you need to do.


Richard



Re: Help needed: LyX files Win-Linux Mint Gloria 7

2009-08-28 Thread Paul A. Rubin

KR Thorne wrote:

Hello,
 
I created a number of files in LyX under Windows Vista, saved in .lyx format. I have just migrated over to Linux Mint Gloria 7, and now my files will not open. I receive an error message:
 


/media/FreeAgent Drive/Encryption Folder/Seagate
Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a 
readable LyX document.

I also tried the files I had copied to a data DVD, but cannot open them either.
 
Both the Windows Lyx and the Linux LyX are the latest release, 1.6.2.
 
This is extremely important, as these are manuscripts representing several years of work. At present I cannot simply open them in Windows, as my Windows installation was not working and the recovery disks are unsuccessful (ticket open with the laptop mfr).
 
Any help would be greatly appreciated!
 


In the midst of that path I see Encryption Folder.  Was this folder by 
any chance automatically encrypted under Vista?  If so, you may need to 
use Vista to move the files to an unencrypted folder somewhere.


/Paul



Re: Help needed: LyX files Win-Linux Mint Gloria 7

2009-08-28 Thread Manveru
2009/8/28 Paul A. Rubin ru...@msu.edu:
 KR Thorne wrote:
[...]
 /media/FreeAgent Drive/Encryption Folder/Seagate
 Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is
 not a readable LyX document.

 I also tried the files I had copied to a data DVD, but cannot open them
 either.
[...]

 In the midst of that path I see Encryption Folder.  Was this folder by any
 chance automatically encrypted under Vista?  If so, you may need to use
 Vista to move the files to an unencrypted folder somewhere.

This may be a folder encrypted by External HDD itself. I am wondering
whether these files on DVD are copied under Vista (probably
unencrypted) or under Windows. It would be nice to look into files to
check whether are they text files or scrambled binary.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: Help needed: LyX files Win-Linux Mint Gloria 7

2009-08-28 Thread rgheck

On 08/27/2009 11:08 PM, KR Thorne wrote:

Hi rh,

Attached is a sample file done in the Windows version of LyX. I cannot 
open this file in LyX 1.6.2 installed on my Linux Mint 7 Gloria system 
-- returns the same error message as below. I've tried several files, 
all with the same result.


Please let me know what you find.

Well, if I save it to /tmp/, it opens up just fine, so that didn't tell 
us very much.


I think the issue is certainly the one pointed out by Paul and Manervu: 
The document is encrypted in some way, but LyX is not getting a 
decrypted version. The only way you can get that message is if the first 
non-comment line of the file isn't \lyxformat ..., which it certainly 
would be.


Try copying the file to your home directory and opening it from there. 
If that does not work, open a terminal and run cat myfile.lyx. If you 
don't see something like this:


#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header

and in particular if you get jumbled garbage, then we've found the problem.

That said, the fact that I could open the file you sent me suggests that 
copying your LyX files to your home directory may be all you need to do.


Richard



Re: Help needed: LyX files Win->Linux Mint Gloria 7

2009-08-28 Thread Paul A. Rubin

KR Thorne wrote:

Hello,
 
I created a number of files in LyX under Windows Vista, saved in .lyx format. I have just migrated over to Linux Mint Gloria 7, and now my files will not open. I receive an error message:
 


/media/FreeAgent Drive/Encryption Folder/Seagate
Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a 
readable LyX document.

I also tried the files I had copied to a data DVD, but cannot open them either.
 
Both the Windows Lyx and the Linux LyX are the latest release, 1.6.2.
 
This is extremely important, as these are manuscripts representing several years of work. At present I cannot simply open them in Windows, as my Windows installation was not working and the recovery disks are unsuccessful (ticket open with the laptop mfr).
 
Any help would be greatly appreciated!
 


In the midst of that path I see "Encryption Folder".  Was this folder by 
any chance automatically encrypted under Vista?  If so, you may need to 
use Vista to move the files to an unencrypted folder somewhere.


/Paul



Re: Help needed: LyX files Win->Linux Mint Gloria 7

2009-08-28 Thread Manveru
2009/8/28 Paul A. Rubin :
> KR Thorne wrote:
[...]
>> /media/FreeAgent Drive/Encryption Folder/Seagate
>> Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is
>> not a readable LyX document.
>>
>> I also tried the files I had copied to a data DVD, but cannot open them
>> either.
[...]
>
> In the midst of that path I see "Encryption Folder".  Was this folder by any
> chance automatically encrypted under Vista?  If so, you may need to use
> Vista to move the files to an unencrypted folder somewhere.

This may be a folder encrypted by External HDD itself. I am wondering
whether these files on DVD are copied under Vista (probably
unencrypted) or under Windows. It would be nice to look into files to
check whether are they text files or scrambled binary.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: Help needed: LyX files Win->Linux Mint Gloria 7

2009-08-28 Thread rgheck

On 08/27/2009 11:08 PM, KR Thorne wrote:

Hi rh,

Attached is a sample file done in the Windows version of LyX. I cannot 
open this file in LyX 1.6.2 installed on my Linux Mint 7 Gloria system 
-- returns the same error message as below. I've tried several files, 
all with the same result.


Please let me know what you find.

Well, if I save it to /tmp/, it opens up just fine, so that didn't tell 
us very much.


I think the issue is certainly the one pointed out by Paul and Manervu: 
The document is encrypted in some way, but LyX is not getting a 
decrypted version. The only way you can get that message is if the first 
non-comment line of the file isn't "\lyxformat ...", which it certainly 
would be.


Try copying the file to your home directory and opening it from there. 
If that does not work, open a terminal and run "cat myfile.lyx". If you 
don't see something like this:


#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header

and in particular if you get jumbled garbage, then we've found the problem.

That said, the fact that I could open the file you sent me suggests that 
copying your LyX files to your home directory may be all you need to do.


Richard



Help needed: LyX files Win-Linux Mint Gloria 7

2009-08-27 Thread KR Thorne
Hello,
 
I created a number of files in LyX under Windows Vista, saved in .lyx format. I 
have just migrated over to Linux Mint Gloria 7, and now my files will not open. 
I receive an error message:
 

/media/FreeAgent Drive/Encryption Folder/Seagate
Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a 
readable LyX document.

I also tried the files I had copied to a data DVD, but cannot open them either.
 
Both the Windows Lyx and the Linux LyX are the latest release, 1.6.2.
 
This is extremely important, as these are manuscripts representing several 
years of work. At present I cannot simply open them in Windows, as my Windows 
installation was not working and the recovery disks are unsuccessful (ticket 
open with the laptop mfr).
 
Any help would be greatly appreciated!
 
Thanks,
Karen


  

Help needed: LyX files Win-Linux Mint Gloria 7

2009-08-27 Thread KR Thorne
Hello,
 
I created a number of files in LyX under Windows Vista, saved in .lyx format. I 
have just migrated over to Linux Mint Gloria 7, and now my files will not open. 
I receive an error message:
 

/media/FreeAgent Drive/Encryption Folder/Seagate
Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a 
readable LyX document.

I also tried the files I had copied to a data DVD, but cannot open them either.
 
Both the Windows Lyx and the Linux LyX are the latest release, 1.6.2.
 
This is extremely important, as these are manuscripts representing several 
years of work. At present I cannot simply open them in Windows, as my Windows 
installation was not working and the recovery disks are unsuccessful (ticket 
open with the laptop mfr).
 
Any help would be greatly appreciated!
 
Thanks,
Karen


  

Help needed: LyX files Win->Linux Mint Gloria 7

2009-08-27 Thread KR Thorne
Hello,
 
I created a number of files in LyX under Windows Vista, saved in .lyx format. I 
have just migrated over to Linux Mint Gloria 7, and now my files will not open. 
I receive an error message:
 

/media/FreeAgent Drive/Encryption Folder/Seagate
Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a 
readable LyX document.

I also tried the files I had copied to a data DVD, but cannot open them either.
 
Both the Windows Lyx and the Linux LyX are the latest release, 1.6.2.
 
This is extremely important, as these are manuscripts representing several 
years of work. At present I cannot simply open them in Windows, as my Windows 
installation was not working and the recovery disks are unsuccessful (ticket 
open with the laptop mfr).
 
Any help would be greatly appreciated!
 
Thanks,
Karen


  

help with lyx

2009-06-15 Thread esrone noel
Good day,
Is there a way to write your name in the background using lyx or an option to 
write your name on every page
without manually inserting your name on every page..I am trying to do
this to prevent plagiarism of my documentPlease help


  

Re: help with lyx

2009-06-15 Thread James C. Sutherland


On Jun 15, 2009, at 6:09 AM, esrone noel wrote:


Good day,
Is there a way to write your name in the background using lyx or an  
option to write your name on every page
without manually inserting your name on every page..I am trying  
to do

this to prevent plagiarism of my documentPlease help


Try using the fancy headers.  Document - Settings - Page Layout -  
Headings style - fancy


Then add to your preamble:
\lhead{left header text}
\rhead{right header text}

See also the docs on the fancyhdr package:
http://tug.ctan.org/get/macros/latex/contrib/fancyhdr/fancyhdr.pdf


help with lyx

2009-06-15 Thread esrone noel
Good day,
Is there a way to write your name in the background using lyx or an option to 
write your name on every page
without manually inserting your name on every page..I am trying to do
this to prevent plagiarism of my documentPlease help


  

Re: help with lyx

2009-06-15 Thread James C. Sutherland


On Jun 15, 2009, at 6:09 AM, esrone noel wrote:


Good day,
Is there a way to write your name in the background using lyx or an  
option to write your name on every page
without manually inserting your name on every page..I am trying  
to do

this to prevent plagiarism of my documentPlease help


Try using the fancy headers.  Document - Settings - Page Layout -  
Headings style - fancy


Then add to your preamble:
\lhead{left header text}
\rhead{right header text}

See also the docs on the fancyhdr package:
http://tug.ctan.org/get/macros/latex/contrib/fancyhdr/fancyhdr.pdf


help with lyx

2009-06-15 Thread esrone noel
Good day,
Is there a way to write your name in the background using lyx or an option to 
write your name on every page
without manually inserting your name on every page..I am trying to do
this to prevent plagiarism of my documentPlease help


  

Re: help with lyx

2009-06-15 Thread James C. Sutherland


On Jun 15, 2009, at 6:09 AM, esrone noel wrote:


Good day,
Is there a way to write your name in the background using lyx or an  
option to write your name on every page
without manually inserting your name on every page..I am trying  
to do

this to prevent plagiarism of my documentPlease help


Try using the fancy headers.  Document -> Settings -> Page Layout ->  
Headings style -> fancy


Then add to your preamble:
\lhead{left header text}
\rhead{right header text}

See also the docs on the fancyhdr package:
http://tug.ctan.org/get/macros/latex/contrib/fancyhdr/fancyhdr.pdf


Re: Help with lyx personal dictionaries

2009-02-26 Thread Uwe Stöhr

Andrew Thomson schrieb:


I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.


This was a bug in the Windows installer we fixed in the meantime. The next LyX version will be 
released about this weekend. So I suggest to wait until it is released, then uninstall Aspell _and_ 
all of its installed dictionaries you find in the installed software list in Windows system 
settings. Afterwards install LyX 1.6.2 using the alternative LyX for Windows installer.

(You can leave LyX 1.5.6 installed.)

regards Uwe


Re: Help with lyx personal dictionaries

2009-02-26 Thread Uwe Stöhr

Andrew Thomson schrieb:


I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.


This was a bug in the Windows installer we fixed in the meantime. The next LyX version will be 
released about this weekend. So I suggest to wait until it is released, then uninstall Aspell _and_ 
all of its installed dictionaries you find in the installed software list in Windows system 
settings. Afterwards install LyX 1.6.2 using the alternative LyX for Windows installer.

(You can leave LyX 1.5.6 installed.)

regards Uwe


Re: Help with lyx personal dictionaries

2009-02-26 Thread Uwe Stöhr

Andrew Thomson schrieb:


I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.


This was a bug in the Windows installer we fixed in the meantime. The next LyX version will be 
released about this weekend. So I suggest to wait until it is released, then uninstall Aspell _and_ 
all of its installed dictionaries you find in the installed software list in Windows system 
settings. Afterwards install LyX 1.6.2 using the alternative LyX for Windows installer.

(You can leave LyX 1.5.6 installed.)

regards Uwe


Help with lyx personal dictionaries

2009-02-25 Thread Andrew Thomson
Hi all

I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.

I am using the LyXWinInstaller version of LyX 1.5.6, and the Preferences
box shows that I am using the aspell ('library') version. I have
specified a file path for my personal dictionary, but the file remains
empty.

I have installed the aspell6-en-6.0-0 and aspell6-uk-1.4.0-0 dictionary
files,
and these have sent files to ApplicationData in my profile. I am set up
using
a roaming profile, but I have set LyX to save documents and my personal
dictionary to a folder in my (out-of-profile) C:\ directory.

Any tips on how to debug this problem? Can I do something to make LyX tell
me when it's failed to save my personal dictionary, and why it might have
failed?

Regrads,


Andy

-- 
PhD Candidate
Room E216
Centre for Sustainable Energy Systems (CSES),
Building 32,
Australian National University (ANU),
ACTON ACT 0200.
P. +61 2 61253976
F. +61 2 61250506
M. 0423 344 116



-- 
PhD Candidate
Room E216
Centre for Sustainable Energy Systems (CSES),
Building 32,
Australian National University (ANU),
ACTON ACT 0200.
P. +61 2 61253976
F. +61 2 61250506
M. 0423 344 116


Help with lyx personal dictionaries

2009-02-25 Thread Andrew Thomson
Hi all

I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.

I am using the LyXWinInstaller version of LyX 1.5.6, and the Preferences
box shows that I am using the aspell ('library') version. I have
specified a file path for my personal dictionary, but the file remains
empty.

I have installed the aspell6-en-6.0-0 and aspell6-uk-1.4.0-0 dictionary
files,
and these have sent files to ApplicationData in my profile. I am set up
using
a roaming profile, but I have set LyX to save documents and my personal
dictionary to a folder in my (out-of-profile) C:\ directory.

Any tips on how to debug this problem? Can I do something to make LyX tell
me when it's failed to save my personal dictionary, and why it might have
failed?

Regrads,


Andy

-- 
PhD Candidate
Room E216
Centre for Sustainable Energy Systems (CSES),
Building 32,
Australian National University (ANU),
ACTON ACT 0200.
P. +61 2 61253976
F. +61 2 61250506
M. 0423 344 116



-- 
PhD Candidate
Room E216
Centre for Sustainable Energy Systems (CSES),
Building 32,
Australian National University (ANU),
ACTON ACT 0200.
P. +61 2 61253976
F. +61 2 61250506
M. 0423 344 116


Help with lyx personal dictionaries

2009-02-25 Thread Andrew Thomson
Hi all

I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.

I am using the LyXWinInstaller version of LyX 1.5.6, and the Preferences
box shows that I am using the aspell ('library') version. I have
specified a file path for my personal dictionary, but the file remains
empty.

I have installed the aspell6-en-6.0-0 and aspell6-uk-1.4.0-0 dictionary
files,
and these have sent files to ApplicationData in my profile. I am set up
using
a roaming profile, but I have set LyX to save documents and my personal
dictionary to a folder in my (out-of-profile) C:\ directory.

Any tips on how to debug this problem? Can I do something to make LyX tell
me when it's failed to save my personal dictionary, and why it might have
failed?

Regrads,


Andy

-- 
PhD Candidate
Room E216
Centre for Sustainable Energy Systems (CSES),
Building 32,
Australian National University (ANU),
ACTON ACT 0200.
P. +61 2 61253976
F. +61 2 61250506
M. 0423 344 116



-- 
PhD Candidate
Room E216
Centre for Sustainable Energy Systems (CSES),
Building 32,
Australian National University (ANU),
ACTON ACT 0200.
P. +61 2 61253976
F. +61 2 61250506
M. 0423 344 116


Re: Help with lyx personal dictionaries

2009-02-09 Thread Paul A. Rubin

Andrew Thomson wrote:

Hi all

I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.

I am using the LyXWinInstaller version of LyX 1.5.6, and the Preferences
box shows that I am using the aspell ('library') version. I have
specified a file path for my personal dictionary, but the file remains
empty.

I have installed the aspell6-en-6.0-0 and aspell6-uk-1.4.0-0 dictionary
files,
and these have sent files to ApplicationData in my profile. I am set up
using
a roaming profile, but I have set LyX to save documents and my personal
dictionary to a folder in my (out-of-profile) C:\ directory.

Any tips on how to debug this problem? Can I do something to make LyX tell
me when it's failed to save my personal dictionary, and why it might have
failed?



I had this problem with LyX 1.5.6 (without the roaming profile issue), 
and I can't recall what the cause was, because there were a couple of 
Aspell issues going on concurrently.  One was whether Aspell (the copy 
used by LyX) and its dictionaries were both installed the same way -- 
sometimes one is installed for a single user and the other for all 
users, which is a different directory tree -- and the other was that I 
had a full installation of Aspell left over from an earlier version of 
LyX, and earlier versions required that it be installed in C:\Aspell. 
What worked for me was to leave the full version in C:\Aspell alone, add 
a subdirectory C:\Aspell\Personal, and in Tools  Preferences...  
Language Settings  Spellchecker set the path to the personal dictionary 
to C:\Aspell\Personal\en.pws.


HTH,
Paul



Re: Help with lyx personal dictionaries

2009-02-09 Thread Paul A. Rubin

Andrew Thomson wrote:

Hi all

I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.

I am using the LyXWinInstaller version of LyX 1.5.6, and the Preferences
box shows that I am using the aspell ('library') version. I have
specified a file path for my personal dictionary, but the file remains
empty.

I have installed the aspell6-en-6.0-0 and aspell6-uk-1.4.0-0 dictionary
files,
and these have sent files to ApplicationData in my profile. I am set up
using
a roaming profile, but I have set LyX to save documents and my personal
dictionary to a folder in my (out-of-profile) C:\ directory.

Any tips on how to debug this problem? Can I do something to make LyX tell
me when it's failed to save my personal dictionary, and why it might have
failed?



I had this problem with LyX 1.5.6 (without the roaming profile issue), 
and I can't recall what the cause was, because there were a couple of 
Aspell issues going on concurrently.  One was whether Aspell (the copy 
used by LyX) and its dictionaries were both installed the same way -- 
sometimes one is installed for a single user and the other for all 
users, which is a different directory tree -- and the other was that I 
had a full installation of Aspell left over from an earlier version of 
LyX, and earlier versions required that it be installed in C:\Aspell. 
What worked for me was to leave the full version in C:\Aspell alone, add 
a subdirectory C:\Aspell\Personal, and in Tools  Preferences...  
Language Settings  Spellchecker set the path to the personal dictionary 
to C:\Aspell\Personal\en.pws.


HTH,
Paul



Re: Help with lyx personal dictionaries

2009-02-09 Thread Paul A. Rubin

Andrew Thomson wrote:

Hi all

I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.

I am using the LyXWinInstaller version of LyX 1.5.6, and the Preferences
box shows that I am using the aspell ('library') version. I have
specified a file path for my personal dictionary, but the file remains
empty.

I have installed the aspell6-en-6.0-0 and aspell6-uk-1.4.0-0 dictionary
files,
and these have sent files to ApplicationData in my profile. I am set up
using
a roaming profile, but I have set LyX to save documents and my personal
dictionary to a folder in my (out-of-profile) C:\ directory.

Any tips on how to debug this problem? Can I do something to make LyX tell
me when it's failed to save my personal dictionary, and why it might have
failed?



I had this problem with LyX 1.5.6 (without the roaming profile issue), 
and I can't recall what the cause was, because there were a couple of 
Aspell issues going on concurrently.  One was whether Aspell (the copy 
used by LyX) and its dictionaries were both installed the same way -- 
sometimes one is installed for a single user and the other for "all 
users", which is a different directory tree -- and the other was that I 
had a full installation of Aspell left over from an earlier version of 
LyX, and earlier versions required that it be installed in C:\Aspell. 
What worked for me was to leave the full version in C:\Aspell alone, add 
a subdirectory C:\Aspell\Personal, and in Tools > Preferences... > 
Language Settings > Spellchecker set the path to the personal dictionary 
to C:\Aspell\Personal\en.pws.


HTH,
Paul



Help with lyx personal dictionaries

2009-02-08 Thread Andrew Thomson
Hi all

I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.

I am using the LyXWinInstaller version of LyX 1.5.6, and the Preferences
box shows that I am using the aspell ('library') version. I have
specified a file path for my personal dictionary, but the file remains
empty.

I have installed the aspell6-en-6.0-0 and aspell6-uk-1.4.0-0 dictionary
files,
and these have sent files to ApplicationData in my profile. I am set up
using
a roaming profile, but I have set LyX to save documents and my personal
dictionary to a folder in my (out-of-profile) C:\ directory.

Any tips on how to debug this problem? Can I do something to make LyX tell
me when it's failed to save my personal dictionary, and why it might have
failed?

Regrads,


Andy

-- 
PhD Candidate
Room E216
Centre for Sustainable Energy Systems (CSES),
Building 32,
Australian National University (ANU),
ACTON ACT 0200.
P. +61 2 61253976
F. +61 2 61250506
M. 0423 344 116


Help with lyx personal dictionaries

2009-02-08 Thread Andrew Thomson
Hi all

I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.

I am using the LyXWinInstaller version of LyX 1.5.6, and the Preferences
box shows that I am using the aspell ('library') version. I have
specified a file path for my personal dictionary, but the file remains
empty.

I have installed the aspell6-en-6.0-0 and aspell6-uk-1.4.0-0 dictionary
files,
and these have sent files to ApplicationData in my profile. I am set up
using
a roaming profile, but I have set LyX to save documents and my personal
dictionary to a folder in my (out-of-profile) C:\ directory.

Any tips on how to debug this problem? Can I do something to make LyX tell
me when it's failed to save my personal dictionary, and why it might have
failed?

Regrads,


Andy

-- 
PhD Candidate
Room E216
Centre for Sustainable Energy Systems (CSES),
Building 32,
Australian National University (ANU),
ACTON ACT 0200.
P. +61 2 61253976
F. +61 2 61250506
M. 0423 344 116


Help with lyx personal dictionaries

2009-02-08 Thread Andrew Thomson
Hi all

I have been starting out with LyX and I'm having trouble with the personal
dictionary settings. Basically, whenever I tell the dictionary to add a new
word (eg 'dopant') it remembers the word for the duration of that
spellcheck,
but silently fails to add the word to the personal dictionary file, so the
word never gets remembered later.

I am using the LyXWinInstaller version of LyX 1.5.6, and the Preferences
box shows that I am using the aspell ('library') version. I have
specified a file path for my personal dictionary, but the file remains
empty.

I have installed the aspell6-en-6.0-0 and aspell6-uk-1.4.0-0 dictionary
files,
and these have sent files to ApplicationData in my profile. I am set up
using
a roaming profile, but I have set LyX to save documents and my personal
dictionary to a folder in my (out-of-profile) C:\ directory.

Any tips on how to debug this problem? Can I do something to make LyX tell
me when it's failed to save my personal dictionary, and why it might have
failed?

Regrads,


Andy

-- 
PhD Candidate
Room E216
Centre for Sustainable Energy Systems (CSES),
Building 32,
Australian National University (ANU),
ACTON ACT 0200.
P. +61 2 61253976
F. +61 2 61250506
M. 0423 344 116


Re: opening Math help crashes lyx 1.6rc1

2008-08-31 Thread Pavel Sanda

 On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:

 Every time I open the Math document in the Help menu, LyX 1.6rc1 crashes.  
 All of the other help documents open without any problem.

 This occurs on Mac.  I haven't been able to check on other platforms.  Can 
 anyone confirm this on other platforms?

 James


 I just tried this with 1.6rc2.  The problem persists there (on Mac).

this is just being discussed on devel list.
pavel


Re: opening Math help crashes lyx 1.6rc1

2008-08-31 Thread Pavel Sanda

 On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:

 Every time I open the Math document in the Help menu, LyX 1.6rc1 crashes.  
 All of the other help documents open without any problem.

 This occurs on Mac.  I haven't been able to check on other platforms.  Can 
 anyone confirm this on other platforms?

 James


 I just tried this with 1.6rc2.  The problem persists there (on Mac).

this is just being discussed on devel list.
pavel


Re: opening Math help crashes lyx 1.6rc1

2008-08-31 Thread Pavel Sanda
>
> On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:
>
>> Every time I open the Math document in the Help menu, LyX 1.6rc1 crashes.  
>> All of the other help documents open without any problem.
>>
>> This occurs on Mac.  I haven't been able to check on other platforms.  Can 
>> anyone confirm this on other platforms?
>>
>> James
>
>
> I just tried this with 1.6rc2.  The problem persists there (on Mac).

this is just being discussed on devel list.
pavel


Re: opening Math help crashes lyx 1.6rc1

2008-08-30 Thread James Sutherland


On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:

Every time I open the Math document in the Help menu, LyX 1.6rc1  
crashes.  All of the other help documents open without any problem.


This occurs on Mac.  I haven't been able to check on other  
platforms.  Can anyone confirm this on other platforms?


James



I just tried this with 1.6rc2.  The problem persists there (on Mac).


Re: opening Math help crashes lyx 1.6rc1

2008-08-30 Thread curtis osterhoudt
Seems to be stable (no crash) in the 1.6.0rc2 version on Windows XP (32 bit). 

 /
Down with categorical imperative!
[EMAIL PROTECTED]
/



- Original Message 
From: James Sutherland [EMAIL PROTECTED]
To: LyX Users List lyx-users@lists.lyx.org
Sent: Saturday, August 30, 2008 4:36:42 PM
Subject: Re: opening Math help crashes lyx 1.6rc1


On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:

 Every time I open the Math document in the Help menu, LyX 1.6rc1  
 crashes.  All of the other help documents open without any problem.

 This occurs on Mac.  I haven't been able to check on other  
 platforms.  Can anyone confirm this on other platforms?

 James


I just tried this with 1.6rc2.  The problem persists there (on Mac).



  

Re: opening Math help crashes lyx 1.6rc1

2008-08-30 Thread charles reid
Hi James -

I don't see this problem running 1.6rc2 on Ubuntu 8.04 (and I agree - that
new inline completion is really nifty).


Charles

On Sat, Aug 30, 2008 at 4:36 PM, James Sutherland [EMAIL PROTECTED]
 wrote:


 On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:

  Every time I open the Math document in the Help menu, LyX 1.6rc1 crashes.
  All of the other help documents open without any problem.

 This occurs on Mac.  I haven't been able to check on other platforms.  Can
 anyone confirm this on other platforms?

 James



 I just tried this with 1.6rc2.  The problem persists there (on Mac).



Re: opening Math help crashes lyx 1.6rc1

2008-08-30 Thread James Sutherland


On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:

Every time I open the Math document in the Help menu, LyX 1.6rc1  
crashes.  All of the other help documents open without any problem.


This occurs on Mac.  I haven't been able to check on other  
platforms.  Can anyone confirm this on other platforms?


James



I just tried this with 1.6rc2.  The problem persists there (on Mac).


Re: opening Math help crashes lyx 1.6rc1

2008-08-30 Thread curtis osterhoudt
Seems to be stable (no crash) in the 1.6.0rc2 version on Windows XP (32 bit). 

 /
Down with categorical imperative!
[EMAIL PROTECTED]
/



- Original Message 
From: James Sutherland [EMAIL PROTECTED]
To: LyX Users List lyx-users@lists.lyx.org
Sent: Saturday, August 30, 2008 4:36:42 PM
Subject: Re: opening Math help crashes lyx 1.6rc1


On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:

 Every time I open the Math document in the Help menu, LyX 1.6rc1  
 crashes.  All of the other help documents open without any problem.

 This occurs on Mac.  I haven't been able to check on other  
 platforms.  Can anyone confirm this on other platforms?

 James


I just tried this with 1.6rc2.  The problem persists there (on Mac).



  

Re: opening Math help crashes lyx 1.6rc1

2008-08-30 Thread charles reid
Hi James -

I don't see this problem running 1.6rc2 on Ubuntu 8.04 (and I agree - that
new inline completion is really nifty).


Charles

On Sat, Aug 30, 2008 at 4:36 PM, James Sutherland [EMAIL PROTECTED]
 wrote:


 On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:

  Every time I open the Math document in the Help menu, LyX 1.6rc1 crashes.
  All of the other help documents open without any problem.

 This occurs on Mac.  I haven't been able to check on other platforms.  Can
 anyone confirm this on other platforms?

 James



 I just tried this with 1.6rc2.  The problem persists there (on Mac).



Re: opening Math help crashes lyx 1.6rc1

2008-08-30 Thread James Sutherland


On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:

Every time I open the Math document in the Help menu, LyX 1.6rc1  
crashes.  All of the other help documents open without any problem.


This occurs on Mac.  I haven't been able to check on other  
platforms.  Can anyone confirm this on other platforms?


James



I just tried this with 1.6rc2.  The problem persists there (on Mac).


Re: opening Math help crashes lyx 1.6rc1

2008-08-30 Thread curtis osterhoudt
Seems to be stable (no crash) in the 1.6.0rc2 version on Windows XP (32 bit). 

 /
Down with categorical imperative!
[EMAIL PROTECTED]
/



- Original Message 
From: James Sutherland <[EMAIL PROTECTED]>
To: LyX Users List <lyx-users@lists.lyx.org>
Sent: Saturday, August 30, 2008 4:36:42 PM
Subject: Re: opening Math help crashes lyx 1.6rc1


On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:

> Every time I open the Math document in the Help menu, LyX 1.6rc1  
> crashes.  All of the other help documents open without any problem.
>
> This occurs on Mac.  I haven't been able to check on other  
> platforms.  Can anyone confirm this on other platforms?
>
> James


I just tried this with 1.6rc2.  The problem persists there (on Mac).



  

Re: opening Math help crashes lyx 1.6rc1

2008-08-30 Thread charles reid
Hi James -

I don't see this problem running 1.6rc2 on Ubuntu 8.04 (and I agree - that
new inline completion is really nifty).


Charles

On Sat, Aug 30, 2008 at 4:36 PM, James Sutherland <[EMAIL PROTECTED]
> wrote:

>
> On Aug 29, 2008, at 9:05 AM, James Sutherland wrote:
>
>  Every time I open the Math document in the Help menu, LyX 1.6rc1 crashes.
>>  All of the other help documents open without any problem.
>>
>> This occurs on Mac.  I haven't been able to check on other platforms.  Can
>> anyone confirm this on other platforms?
>>
>> James
>>
>
>
> I just tried this with 1.6rc2.  The problem persists there (on Mac).
>


opening Math help crashes lyx 1.6rc1

2008-08-29 Thread James Sutherland
Every time I open the Math document in the Help menu, LyX 1.6rc1  
crashes.  All of the other help documents open without any problem.


This occurs on Mac.  I haven't been able to check on other platforms.   
Can anyone confirm this on other platforms?


James


opening Math help crashes lyx 1.6rc1

2008-08-29 Thread James Sutherland
Every time I open the Math document in the Help menu, LyX 1.6rc1  
crashes.  All of the other help documents open without any problem.


This occurs on Mac.  I haven't been able to check on other platforms.   
Can anyone confirm this on other platforms?


James


opening Math help crashes lyx 1.6rc1

2008-08-29 Thread James Sutherland
Every time I open the Math document in the Help menu, LyX 1.6rc1  
crashes.  All of the other help documents open without any problem.


This occurs on Mac.  I haven't been able to check on other platforms.   
Can anyone confirm this on other platforms?


James


Re: help with LyX-Code (or verbatim in ERT) and wrapping

2007-12-17 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
You can use the listings LaTeX package : it has automatic breaking of 
long lines, and it is fully integrated in LyX.


Siegfried.


Re: help with LyX-Code (or verbatim in ERT) and wrapping

2007-12-17 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
You can use the listings LaTeX package : it has automatic breaking of 
long lines, and it is fully integrated in LyX.


Siegfried.


Re: help with LyX-Code (or verbatim in ERT) and wrapping

2007-12-17 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
You can use the listings LaTeX package : it has automatic breaking of 
long lines, and it is fully integrated in LyX.


Siegfried.


help with LyX-Code (or verbatim in ERT) and wrapping

2007-12-16 Thread Stacia Hartleben
Hi guys. I am finishing up a paper for my algorithms class and I ran
into a little snag when it comes to displaying code and wrapping.

1. Sometimes very long lines are simply cut off (!) Take for example
this long output of a sorting algorithm: (100   100   100   98   96
95   95   92   91   91   83   83   80   79   78   78   75   73   73
66   64   62   60   57   56   55   53   52   44   43   43   40   39
38   37   36   34   32   28   28   27   26   5   4   4   4   4   3   1
  1). That goes way off the screen never to be seen again.
2. I was having some problems with things hyphenating, rendering the
actual code displayed useless. I seem to have fixed them by making the
font really small but I suspect they would pop up again if I made the
font big again, so sorry I don't have an example.

Any pointers?


help with LyX-Code (or verbatim in ERT) and wrapping

2007-12-16 Thread Stacia Hartleben
Hi guys. I am finishing up a paper for my algorithms class and I ran
into a little snag when it comes to displaying code and wrapping.

1. Sometimes very long lines are simply cut off (!) Take for example
this long output of a sorting algorithm: (100   100   100   98   96
95   95   92   91   91   83   83   80   79   78   78   75   73   73
66   64   62   60   57   56   55   53   52   44   43   43   40   39
38   37   36   34   32   28   28   27   26   5   4   4   4   4   3   1
  1). That goes way off the screen never to be seen again.
2. I was having some problems with things hyphenating, rendering the
actual code displayed useless. I seem to have fixed them by making the
font really small but I suspect they would pop up again if I made the
font big again, so sorry I don't have an example.

Any pointers?


help with LyX-Code (or verbatim in ERT) and wrapping

2007-12-16 Thread Stacia Hartleben
Hi guys. I am finishing up a paper for my algorithms class and I ran
into a little snag when it comes to displaying code and wrapping.

1. Sometimes very long lines are simply cut off (!) Take for example
this long output of a sorting algorithm: (100   100   100   98   96
95   95   92   91   91   83   83   80   79   78   78   75   73   73
66   64   62   60   57   56   55   53   52   44   43   43   40   39
38   37   36   34   32   28   28   27   26   5   4   4   4   4   3   1
  1). That goes way off the screen never to be seen again.
2. I was having some problems with things hyphenating, rendering the
actual code displayed useless. I seem to have fixed them by making the
font really small but I suspect they would pop up again if I made the
font big again, so sorry I don't have an example.

Any pointers?


Help Please! Lyx 1.4.3 for windows Crashes after installation

2006-12-07 Thread Wei Yan
Hello All,
I have been trying to install Lyx1.4.3 (released Oct 4)  for windows for the 
last two days, unfortunately after more than five attempts (install, uninstall, 
reinstall) I still cannot launch Lyx application successfully. Here are my 
installation steps:
- downloaded lyx-143-4-bundle.exe
- followed installation instructions
- updated Miktex
- ATTEMPTED to launch Lyx for the first time
then each time I get an error message  Lyx has been closed because of an 
unexpected situation. This is most likely caused by a flaw in the software. 
When you open your documents again, you will be able to restore an emergency 
save and continue working. 
The details about the error are  WindowsError: [Error 2] The system cannot 
find the path specified: 'C\\winnt\\sy...
Lyx:Done!
LyxTextClassList::Read:unable to find textclass file `'. Exiting. 

I used to have Lyx1.3.7 installed it worked fine.

Thanks so much for your help!!!

Wei



Help Please! Lyx 1.4.3 for windows Crashes after installation

2006-12-07 Thread Wei Yan
Hello All,
I have been trying to install Lyx1.4.3 (released Oct 4)  for windows for the 
last two days, unfortunately after more than five attempts (install, uninstall, 
reinstall) I still cannot launch Lyx application successfully. Here are my 
installation steps:
- downloaded lyx-143-4-bundle.exe
- followed installation instructions
- updated Miktex
- ATTEMPTED to launch Lyx for the first time
then each time I get an error message  Lyx has been closed because of an 
unexpected situation. This is most likely caused by a flaw in the software. 
When you open your documents again, you will be able to restore an emergency 
save and continue working. 
The details about the error are  WindowsError: [Error 2] The system cannot 
find the path specified: 'C\\winnt\\sy...
Lyx:Done!
LyxTextClassList::Read:unable to find textclass file `'. Exiting. 

I used to have Lyx1.3.7 installed it worked fine.

Thanks so much for your help!!!

Wei



  1   2   >