Re: How do I suppress date from body of document class letter?

2007-01-13 Thread Joe(theWordy)Philbrook
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 12, Bob Lounsbury did say:

 I don't know about the date issue, but to eliminate the header line see
 Section 3.6 of the Extended Features help manual. This is available under
 the Help menu of LyX.

Someone else provided for the date issue using /date{} in the preamble.
And I did see a way to turn of BOTH headers and footers there, But I
didn't see any way to keep the required footer, while selectively dumping
the header for only the one page.  However Thank you for getting me to
look at: 3.6 of the Extended Features help manual once again. I had
completely missed the solution to the header under bar problem I
also mentioned... Seams underbar depends on: 
\renewcommand{\headrulewidth}{Xpt} 
where X is thickness

   #
   ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_##
   ##message_as_an_mime_encoded_attachment,just_ask_me_while__##
   ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##
   #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFqJQORZ/61mwhY94RAtKvAJ9KTydeNwlL06MFhV2EnNbU/LDJjQCcDwLA
tlZcuRPofOb54utGjtz33wU=
=p0GZ
-END PGP SIGNATURE-
-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ [EMAIL PROTECTED]



Re: texlive as support for lyx

2007-01-13 Thread Sven Hoexter
On Sat, Jan 13, 2007 at 09:38:41AM +0100, abdelkader belahcene wrote:
 Hi,
 since the new available latex on linux, will be texlive instead of
 tetex, I think it 's  time  to support the texlive instead of tetex.
 [ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??
AFAIK LyX works fine with texlive. At least the users of the Debian
package requested that we offer the choice between tetex and texlive and
since that's done I've got no complains. So I assume tetex and texlive are
interchangeable without causing trouble for LyX users.

Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


Re: Spacing changes in the Memoir class (Solved for now)

2007-01-13 Thread Jürgen Spitzmüller
Eran Kaplinsky wrote:
 Peter Wilson, the author of Memoir, e-mailed me with the solution.
 Props, and thanks for your time, Peter!

I knew those solutions. The problem is: they cannot be implemented in LyX 
without ugly hacks in the sources :-(

Jürgen


Can't make a new document.

2007-01-13 Thread Daniel Janzon

In Ubuntu Linux, Lyx version 1.4.2 (latest version in Ubuntu package
system), the following procedure results in an error:

1. Create a new document
2. Insert - Float - Table
3. Insert - Table
4. View - PDF (pdflatex)

The error message is

Argument of [EMAIL PROTECTED] has an extra }.
Paragraph ended before [EMAIL PROTECTED] was complete.

On a much older version of Lyx (1.2.1 I believe) running on Sun
Solaris, it works fine. Am I doing something wrong?

   / Daniel


Re: Can't make a new document.

2007-01-13 Thread Uwe Stöhr

Daniel Janzon schrieb:


The error message is

Argument of [EMAIL PROTECTED] has an extra }.
Paragraph ended before [EMAIL PROTECTED] was complete.


You have inserted the table into the caption environment.

The correct procedure is:

- Insert- Float
- type the caption
- press enter to create a new paragraph in the standard environment
- insert/create the table

regards Uwe


Re: Can't make a new document.

2007-01-13 Thread Uwe Stöhr

Daniel Janzon schrieb:


But then the caption appears above the table in the PDF.


This is correct, captions are usually above tables and below figures.
If you want to have the caption below the table anyway, then set the cursor at the beginning of the 
caption and press enter. Then insert the table above the caption.


regards Uwe


Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], 
Georg Baum [EMAIL PROTECTED] wrote.


[...]

LyX 1.5.0 will have a View-Source menu entry, I believe that this is a
good solution to examine LaTeX problems.

[...]

Already implemented in the latest Alpha release for Windows. It shows 
the LaTeX source, of course. A killer feature, for which many thanks.


Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
[EMAIL PROTECTED]



Re: Help with mis-converted accents

2007-01-13 Thread Andre Poenitz
On Wed, Jan 10, 2007 at 11:52:51AM +, José Matos wrote:
 On Thursday 21 December 2006 8:39 pm, Andre Poenitz wrote:
 
  Just for the record: Can you run both of them through 'time'?
 
   I could but most of the time that is not a problem. Notice also that recent 
 versions of python are becoming faster. :-)

When installed on newer machines. I konw _that_ trick...

Andre'


Screen fonts for CJK-LyX with Big5 encoding

2007-01-13 Thread Johan W . Klüwer
Greetings,

I have just installed the latest CJK-LyX
(CJK-LyX-qt-1.4.2-1.i386.rpm), using the TeX Live distribution.  This
works really well with GB encoding (simplified Chinese characters),
both for screen preview and in the DVI/PDF output. However, with Big5
encoding, as required for traditional characters, screen display is
not working at all.

