Re: Allowing multiple empty lines and spaces in the Lyx editor...

2007-01-10 Thread Jean-Marc Lasgouttes
 lamikr == lamikr  [EMAIL PROTECTED] writes:

lamikr Thanks, I did not know these hard spaces and hard lines
lamikr before. But actually I think I was searching something
lamikr opposite, like soft lines which would be visible in the
lamikr editor but not anymore in the final text. Buf this was just an
lamikr idea I got to my mind while writing text. If it is against the
lamikr fundamental ideas of Lyx, I can live without it. :-)

You may want to look at what you can do with Note insets. They do not
produce any output.

JMarc


Re: how to type in accented character in text mode?

2007-01-10 Thread Charles de Miramon
Paul A. Rubin wrote:

 Michael Chen wrote:
 hi, there, I believe there is a better way than using Tex code to type
 in accented character in text mode. Any idea?
 

If you are using Linux, you need to activate the 'compose key'. In KDE, go
to the Keyboardconfiguration module and then to the Xkb tab and there you
can assign the compose to one of the key of your keyboard. Restart Lyx and
then type compoe key  ~ n to get ñ

Cheers,
Charles

-- 
http://www.kde-france.org



Double space instead of single space

2007-01-10 Thread icebna

LyX-1.4.3 in Mandriva linux

Why some paragraphs have a space double of which it has been fixed ?
For example :

Bla, bla, bla, bla
Bla, bla, bla, bla

Bla, bla, bla, bla ( double space instead of single space )

Some idea

Thanks

Miguel


Re: two years with Lyx

2007-01-10 Thread José Matos
On Sunday 24 December 2006 8:28 pm, Marcelo Acuña wrote:
 hello,
  now I have two years working with Lyx.
  It work beautifull.
  Thanks to developers team!

  You are welcome. :-)

  Regards

  Marcelo

-- 
José Abílio


Re: Help with mis-converted accents

2007-01-10 Thread José Matos
On Wednesday 20 December 2006 10:58 am, Charles de Miramon wrote:

 Why don't you use the re.sub function ?

 Charles trying to learn a bit of Python

  That was a quick script I wrote to fix an immediate problem. If it was now I 
would use re.sub, no doubt. :-)

-- 
José Abílio


Re: Help with mis-converted accents

2007-01-10 Thread José Matos
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. :-)

 Andre'

-- 
José Abílio


Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-10 Thread Helge Hafting

Joe(theWordy)Philbrook wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 8, Helge Hafting did say:

  

Joe(theWordy)Philbrook wrote:


Question 1 of 3

Why is the header/footer suppressed on page 1? That is how can I get
headers and/or footers to output on the first page???
  


  

Because you changed the page style for normal pages,
and the first page isn't normal in this case.



Yeah that figures...

  

Usually, the first page is either a chapter page (if
your document style support chapters) or a title
page. Lyx does not suppot changing the chapter/title
page styles directly.  You may use ERT
to set \chapterpagestyle to fancy if you wish.
Note that some document styles don't use
chapterpagestyle or titlepagestyle, they have other ways.

Usually, \thispagestyle{fancy} will do the trick though.
Make sure you put this ERT somewhere on the page you want changed.



Thanks for the prompt reply and the informative suggestion. However I
get an error message when I try this. As it happens the document I used
to try to do this with says:
\textclass letter

But when I try to insert either chapterpagestyle or thispagestyle
by, for example, changing this:
snip
\layout Opening

Dear Jim,
\layout Standard

Well Hello Jim.
snip

To this:
snip
\layout Opening

Dear Jim,
\layout Standard

\thispagestyle{fancy}

Well Hello Jim.
snip

What I get on opening the doc with lyx is An error pop-up that says:

Textclass Loading Error!
  

Are you changing the .lyx file directly with some kind of
text editor?  You are not supposed to do that!

Open your working file with lyx.
Place the cursor somewhere on the first page.
Use the menu Insert-Tex Code. (Or click the toolbar button
with the word TeX in red.)
You should get a little box with red borders. Inside this
box, type
\thispagestyle{fancy}
Then move the cursor out of the box so you don't type anything
else there.

Now try view-DVI or view-pdf, see if you get the
page layout you want. I get a letter with a fancy first page.
I have attached an example file, but be warned that it
is made with a develpoment version of lyx.  That's all I have
right now.

Encountered unknown token
When reading [filename]

Since the only place in my document's control codes I see braces {}
I also tried:
snip
\thispagestyle fancy
snip
With the same results (sigh!)

Any other suggestions?
  

Never mess with the .lyx file unless you know what you do.
Latex commands either go in boxes of their own (insert-tex code)
or sometimes in the document preamble which you find in
the document settings dialog.

Helge Hafting


fancyletter.lyx
Description: application/lyx


Re: lyx 1.4.3 has trouble using local document class (cls) and layout: works in 1.3.7

2007-01-10 Thread Bob Lounsbury


On Jan 9, 2007, at 5:26 PM, C Sights wrote:


	Can anybody else test this on their distribution?  I want to check  
whether

this is a Debian problem or a Lyx problem.

Thanks!
C.


Same issue here on mac. Works fine under 1.3.7, but not 1.4.3.

Bob Lounsbury
[EMAIL PROTECTED]
--
Please, if possible, don't send me MS Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html
--
As an alternative to MS Word or Powerpoint.
LyX, OpenOffice




Re: lyx 1.4.3 has trouble using local document class (cls) and layout: works in 1.3.7