On the web page http://cellular.phys.pusan.ac.kr/cjk-use.html, there
are some instructions for initializing CJK-LyX for Big5, but they
don't work; the following is reported to the console.

  LyX: Unknown tag `\screen_font_i18n1_encoding' [around line 102 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `big5-0' [around line 102 of file ~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n2_encoding' [around line 103 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `big5-0' [around line 103 of file ~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n1_normal' [around line 104 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n1_gothic' [around line 105 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n2_normal' [around line 106 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n2_gothic' [around line 107 of file 
~/.lyx/lyxrc.defaults]

Perhaps the switches \screen_font_i18n1_encoding, etc., have gone out
of use. I have Googled hard, but found no solution.

Does anyone here know how to get CJK-LyX working with Big5?


Best,

Johan.


Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread faunt


The following documents (the rest of the data from this thread) how I got 
the PDF and DVI viewers and PDF and HTML exports all working on Mac OSX 
10.4.8 (just as I have them in my Slackware Linux setup) -- with much 
thanks to Jens Noeckel's help. 
--


On Wed, 10 Jan 2007, Jens Noeckel wrote:

On Jan 10, 2007, at 11:00 AM, [EMAIL PROTECTED] wrote:

On Sun, 7 Jan 2007, Jens Noeckel wrote:


2 of the 3 pdf conversions work. On viewing or exporting with dvipdfm, I 
get the following error:


... error running dvipdfmx -p letter -o 'newfile1.pdf' 'newfile1.dvi'

dvipdfmx exists. So is the command line wrong?


I've always had simply dvipdfm as the driver (had not installed dvipdfmx at 
all because I didn't need it). Now I tried that using fink and got the same 
error as you.


The error was, as you suggested, that I was using the dvipdfmx command but 
didn't actually have it installed -- only dvipdfm from fink. So I 
installed dvipdfmx and it uninstalled other things which caused some of 
the viewers to stop working.


So I uninstalled dvipdfmx and took the 'x' off of the command line leaving 
dvipdfm to do the work, and viola! -- all three pdf viewers and exports 
now work. thanks!


Also, it seems that I have to have X11 running to use the DVI. So do I need 
to start X11 before running the DVI viewer? And which? And should I remove 
the other X11?


I wouldn't worry about it. The X11's can coexist, as far as I know. But 
you're right, there is a bug in open-x11 which doesn't let it automatically 
start X11.app, as I had intended (it works if you provide an argument to 
open-x11). Another thing I never noticed, because I have X11 running all the 
time, anyway...


So the better way to do this is: replace open-x11 by open -a X11 in 
the line I sent you earlier, i.e., open -a X11  export DISPLAY=:0.0  
/sw/bin/xdvik


Yes, adding the -a works for opening X11 automatically. So the DVI viewer 
is all smooth and nice now too! :-)


And oops -- to bring this up to the functionality I depend on in linux on 
the Mac, I mostly need to be able to export to html as well as pdf.


For that, I would suggest doing a fink install tex4ht (I don't think you 
can get tth from fink, but tex4ht is extremely good in my opinion; there's 
also hevea). You may have to run Reconfigure in LyX after the installation.


I guess I assumed that I got a new html export when I upgraded to 1.4.3 in 
slackware. But I've been using TTH for years now which I installed a couple 
years back. So I guess that wasn't part of the upgrade then. But it sure 
does work seamlessly in LyX 1.4.3 on linux if it's from that old install. 
The exported files retain the important parts of the lyx formatting I need 
and require little or no modification thereafter.


I had trouble with tex4ht -- I guess because it's converting from DVI and 
I couldn't figure out the command line. I may re-investigate this later.


So I went to TTH's website and downloaded the latest source. 
http://hutchinson.belmont.ma.us/tth


Then I installed all the Xcode stuff from OSX, and the OSX gcc.

Then tth compilied quite simply. I moved the executable to /usr/local/bin. 
And then I replicated the command line my linux setup has for the html 
export in preferences - converters - LaTeX (plain) - HTML:


tth -t -e2 -L$$b $$i $$o

And it works beautifully as it does in linux. :-)


As for importing from Word, I'm not sure I'll need this but I'm using a 
package I got some years ago -- wv. Command line in MS Word - LaTeX 
exports is wvCleanLatex $$i $$o The package is wv. Though the one I have 
is old and I suspect there are better options.



And here one more stupid question from a long-time LyX user: what's a 
wiki? :-O I've seen it and probably should know what it is. Is it an 
acronym?


See
http://en.wikipedia.org/wiki/Wiki


Boy was THAT ever a complete definition! Thanks for bringing me out of the 
dark on this one too!


And thanks much for all the other help!
jamie faunt


Re: How do I suppress date from body of document class letter?

2007-01-13 Thread Paul A. Rubin

Joe(theWordy)Philbrook wrote:

How do I suppress date from body of document class letter?

What happens if you put \date{} in the preamble?  Works for other classes.


In the preamble it works... Oddly it doesn't as an ERT inserted on page
one of this document class: 'letter' 



LaTeX fills in the date on the title page before it parses any text on 
the title page (other than maybe the title itself), so putting it in ERT 
on the first page is slamming the barn door after the cow has bolted.


/Paul



Error viewing dvi on windows

2007-01-13 Thread Andrew Diederich
Hello lyx-users,

Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
had python 2.4 installed when I installed LyX, and yesterday installed
python 2.5. Now when I try and view, say, a dvi, I get this error:

LyX: Cannot convert file

An error occurred whilst running python -tt C:/Program 
Files/LyX14/Resources/scrip

That's the whole error -- it is cut off.  One change I made is python
2.4 was not in the path, but then I did put 2.5 in the path.  I'm
guessing the two python 2.5 installs are fighting with LyX.  What's
the best way to resolve this?

-- 
Best regards,
 Andrew Diederich



Re: Error viewing dvi on windows

2007-01-13 Thread Paul A. Rubin

Andrew Diederich wrote:

Hello lyx-users,

Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
had python 2.4 installed when I installed LyX, and yesterday installed
python 2.5. Now when I try and view, say, a dvi, I get this error:

LyX: Cannot convert file

An error occurred whilst running python -tt C:/Program 
Files/LyX14/Resources/scrip

That's the whole error -- it is cut off.


I don't know why, but error messages regarding the Python scripts always 
get truncated.  That in itself is nothing to worry about.



One change I made is python
2.4 was not in the path, but then I did put 2.5 in the path.  I'm
guessing the two python 2.5 installs are fighting with LyX.  What's
the best way to resolve this?


LyX should have installed a partial version of Python 2.5 in LyX 
root\python.  As a temporary fix, try adding that directory to 
Tools-Preferences...-Paths-PATH prefix (assuming you didn't remove it).


You might also want to (a) verify that the new Python install works by 
running it against some test scripts (assuming you have or can lay hands 
on any) and (b) compare directory listings of the LyX\python folder 
(and subfolders) to the corresponding folders of the full Python 
installation, to make sure that the full installation has everything LyX 
 provides.  If you have not already done so, try running python -V from 
a command line (note that the V is case-sensitive) to see if the full 
install works at least minimally.


/Paul



Re: Error viewing dvi on windows

2007-01-13 Thread Uwe Stöhr

Andrew Diederich schrieb:

Hello lyx-users,

Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
had python 2.4 installed when I installed LyX, and yesterday installed
python 2.5. Now when I try and view, say, a dvi, I get this error:

LyX: Cannot convert file

An error occurred whilst running python -tt C:/Program 
Files/LyX14/Resources/scrip


The new path of python must be changed in LyX's preferences:

- Open LyX
- open the preferences
- go to section Paths
- there change the path from python 2.4 to 2.5 in the PATH-prefix setting
- save and restart LyX (perhaps also reconfigure LyX)

If this doesn't help I recommaned to reinstall LyX - that would then be the 
quickest solution.

regards Uwe


Re: Error viewing dvi on windows

2007-01-13 Thread Andrew Diederich

I'm not sure which bit I did that truly fixed it.  I did a LyX
reconfigure, and that didn't do it, but then logged out and back in,
and  now I can work with LyX again, even though my own python 2.5 is
in the path.

Thanks for all the suggestions.

On 1/13/07, Uwe Stöhr [EMAIL PROTECTED] wrote:

Andrew Diederich schrieb:
 Hello lyx-users,

 Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
 had python 2.4 installed when I installed LyX, and yesterday installed
 python 2.5. Now when I try and view, say, a dvi, I get this error:

 LyX: Cannot convert file

 An error occurred whilst running python -tt C:/Program 
Files/LyX14/Resources/scrip

The new path of python must be changed in LyX's preferences:

- Open LyX
- open the preferences
- go to section Paths
- there change the path from python 2.4 to 2.5 in the PATH-prefix setting
- save and restart LyX (perhaps also reconfigure LyX)

If this doesn't help I recommaned to reinstall LyX - that would then be the 
quickest solution.

regards Uwe



Re: How do I suppress date from body of document class letter?

2007-01-13 Thread Joe(theWordy)Philbrook
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 13, Paul A. Rubin did say:
 Joe(theWordy)Philbrook wrote:
How do I suppress date from body of document class letter?
   What happens if you put \date{} in the preamble?  Works for other
   classes.
  
  In the preamble it works... Oddly it doesn't as an ERT inserted on page
  one of this document class: 'letter' 
 
 LaTeX fills in the date on the title page before it parses any text on the
 title page (other than maybe the title itself), so putting it in ERT on the
 first page is slamming the barn door after the cow has bolted.

Well that explains why I was able to find a way to make it work as an ert...

I just got home from work. I'd thought of the fact that the date was
embedded right after the from address. And while I had tried the ERT
version on page 1 I hadn't done so in the right part of the page body.
So I moved the \date{} ERT from the beginning of the body text (via C-x)
to the beginning of the from address (via C-v). And this time (C-t)
yielded a gv presentation of the letter that no longer included the date
below the from address. So I guess that if I get the ERT in there early
enough on the first page I can slam that barn door on that poor old cows
nose, just before it gets out of the barn...  ;-)#


   #
   ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_##
   ##message_as_an_mime_encoded_attachment,just_ask_me_while__##
   ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##
   #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFqcrvRZ/61mwhY94RArDOAKDJCAFVqixumH7Gw7fMElX/Y5cmmACfdKsO
bfbV6+NjLAzPzlb2YEXoyOI=
=rRnO
-END PGP SIGNATURE-
-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ [EMAIL PROTECTED]



Re: How do I suppress date from body of document class letter?

2007-01-13 Thread Joe(theWordy)Philbrook
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 12, Bob Lounsbury did say:

 I don't know about the date issue, but to eliminate the header line see
 Section 3.6 of the Extended Features help manual. This is available under
 the Help menu of LyX.

Someone else provided for the date issue using /date{} in the preamble.
And I did see a way to turn of BOTH headers and footers there, But I
didn't see any way to keep the required footer, while selectively dumping
the header for only the one page.  However Thank you for getting me to
look at: 3.6 of the Extended Features help manual once again. I had
completely missed the solution to the header under bar problem I
also mentioned... Seams underbar depends on: 
\renewcommand{\headrulewidth}{Xpt} 
where X is thickness

   #
   ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_##
   ##message_as_an_mime_encoded_attachment,just_ask_me_while__##
   ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##
   #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFqJQORZ/61mwhY94RAtKvAJ9KTydeNwlL06MFhV2EnNbU/LDJjQCcDwLA
tlZcuRPofOb54utGjtz33wU=
=p0GZ
-END PGP SIGNATURE-
-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ [EMAIL PROTECTED]



Re: texlive as support for lyx

2007-01-13 Thread Sven Hoexter
On Sat, Jan 13, 2007 at 09:38:41AM +0100, abdelkader belahcene wrote:
 Hi,
 since the new available latex on linux, will be texlive instead of
 tetex, I think it 's  time  to support the texlive instead of tetex.
 [ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??
AFAIK LyX works fine with texlive. At least the users of the Debian
package requested that we offer the choice between tetex and texlive and
since that's done I've got no complains. So I assume tetex and texlive are
interchangeable without causing trouble for LyX users.

Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


Re: Spacing changes in the Memoir class (Solved for now)

2007-01-13 Thread Jürgen Spitzmüller
Eran Kaplinsky wrote:
 Peter Wilson, the author of Memoir, e-mailed me with the solution.
 Props, and thanks for your time, Peter!

I knew those solutions. The problem is: they cannot be implemented in LyX 
without ugly hacks in the sources :-(

Jürgen


Can't make a new document.

2007-01-13 Thread Daniel Janzon

In Ubuntu Linux, Lyx version 1.4.2 (latest version in Ubuntu package
system), the following procedure results in an error:

1. Create a new document
2. Insert - Float - Table
3. Insert - Table
4. View - PDF (pdflatex)

The error message is

Argument of [EMAIL PROTECTED] has an extra }.
Paragraph ended before [EMAIL PROTECTED] was complete.

On a much older version of Lyx (1.2.1 I believe) running on Sun
Solaris, it works fine. Am I doing something wrong?

   / Daniel


Re: Can't make a new document.

2007-01-13 Thread Uwe Stöhr

Daniel Janzon schrieb:


The error message is

Argument of [EMAIL PROTECTED] has an extra }.
Paragraph ended before [EMAIL PROTECTED] was complete.


You have inserted the table into the caption environment.

The correct procedure is:

- Insert- Float
- type the caption
- press enter to create a new paragraph in the standard environment
- insert/create the table

regards Uwe


Re: Can't make a new document.

2007-01-13 Thread Uwe Stöhr

Daniel Janzon schrieb:


But then the caption appears above the table in the PDF.


This is correct, captions are usually above tables and below figures.
If you want to have the caption below the table anyway, then set the cursor at the beginning of the 
caption and press enter. Then insert the table above the caption.


regards Uwe


Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], 
Georg Baum [EMAIL PROTECTED] wrote.


[...]

LyX 1.5.0 will have a View-Source menu entry, I believe that this is a
good solution to examine LaTeX problems.

[...]

Already implemented in the latest Alpha release for Windows. It shows 
the LaTeX source, of course. A killer feature, for which many thanks.


Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
[EMAIL PROTECTED]



Re: Help with mis-converted accents

2007-01-13 Thread Andre Poenitz
On Wed, Jan 10, 2007 at 11:52:51AM +, José Matos wrote:
 On Thursday 21 December 2006 8:39 pm, Andre Poenitz wrote:
 
  Just for the record: Can you run both of them through 'time'?
 
   I could but most of the time that is not a problem. Notice also that recent 
 versions of python are becoming faster. :-)

When installed on newer machines. I konw _that_ trick...

Andre'


Screen fonts for CJK-LyX with Big5 encoding

2007-01-13 Thread Johan W . Klüwer
Greetings,

I have just installed the latest CJK-LyX
(CJK-LyX-qt-1.4.2-1.i386.rpm), using the TeX Live distribution.  This
works really well with GB encoding (simplified Chinese characters),
both for screen preview and in the DVI/PDF output. However, with Big5
encoding, as required for traditional characters, screen display is
not working at all.

On the web page http://cellular.phys.pusan.ac.kr/cjk-use.html, there
are some instructions for initializing CJK-LyX for Big5, but they
don't work; the following is reported to the console.

  LyX: Unknown tag `\screen_font_i18n1_encoding' [around line 102 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `big5-0' [around line 102 of file ~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n2_encoding' [around line 103 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `big5-0' [around line 103 of file ~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n1_normal' [around line 104 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n1_gothic' [around line 105 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n2_normal' [around line 106 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n2_gothic' [around line 107 of file 
~/.lyx/lyxrc.defaults]

Perhaps the switches \screen_font_i18n1_encoding, etc., have gone out
of use. I have Googled hard, but found no solution.

Does anyone here know how to get CJK-LyX working with Big5?


Best,

Johan.


Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread faunt


The following documents (the rest of the data from this thread) how I got 
the PDF and DVI viewers and PDF and HTML exports all working on Mac OSX 
10.4.8 (just as I have them in my Slackware Linux setup) -- with much 
thanks to Jens Noeckel's help. 
--


On Wed, 10 Jan 2007, Jens Noeckel wrote:

On Jan 10, 2007, at 11:00 AM, [EMAIL PROTECTED] wrote:

On Sun, 7 Jan 2007, Jens Noeckel wrote:


2 of the 3 pdf conversions work. On viewing or exporting with dvipdfm, I 
get the following error:


... error running dvipdfmx -p letter -o 'newfile1.pdf' 'newfile1.dvi'

dvipdfmx exists. So is the command line wrong?


I've always had simply dvipdfm as the driver (had not installed dvipdfmx at 
all because I didn't need it). Now I tried that using fink and got the same 
error as you.


The error was, as you suggested, that I was using the dvipdfmx command but 
didn't actually have it installed -- only dvipdfm from fink. So I 
installed dvipdfmx and it uninstalled other things which caused some of 
the viewers to stop working.


So I uninstalled dvipdfmx and took the 'x' off of the command line leaving 
dvipdfm to do the work, and viola! -- all three pdf viewers and exports 
now work. thanks!


Also, it seems that I have to have X11 running to use the DVI. So do I need 
to start X11 before running the DVI viewer? And which? And should I remove 
the other X11?


I wouldn't worry about it. The X11's can coexist, as far as I know. But 
you're right, there is a bug in open-x11 which doesn't let it automatically 
start X11.app, as I had intended (it works if you provide an argument to 
open-x11). Another thing I never noticed, because I have X11 running all the 
time, anyway...


So the better way to do this is: replace open-x11 by open -a X11 in 
the line I sent you earlier, i.e., open -a X11  export DISPLAY=:0.0  
/sw/bin/xdvik


Yes, adding the -a works for opening X11 automatically. So the DVI viewer 
is all smooth and nice now too! :-)


And oops -- to bring this up to the functionality I depend on in linux on 
the Mac, I mostly need to be able to export to html as well as pdf.


For that, I would suggest doing a fink install tex4ht (I don't think you 
can get tth from fink, but tex4ht is extremely good in my opinion; there's 
also hevea). You may have to run Reconfigure in LyX after the installation.


I guess I assumed that I got a new html export when I upgraded to 1.4.3 in 
slackware. But I've been using TTH for years now which I installed a couple 
years back. So I guess that wasn't part of the upgrade then. But it sure 
does work seamlessly in LyX 1.4.3 on linux if it's from that old install. 
The exported files retain the important parts of the lyx formatting I need 
and require little or no modification thereafter.


I had trouble with tex4ht -- I guess because it's converting from DVI and 
I couldn't figure out the command line. I may re-investigate this later.


So I went to TTH's website and downloaded the latest source. 
http://hutchinson.belmont.ma.us/tth


Then I installed all the Xcode stuff from OSX, and the OSX gcc.

Then tth compilied quite simply. I moved the executable to /usr/local/bin. 
And then I replicated the command line my linux setup has for the html 
export in preferences - converters - LaTeX (plain) - HTML:


tth -t -e2 -L$$b $$i $$o

And it works beautifully as it does in linux. :-)


As for importing from Word, I'm not sure I'll need this but I'm using a 
package I got some years ago -- wv. Command line in MS Word - LaTeX 
exports is wvCleanLatex $$i $$o The package is wv. Though the one I have 
is old and I suspect there are better options.



And here one more stupid question from a long-time LyX user: what's a 
wiki? :-O I've seen it and probably should know what it is. Is it an 
acronym?


See
http://en.wikipedia.org/wiki/Wiki


Boy was THAT ever a complete definition! Thanks for bringing me out of the 
dark on this one too!


And thanks much for all the other help!
jamie faunt


Re: How do I suppress date from body of document class letter?

2007-01-13 Thread Paul A. Rubin

Joe(theWordy)Philbrook wrote:

How do I suppress date from body of document class letter?

What happens if you put \date{} in the preamble?  Works for other classes.


In the preamble it works... Oddly it doesn't as an ERT inserted on page
one of this document class: 'letter' 



LaTeX fills in the date on the title page before it parses any text on 
the title page (other than maybe the title itself), so putting it in ERT 
on the first page is slamming the barn door after the cow has bolted.


/Paul



Error viewing dvi on windows

2007-01-13 Thread Andrew Diederich
Hello lyx-users,

Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
had python 2.4 installed when I installed LyX, and yesterday installed
python 2.5. Now when I try and view, say, a dvi, I get this error:

LyX: Cannot convert file

An error occurred whilst running python -tt C:/Program 
Files/LyX14/Resources/scrip

That's the whole error -- it is cut off.  One change I made is python
2.4 was not in the path, but then I did put 2.5 in the path.  I'm
guessing the two python 2.5 installs are fighting with LyX.  What's
the best way to resolve this?

-- 
Best regards,
 Andrew Diederich



Re: Error viewing dvi on windows

2007-01-13 Thread Paul A. Rubin

Andrew Diederich wrote:

Hello lyx-users,

Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
had python 2.4 installed when I installed LyX, and yesterday installed
python 2.5. Now when I try and view, say, a dvi, I get this error:

LyX: Cannot convert file

An error occurred whilst running python -tt C:/Program 
Files/LyX14/Resources/scrip

That's the whole error -- it is cut off.


I don't know why, but error messages regarding the Python scripts always 
get truncated.  That in itself is nothing to worry about.



One change I made is python
2.4 was not in the path, but then I did put 2.5 in the path.  I'm
guessing the two python 2.5 installs are fighting with LyX.  What's
the best way to resolve this?


LyX should have installed a partial version of Python 2.5 in LyX 
root\python.  As a temporary fix, try adding that directory to 
Tools-Preferences...-Paths-PATH prefix (assuming you didn't remove it).


You might also want to (a) verify that the new Python install works by 
running it against some test scripts (assuming you have or can lay hands 
on any) and (b) compare directory listings of the LyX\python folder 
(and subfolders) to the corresponding folders of the full Python 
installation, to make sure that the full installation has everything LyX 
 provides.  If you have not already done so, try running python -V from 
a command line (note that the V is case-sensitive) to see if the full 
install works at least minimally.


/Paul



Re: Error viewing dvi on windows

2007-01-13 Thread Uwe Stöhr

Andrew Diederich schrieb:

Hello lyx-users,

Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
had python 2.4 installed when I installed LyX, and yesterday installed
python 2.5. Now when I try and view, say, a dvi, I get this error:

LyX: Cannot convert file

An error occurred whilst running python -tt C:/Program 
Files/LyX14/Resources/scrip


The new path of python must be changed in LyX's preferences:

- Open LyX
- open the preferences
- go to section Paths
- there change the path from python 2.4 to 2.5 in the PATH-prefix setting
- save and restart LyX (perhaps also reconfigure LyX)

If this doesn't help I recommaned to reinstall LyX - that would then be the 
quickest solution.

regards Uwe


Re: Error viewing dvi on windows

2007-01-13 Thread Andrew Diederich

I'm not sure which bit I did that truly fixed it.  I did a LyX
reconfigure, and that didn't do it, but then logged out and back in,
and  now I can work with LyX again, even though my own python 2.5 is
in the path.

Thanks for all the suggestions.

On 1/13/07, Uwe Stöhr [EMAIL PROTECTED] wrote:

Andrew Diederich schrieb:
 Hello lyx-users,

 Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
 had python 2.4 installed when I installed LyX, and yesterday installed
 python 2.5. Now when I try and view, say, a dvi, I get this error:

 LyX: Cannot convert file

 An error occurred whilst running python -tt C:/Program 
Files/LyX14/Resources/scrip

The new path of python must be changed in LyX's preferences:

- Open LyX
- open the preferences
- go to section Paths
- there change the path from python 2.4 to 2.5 in the PATH-prefix setting
- save and restart LyX (perhaps also reconfigure LyX)

If this doesn't help I recommaned to reinstall LyX - that would then be the 
quickest solution.

regards Uwe



Re: How do I suppress date from body of document class letter?

2007-01-13 Thread Joe(theWordy)Philbrook
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 13, Paul A. Rubin did say:
 Joe(theWordy)Philbrook wrote:
How do I suppress date from body of document class letter?
   What happens if you put \date{} in the preamble?  Works for other
   classes.
  
  In the preamble it works... Oddly it doesn't as an ERT inserted on page
  one of this document class: 'letter' 
 
 LaTeX fills in the date on the title page before it parses any text on the
 title page (other than maybe the title itself), so putting it in ERT on the
 first page is slamming the barn door after the cow has bolted.

Well that explains why I was able to find a way to make it work as an ert...

I just got home from work. I'd thought of the fact that the date was
embedded right after the from address. And while I had tried the ERT
version on page 1 I hadn't done so in the right part of the page body.
So I moved the \date{} ERT from the beginning of the body text (via C-x)
to the beginning of the from address (via C-v). And this time (C-t)
yielded a gv presentation of the letter that no longer included the date
below the from address. So I guess that if I get the ERT in there early
enough on the first page I can slam that barn door on that poor old cows
nose, just before it gets out of the barn...  ;-)#


   #
   ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_##
   ##message_as_an_mime_encoded_attachment,just_ask_me_while__##
   ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##
   #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFqcrvRZ/61mwhY94RArDOAKDJCAFVqixumH7Gw7fMElX/Y5cmmACfdKsO
bfbV6+NjLAzPzlb2YEXoyOI=
=rRnO
-END PGP SIGNATURE-
-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ [EMAIL PROTECTED]



Re: How do I suppress date from body of document class letter?

2007-01-13 Thread Joe(theWordy)Philbrook
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 12, Bob Lounsbury did say:

> I don't know about the date issue, but to eliminate the header line see
> Section 3.6 of the Extended Features help manual. This is available under
> the Help menu of LyX.

Someone else provided for the date issue using /date{} in the preamble.
And I did see a way to turn of BOTH headers and footers there, But I
didn't see any way to keep the required footer, while selectively dumping
the header for only the one page.  However Thank you for getting me to
look at: "3.6 of the Extended Features help manual" once again. I had
completely missed the solution to the header under bar problem I
also mentioned... Seams underbar depends on: 
\renewcommand{\headrulewidth}{Xpt} 
where X is thickness

   #
   ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_##
   ##message_as_an_mime_encoded_attachment,just_ask_me_while__##
   ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##
   #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFqJQORZ/61mwhY94RAtKvAJ9KTydeNwlL06MFhV2EnNbU/LDJjQCcDwLA
tlZcuRPofOb54utGjtz33wU=
=p0GZ
-END PGP SIGNATURE-
-- 
|   ---   ___
|   <0>   <->  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ <<[EMAIL PROTECTED]>>



Re: texlive as support for lyx

2007-01-13 Thread Sven Hoexter
On Sat, Jan 13, 2007 at 09:38:41AM +0100, abdelkader belahcene wrote:
> Hi,
> since the new available latex on linux, will be texlive instead of
> tetex, I think it 's  time  to support the texlive instead of tetex.
> [ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??
AFAIK LyX works fine with texlive. At least the users of the Debian
package requested that we offer the choice between tetex and texlive and
since that's done I've got no complains. So I assume tetex and texlive are
interchangeable without causing trouble for LyX users.

Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


Re: Spacing changes in the Memoir class (Solved for now)

2007-01-13 Thread Jürgen Spitzmüller
Eran Kaplinsky wrote:
> Peter Wilson, the author of Memoir, e-mailed me with the solution.
> Props, and thanks for your time, Peter!

I knew those solutions. The problem is: they cannot be implemented in LyX 
without ugly hacks in the sources :-(

Jürgen


Can't make a new document.

2007-01-13 Thread Daniel Janzon

In Ubuntu Linux, Lyx version 1.4.2 (latest version in Ubuntu package
system), the following procedure results in an error:

1. Create a new document
2. Insert -> Float -> Table
3. Insert -> Table
4. View -> PDF (pdflatex)

The error message is

Argument of [EMAIL PROTECTED] has an extra }.
Paragraph ended before [EMAIL PROTECTED] was complete.

On a much older version of Lyx (1.2.1 I believe) running on Sun
Solaris, it works fine. Am I doing something wrong?

   / Daniel


Re: Can't make a new document.

2007-01-13 Thread Uwe Stöhr

Daniel Janzon schrieb:


The error message is

Argument of [EMAIL PROTECTED] has an extra }.
Paragraph ended before [EMAIL PROTECTED] was complete.


You have inserted the table into the caption environment.

The correct procedure is:

- Insert-> Float
- type the caption
- press enter to create a new paragraph in the standard environment
- insert/create the table

regards Uwe


Re: Can't make a new document.

2007-01-13 Thread Uwe Stöhr

Daniel Janzon schrieb:


But then the caption appears above the table in the PDF.


This is correct, captions are usually above tables and below figures.
If you want to have the caption below the table anyway, then set the cursor at the beginning of the 
caption and press enter. Then insert the table above the caption.


regards Uwe


Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread Nick Hopton
In a recent message <[EMAIL PROTECTED]>, 
Georg Baum <[EMAIL PROTECTED]> wrote.


[...]

LyX 1.5.0 will have a View->Source menu entry, I believe that this is a
good solution to examine LaTeX problems.

[...]

Already implemented in the latest Alpha release for Windows. It shows 
the LaTeX source, of course. A killer feature, for which many thanks.


Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
<[EMAIL PROTECTED]>



Re: Help with mis-converted accents

2007-01-13 Thread Andre Poenitz
On Wed, Jan 10, 2007 at 11:52:51AM +, José Matos wrote:
> On Thursday 21 December 2006 8:39 pm, Andre Poenitz wrote:
> >
> > Just for the record: Can you run both of them through 'time'?
> 
>   I could but most of the time that is not a problem. Notice also that recent 
> versions of python are becoming faster. :-)

When installed on newer machines. I konw _that_ trick...

Andre'


Screen fonts for CJK-LyX with Big5 encoding

2007-01-13 Thread Johan W . Klüwer
Greetings,

I have just installed the latest CJK-LyX
(CJK-LyX-qt-1.4.2-1.i386.rpm), using the TeX Live distribution.  This
works really well with GB encoding (simplified Chinese characters),
both for screen preview and in the DVI/PDF output. However, with Big5
encoding, as required for traditional characters, screen display is
not working at all.

On the web page http://cellular.phys.pusan.ac.kr/cjk-use.html, there
are some instructions for initializing CJK-LyX for Big5, but they
don't work; the following is reported to the console.

  LyX: Unknown tag `\screen_font_i18n1_encoding' [around line 102 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `big5-0' [around line 102 of file ~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n2_encoding' [around line 103 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `big5-0' [around line 103 of file ~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n1_normal' [around line 104 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n1_gothic' [around line 105 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n2_normal' [around line 106 of file 
~/.lyx/lyxrc.defaults]
  LyX: Unknown tag `\screen_font_i18n2_gothic' [around line 107 of file 
~/.lyx/lyxrc.defaults]

Perhaps the switches \screen_font_i18n1_encoding, etc., have gone out
of use. I have Googled hard, but found no solution.

Does anyone here know how to get CJK-LyX working with Big5?


Best,

Johan.


Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread faunt


The following documents (the rest of the data from this thread) how I got 
the PDF and DVI viewers and PDF and HTML exports all working on Mac OSX 
10.4.8 (just as I have them in my Slackware Linux setup) -- with much 
thanks to Jens Noeckel's help. 
--


On Wed, 10 Jan 2007, Jens Noeckel wrote:

On Jan 10, 2007, at 11:00 AM, [EMAIL PROTECTED] wrote:

On Sun, 7 Jan 2007, Jens Noeckel wrote:


2 of the 3 pdf conversions work. On viewing or exporting with dvipdfm, I 
get the following error:


... error running dvipdfmx -p letter -o 'newfile1.pdf' 'newfile1.dvi'

dvipdfmx exists. So is the command line wrong?


I've always had simply dvipdfm as the driver (had not installed dvipdfmx at 
all because I didn't need it). Now I tried that using fink and got the same 
error as you.


The error was, as you suggested, that I was using the dvipdfmx command but 
didn't actually have it installed -- only dvipdfm from fink. So I 
installed dvipdfmx and it uninstalled other things which caused some of 
the viewers to stop working.


So I uninstalled dvipdfmx and took the 'x' off of the command line leaving 
dvipdfm to do the work, and viola! -- all three pdf viewers and exports 
now work. thanks!


Also, it seems that I have to have X11 running to use the DVI. So do I need 
to start X11 before running the DVI viewer? And which? And should I remove 
the other X11?


I wouldn't worry about it. The X11's can coexist, as far as I know. But 
you're right, there is a "bug" in open-x11 which doesn't let it automatically 
start X11.app, as I had intended (it works if you provide an argument to 
open-x11). Another thing I never noticed, because I have X11 running all the 
time, anyway...


So the better way to do this is: replace "open-x11" by "open -a X11" in 
the line I sent you earlier, i.e., open -a X11 && export DISPLAY=:0.0 && 
/sw/bin/xdvik


Yes, adding the -a works for opening X11 automatically. So the DVI viewer 
is all smooth and nice now too! :-)


And oops -- to bring this up to the functionality I depend on in linux on 
the Mac, I mostly need to be able to export to html as well as pdf.


For that, I would suggest doing a "fink install tex4ht" (I don't think you 
can get tth from fink, but tex4ht is extremely good in my opinion; there's 
also "hevea"). You may have to run Reconfigure in LyX after the installation.


I guess I assumed that I got a new html export when I upgraded to 1.4.3 in 
slackware. But I've been using TTH for years now which I installed a couple 
years back. So I guess that wasn't part of the upgrade then. But it sure 
does work seamlessly in LyX 1.4.3 on linux if it's from that old install. 
The exported files retain the important parts of the lyx formatting I need 
and require little or no modification thereafter.


I had trouble with tex4ht -- I guess because it's converting from DVI and 
I couldn't figure out the command line. I may re-investigate this later.


So I went to TTH's website and downloaded the latest source. 
http://hutchinson.belmont.ma.us/tth


Then I installed all the Xcode stuff from OSX, and the OSX gcc.

Then tth compilied quite simply. I moved the executable to /usr/local/bin. 
And then I replicated the command line my linux setup has for the html 
export in preferences - converters - LaTeX (plain) -> HTML:


tth -t -e2 -L$$b <$$i >$$o

And it works beautifully as it does in linux. :-)