2007-01-10 Thread Georg Baum
C Sights wrote:

 Cannot read layout file `'.

This is the problem. The error message will be better in 1.4.4 ;-)

Remove the line

Input obsolete.inc

from the layout file. It was also wrong for 1.3, but 1.3 simply ignores
missing files while 1.4 is more restrictive.


Georg



Re: lyx 1.4.3 has trouble using local document class (cls) and layout: works in 1.3.7

2007-01-10 Thread C Sights
 Remove the line

 Input obsolete.inc

 from the layout file. It was also wrong for 1.3, but 1.3 simply ignores
 missing files while 1.4 is more restrictive.

Great!  That fixed it.  Thanks Bob and Georg!


Re: Double space instead of single space

2007-01-10 Thread Paul A. Rubin

icebna wrote:

LyX-1.4.3 in Mandriva linux

Why some paragraphs have a space double of which it has been fixed ?
For example :

Bla, bla, bla, bla
Bla, bla, bla, bla

Bla, bla, bla, bla ( double space instead of single space )

Some idea

Thanks

Miguel



Can you post a minimal example?

/Paul




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

2007-01-10 Thread faunt

On Sun, 7 Jan 2007, Jens Noeckel wrote:

Jens, Everything you told me mostly works. This is very helpful -- thank 
you!


So here's where that leaves me:

The viewers and exporting for dvi now work. :-)

Preview is working fine for PDF viewing. (seems fine unless there's 
something else I should use)


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'm a little confused about which X11 to use. I installed the OSX one as 
you recommended. But I still have the plain vanilla fink X11 installed. 
Should I remove that? I read somewhere that I needed the fink one (and NOT 
the apple one) for some things. Apple's seems to add a basic window 
manager and xterm -- which is nice. But I'm not sure if there is a 
disadvantage here.


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?


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. two of 
three types of pdf export are working now.


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.


The other thing along these lines I need is to be able to import from Word 
files. Getting all this going would handle all my import/export and 
viewing needs to be able to fully use LyX on the Mac.


As a Mac newbie I've not been able to find a clear answer to exactly what 
happens when you move to a .app to trash. Does it actually fully uninstall 
the application?


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?


thanks very much,
jamie faunt



problème avec lyx1.4.2

2007-01-10 Thread blondot bernard
J'  utilise Lyx depuis pas mal de temps et étant passé à une  la distribution  
mandriva 2007 , j' utilise maintenant lyx 1.4.2 . J' ai de gros problème avec 
le correcteur orthographique si j ' utilise aspell les caractères accentués 
n' étant pas pris en compte , par exemple il m' indique que le mot théorie  
n' est pas bon ( alors qu' il est correct  ) et me propose à la place par 
exemple thé ce qui est complètement absurde  . Je n' ai jamais vu cela dans 
les anciennes versions de Lyx . Je suis arrivé à règler le problème en 
installant  Ispell ( que j' ai eu du mal à retrouver )  et là tout marche 
correctement . J' ai pensé que cela provenait d' une mauvaise configuration 
du clavier mais après relecture des aides je n' ai pas trouvé de réponse à 
mon problème et de plus les textes ne semblent pas en accord avec la version 
actuelle de Lyx . 
Le sytème copier couper coller semble fonctionner assez mal en tout cas bien 
plus mal que dans les anciennes versions , est ce du à un bogue ou à defaut 
de configuration , il en est de même des fonctions annuler et refaire . Les 
aides proposées ne sont pas d' une grande utilité car ne correspondent pas à 
la version actuelle de lyx .
Dans le menu editer math ( quand on est en mode math )  à quoi sert l' option 
logiciel de calcul formel ? j'ai essayé avec maxima mais cela n' a rien donné 
et ce n' est pas le fichier d' aide qui peut me donner une réponse 


Re: Double space instead of single space

2007-01-10 Thread Paul A. Rubin

icebna wrote:

LyX-1.4.3 in Mandriva linux

Why some paragraphs have a space double of which it has been fixed ?
For example :

Bla, bla, bla, bla
Bla, bla, bla, bla

Bla, bla, bla, bla ( double space instead of single space )

Some idea

Thanks

Miguel



Can you post a sample LyX file that does this?

(Apologies if this is a repeat posting -- I posted this earlier today, 
but it never showed up on the GMANE news server.)




[update] Re: fancyhdr! It's working. BUT 3 questions ...

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

It would appear that on Jan 8, Helge Hafting did say:

 Joe(theWordy)Philbrook wrote:
  Question 1 of 3
  
  Why is the header/footer suppressed on page 1? That is how can I get
  headers and/or footers to output on the first page???

 - - - - - - - - - s n i p - - - - - - - - - -

 Usually, \thispagestyle{fancy} will do the trick though.
 Make sure you put this ERT somewhere on the page you want changed.

Thanks for the prompt reply and the informative suggestion. However I
get an error message when I try this. 

 - - - - - - - - - s n i p - - - - - - - - - -

Ok, now I feel stupid: I'll confess I was trying to insert it to the 
filename.lyx file with vim... {Possible if I understood how, but...}
I strongly dislike controlling my software via the mouse so I never
noticed that the TeX icon had help text referring to the unfamiliar term
Evil Red Text. And so didn't yet understand the function of M-i t or
C-l key bindings.

Which I'll admit is a lot easier than using vim to put all this:

\begin_inset ERT
status Open

\layout Standard

\backslash 
thispagestyle{fancy}
\end_inset 

Just to get this ERT:

\thispagestyle{fancy}

 - - - - - - - - - s n i p - - - - - - - - - -

  Question 3 of 3
  
  Is there a list of {key words?} that can be used to insert values into
  header/footers such as
  
  /thepage   current output page number
  /today Today's date
  etc...

 Sure, any latex reference manual should do.  Also, search
 the web. The LyX homepage have some pointers.

So using the acronym you used above as a guide, I'm guessing I
might find what I'm looking for if I google:

latex ERT

Still haven't found a useful list yet But it was during this search
that I tripped over instructions to use the TeX icon to insert ERTs 
so I'm glad I went there...

I'd still like to find a good index/list of values that can be inserted
to the header, footer (and/or I suspect inside the document body via
ERTs) But you've given me enough to make me sure that I can use lyx for
most of my writing needs. Now I can focus mostly on my writing,
confident that I'll like letting lyx take care of MOST of the
typesetting details...

Thanks again Helge!

Joe

   #
   ##_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)

iD8DBQFFpZOxRZ/61mwhY94RArQaAJ9JdXEpFeGHdB3IuGHZLvprHhW5EACfai/A
nYZ4OVP5vH65nJZQ8s+V7x4=
=j96d
-END PGP SIGNATURE-
-- 
|^^^   ^^^  
|o   oGuess I just didn't know.
|^  Joseph (the Wordy) Philbrook
|   ___ J(tWdy)P 
|[EMAIL PROTECTED]  
|  sigh   



Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-10 Thread Joe(theWordy)Philbrook

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 10, Helge Hafting did say:


Are you changing the .lyx file directly with some kind of
text editor?  You are not supposed to do that!


- - - - - - - - - s n i p - - - - - - - - - -


Never mess with the .lyx file unless you know what you do.
Latex commands either go in boxes of their own (insert-tex code)
or sometimes in the document preamble which you find in
the document settings dialog.


Good deductive reasoning, and as I now know, very good advice...
Actually I said something to that effect in my update reply which I
sent before I caught up on downloading my mailboxes...

Thanks again!

  #
  ##_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)

iD8DBQFFpZtkRZ/61mwhY94RAtuiAKDJ5tKnvbPZy1BUPDOAcf2D2bh6ywCgh8iO
Wj+LZOfo08t7ecoArVmjIK0=
=Uu1U
-END PGP SIGNATURE-
--
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ [EMAIL PROTECTED]

If I actually knew everything, then I'd know I was an idiot...



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

2007-01-10 Thread Jens Noeckel


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


On Sun, 7 Jan 2007, Jens Noeckel wrote:

Jens, Everything you told me mostly works. This is very helpful --  
thank you!


So here's where that leaves me:

The viewers and exporting for dvi now work. :-)

Preview is working fine for PDF viewing. (seems fine unless there's  
something else I should use)



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.


Assuming you got the dvipdfmx package from fink, too: the error is  
probably due to the entry \usepackage[T1]{fontenc} which is  
inserted into the LaTeX preamble by LyX without asking or telling  
you. It's a good idea to have that when using pdflatex, which I use  
almost exclusively. But still: I think this practice of stealthily  
slipping in extraneous code is not a good philosophy on the part of LyX.


When I exported from LyX to latex and manually removed that ... 
[T1]... line from the preamble, everything worked again. I would  
always try it from the command line first, and look carefully at the  
tex file,  to weed out any LyX-LaTEX related eccentricities...


I'm a little confused about which X11 to use. I installed the OSX  
one as you recommended. But I still have the plain vanilla fink X11  
installed. Should I remove that? I read somewhere that I needed the  
fink one (and NOT the apple one) for some things. Apple's seems to  
add a basic window manager and xterm -- which is nice. But I'm not  
sure if there is a disadvantage here.


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


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. two of three types of pdf export are working now.




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.


The other thing along these lines I need is to be able to import  
from Word files. Getting all this going would handle all my import/ 
export and viewing needs to be able to fully use LyX on the Mac.




It's been a while since I've actually seriously needed that - but  
I've written down some possibilities here (in response to some  
exchanges with other TeX users);

http://www.uoregon.edu/~noeckel/WordToLaTeX.html
I can't make any guarantees that this is what you need - but going  
from Word to LaTeX and then to LyX might work.


As a Mac newbie I've not been able to find a clear answer to  
exactly what happens when you move to a .app to trash. Does it  
actually fully uninstall the application?




No, it doesn't delete everything. E.g., files in ~/Library/ 
Application Support/ are left floating around. Unfortunately, most  
applications don't come with a clean uninstaller, so you have to take  
care of those extra files yourself...


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


thanks very much,
jamie faunt



Thanks for helping to bring some of these issues to light!
Jens




Bibliography citations are ordered backwards

2007-01-10 Thread Neil McLeod

Hello,

I used LyX's bibliography editor to insert citations from a .bib file and
make a default bibliography. Everything went fine when I generated the
bibliography, except the numbering of the citations is disordered. Instead
of proceeding from [1] to [15] throughout my article, they seem to be
ordered in the *reverse of the order in which I put them in when I was
editing the file.* So, the first citation I put in is [15], and the last is
[1]. I recall something like this happening before, except last time they
were ordered in the order in which I put them in when I was editing the
file, which is still not what I want (even if I put in a citation at the
beginning of the paper as a finishing touch, I want it to show up as [1],
not [15]). Does anyone know what might be causing this? The BibTeX file was
generated by Connotea, if that makes any difference.

I am running LyX 1.3.7 on Ubuntu Linux 6.06 (Dapper Drake).

Thank you,

Neil


Mysql

2007-01-10 Thread Daniel Culver

Hi,
I am thinking about using Lyx for some documents that need to include  
output from a Mysql database. Does anyone have any advise about the  
best way to proceed.

Daniel Culver
[EMAIL PROTECTED]





Re: Allowing multiple empty lines and spaces in the Lyx editor...

2007-01-10 Thread Jean-Marc Lasgouttes
 lamikr == lamikr  [EMAIL PROTECTED] writes:

lamikr Thanks, I did not know these hard spaces and hard lines
lamikr before. But actually I think I was searching something
lamikr opposite, like soft lines which would be visible in the
lamikr editor but not anymore in the final text. Buf this was just an
lamikr idea I got to my mind while writing text. If it is against the
lamikr fundamental ideas of Lyx, I can live without it. :-)

You may want to look at what you can do with Note insets. They do not
produce any output.

JMarc


Re: how to type in accented character in text mode?

2007-01-10 Thread Charles de Miramon
Paul A. Rubin wrote:

 Michael Chen wrote:
 hi, there, I believe there is a better way than using Tex code to type
 in accented character in text mode. Any idea?
 

If you are using Linux, you need to activate the 'compose key'. In KDE, go
to the Keyboardconfiguration module and then to the Xkb tab and there you
can assign the compose to one of the key of your keyboard. Restart Lyx and
then type compoe key  ~ n to get ñ

Cheers,
Charles

-- 
http://www.kde-france.org



Double space instead of single space

2007-01-10 Thread icebna

LyX-1.4.3 in Mandriva linux

Why some paragraphs have a space double of which it has been fixed ?
For example :

Bla, bla, bla, bla
Bla, bla, bla, bla

Bla, bla, bla, bla ( double space instead of single space )

Some idea

Thanks

Miguel


Re: two years with Lyx

2007-01-10 Thread José Matos
On Sunday 24 December 2006 8:28 pm, Marcelo Acuña wrote:
 hello,
  now I have two years working with Lyx.
  It work beautifull.
  Thanks to developers team!

  You are welcome. :-)

  Regards

  Marcelo

-- 
José Abílio


Re: Help with mis-converted accents

2007-01-10 Thread José Matos
On Wednesday 20 December 2006 10:58 am, Charles de Miramon wrote:

 Why don't you use the re.sub function ?

 Charles trying to learn a bit of Python

  That was a quick script I wrote to fix an immediate problem. If it was now I 
would use re.sub, no doubt. :-)

-- 
José Abílio


Re: Help with mis-converted accents

2007-01-10 Thread José Matos
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. :-)

 Andre'

-- 
José Abílio


Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-10 Thread Helge Hafting

Joe(theWordy)Philbrook wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 8, Helge Hafting did say:

  

Joe(theWordy)Philbrook wrote:


Question 1 of 3

Why is the header/footer suppressed on page 1? That is how can I get
headers and/or footers to output on the first page???
  


  

Because you changed the page style for normal pages,
and the first page isn't normal in this case.



Yeah that figures...

  

Usually, the first page is either a chapter page (if
your document style support chapters) or a title
page. Lyx does not suppot changing the chapter/title
page styles directly.  You may use ERT
to set \chapterpagestyle to fancy if you wish.
Note that some document styles don't use
chapterpagestyle or titlepagestyle, they have other ways.

Usually, \thispagestyle{fancy} will do the trick though.
Make sure you put this ERT somewhere on the page you want changed.



Thanks for the prompt reply and the informative suggestion. However I
get an error message when I try this. As it happens the document I used
to try to do this with says:
\textclass letter

But when I try to insert either chapterpagestyle or thispagestyle
by, for example, changing this:
snip
\layout Opening

Dear Jim,
\layout Standard

Well Hello Jim.
snip

To this:
snip
\layout Opening

Dear Jim,
\layout Standard

\thispagestyle{fancy}

Well Hello Jim.
snip

What I get on opening the doc with lyx is An error pop-up that says:

Textclass Loading Error!
  

Are you changing the .lyx file directly with some kind of
text editor?  You are not supposed to do that!

Open your working file with lyx.
Place the cursor somewhere on the first page.
Use the menu Insert-Tex Code. (Or click the toolbar button
with the word TeX in red.)
You should get a little box with red borders. Inside this
box, type
\thispagestyle{fancy}
Then move the cursor out of the box so you don't type anything
else there.

Now try view-DVI or view-pdf, see if you get the
page layout you want. I get a letter with a fancy first page.
I have attached an example file, but be warned that it
is made with a develpoment version of lyx.  That's all I have
right now.

Encountered unknown token
When reading [filename]

Since the only place in my document's control codes I see braces {}
I also tried:
snip
\thispagestyle fancy
snip
With the same results (sigh!)

Any other suggestions?
  

Never mess with the .lyx file unless you know what you do.
Latex commands either go in boxes of their own (insert-tex code)
or sometimes in the document preamble which you find in
the document settings dialog.

Helge Hafting


fancyletter.lyx
Description: application/lyx


Re: lyx 1.4.3 has trouble using local document class (cls) and layout: works in 1.3.7

2007-01-10 Thread Bob Lounsbury


On Jan 9, 2007, at 5:26 PM, C Sights wrote:


	Can anybody else test this on their distribution?  I want to check  
whether

this is a Debian problem or a Lyx problem.

Thanks!
C.


Same issue here on mac. Works fine under 1.3.7, but not 1.4.3.

Bob Lounsbury
[EMAIL PROTECTED]
--
Please, if possible, don't send me MS Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html
--
As an alternative to MS Word or Powerpoint.
LyX, OpenOffice




Re: lyx 1.4.3 has trouble using local document class (cls) and layout: works in 1.3.7

2007-01-10 Thread Georg Baum
C Sights wrote:

 Cannot read layout file `'.