As for importing from Word, I'm not sure I'll need this but I'm using a 
package I got some years ago -- wv. Command line in MS Word -> LaTeX 
exports is wvCleanLatex $$i $$o The package is wv. Though the one I have 
is old and I suspect there are better options.



And here one more stupid question from a long-time LyX user: what's a 
"wiki"? <:-O I've seen it and probably should know what it is. Is it an 
acronym?


See
http://en.wikipedia.org/wiki/Wiki


Boy was THAT ever a complete definition! Thanks for bringing me out of the 
dark on this one too!


And thanks much for all the other help!
jamie faunt


Re: How do I suppress date from body of document class letter?

2007-01-13 Thread Paul A. Rubin

Joe(theWordy)Philbrook wrote:

How do I suppress date from body of document class letter?

What happens if you put \date{} in the preamble?  Works for other classes.


In the preamble it works... Oddly it doesn't as an ERT inserted on page
one of this "document class: 'letter'" 



LaTeX fills in the date on the "title" page before it parses any text on 
the title page (other than maybe the title itself), so putting it in ERT 
on the first page is slamming the barn door after the cow has bolted.


/Paul



Error viewing dvi on windows

2007-01-13 Thread Andrew Diederich
Hello lyx-users,

Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
had python 2.4 installed when I installed LyX, and yesterday installed
python 2.5. Now when I try and view, say, a dvi, I get this error:

LyX: Cannot convert file

An error occurred whilst running python -tt "C:/Program 
Files/LyX14/Resources/scrip

That's the whole error -- it is cut off.  One change I made is python
2.4 was not in the path, but then I did put 2.5 in the path.  I'm
guessing the two python 2.5 installs are fighting with LyX.  What's
the best way to resolve this?

-- 
Best regards,
 Andrew Diederich



Re: Error viewing dvi on windows

2007-01-13 Thread Paul A. Rubin

Andrew Diederich wrote:

Hello lyx-users,

Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
had python 2.4 installed when I installed LyX, and yesterday installed
python 2.5. Now when I try and view, say, a dvi, I get this error:

LyX: Cannot convert file

An error occurred whilst running python -tt "C:/Program 
Files/LyX14/Resources/scrip

That's the whole error -- it is cut off.


I don't know why, but error messages regarding the Python scripts always 
get truncated.  That in itself is nothing to worry about.



One change I made is python
2.4 was not in the path, but then I did put 2.5 in the path.  I'm
guessing the two python 2.5 installs are fighting with LyX.  What's
the best way to resolve this?


LyX should have installed a partial version of Python 2.5 in root>\python.  As a temporary fix, try adding that directory to 
Tools->Preferences...->Paths->PATH prefix (assuming you didn't remove it).


You might also want to (a) verify that the new Python install works by 
running it against some test scripts (assuming you have or can lay hands 
on any) and (b) compare directory listings of the \python folder 
(and subfolders) to the corresponding folders of the full Python 
installation, to make sure that the full installation has everything LyX 
 provides.  If you have not already done so, try running python -V from 
a command line (note that the V is case-sensitive) to see if the full 
install works at least minimally.


/Paul



Re: Error viewing dvi on windows

2007-01-13 Thread Uwe Stöhr

Andrew Diederich schrieb:

Hello lyx-users,

Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
had python 2.4 installed when I installed LyX, and yesterday installed
python 2.5. Now when I try and view, say, a dvi, I get this error:

LyX: Cannot convert file

An error occurred whilst running python -tt "C:/Program 
Files/LyX14/Resources/scrip


The new path of python must be changed in LyX's preferences:

- Open LyX
- open the preferences
- go to section Paths
- there change the path from python 2.4 to 2.5 in the PATH-prefix setting
- save and restart LyX (perhaps also reconfigure LyX)

If this doesn't help I recommaned to reinstall LyX - that would then be the 
quickest solution.

regards Uwe


Re: Error viewing dvi on windows

2007-01-13 Thread Andrew Diederich

I'm not sure which bit I did that truly fixed it.  I did a LyX
reconfigure, and that didn't do it, but then logged out and back in,
and  now I can work with LyX again, even though my own python 2.5 is
in the path.

Thanks for all the suggestions.

On 1/13/07, Uwe Stöhr <[EMAIL PROTECTED]> wrote:

Andrew Diederich schrieb:
> Hello lyx-users,
>
> Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
> had python 2.4 installed when I installed LyX, and yesterday installed
> python 2.5. Now when I try and view, say, a dvi, I get this error:
>
> LyX: Cannot convert file
>
> An error occurred whilst running python -tt "C:/Program 
Files/LyX14/Resources/scrip

The new path of python must be changed in LyX's preferences:

- Open LyX
- open the preferences
- go to section Paths
- there change the path from python 2.4 to 2.5 in the PATH-prefix setting
- save and restart LyX (perhaps also reconfigure LyX)

If this doesn't help I recommaned to reinstall LyX - that would then be the 
quickest solution.

regards Uwe



Re: How do I suppress date from body of document class letter?

2007-01-13 Thread Joe(theWordy)Philbrook
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 13, Paul A. Rubin did say:
> Joe(theWordy)Philbrook wrote:
> > > > How do I suppress date from body of document class letter?
> > > What happens if you put \date{} in the preamble?  Works for other
> > > classes.
> > 
> > In the preamble it works... Oddly it doesn't as an ERT inserted on page
> > one of this "document class: 'letter'" 
> 
> LaTeX fills in the date on the "title" page before it parses any text on the
> title page (other than maybe the title itself), so putting it in ERT on the
> first page is slamming the barn door after the cow has bolted.

Well that explains why I was able to find a way to make it work as an ert...

I just got home from work. I'd thought of the fact that the date was
embedded right after the "from" address. And while I had tried the ERT
version on page 1 I hadn't done so in the right part of the page body.
So I moved the \date{} ERT from the beginning of the body text (via C-x)
to the beginning of the "from" address (via C-v). And this time (C-t)
yielded a gv presentation of the letter that no longer included the date
below the "from" address. So I guess that if I get the ERT in there early
enough on the first page I can slam that barn door on that poor old cows
nose, just before it gets out of the barn...  ;-)#


   #
   ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_##
   ##message_as_an_mime_encoded_attachment,just_ask_me_while__##
   ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##
   #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFqcrvRZ/61mwhY94RArDOAKDJCAFVqixumH7Gw7fMElX/Y5cmmACfdKsO
bfbV6+NjLAzPzlb2YEXoyOI=
=rRnO
-END PGP SIGNATURE-
-- 
|   ---   ___
|   <0>   <->  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ <<[EMAIL PROTECTED]>>