This is the problem. The error message will be better in 1.4.4 ;-)

Remove the line

Input obsolete.inc

from the layout file. It was also wrong for 1.3, but 1.3 simply ignores
missing files while 1.4 is more restrictive.


Georg



Re: lyx 1.4.3 has trouble using local document class (cls) and layout: works in 1.3.7

2007-01-10 Thread C Sights
 Remove the line

 Input obsolete.inc

 from the layout file. It was also wrong for 1.3, but 1.3 simply ignores
 missing files while 1.4 is more restrictive.

Great!  That fixed it.  Thanks Bob and Georg!


Re: Double space instead of single space

2007-01-10 Thread Paul A. Rubin

icebna wrote:

LyX-1.4.3 in Mandriva linux

Why some paragraphs have a space double of which it has been fixed ?
For example :

Bla, bla, bla, bla
Bla, bla, bla, bla

Bla, bla, bla, bla ( double space instead of single space )

Some idea

Thanks

Miguel



Can you post a minimal example?

/Paul




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

2007-01-10 Thread faunt

On Sun, 7 Jan 2007, Jens Noeckel wrote:

Jens, Everything you told me mostly works. This is very helpful -- thank 
you!


So here's where that leaves me:

The viewers and exporting for dvi now work. :-)

Preview is working fine for PDF viewing. (seems fine unless there's 
something else I should use)


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'm a little confused about which X11 to use. I installed the OSX one as 
you recommended. But I still have the plain vanilla fink X11 installed. 
Should I remove that? I read somewhere that I needed the fink one (and NOT 
the apple one) for some things. Apple's seems to add a basic window 
manager and xterm -- which is nice. But I'm not sure if there is a 
disadvantage here.


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?


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. two of 
three types of pdf export are working now.


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.


The other thing along these lines I need is to be able to import from Word 
files. Getting all this going would handle all my import/export and 
viewing needs to be able to fully use LyX on the Mac.


As a Mac newbie I've not been able to find a clear answer to exactly what 
happens when you move to a .app to trash. Does it actually fully uninstall 
the application?


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?


thanks very much,
jamie faunt



problème avec lyx1.4.2

2007-01-10 Thread blondot bernard
J'  utilise Lyx depuis pas mal de temps et étant passé à une  la distribution  
mandriva 2007 , j' utilise maintenant lyx 1.4.2 . J' ai de gros problème avec 
le correcteur orthographique si j ' utilise aspell les caractères accentués 
n' étant pas pris en compte , par exemple il m' indique que le mot théorie  
n' est pas bon ( alors qu' il est correct  ) et me propose à la place par 
exemple thé ce qui est complètement absurde  . Je n' ai jamais vu cela dans 
les anciennes versions de Lyx . Je suis arrivé à règler le problème en 
installant  Ispell ( que j' ai eu du mal à retrouver )  et là tout marche 
correctement . J' ai pensé que cela provenait d' une mauvaise configuration 
du clavier mais après relecture des aides je n' ai pas trouvé de réponse à 
mon problème et de plus les textes ne semblent pas en accord avec la version 
actuelle de Lyx . 
Le sytème copier couper coller semble fonctionner assez mal en tout cas bien 
plus mal que dans les anciennes versions , est ce du à un bogue ou à defaut 
de configuration , il en est de même des fonctions annuler et refaire . Les 
aides proposées ne sont pas d' une grande utilité car ne correspondent pas à 
la version actuelle de lyx .
Dans le menu editer math ( quand on est en mode math )  à quoi sert l' option 
logiciel de calcul formel ? j'ai essayé avec maxima mais cela n' a rien donné 
et ce n' est pas le fichier d' aide qui peut me donner une réponse 


Re: Double space instead of single space

2007-01-10 Thread Paul A. Rubin

icebna wrote:

LyX-1.4.3 in Mandriva linux

Why some paragraphs have a space double of which it has been fixed ?
For example :

Bla, bla, bla, bla
Bla, bla, bla, bla

Bla, bla, bla, bla ( double space instead of single space )

Some idea

Thanks

Miguel



Can you post a sample LyX file that does this?

(Apologies if this is a repeat posting -- I posted this earlier today, 
but it never showed up on the GMANE news server.)




[update] Re: fancyhdr! It's working. BUT 3 questions ...

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

It would appear that on Jan 8, Helge Hafting did say:

 Joe(theWordy)Philbrook wrote:
  Question 1 of 3
  
  Why is the header/footer suppressed on page 1? That is how can I get
  headers and/or footers to output on the first page???

 - - - - - - - - - s n i p - - - - - - - - - -

 Usually, \thispagestyle{fancy} will do the trick though.
 Make sure you put this ERT somewhere on the page you want changed.

Thanks for the prompt reply and the informative suggestion. However I
get an error message when I try this. 

 - - - - - - - - - s n i p - - - - - - - - - -

Ok, now I feel stupid: I'll confess I was trying to insert it to the 
filename.lyx file with vim... {Possible if I understood how, but...}
I strongly dislike controlling my software via the mouse so I never
noticed that the TeX icon had help text referring to the unfamiliar term
Evil Red Text. And so didn't yet understand the function of M-i t or
C-l key bindings.

Which I'll admit is a lot easier than using vim to put all this:

\begin_inset ERT
status Open

\layout Standard

\backslash 
thispagestyle{fancy}
\end_inset 

Just to get this ERT:

\thispagestyle{fancy}

 - - - - - - - - - s n i p - - - - - - - - - -

  Question 3 of 3
  
  Is there a list of {key words?} that can be used to insert values into
  header/footers such as
  
  /thepage   current output page number
  /today Today's date
  etc...

 Sure, any latex reference manual should do.  Also, search
 the web. The LyX homepage have some pointers.

So using the acronym you used above as a guide, I'm guessing I
might find what I'm looking for if I google:

latex ERT

Still haven't found a useful list yet But it was during this search
that I tripped over instructions to use the TeX icon to insert ERTs 
so I'm glad I went there...

I'd still like to find a good index/list of values that can be inserted
to the header, footer (and/or I suspect inside the document body via
ERTs) But you've given me enough to make me sure that I can use lyx for
most of my writing needs. Now I can focus mostly on my writing,
confident that I'll like letting lyx take care of MOST of the
typesetting details...

Thanks again Helge!

Joe

   #
   ##_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)

iD8DBQFFpZOxRZ/61mwhY94RArQaAJ9JdXEpFeGHdB3IuGHZLvprHhW5EACfai/A
nYZ4OVP5vH65nJZQ8s+V7x4=
=j96d
-END PGP SIGNATURE-
-- 
|^^^   ^^^  
|o   oGuess I just didn't know.
|^  Joseph (the Wordy) Philbrook
|   ___ J(tWdy)P 
|[EMAIL PROTECTED]  
|  sigh   



Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-10 Thread Joe(theWordy)Philbrook

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 10, Helge Hafting did say:


Are you changing the .lyx file directly with some kind of
text editor?  You are not supposed to do that!


- - - - - - - - - s n i p - - - - - - - - - -


Never mess with the .lyx file unless you know what you do.
Latex commands either go in boxes of their own (insert-tex code)
or sometimes in the document preamble which you find in
the document settings dialog.


Good deductive reasoning, and as I now know, very good advice...
Actually I said something to that effect in my update reply which I
sent before I caught up on downloading my mailboxes...

Thanks again!

  #
  ##_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)

iD8DBQFFpZtkRZ/61mwhY94RAtuiAKDJ5tKnvbPZy1BUPDOAcf2D2bh6ywCgh8iO
Wj+LZOfo08t7ecoArVmjIK0=
=Uu1U
-END PGP SIGNATURE-
--
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ [EMAIL PROTECTED]

If I actually knew everything, then I'd know I was an idiot...



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

2007-01-10 Thread Jens Noeckel


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


On Sun, 7 Jan 2007, Jens Noeckel wrote:

Jens, Everything you told me mostly works. This is very helpful --  
thank you!


So here's where that leaves me:

The viewers and exporting for dvi now work. :-)

Preview is working fine for PDF viewing. (seems fine unless there's  
something else I should use)



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.


Assuming you got the dvipdfmx package from fink, too: the error is  
probably due to the entry \usepackage[T1]{fontenc} which is  
inserted into the LaTeX preamble by LyX without asking or telling  
you. It's a good idea to have that when using pdflatex, which I use  
almost exclusively. But still: I think this practice of stealthily  
slipping in extraneous code is not a good philosophy on the part of LyX.


When I exported from LyX to latex and manually removed that ... 
[T1]... line from the preamble, everything worked again. I would  
always try it from the command line first, and look carefully at the  
tex file,  to weed out any LyX-LaTEX related eccentricities...


I'm a little confused about which X11 to use. I installed the OSX  
one as you recommended. But I still have the plain vanilla fink X11  
installed. Should I remove that? I read somewhere that I needed the  
fink one (and NOT the apple one) for some things. Apple's seems to  
add a basic window manager and xterm -- which is nice. But I'm not  
sure if there is a disadvantage here.


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


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. two of three types of pdf export are working now.




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.


The other thing along these lines I need is to be able to import  
from Word files. Getting all this going would handle all my import/ 
export and viewing needs to be able to fully use LyX on the Mac.




It's been a while since I've actually seriously needed that - but  
I've written down some possibilities here (in response to some  
exchanges with other TeX users);

http://www.uoregon.edu/~noeckel/WordToLaTeX.html
I can't make any guarantees that this is what you need - but going  
from Word to LaTeX and then to LyX might work.


As a Mac newbie I've not been able to find a clear answer to  
exactly what happens when you move to a .app to trash. Does it  
actually fully uninstall the application?




No, it doesn't delete everything. E.g., files in ~/Library/ 
Application Support/ are left floating around. Unfortunately, most  
applications don't come with a clean uninstaller, so you have to take  
care of those extra files yourself...


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


thanks very much,
jamie faunt



Thanks for helping to bring some of these issues to light!
Jens




Bibliography citations are ordered backwards

2007-01-10 Thread Neil McLeod

Hello,

I used LyX's bibliography editor to insert citations from a .bib file and
make a default bibliography. Everything went fine when I generated the
bibliography, except the numbering of the citations is disordered. Instead
of proceeding from [1] to [15] throughout my article, they seem to be
ordered in the *reverse of the order in which I put them in when I was
editing the file.* So, the first citation I put in is [15], and the last is
[1]. I recall something like this happening before, except last time they
were ordered in the order in which I put them in when I was editing the
file, which is still not what I want (even if I put in a citation at the
beginning of the paper as a finishing touch, I want it to show up as [1],
not [15]). Does anyone know what might be causing this? The BibTeX file was
generated by Connotea, if that makes any difference.

I am running LyX 1.3.7 on Ubuntu Linux 6.06 (Dapper Drake).

Thank you,

Neil


Mysql

2007-01-10 Thread Daniel Culver

Hi,
I am thinking about using Lyx for some documents that need to include  
output from a Mysql database. Does anyone have any advise about the  
best way to proceed.

Daniel Culver
[EMAIL PROTECTED]





Re: Allowing multiple empty lines and spaces in the Lyx editor...

2007-01-10 Thread Jean-Marc Lasgouttes
> "lamikr" == lamikr  <[EMAIL PROTECTED]> writes:

lamikr> Thanks, I did not know these hard spaces and hard lines
lamikr> before. But actually I think I was searching something
lamikr> opposite, like "soft lines" which would be visible in the
lamikr> editor but not anymore in the final text. Buf this was just an
lamikr> idea I got to my mind while writing text. If it is against the
lamikr> fundamental ideas of Lyx, I can live without it. :-)

You may want to look at what you can do with Note insets. They do not
produce any output.

JMarc


Re: how to type in accented character in text mode?

2007-01-10 Thread Charles de Miramon
Paul A. Rubin wrote:

> Michael Chen wrote:
>> hi, there, I believe there is a better way than using Tex code to type
>> in accented character in text mode. Any idea?
>> 

If you are using Linux, you need to activate the 'compose key'. In KDE, go
to the Keyboardconfiguration module and then to the Xkb tab and there you
can assign the compose to one of the key of your keyboard. Restart Lyx and
then type compoe key  ~ n to get ñ

Cheers,
Charles

-- 
http://www.kde-france.org



Double space instead of single space

2007-01-10 Thread icebna

LyX-1.4.3 in Mandriva linux

Why some paragraphs have a space double of which it has been fixed ?
For example :

Bla, bla, bla, bla
Bla, bla, bla, bla

Bla, bla, bla, bla ( double space instead of single space )

Some idea

Thanks

Miguel


Re: two years with Lyx

2007-01-10 Thread José Matos
On Sunday 24 December 2006 8:28 pm, Marcelo Acuña wrote:
> hello,
>  now I have two years working with Lyx.
>  It work beautifull.
>  Thanks to developers team!

  You are welcome. :-)

>  Regards
>
>  Marcelo

-- 
José Abílio


Re: Help with mis-converted accents

2007-01-10 Thread José Matos
On Wednesday 20 December 2006 10:58 am, Charles de Miramon wrote:
>
> Why don't you use the re.sub function ?
>
> Charles trying to learn a bit of Python

  That was a quick script I wrote to fix an immediate problem. If it was now I 
would use re.sub, no doubt. :-)

-- 
José Abílio


Re: Help with mis-converted accents

2007-01-10 Thread José Matos
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. :-)

> Andre'

-- 
José Abílio


Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-10 Thread Helge Hafting

Joe(theWordy)Philbrook wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 8, Helge Hafting did say:

  

Joe(theWordy)Philbrook wrote:


Question 1 of 3

Why is the header/footer suppressed on page 1? That is how can I get
headers and/or footers to output on the first page???
  


  

Because you changed the "page style" for normal pages,
and the first page isn't normal in this case.



Yeah that figures...

  

Usually, the first page is either a chapter page (if
your document style support chapters) or a title
page. Lyx does not suppot changing the chapter/title
page styles directly.  You may use ERT
to set \chapterpagestyle to fancy if you wish.
Note that some document styles don't use
chapterpagestyle or titlepagestyle, they have other ways.

Usually, \thispagestyle{fancy} will do the trick though.
Make sure you put this ERT somewhere on the page you want changed.



Thanks for the prompt reply and the informative suggestion. However I
get an error message when I try this. As it happens the document I used
to try to do this with says:
\textclass letter

But when I try to insert either chapterpagestyle or thispagestyle
by, for example, changing this:

\layout Opening

Dear Jim,
\layout Standard

Well Hello Jim.


To this:

\layout Opening

Dear Jim,
\layout Standard

\thispagestyle{fancy}

Well Hello Jim.


What I get on opening the doc with lyx is An error pop-up that says:

"Textclass Loading Error!"
  

Are you changing the .lyx file directly with some kind of
text editor?  You are not supposed to do that!

Open your working file with lyx.
Place the cursor somewhere on the first page.
Use the menu "Insert->Tex Code". (Or click the toolbar button
with the word TeX in red.)
You should get a little box with red borders. Inside this
box, type
\thispagestyle{fancy}
Then move the cursor out of the box so you don't type anything
else there.

Now try "view->DVI" or "view->pdf", see if you get the
page layout you want. I get a letter with a fancy first page.
I have attached an example file, but be warned that it
is made with a develpoment version of lyx.  That's all I have
right now.

"Encountered unknown token
When reading" [filename]

Since the only place in my document's control codes I see braces "{}"
I also tried:

\thispagestyle fancy

With the same results (sigh!)

Any other suggestions?
  

Never mess with the .lyx file unless you know what you do.
Latex commands either go in boxes of their own (insert->tex code)
or sometimes in the document preamble which you find in
the document settings dialog.

Helge Hafting


fancyletter.lyx
Description: application/lyx


Re: lyx 1.4.3 has trouble using local document class (cls) and layout: works in 1.3.7

2007-01-10 Thread Bob Lounsbury


On Jan 9, 2007, at 5:26 PM, C Sights wrote:


	Can anybody else test this on their distribution?  I want to check  
whether

this is a Debian problem or a Lyx problem.

Thanks!
C.


Same issue here on mac. Works fine under 1.3.7, but not 1.4.3.

Bob Lounsbury
[EMAIL PROTECTED]
--
Please, if possible, don't send me MS Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html
--
As an alternative to MS Word or Powerpoint.
LyX, OpenOffice




Re: lyx 1.4.3 has trouble using local document class (cls) and layout: works in 1.3.7

2007-01-10 Thread Georg Baum
C Sights wrote:

> Cannot read layout file `'.

This is the problem. The error message will be better in 1.4.4 ;-)

Remove the line

Input obsolete.inc

from the layout file. It was also wrong for 1.3, but 1.3 simply ignores
missing files while 1.4 is more restrictive.


Georg



Re: lyx 1.4.3 has trouble using local document class (cls) and layout: works in 1.3.7

2007-01-10 Thread C Sights
> Remove the line
>
> Input obsolete.inc
>
> from the layout file. It was also wrong for 1.3, but 1.3 simply ignores
> missing files while 1.4 is more restrictive.

Great!  That fixed it.  Thanks Bob and Georg!


Re: Double space instead of single space

2007-01-10 Thread Paul A. Rubin

icebna wrote:

LyX-1.4.3 in Mandriva linux

Why some paragraphs have a space double of which it has been fixed ?
For example :

Bla, bla, bla, bla
Bla, bla, bla, bla

Bla, bla, bla, bla ( double space instead of single space )

Some idea

Thanks

Miguel



Can you post a minimal example?

/Paul




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

2007-01-10 Thread faunt

On Sun, 7 Jan 2007, Jens Noeckel wrote:

Jens, Everything you told me mostly works. This is very helpful -- thank 
you!


So here's where that leaves me:

The viewers and exporting for dvi now work. :-)

Preview is working fine for PDF viewing. (seems fine unless there's 
something else I should use)


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'm a little confused about which X11 to use. I installed the OSX one as 
you recommended. But I still have the plain vanilla fink X11 installed. 
Should I remove that? I read somewhere that I needed the fink one (and NOT 
the apple one) for some things. Apple's seems to add a basic window 
manager and xterm -- which is nice. But I'm not sure if there is a 
disadvantage here.


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?


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. two of 
three types of pdf export are working now.


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.


The other thing along these lines I need is to be able to import from Word 
files. Getting all this going would handle all my import/export and 
viewing needs to be able to fully use LyX on the Mac.


As a Mac newbie I've not been able to find a clear answer to exactly what 
happens when you move to a .app to trash. Does it actually fully uninstall 
the application?


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?


thanks very much,
jamie faunt



problème avec lyx1.4.2

2007-01-10 Thread blondot bernard
J'  utilise Lyx depuis pas mal de temps et étant passé à une  la distribution  
mandriva 2007 , j' utilise maintenant lyx 1.4.2 . J' ai de gros problème avec 
le correcteur orthographique si j ' utilise aspell les caractères accentués 
n' étant pas pris en compte , par exemple il m' indique que le mot théorie  
n' est pas bon ( alors qu' il est correct  ) et me propose à la place par 
exemple thé ce qui est complètement absurde  . Je n' ai jamais vu cela dans 
les anciennes versions de Lyx . Je suis arrivé à règler le problème en 
installant  Ispell ( que j' ai eu du mal à retrouver )  et là tout marche 
correctement . J' ai pensé que cela provenait d' une mauvaise configuration 
du clavier mais après relecture des aides je n' ai pas trouvé de réponse à 
mon problème et de plus les textes ne semblent pas en accord avec la version 
actuelle de Lyx . 
Le sytème copier couper coller semble fonctionner assez mal en tout cas bien 
plus mal que dans les anciennes versions , est ce du à un bogue ou à defaut 
de configuration , il en est de même des fonctions annuler et refaire . Les 
aides proposées ne sont pas d' une grande utilité car ne correspondent pas à 
la version actuelle de lyx .
Dans le menu editer math ( quand on est en mode math )  à quoi sert l' option 
logiciel de calcul formel ? j'ai essayé avec maxima mais cela n' a rien donné 
et ce n' est pas le fichier d' aide qui peut me donner une réponse 


Re: Double space instead of single space

2007-01-10 Thread Paul A. Rubin

icebna wrote:

LyX-1.4.3 in Mandriva linux

Why some paragraphs have a space double of which it has been fixed ?
For example :

Bla, bla, bla, bla
Bla, bla, bla, bla

Bla, bla, bla, bla ( double space instead of single space )

Some idea

Thanks

Miguel



Can you post a sample LyX file that does this?

(Apologies if this is a repeat posting -- I posted this earlier today, 
but it never showed up on the GMANE news server.)




[update] Re: fancyhdr! It's working. BUT 3 questions ...

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

It would appear that on Jan 8, Helge Hafting did say:

> Joe(theWordy)Philbrook wrote:
> > Question 1 of 3
> > 
> > Why is the header/footer suppressed on page 1? That is how can I get
> > headers and/or footers to output on the first page???

 - - - - - - - - -< s n i p >- - - - - - - - - -

> Usually, \thispagestyle{fancy} will do the trick though.
> Make sure you put this ERT somewhere on the page you want changed.

Thanks for the prompt reply and the informative suggestion. However I
get an error message when I try this. 

 - - - - - - - - -< s n i p >- - - - - - - - - -

Ok, now I feel stupid: I'll confess I was trying to insert it to the 
filename.lyx file with vim... {Possible if I understood how, but...}
I strongly dislike controlling my software via the mouse so I never
noticed that the TeX icon had help text referring to the unfamiliar term
Evil Red Text. And so didn't yet understand the function of "M-i t" or
"C-l" key bindings.

Which I'll admit is a lot easier than using vim to put all this:

\begin_inset ERT
status Open

\layout Standard

\backslash 
thispagestyle{fancy}
\end_inset 

Just to get this ERT:

\thispagestyle{fancy}

 - - - - - - - - -< s n i p >- - - - - - - - - -

> > Question 3 of 3
> > 
> > Is there a list of {key words?} that can be used to insert values into
> > header/footers such as
> > 
> > /thepage   current output page number
> > /today Today's date
> > etc...

> Sure, any latex reference manual should do.  Also, search
> the web. The LyX homepage have some pointers.

So using the acronym you used above as a guide, I'm guessing I
might find what I'm looking for if I google:

latex ERT

Still haven't found a useful "list" yet But it was during this search
that I tripped over instructions to use the TeX icon to insert ERTs 
so I'm glad I went there...

I'd still like to find a good index/list of values that can be inserted
to the header, footer (and/or I suspect inside the document body via
ERTs) But you've given me enough to make me sure that I can use lyx for
most of my writing needs. Now I can focus mostly on my writing,
confident that I'll like letting lyx take care of MOST of the
typesetting details...

Thanks again Helge!

Joe

   #
   ##_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)

iD8DBQFFpZOxRZ/61mwhY94RArQaAJ9JdXEpFeGHdB3IuGHZLvprHhW5EACfai/A
nYZ4OVP5vH65nJZQ8s+V7x4=
=j96d
-END PGP SIGNATURE-
-- 
|^^^   ^^^  
|   Guess I just didn't know.
|^  Joseph (the Wordy) Philbrook
|   ___ J(tWdy)P 
|<[EMAIL PROTECTED]>  
| 



Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-10 Thread Joe(theWordy)Philbrook

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 10, Helge Hafting did say:


Are you changing the .lyx file directly with some kind of
text editor?  You are not supposed to do that!


- - - - - - - - -< s n i p >- - - - - - - - - -


Never mess with the .lyx file unless you know what you do.
Latex commands either go in boxes of their own (insert->tex code)
or sometimes in the document preamble which you find in
the document settings dialog.


Good deductive reasoning, and as I now know, very good advice...
Actually I said something to that effect in my "update" reply which I
sent before I caught up on downloading my mailboxes...

Thanks again!

  #
  ##_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)

iD8DBQFFpZtkRZ/61mwhY94RAtuiAKDJ5tKnvbPZy1BUPDOAcf2D2bh6ywCgh8iO
Wj+LZOfo08t7ecoArVmjIK0=
=Uu1U
-END PGP SIGNATURE-
--
|   ---   ___
|   <0>   <->  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ <<[EMAIL PROTECTED]>>

If I actually knew everything, then I'd know I was an idiot...



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

2007-01-10 Thread Jens Noeckel


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


On Sun, 7 Jan 2007, Jens Noeckel wrote:

Jens, Everything you told me mostly works. This is very helpful --  
thank you!


So here's where that leaves me:

The viewers and exporting for dvi now work. :-)

Preview is working fine for PDF viewing. (seems fine unless there's  
something else I should use)



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.


Assuming you got the dvipdfmx package from fink, too: the error is  
probably due to the entry "\usepackage[T1]{fontenc}" which is  
inserted into the LaTeX preamble by LyX without asking or telling  
you. It's a good idea to have that when using pdflatex, which I use  
almost exclusively. But still: I think this practice of stealthily  
slipping in extraneous code is not a good philosophy on the part of LyX.


When I exported from LyX to latex and manually removed that "... 
[T1]..." line from the preamble, everything worked again. I would  
always try it from the command line first, and look carefully at the  
tex file,  to weed out any LyX->LaTEX related eccentricities...


I'm a little confused about which X11 to use. I installed the OSX  
one as you recommended. But I still have the plain vanilla fink X11  
installed. Should I remove that? I read somewhere that I needed the  
fink one (and NOT the apple one) for some things. Apple's seems to  
add a basic window manager and xterm -- which is nice. But I'm not  
sure if there is a disadvantage here.


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


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. two of three types of pdf export are working now.




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.


The other thing along these lines I need is to be able to import  
from Word files. Getting all this going would handle all my import/ 
export and viewing needs to be able to fully use LyX on the Mac.




It's been a while since I've actually seriously needed that - but  
I've written down some possibilities here (in response to some  
exchanges with other TeX users);

http://www.uoregon.edu/~noeckel/WordToLaTeX.html
I can't make any guarantees that this is what you need - but going  
from Word to LaTeX and then to LyX might work.


As a Mac newbie I've not been able to find a clear answer to  
exactly what happens when you move to a .app to trash. Does it  
actually fully uninstall the application?




No, it doesn't delete everything. E.g., files in ~/Library/ 
Application Support/ are left floating around. Unfortunately, most  
applications don't come with a clean uninstaller, so you have to take  
care of those extra files yourself...


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


thanks very much,
jamie faunt



Thanks for helping to bring some of these issues to light!
Jens




Bibliography citations are ordered backwards

2007-01-10 Thread Neil McLeod

Hello,

I used LyX's bibliography editor to insert citations from a .bib file and
make a default bibliography. Everything went fine when I generated the
bibliography, except the numbering of the citations is disordered. Instead
of proceeding from [1] to [15] throughout my article, they seem to be
ordered in the *reverse of the order in which I put them in when I was
editing the file.* So, the first citation I put in is [15], and the last is
[1]. I recall something like this happening before, except last time they
were ordered in the order in which I put them in when I was editing the
file, which is still not what I want (even if I put in a citation at the
beginning of the paper as a finishing touch, I want it to show up as [1],
not [15]). Does anyone know what might be causing this? The BibTeX file was
generated by Connotea, if that makes any difference.

I am running LyX 1.3.7 on Ubuntu Linux 6.06 (Dapper Drake).

Thank you,

Neil


Mysql

2007-01-10 Thread Daniel Culver

Hi,
I am thinking about using Lyx for some documents that need to include  
output from a Mysql database. Does anyone have any advise about the  
best way to proceed.

Daniel Culver
[EMAIL PROTECTED]