Re: OpenOffice vs. LyX

2007-01-27 Thread Jürgen Spitzmüller
Stefano Franchi wrote:
 Besides,
 Framemaker may even  die soon, given Adobe's massive investment in
 InDesign, and its format is not really open.

Which is really, really a pain in the ass. I never used Framemaker, but I just 
typeset a book with InDesign CS2. Unbelievable. It cannot even do automatic 
headings. And the (German) hyphenation patterns are ridiculous. I'm glad to 
be back on LaTeX/LyX now.

Jürgen


Re: Ÿ without ERT (\Y)?

2007-01-27 Thread Bernhard Roider

What does not work in 1.4.x (but will work in 1.5.0) is copying ÿ from other
sources, e.g. this post.


I thought that too but last week i was really surprised about the following:

at least in lyx 1.4.2 and 1.4.3 on Winxp you can paste the contents of the windows clipboard by 
pressing the middle mouse button in lyx! thist works for ÿ, too.


Bernhard



Re: OpenOffice vs. LyX

2007-01-27 Thread killermike




I'd have to disagree.Unfortunately LyX is still behind the curve in 
the area of  big project management (books, manuals, etc).  But it is 
close to perfect, I think, for any document from 0 pages to 
chapter-length as long as complex layouts are not required (i.e. 
multicolumnns with pictures and tables, etc.).
I like to use Lyx for nearly everything as it's good 'practice' for when 
I need to use it for the more important stuff.  For example, I once 
wrote a shorter doc in Lyx while trying out an unfamiliar document class.


I'm at the note taking stage of a book project myself. Care to elaborate 
about the features which you think that Lyx is missing for book-scale 
projects?


--
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio 





Hide parts of the document

2007-01-27 Thread Horacio Emilio Pérez Sánchez

Hi,

I've just installed LyX 1.4.3 since I worked a lot of time with 1.3.4.

Now I wonder, if when working with the lyx file, some parts of the 
document can be easily hidden, for me to read the document more clear. 
For example, I am viewing a section, so if it is possible to hid a 
subsecion fast and easily, because maybe I want to see only sections 
2.1 and 2.3, but section 2.2 is very long and I can not see the 
relations between 2.1 and 2.3.


Of course, the output should include all sections.


Thanks.

Horacio.





Search for info

2007-01-27 Thread Horacio Emilio Pérez Sánchez

Hi,

I was looking for some information at

http://www.mail-archive.com/lyx-users@lists.lyx.org/index.html

so when I use Search filed, I get a lot of results. I wonder if there 
is any way to obtain the results ordered by post-date.


Sometimes it appears a lot of results, but the most relevants are the newest.

Thanks.

Horacio.




Re: Ÿ without ERT (\Y)?

2007-01-27 Thread Georg Baum
Am Freitag, 26. Januar 2007 22:14 schrieb Tobias Krause:
 Thanks for all your help!
 
  I've set latin1 inputenc in the latex preamble and I see Ÿ in the
  LyX-file and in the pdf output using 1.4.3-5. How does that happen?
  
 
  Small or capital Ÿ? The small one is both in latin1 and latin9, the 
capital
  one only in latin9.
  If you really mean capital Ÿ: This should only happen if you copied the
  first Ÿ from my file. The second one should not work with latin1.
 
 It's capital but with  instead of the dots. It look exactly like in the
 first line of the document you send and it looks exactly the same in the
 output file like Ÿ.

OK, that is supposed to work.

 just to make sure: the only way to change the LyX generated preamble is
 to use the gui and if there are options missing I cannot change them -
 right? (Really just because I'm curious)

Basically yes, but normally there are no options missing. Either a package 
is fully supported. If you load packages youerself you can get package 
ordering problems in some cases, that may need some tricks. A real 
solution for this would be a package manager that lets you insert custom 
packages inbetween the ones loaded by LyX.


Georg



Re: Ÿ without ERT (\Y)?

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 12:05 schrieb Bernhard Roider:
 I thought that too but last week i was really surprised about the 
following:
 
 at least in lyx 1.4.2 and 1.4.3 on Winxp you can paste the contents of 
the windows clipboard by 
 pressing the middle mouse button in lyx! thist works for ÿ, too.

Whether that works for ÿ or not depends on your language settings and the 
encoding of the document.

Note that LyX 1.5.0 will allow normal paste from the windows clipboard with 
Ctrl-V. Whether middle mouse button paste will still work is not yet 
clear.


Georg



Re: Hide parts of the document

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 12:27 schrieb Horacio Emilio Pérez Sánchez:
 Hi,
 
 I've just installed LyX 1.4.3 since I worked a lot of time with 1.3.4.
 
 Now I wonder, if when working with the lyx file, some parts of the 
 document can be easily hidden, for me to read the document more clear. 
 For example, I am viewing a section, so if it is possible to hid a 
 subsecion fast and easily, because maybe I want to see only sections 
 2.1 and 2.3, but section 2.2 is very long and I can not see the 
 relations between 2.1 and 2.3.

You mean something like the folding feature found in some text editors. 
This would be very useful indeed, but is not possible yet. Please enter 
this as an enhancement request at http://bugzilla.lyx.org.


Georg



Re: Search for info

2007-01-27 Thread christian . ridderstrom

On Sat, 27 Jan 2007, Horacio Emilio Pérez Sánchez wrote:


Hi,

I was looking for some information at

http://www.mail-archive.com/lyx-users@lists.lyx.org/index.html

so when I use Search filed, I get a lot of results. I wonder if there is 
any way to obtain the results ordered by post-date.


Sometimes it appears a lot of results, but the most relevants are the newest.


Try searching via gmane instead
http://news.gmane.org/gmane.editors.lyx.general/

/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Ÿ without ERT (\Y)?

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


[...]

Note that LyX 1.5.0 will allow normal paste from the windows clipboard with
Ctrl-V. Whether middle mouse button paste will still work is not yet
clear.

[...]

The middle-button paste still works in the latest Windows alpha release 
and as you say Georg, it is now possible to copy and then paste into LyX 
directly by the usual Windows means (Ctl-C - Ctl-V). It just gets 
better and better.


Did you try the Alt-0255 and Alt-0159 methods, Tobias?

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



Re: Y without ERT (\Y)?

2007-01-27 Thread Tobias Krause
 Did you try the Alt-0255 and Alt-0159 methods, Tobias?

It works, thanks!

Toby



Re: Ÿ without ERT (\Y)?

2007-01-27 Thread Tobias Krause

 just to make sure: the only way to change the LyX generated preamble is
 to use the gui and if there are options missing I cannot change them -
 right? (Really just because I'm curious)
 

 Basically yes, but normally there are no options missing. Either a package 
 is fully supported. If you load packages youerself you can get package 
 ordering problems in some cases, that may need some tricks. A real 
 solution for this would be a package manager that lets you insert custom 
 packages inbetween the ones loaded by LyX.

This would be really great - is this already planned to be implemented?
(Especially since this seems to be the only restriction where LyX might
not be able to do every thing plain LaTeX can - or are there others?)
And since we're already very off topic: there is no in line spell check
yet, is there?

Toby



Re: Ÿ without ERT (\Y)?

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 14:17 schrieb Tobias Krause:
 
  just to make sure: the only way to change the LyX generated preamble 
is
  to use the gui and if there are options missing I cannot change them -
  right? (Really just because I'm curious)
  
 
  Basically yes, but normally there are no options missing. Either a 
package 
  is fully supported. If you load packages youerself you can get package 
  ordering problems in some cases, that may need some tricks. A real 
  solution for this would be a package manager that lets you insert 
custom 
  packages inbetween the ones loaded by LyX.
 
 This would be really great - is this already planned to be implemented?

It is agreed that this would be useful, and Herbert Voß wrote something 
like that a long time ago, but for some reasons I don't now it never made 
its way into the sources, and nobody works currently on it.

 (Especially since this seems to be the only restriction where LyX might
 not be able to do every thing plain LaTeX can - or are there others?)

Yes, this is the only restriction of this sort. In the text you can always 
resort to ERT if you want to do something that is not supported natively. 
Of course that can be a mess (e.g. if you have a bigger table using one of 
the packages LyX does not support), but it can be done.

 And since we're already very off topic: there is no in line spell check
 yet, is there?

No: http://bugzilla.lyx.org/show_bug.cgi?id=718


Georg



Re: Hide parts of the document

2007-01-27 Thread Bo Peng

You mean something like the folding feature found in some text editors.
This would be very useful indeed, but is not possible yet. Please enter
this as an enhancement request at http://bugzilla.lyx.org.


I guess he meant outline view of word? I was editing a huge
unsectioned word document  and I really missed lyx's navigation menu.

Cheers,
Bo


How I solved my LyXTextClassList::Read: no textclasses found! problem

2007-01-27 Thread Richard Garbutt

I was getting this error after installing with the Standard Web
Installer available at http://wiki.lyx.org/Windows/Windows on XP
Professional.

My home directory is on C:\. The file textclass.lst was being created
but only contained a comment.

Various combinations of running configure.py, deleting the settings
folder and reinstalling did not help.

What worked was running configure.py with the option
--without-latex-config. Then a default textclass.lst was generated.

Lyx would now run but did not have any text classes.

While Lyx was running, I ran configure.py again. This time not using
the --without-latex-config option. configure.py took much longer to
run and its output showed it was finding a lot of text classes which
it wrote to textclass.lst

I restarted Lyx and everything seems to be working :)

I hope this helps someone...

Richard


Re: Hide parts of the document

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 15:30 schrieb Bo Peng:
  You mean something like the folding feature found in some text 
editors.
  This would be very useful indeed, but is not possible yet. Please enter
  this as an enhancement request at http://bugzilla.lyx.org.
 
 I guess he meant outline view of word? I was editing a huge
 unsectioned word document  and I really missed lyx's navigation menu.

Maybe. But the folding stuff would be useful nevertheless IMHO (although 
the outliner is a partial replacement).


Georg



AcmSigplan -- Problem with citations

2007-01-27 Thread Frederic Fol Leymarie

Hi again

anyone has experienced such difficulties before
when setting up a new class/layout/template ?

It works all fine, except for the citation/BibTeX
(which has been working fine with other main classes: article. report.
etc.), see error message below.

Frederic



Hi

I followed the steps indicated under :

http://wiki.lyx.org/Examples/AcmSigplan


I installed / reconfigured LyX
and can open my article in the new ACM class; fine.

The problem I encounter is when I include citations.

I run into errors; here is an example of the error messages I get
for each citation :

--
Use of [EMAIL PROTECTED] doesn't match its definition.
of Todd and Latham \cite{
ToddLathamEvoArt} and on the other hand,
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.
-

I had no such problem when using the plain article class.

Any idea what the above means?

I am running LyX 1.3.7 under Ubuntu.

Regards,
Frederic





acronym package missing

2007-01-27 Thread Francesco
Hi,

I'm using for the first time lyx under cygwin. When I ask to produce the output
it gives the following error message:
-
LaTeX Error: File 'acronym.sty' not found

^^M

***(cannot \read from terminal in nonstop modes)
-
I don't know how to solve it can anyone help?

Many thanks and regards
Francesco



A question about fonts

2007-01-27 Thread John Hughes
This is going to sound like a bit of a stupid question. I have quite a few 
fonts installed in Windows (XP) which are available to pretty much all of my 
programmes. LyX uses its own set of fonts, which aren't available to any 
other programmes and does not (appear) to be able to use the other fonts on 
the system. Why is this? And can LyX use the fonts installed in Windows?


Thanks

John

_
MSN Hotmail is evolving – check out the new Windows Live Mail 
http://ideas.live.com




Re: Y without ERT (\Y)?

2007-01-27 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], Tobias Krause 
[EMAIL PROTECTED] wrote.

Did you try the Alt-0255 and Alt-0159 methods, Tobias?


It works, thanks!


In Win-XP all of the character codes accessible to me can be displayed 
as follows. Start - All Programs - Accessories - System Tools - 
Character Map. When the character map box pops up select your LyX screen 
font from the 'Font' options (Times New Roman, in my case) and then tick 
'Advanced view'. Then click on any character in the map box and use the 
arrow keys to navigate to the one you want to use. As you move over the 
characters keep an eye on the bottom right-hand corner of the box. 
You'll see that for some characters (but not all) a key code will be 
displayed in the form 'Keystroke: Alt-'. This is the code you use 
for producing the character required. I've made a little list of the few 
key-codes I use most frequently, for reference.


Regards,
Nick.

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



Equation numbering

2007-01-27 Thread Nick Kuzmik

Is there any way to get section/subsection reflected in equation numbering?
For example, I have a study guide that chapter 13.1 to 17.5, thats 36 pages
long with some 228 lines of equations.  It would be more concise to be able
to reference equation 14.3.3, rather than Equation 94

--
Nick Kuzmik
AIM   nkuzmik
845-406-5115


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

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

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

 
 \jobname is your friend then. :-)
 

Thank you!

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

iD8DBQFFu6APRZ/61mwhY94RAtLmAJwJKIiKWs9VAhPBkUBW2EoekYimMgCdE4EB
C1YcTF18fFDwt2RY3vP1OQQ=
=RzLh
-END PGP SIGNATURE-
-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ [EMAIL PROTECTED]



questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Mike Roberts
disclaimer: i'm new to LyX and (La)TeX.

i believe i have two installations of teTeX on my mac. first, there's 
the version installed in /usr. second, i believe i have a newer one 
installed in /opt/local (macports). the LyX installer script detected 
the macports installation and installed some of its files accordingly. 
the path setting in the perferences panel lists the /usr installation 
paths first. does this mean that Lyx is misconfigured, searching /usr 
for teTeX binaries before /opt/local, where it should be grabbing teTeX 
binaries? also, what happens when i upgrade my macports tree? do the 
files LyX needed to install into /opt/local get removed or overwritten?

/mike



Re: Hide parts of the document

2007-01-27 Thread Russell Davie
On Sat, 27 Jan 2007 16:18:39 +0100
Georg Baum [EMAIL PROTECTED] wrote:

 Am Samstag, 27. Januar 2007 15:30 schrieb Bo Peng:
   You mean something like the folding feature found in some text 
 editors.
   This would be very useful indeed, but is not possible yet. Please enter
   this as an enhancement request at http://bugzilla.lyx.org.
  
  I guess he meant outline view of word? I was editing a huge
  unsectioned word document  and I really missed lyx's navigation menu.
 
 Maybe. But the folding stuff would be useful nevertheless IMHO (although 
 the outliner is a partial replacement).
 
 
 Georg

This is a great suggestion!

Cut and pasting to move big sections of text within the doc would be much 
easier with folding.  

I had to do this last night and used mouse dragging to select, then C-X, C-V.  
I over shot the selection a few times before I got it right.  Sometimes this 
leads to several cut-pastes and which makes mistakes, and means later on fixing 
up the mess.

Even if the sections folded, this would make it a great deal easier to do this.

thanks in advance for your great efforts,

cheers

Russsell
Send instant messages to your online friends http://au.messenger.yahoo.com 



Re: acronym package missing

2007-01-27 Thread Paul A. Rubin

Francesco wrote:

Hi,

I'm using for the first time lyx under cygwin. When I ask to produce the output
it gives the following error message:
-
LaTeX Error: File 'acronym.sty' not found

^^M

***(cannot \read from terminal in nonstop modes)
-
I don't know how to solve it can anyone help?

Many thanks and regards
Francesco




You need to download and install the LaTeX acronym package.  How you do 
that depends on which LaTeX distribution you have.


/Paul



Re: problems with urls not breaking at end of line

2007-01-27 Thread Paul A. Rubin

Rainer M Krug wrote:

Hi

I have some urls in my document (simple article style, no special 
options) which contains some URLs. These URLs are entered via the URL 
command in the menue. As I don't like the borders around the URLs, I 
used the package hyperref, and the problems start: the URLs are now 
nicely formated in blue, but they don't break at the end of a line, even 
if I use the final=true or breaklinks=true options.


Anmy ideas how I can get these to break at the end of a line as they 
should be?


Thanks,

Rainer


I don't typically have any problems with links wrapping, but I think I 
usually use \href (in ERT) rather than the menu URL command (plus the 
breaklinks option).


Another possibility to investigate is the breakurl package (which you 
load in the preamble *after* hyperref).  It redefines \url to allow 
breaking.


HTH,
/Paul




Re: Footnotes in Greek

2007-01-27 Thread Uwe Stöhr

Declan O'Byrne schrieb:


I've been trying to get a way to insert some greek text into a document.
Having installed the relevant bits from texlive, I tried putting
\usepackage[greek,british]{babel} into the preamble.


You don't need to do this manually.

Simply take your british document and use the textstyle dialog to mark parts of the text as greek. 
LyX will then take care about the babel options, character encoding and will set the \selectlanguage 
correctly.

Attached is an example file.

In the upcoming LyX 1.5 it is possible that greek characters are also displayed 
as such.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Create hyperlink in presentation (beamer) which launches program when clicked?

2007-01-27 Thread Paul A. Rubin

Rainer M Krug wrote:

Hi

Is it possible to insert into a document (class: beamer) a hyperlink via 
URL which launches a program?


Thanks

Rainer



I can think of one way, but I don't know whether it generalizes beyond 
Windows (I suspect it works on Macs, not sure on Linux).  Suppose that 
you have a data file whose extension is associated (either in the OS or 
within your default web browser) with a particular application.  If you 
use file://path/to/target/myfile.ext in the hyperlink, clicking the 
hyperlink in the PDF file launches the web browser, which then asks you 
whether you want to open the target file or save it.  You pick open and 
the application launches and opens the file.


If you want to launch an application without a target file, you can try 
the following.  First, associate in Windows some extension with a shell 
processor.  For instance, I have .sh associated with MinSYS sh.exe 
(which emulates sh on a *nix system).  To launch app.exe from a Beamer 
presentation, I first write a script (app.sh) that launches app.exe. 
(The script will likely need an absolute path to app.exe, since at least 
with Firefox it will be launched from whatever Firefox thinks is your 
default download directory.)  In the Beamer presentation, I use 
file://path/app.sh.  When I click the link, Beamer invokes Firefox to 
process the link, Firefox asks me what do with the link (default being 
to run it under sh, since that's the association in Windows), I select 
the default, Firefox runs sh, which runs app.sh, which runs app.exe. 
pause to catch breath


Note that this is not particularly transportable.

HTH,
/Paul




Re: problems with urls not breaking at end of line

2007-01-27 Thread Uwe Stöhr

Rainer M Krug schrieb:

These URLs are entered via the URL 
command in the menue. As I don't like the borders around the URLs, I 
used the package hyperref, and the problems start: the URLs are now 
nicely formated in blue, but they don't break at the end of a line, even 
if I use the final=true or breaklinks=true options.


Don't use the URL inset in this case. Use hyperref's \href command instead, see the attached example 
LyX-file. This has the advantage that you can treat the URL text like every other LyX text: You can 
change ist format, can enter forced linebreaks, hyphenation points, etc. as I demonstrated in the 
attached file.


regards Uwe




newfile3.lyx
Description: application/lyx


Re: acronym package missing

2007-01-27 Thread Enrico Forestieri
Francesco [EMAIL PROTECTED] writes:

 I'm using for the first time lyx under cygwin. When I ask to produce the 
 output
 it gives the following error message:
 -
 LaTeX Error: File 'acronym.sty' not found
 
 ^^M
 
 ***(cannot \read from terminal in nonstop modes)
 -
 I don't know how to solve it can anyone help?

You have to install the cygwin tetex-extra package.
Contrarily to IEEEtran.cls, the acronym.sty package is contained there.

In general, when you search for a particular file and want to know what
cygwin package contains it, you can paste the following query in the
address field of your browser:

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=acronym.sty

Replace acronym.sty with whatever filename you are interested in.

-- 
Enrico



Re: Equation numbering

2007-01-27 Thread Uwe Stöhr

Nick Kuzmik schrieb:


Is there any way to get section/subsection reflected in equation numbering?
For example, I have a study guide that chapter 13.1 to 17.5, thats 36 pages
long with some 228 lines of equations.  It would be more concise to be able
to reference equation 14.3.3, rather than Equation 94


Add this line to your document preamble

\numberwithin{equation}{subsection}

and set in the document setings that the AMS math package is used. (You can replace subsection 
with every other section heading you prefer for the numbering.)

Attached is an examply LyX file.

regards Uwe


newfile4.lyx
Description: application/lyx


Re: questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Bennett Helm

On Jan 27, 2007, at 4:43 AM, Mike Roberts wrote:


disclaimer: i'm new to LyX and (La)TeX.

i believe i have two installations of teTeX on my mac. first, there's
the version installed in /usr. second, i believe i have a newer one
installed in /opt/local (macports). the LyX installer script detected
the macports installation and installed some of its files accordingly.
the path setting in the perferences panel lists the /usr installation
paths first. does this mean that Lyx is misconfigured, searching /usr
for teTeX binaries before /opt/local, where it should be grabbing  
teTeX

binaries? also, what happens when i upgrade my macports tree? do the
files LyX needed to install into /opt/local get removed or  
overwritten?


The LyX-Installer script checks for a TeX installation in /usr/local/ 
teTeX/... and in /sw/bin before /opt/bin, and it picks the first one  
it finds to install a few files (which include preview.sty and  
srcltx.sty among a few others). So it shouldn't install these files  
in /opt/local if you have a TeX installation in /usr/local, and so  
the default PATH Prefix setting should be appropriate in this case.  
(Do you really have a working teTeX installation in /usr/local/ 
teTeX/...?)


I'm not sure whether macports will overwrite these LyX files or not  
when you upgrade, but it is a possibility. (i-Installer has a  
separate directory for user-installed files that are not touched when  
upgrading.) You can test and see: upgrade macport's teTeX, and then  
run the LyX installer. If it says it needs to reinstall preview.sty  
and srcltx.sty, then it has overwritten those files. (And that would  
be good for me to know.)


Note, however, that the files that LyX installs here are needed only  
for some special features, which you may not use at all: they are not  
*needed* for LyX (though they are nice to have in some cases).


Bennett


Re: questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Mike Roberts
In article [EMAIL PROTECTED],
 Bennett Helm [EMAIL PROTECTED] 
 wrote:

 The LyX-Installer script checks for a TeX installation in /usr/local/ 
 teTeX/... and in /sw/bin before /opt/bin, and it picks the first one  
 it finds to install a few files (which include preview.sty and  
 srcltx.sty among a few others). So it shouldn't install these files  
 in /opt/local if you have a TeX installation in /usr/local, and so  
 the default PATH Prefix setting should be appropriate in this case.  
 (Do you really have a working teTeX installation in /usr/local/ 
 teTeX/...?)

this is a good question and why i didn't ask this before baffles me at 
the moment. it appears that i don't have anything in /usr or /usr/local 
and that these directories are only present in the PATH array. i don't 
have fink installed, so i don't have multiple tex installations after 
all. i suppose i must have assumed that i had an installation that was 
detected and reflected in the PATH array. my apologies.

 I'm not sure whether macports will overwrite these LyX files or not  
 when you upgrade, but it is a possibility. (i-Installer has a  
 separate directory for user-installed files that are not touched when  
 upgrading.) You can test and see: upgrade macport's teTeX, and then  
 run the LyX installer. If it says it needs to reinstall preview.sty  
 and srcltx.sty, then it has overwritten those files. (And that would  
 be good for me to know.)

the next time i notice that the teTeX port needs to be upgraded, i will 
do this. i do know that the lyx installer prompted me to overwrite a 
file so i imagine that it's a possibility i will loose it.

 Note, however, that the files that LyX installs here are needed only  
 for some special features, which you may not use at all: they are not  
 *needed* for LyX (though they are nice to have in some cases).

good to know. thanks.

/mike



Re: OpenOffice vs. LyX

2007-01-27 Thread Jürgen Spitzmüller
Stefano Franchi wrote:
 Besides,
 Framemaker may even  die soon, given Adobe's massive investment in
 InDesign, and its format is not really open.

Which is really, really a pain in the ass. I never used Framemaker, but I just 
typeset a book with InDesign CS2. Unbelievable. It cannot even do automatic 
headings. And the (German) hyphenation patterns are ridiculous. I'm glad to 
be back on LaTeX/LyX now.

Jürgen


Re: Ÿ without ERT (\Y)?

2007-01-27 Thread Bernhard Roider

What does not work in 1.4.x (but will work in 1.5.0) is copying ÿ from other
sources, e.g. this post.


I thought that too but last week i was really surprised about the following:

at least in lyx 1.4.2 and 1.4.3 on Winxp you can paste the contents of the windows clipboard by 
pressing the middle mouse button in lyx! thist works for ÿ, too.


Bernhard



Re: OpenOffice vs. LyX

2007-01-27 Thread killermike




I'd have to disagree.Unfortunately LyX is still behind the curve in 
the area of  big project management (books, manuals, etc).  But it is 
close to perfect, I think, for any document from 0 pages to 
chapter-length as long as complex layouts are not required (i.e. 
multicolumnns with pictures and tables, etc.).
I like to use Lyx for nearly everything as it's good 'practice' for when 
I need to use it for the more important stuff.  For example, I once 
wrote a shorter doc in Lyx while trying out an unfamiliar document class.


I'm at the note taking stage of a book project myself. Care to elaborate 
about the features which you think that Lyx is missing for book-scale 
projects?


--
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio 





Hide parts of the document

2007-01-27 Thread Horacio Emilio Pérez Sánchez

Hi,

I've just installed LyX 1.4.3 since I worked a lot of time with 1.3.4.

Now I wonder, if when working with the lyx file, some parts of the 
document can be easily hidden, for me to read the document more clear. 
For example, I am viewing a section, so if it is possible to hid a 
subsecion fast and easily, because maybe I want to see only sections 
2.1 and 2.3, but section 2.2 is very long and I can not see the 
relations between 2.1 and 2.3.


Of course, the output should include all sections.


Thanks.

Horacio.





Search for info

2007-01-27 Thread Horacio Emilio Pérez Sánchez

Hi,

I was looking for some information at

http://www.mail-archive.com/lyx-users@lists.lyx.org/index.html

so when I use Search filed, I get a lot of results. I wonder if there 
is any way to obtain the results ordered by post-date.


Sometimes it appears a lot of results, but the most relevants are the newest.

Thanks.

Horacio.




Re: Ÿ without ERT (\Y)?

2007-01-27 Thread Georg Baum
Am Freitag, 26. Januar 2007 22:14 schrieb Tobias Krause:
 Thanks for all your help!
 
  I've set latin1 inputenc in the latex preamble and I see Ÿ in the
  LyX-file and in the pdf output using 1.4.3-5. How does that happen?
  
 
  Small or capital Ÿ? The small one is both in latin1 and latin9, the 
capital
  one only in latin9.
  If you really mean capital Ÿ: This should only happen if you copied the
  first Ÿ from my file. The second one should not work with latin1.
 
 It's capital but with  instead of the dots. It look exactly like in the
 first line of the document you send and it looks exactly the same in the
 output file like Ÿ.

OK, that is supposed to work.

 just to make sure: the only way to change the LyX generated preamble is
 to use the gui and if there are options missing I cannot change them -
 right? (Really just because I'm curious)

Basically yes, but normally there are no options missing. Either a package 
is fully supported. If you load packages youerself you can get package 
ordering problems in some cases, that may need some tricks. A real 
solution for this would be a package manager that lets you insert custom 
packages inbetween the ones loaded by LyX.


Georg



Re: Ÿ without ERT (\Y)?

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 12:05 schrieb Bernhard Roider:
 I thought that too but last week i was really surprised about the 
following:
 
 at least in lyx 1.4.2 and 1.4.3 on Winxp you can paste the contents of 
the windows clipboard by 
 pressing the middle mouse button in lyx! thist works for ÿ, too.

Whether that works for ÿ or not depends on your language settings and the 
encoding of the document.

Note that LyX 1.5.0 will allow normal paste from the windows clipboard with 
Ctrl-V. Whether middle mouse button paste will still work is not yet 
clear.


Georg



Re: Hide parts of the document

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 12:27 schrieb Horacio Emilio Pérez Sánchez:
 Hi,
 
 I've just installed LyX 1.4.3 since I worked a lot of time with 1.3.4.
 
 Now I wonder, if when working with the lyx file, some parts of the 
 document can be easily hidden, for me to read the document more clear. 
 For example, I am viewing a section, so if it is possible to hid a 
 subsecion fast and easily, because maybe I want to see only sections 
 2.1 and 2.3, but section 2.2 is very long and I can not see the 
 relations between 2.1 and 2.3.

You mean something like the folding feature found in some text editors. 
This would be very useful indeed, but is not possible yet. Please enter 
this as an enhancement request at http://bugzilla.lyx.org.


Georg



Re: Search for info

2007-01-27 Thread christian . ridderstrom

On Sat, 27 Jan 2007, Horacio Emilio Pérez Sánchez wrote:


Hi,

I was looking for some information at

http://www.mail-archive.com/lyx-users@lists.lyx.org/index.html

so when I use Search filed, I get a lot of results. I wonder if there is 
any way to obtain the results ordered by post-date.


Sometimes it appears a lot of results, but the most relevants are the newest.


Try searching via gmane instead
http://news.gmane.org/gmane.editors.lyx.general/

/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Ÿ without ERT (\Y)?

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


[...]

Note that LyX 1.5.0 will allow normal paste from the windows clipboard with
Ctrl-V. Whether middle mouse button paste will still work is not yet
clear.

[...]

The middle-button paste still works in the latest Windows alpha release 
and as you say Georg, it is now possible to copy and then paste into LyX 
directly by the usual Windows means (Ctl-C - Ctl-V). It just gets 
better and better.


Did you try the Alt-0255 and Alt-0159 methods, Tobias?

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



Re: Y without ERT (\Y)?

2007-01-27 Thread Tobias Krause
 Did you try the Alt-0255 and Alt-0159 methods, Tobias?

It works, thanks!

Toby



Re: Ÿ without ERT (\Y)?

2007-01-27 Thread Tobias Krause

 just to make sure: the only way to change the LyX generated preamble is
 to use the gui and if there are options missing I cannot change them -
 right? (Really just because I'm curious)
 

 Basically yes, but normally there are no options missing. Either a package 
 is fully supported. If you load packages youerself you can get package 
 ordering problems in some cases, that may need some tricks. A real 
 solution for this would be a package manager that lets you insert custom 
 packages inbetween the ones loaded by LyX.

This would be really great - is this already planned to be implemented?
(Especially since this seems to be the only restriction where LyX might
not be able to do every thing plain LaTeX can - or are there others?)
And since we're already very off topic: there is no in line spell check
yet, is there?

Toby



Re: Ÿ without ERT (\Y)?

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 14:17 schrieb Tobias Krause:
 
  just to make sure: the only way to change the LyX generated preamble 
is
  to use the gui and if there are options missing I cannot change them -
  right? (Really just because I'm curious)
  
 
  Basically yes, but normally there are no options missing. Either a 
package 
  is fully supported. If you load packages youerself you can get package 
  ordering problems in some cases, that may need some tricks. A real 
  solution for this would be a package manager that lets you insert 
custom 
  packages inbetween the ones loaded by LyX.
 
 This would be really great - is this already planned to be implemented?

It is agreed that this would be useful, and Herbert Voß wrote something 
like that a long time ago, but for some reasons I don't now it never made 
its way into the sources, and nobody works currently on it.

 (Especially since this seems to be the only restriction where LyX might
 not be able to do every thing plain LaTeX can - or are there others?)

Yes, this is the only restriction of this sort. In the text you can always 
resort to ERT if you want to do something that is not supported natively. 
Of course that can be a mess (e.g. if you have a bigger table using one of 
the packages LyX does not support), but it can be done.

 And since we're already very off topic: there is no in line spell check
 yet, is there?

No: http://bugzilla.lyx.org/show_bug.cgi?id=718


Georg



Re: Hide parts of the document

2007-01-27 Thread Bo Peng

You mean something like the folding feature found in some text editors.
This would be very useful indeed, but is not possible yet. Please enter
this as an enhancement request at http://bugzilla.lyx.org.


I guess he meant outline view of word? I was editing a huge
unsectioned word document  and I really missed lyx's navigation menu.

Cheers,
Bo


How I solved my LyXTextClassList::Read: no textclasses found! problem

2007-01-27 Thread Richard Garbutt

I was getting this error after installing with the Standard Web
Installer available at http://wiki.lyx.org/Windows/Windows on XP
Professional.

My home directory is on C:\. The file textclass.lst was being created
but only contained a comment.

Various combinations of running configure.py, deleting the settings
folder and reinstalling did not help.

What worked was running configure.py with the option
--without-latex-config. Then a default textclass.lst was generated.

Lyx would now run but did not have any text classes.

While Lyx was running, I ran configure.py again. This time not using
the --without-latex-config option. configure.py took much longer to
run and its output showed it was finding a lot of text classes which
it wrote to textclass.lst

I restarted Lyx and everything seems to be working :)

I hope this helps someone...

Richard


Re: Hide parts of the document

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 15:30 schrieb Bo Peng:
  You mean something like the folding feature found in some text 
editors.
  This would be very useful indeed, but is not possible yet. Please enter
  this as an enhancement request at http://bugzilla.lyx.org.
 
 I guess he meant outline view of word? I was editing a huge
 unsectioned word document  and I really missed lyx's navigation menu.

Maybe. But the folding stuff would be useful nevertheless IMHO (although 
the outliner is a partial replacement).


Georg



AcmSigplan -- Problem with citations

2007-01-27 Thread Frederic Fol Leymarie

Hi again

anyone has experienced such difficulties before
when setting up a new class/layout/template ?

It works all fine, except for the citation/BibTeX
(which has been working fine with other main classes: article. report.
etc.), see error message below.

Frederic



Hi

I followed the steps indicated under :

http://wiki.lyx.org/Examples/AcmSigplan


I installed / reconfigured LyX
and can open my article in the new ACM class; fine.

The problem I encounter is when I include citations.

I run into errors; here is an example of the error messages I get
for each citation :

--
Use of [EMAIL PROTECTED] doesn't match its definition.
of Todd and Latham \cite{
ToddLathamEvoArt} and on the other hand,
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.
-

I had no such problem when using the plain article class.

Any idea what the above means?

I am running LyX 1.3.7 under Ubuntu.

Regards,
Frederic





acronym package missing

2007-01-27 Thread Francesco
Hi,

I'm using for the first time lyx under cygwin. When I ask to produce the output
it gives the following error message:
-
LaTeX Error: File 'acronym.sty' not found

^^M

***(cannot \read from terminal in nonstop modes)
-
I don't know how to solve it can anyone help?

Many thanks and regards
Francesco



A question about fonts

2007-01-27 Thread John Hughes
This is going to sound like a bit of a stupid question. I have quite a few 
fonts installed in Windows (XP) which are available to pretty much all of my 
programmes. LyX uses its own set of fonts, which aren't available to any 
other programmes and does not (appear) to be able to use the other fonts on 
the system. Why is this? And can LyX use the fonts installed in Windows?


Thanks

John

_
MSN Hotmail is evolving – check out the new Windows Live Mail 
http://ideas.live.com




Re: Y without ERT (\Y)?

2007-01-27 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], Tobias Krause 
[EMAIL PROTECTED] wrote.

Did you try the Alt-0255 and Alt-0159 methods, Tobias?


It works, thanks!


In Win-XP all of the character codes accessible to me can be displayed 
as follows. Start - All Programs - Accessories - System Tools - 
Character Map. When the character map box pops up select your LyX screen 
font from the 'Font' options (Times New Roman, in my case) and then tick 
'Advanced view'. Then click on any character in the map box and use the 
arrow keys to navigate to the one you want to use. As you move over the 
characters keep an eye on the bottom right-hand corner of the box. 
You'll see that for some characters (but not all) a key code will be 
displayed in the form 'Keystroke: Alt-'. This is the code you use 
for producing the character required. I've made a little list of the few 
key-codes I use most frequently, for reference.


Regards,
Nick.

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



Equation numbering

2007-01-27 Thread Nick Kuzmik

Is there any way to get section/subsection reflected in equation numbering?
For example, I have a study guide that chapter 13.1 to 17.5, thats 36 pages
long with some 228 lines of equations.  It would be more concise to be able
to reference equation 14.3.3, rather than Equation 94

--
Nick Kuzmik
AIM   nkuzmik
845-406-5115


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

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

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

 
 \jobname is your friend then. :-)
 

Thank you!

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

iD8DBQFFu6APRZ/61mwhY94RAtLmAJwJKIiKWs9VAhPBkUBW2EoekYimMgCdE4EB
C1YcTF18fFDwt2RY3vP1OQQ=
=RzLh
-END PGP SIGNATURE-
-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ [EMAIL PROTECTED]



questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Mike Roberts
disclaimer: i'm new to LyX and (La)TeX.

i believe i have two installations of teTeX on my mac. first, there's 
the version installed in /usr. second, i believe i have a newer one 
installed in /opt/local (macports). the LyX installer script detected 
the macports installation and installed some of its files accordingly. 
the path setting in the perferences panel lists the /usr installation 
paths first. does this mean that Lyx is misconfigured, searching /usr 
for teTeX binaries before /opt/local, where it should be grabbing teTeX 
binaries? also, what happens when i upgrade my macports tree? do the 
files LyX needed to install into /opt/local get removed or overwritten?

/mike



Re: Hide parts of the document

2007-01-27 Thread Russell Davie
On Sat, 27 Jan 2007 16:18:39 +0100
Georg Baum [EMAIL PROTECTED] wrote:

 Am Samstag, 27. Januar 2007 15:30 schrieb Bo Peng:
   You mean something like the folding feature found in some text 
 editors.
   This would be very useful indeed, but is not possible yet. Please enter
   this as an enhancement request at http://bugzilla.lyx.org.
  
  I guess he meant outline view of word? I was editing a huge
  unsectioned word document  and I really missed lyx's navigation menu.
 
 Maybe. But the folding stuff would be useful nevertheless IMHO (although 
 the outliner is a partial replacement).
 
 
 Georg

This is a great suggestion!

Cut and pasting to move big sections of text within the doc would be much 
easier with folding.  

I had to do this last night and used mouse dragging to select, then C-X, C-V.  
I over shot the selection a few times before I got it right.  Sometimes this 
leads to several cut-pastes and which makes mistakes, and means later on fixing 
up the mess.

Even if the sections folded, this would make it a great deal easier to do this.

thanks in advance for your great efforts,

cheers

Russsell
Send instant messages to your online friends http://au.messenger.yahoo.com 



Re: acronym package missing

2007-01-27 Thread Paul A. Rubin

Francesco wrote:

Hi,

I'm using for the first time lyx under cygwin. When I ask to produce the output
it gives the following error message:
-
LaTeX Error: File 'acronym.sty' not found

^^M

***(cannot \read from terminal in nonstop modes)
-
I don't know how to solve it can anyone help?

Many thanks and regards
Francesco




You need to download and install the LaTeX acronym package.  How you do 
that depends on which LaTeX distribution you have.


/Paul



Re: problems with urls not breaking at end of line

2007-01-27 Thread Paul A. Rubin

Rainer M Krug wrote:

Hi

I have some urls in my document (simple article style, no special 
options) which contains some URLs. These URLs are entered via the URL 
command in the menue. As I don't like the borders around the URLs, I 
used the package hyperref, and the problems start: the URLs are now 
nicely formated in blue, but they don't break at the end of a line, even 
if I use the final=true or breaklinks=true options.


Anmy ideas how I can get these to break at the end of a line as they 
should be?


Thanks,

Rainer


I don't typically have any problems with links wrapping, but I think I 
usually use \href (in ERT) rather than the menu URL command (plus the 
breaklinks option).


Another possibility to investigate is the breakurl package (which you 
load in the preamble *after* hyperref).  It redefines \url to allow 
breaking.


HTH,
/Paul




Re: Footnotes in Greek

2007-01-27 Thread Uwe Stöhr

Declan O'Byrne schrieb:


I've been trying to get a way to insert some greek text into a document.
Having installed the relevant bits from texlive, I tried putting
\usepackage[greek,british]{babel} into the preamble.


You don't need to do this manually.

Simply take your british document and use the textstyle dialog to mark parts of the text as greek. 
LyX will then take care about the babel options, character encoding and will set the \selectlanguage 
correctly.

Attached is an example file.

In the upcoming LyX 1.5 it is possible that greek characters are also displayed 
as such.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Create hyperlink in presentation (beamer) which launches program when clicked?

2007-01-27 Thread Paul A. Rubin

Rainer M Krug wrote:

Hi

Is it possible to insert into a document (class: beamer) a hyperlink via 
URL which launches a program?


Thanks

Rainer



I can think of one way, but I don't know whether it generalizes beyond 
Windows (I suspect it works on Macs, not sure on Linux).  Suppose that 
you have a data file whose extension is associated (either in the OS or 
within your default web browser) with a particular application.  If you 
use file://path/to/target/myfile.ext in the hyperlink, clicking the 
hyperlink in the PDF file launches the web browser, which then asks you 
whether you want to open the target file or save it.  You pick open and 
the application launches and opens the file.


If you want to launch an application without a target file, you can try 
the following.  First, associate in Windows some extension with a shell 
processor.  For instance, I have .sh associated with MinSYS sh.exe 
(which emulates sh on a *nix system).  To launch app.exe from a Beamer 
presentation, I first write a script (app.sh) that launches app.exe. 
(The script will likely need an absolute path to app.exe, since at least 
with Firefox it will be launched from whatever Firefox thinks is your 
default download directory.)  In the Beamer presentation, I use 
file://path/app.sh.  When I click the link, Beamer invokes Firefox to 
process the link, Firefox asks me what do with the link (default being 
to run it under sh, since that's the association in Windows), I select 
the default, Firefox runs sh, which runs app.sh, which runs app.exe. 
pause to catch breath


Note that this is not particularly transportable.

HTH,
/Paul




Re: problems with urls not breaking at end of line

2007-01-27 Thread Uwe Stöhr

Rainer M Krug schrieb:

These URLs are entered via the URL 
command in the menue. As I don't like the borders around the URLs, I 
used the package hyperref, and the problems start: the URLs are now 
nicely formated in blue, but they don't break at the end of a line, even 
if I use the final=true or breaklinks=true options.


Don't use the URL inset in this case. Use hyperref's \href command instead, see the attached example 
LyX-file. This has the advantage that you can treat the URL text like every other LyX text: You can 
change ist format, can enter forced linebreaks, hyphenation points, etc. as I demonstrated in the 
attached file.


regards Uwe




newfile3.lyx
Description: application/lyx


Re: acronym package missing

2007-01-27 Thread Enrico Forestieri
Francesco [EMAIL PROTECTED] writes:

 I'm using for the first time lyx under cygwin. When I ask to produce the 
 output
 it gives the following error message:
 -
 LaTeX Error: File 'acronym.sty' not found
 
 ^^M
 
 ***(cannot \read from terminal in nonstop modes)
 -
 I don't know how to solve it can anyone help?

You have to install the cygwin tetex-extra package.
Contrarily to IEEEtran.cls, the acronym.sty package is contained there.

In general, when you search for a particular file and want to know what
cygwin package contains it, you can paste the following query in the
address field of your browser:

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=acronym.sty

Replace acronym.sty with whatever filename you are interested in.

-- 
Enrico



Re: Equation numbering

2007-01-27 Thread Uwe Stöhr

Nick Kuzmik schrieb:


Is there any way to get section/subsection reflected in equation numbering?
For example, I have a study guide that chapter 13.1 to 17.5, thats 36 pages
long with some 228 lines of equations.  It would be more concise to be able
to reference equation 14.3.3, rather than Equation 94


Add this line to your document preamble

\numberwithin{equation}{subsection}

and set in the document setings that the AMS math package is used. (You can replace subsection 
with every other section heading you prefer for the numbering.)

Attached is an examply LyX file.

regards Uwe


newfile4.lyx
Description: application/lyx


Re: questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Bennett Helm

On Jan 27, 2007, at 4:43 AM, Mike Roberts wrote:


disclaimer: i'm new to LyX and (La)TeX.

i believe i have two installations of teTeX on my mac. first, there's
the version installed in /usr. second, i believe i have a newer one
installed in /opt/local (macports). the LyX installer script detected
the macports installation and installed some of its files accordingly.
the path setting in the perferences panel lists the /usr installation
paths first. does this mean that Lyx is misconfigured, searching /usr
for teTeX binaries before /opt/local, where it should be grabbing  
teTeX

binaries? also, what happens when i upgrade my macports tree? do the
files LyX needed to install into /opt/local get removed or  
overwritten?


The LyX-Installer script checks for a TeX installation in /usr/local/ 
teTeX/... and in /sw/bin before /opt/bin, and it picks the first one  
it finds to install a few files (which include preview.sty and  
srcltx.sty among a few others). So it shouldn't install these files  
in /opt/local if you have a TeX installation in /usr/local, and so  
the default PATH Prefix setting should be appropriate in this case.  
(Do you really have a working teTeX installation in /usr/local/ 
teTeX/...?)


I'm not sure whether macports will overwrite these LyX files or not  
when you upgrade, but it is a possibility. (i-Installer has a  
separate directory for user-installed files that are not touched when  
upgrading.) You can test and see: upgrade macport's teTeX, and then  
run the LyX installer. If it says it needs to reinstall preview.sty  
and srcltx.sty, then it has overwritten those files. (And that would  
be good for me to know.)


Note, however, that the files that LyX installs here are needed only  
for some special features, which you may not use at all: they are not  
*needed* for LyX (though they are nice to have in some cases).


Bennett


Re: questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Mike Roberts
In article [EMAIL PROTECTED],
 Bennett Helm [EMAIL PROTECTED] 
 wrote:

 The LyX-Installer script checks for a TeX installation in /usr/local/ 
 teTeX/... and in /sw/bin before /opt/bin, and it picks the first one  
 it finds to install a few files (which include preview.sty and  
 srcltx.sty among a few others). So it shouldn't install these files  
 in /opt/local if you have a TeX installation in /usr/local, and so  
 the default PATH Prefix setting should be appropriate in this case.  
 (Do you really have a working teTeX installation in /usr/local/ 
 teTeX/...?)

this is a good question and why i didn't ask this before baffles me at 
the moment. it appears that i don't have anything in /usr or /usr/local 
and that these directories are only present in the PATH array. i don't 
have fink installed, so i don't have multiple tex installations after 
all. i suppose i must have assumed that i had an installation that was 
detected and reflected in the PATH array. my apologies.

 I'm not sure whether macports will overwrite these LyX files or not  
 when you upgrade, but it is a possibility. (i-Installer has a  
 separate directory for user-installed files that are not touched when  
 upgrading.) You can test and see: upgrade macport's teTeX, and then  
 run the LyX installer. If it says it needs to reinstall preview.sty  
 and srcltx.sty, then it has overwritten those files. (And that would  
 be good for me to know.)

the next time i notice that the teTeX port needs to be upgraded, i will 
do this. i do know that the lyx installer prompted me to overwrite a 
file so i imagine that it's a possibility i will loose it.

 Note, however, that the files that LyX installs here are needed only  
 for some special features, which you may not use at all: they are not  
 *needed* for LyX (though they are nice to have in some cases).

good to know. thanks.

/mike



Re: OpenOffice vs. LyX

2007-01-27 Thread Jürgen Spitzmüller
Stefano Franchi wrote:
> Besides,
> Framemaker may even  die soon, given Adobe's massive investment in
> InDesign, and its format is not really open.

Which is really, really a pain in the ass. I never used Framemaker, but I just 
typeset a book with InDesign CS2. Unbelievable. It cannot even do automatic 
headings. And the (German) hyphenation patterns are ridiculous. I'm glad to 
be back on LaTeX/LyX now.

Jürgen


Re: Ÿ without ERT (\"Y)?

2007-01-27 Thread Bernhard Roider

What does not work in 1.4.x (but will work in 1.5.0) is copying ÿ from other
sources, e.g. this post.


I thought that too but last week i was really surprised about the following:

at least in lyx 1.4.2 and 1.4.3 on Winxp you can paste the contents of the windows clipboard by 
pressing the middle mouse button in lyx! thist works for ÿ, too.


Bernhard



Re: OpenOffice vs. LyX

2007-01-27 Thread killermike




I'd have to disagree.Unfortunately LyX is still behind the curve in 
the area of  big project management (books, manuals, etc).  But it is 
close to perfect, I think, for any document from 0 pages to 
chapter-length as long as complex layouts are not required (i.e. 
multicolumnns with pictures and tables, etc.).
I like to use Lyx for nearly everything as it's good 'practice' for when 
I need to use it for the more important stuff.  For example, I once 
wrote a shorter doc in Lyx while trying out an unfamiliar document class.


I'm at the note taking stage of a book project myself. Care to elaborate 
about the features which you think that Lyx is missing for book-scale 
projects?


--
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio 





Hide parts of the document

2007-01-27 Thread Horacio Emilio Pérez Sánchez

Hi,

I've just installed LyX 1.4.3 since I worked a lot of time with 1.3.4.

Now I wonder, if when working with the lyx file, some parts of the 
document can be easily hidden, for me to read the document more clear. 
For example, I am viewing a section, so if it is possible to hid a 
subsecion fast and easily, because maybe I want to see only sections 
2.1 and 2.3, but section 2.2 is very long and I can not see the 
relations between 2.1 and 2.3.


Of course, the output should include all sections.


Thanks.

Horacio.





Search for info

2007-01-27 Thread Horacio Emilio Pérez Sánchez

Hi,

I was looking for some information at

http://www.mail-archive.com/lyx-users@lists.lyx.org/index.html

so when I use "Search" filed, I get a lot of results. I wonder if there 
is any way to obtain the results ordered by post-date.


Sometimes it appears a lot of results, but the most relevants are the newest.

Thanks.

Horacio.




Re: Ÿ without ERT (\"Y)?

2007-01-27 Thread Georg Baum
Am Freitag, 26. Januar 2007 22:14 schrieb Tobias Krause:
> Thanks for all your help!
> 
> >> I've set latin1 inputenc in the latex preamble and I see Ÿ in the
> >> LyX-file and in the pdf output using 1.4.3-5. How does that happen?
> >> 
> >
> > Small or capital Ÿ? The small one is both in latin1 and latin9, the 
capital
> > one only in latin9.
> > If you really mean capital Ÿ: This should only happen if you copied the
> > first Ÿ from my file. The second one should not work with latin1.
> 
> It's capital but with " instead of the dots. It look exactly like in the
> first line of the document you send and it looks exactly the same in the
> output file like Ÿ.

OK, that is supposed to work.

> just to make sure: the only way to change the LyX generated preamble is
> to use the gui and if there are options missing I cannot change them -
> right? (Really just because I'm curious)

Basically yes, but normally there are no options missing. Either a package 
is fully supported. If you load packages youerself you can get package 
ordering problems in some cases, that may need some tricks. A real 
solution for this would be a package manager that lets you insert custom 
packages inbetween the ones loaded by LyX.


Georg



Re: Ÿ without ERT (\"Y)?

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 12:05 schrieb Bernhard Roider:
> I thought that too but last week i was really surprised about the 
following:
> 
> at least in lyx 1.4.2 and 1.4.3 on Winxp you can paste the contents of 
the windows clipboard by 
> pressing the middle mouse button in lyx! thist works for ÿ, too.

Whether that works for ÿ or not depends on your language settings and the 
encoding of the document.

Note that LyX 1.5.0 will allow normal paste from the windows clipboard with 
Ctrl-V. Whether middle mouse button paste will still work is not yet 
clear.


Georg



Re: Hide parts of the document

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 12:27 schrieb Horacio Emilio Pérez Sánchez:
> Hi,
> 
> I've just installed LyX 1.4.3 since I worked a lot of time with 1.3.4.
> 
> Now I wonder, if when working with the lyx file, some parts of the 
> document can be easily hidden, for me to read the document more clear. 
> For example, I am viewing a section, so if it is possible to hid a 
> subsecion fast and easily, because maybe I want to see only sections 
> 2.1 and 2.3, but section 2.2 is very long and I can not see the 
> relations between 2.1 and 2.3.

You mean something like the "folding" feature found in some text editors. 
This would be very useful indeed, but is not possible yet. Please enter 
this as an enhancement request at http://bugzilla.lyx.org.


Georg



Re: Search for info

2007-01-27 Thread christian . ridderstrom

On Sat, 27 Jan 2007, Horacio Emilio Pérez Sánchez wrote:


Hi,

I was looking for some information at

http://www.mail-archive.com/lyx-users@lists.lyx.org/index.html

so when I use "Search" filed, I get a lot of results. I wonder if there is 
any way to obtain the results ordered by post-date.


Sometimes it appears a lot of results, but the most relevants are the newest.


Try searching via gmane instead
http://news.gmane.org/gmane.editors.lyx.general/

/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Ÿ without ERT (\"Y)?

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


[...]

Note that LyX 1.5.0 will allow normal paste from the windows clipboard with
Ctrl-V. Whether middle mouse button paste will still work is not yet
clear.

[...]

The middle-button paste still works in the latest Windows alpha release 
and as you say Georg, it is now possible to copy and then paste into LyX 
directly by the usual Windows means (Ctl-C -> Ctl-V). It just gets 
better and better.


Did you try the Alt-0255 and Alt-0159 methods, Tobias?

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



Re: Y" without ERT (\"Y)?

2007-01-27 Thread Tobias Krause
> Did you try the Alt-0255 and Alt-0159 methods, Tobias?

It works, thanks!

Toby



Re: Ÿ without ERT (\"Y)?

2007-01-27 Thread Tobias Krause
>
>> just to make sure: the only way to change the LyX generated preamble is
>> to use the gui and if there are options missing I cannot change them -
>> right? (Really just because I'm curious)
>> 
>
> Basically yes, but normally there are no options missing. Either a package 
> is fully supported. If you load packages youerself you can get package 
> ordering problems in some cases, that may need some tricks. A real 
> solution for this would be a package manager that lets you insert custom 
> packages inbetween the ones loaded by LyX.

This would be really great - is this already planned to be implemented?
(Especially since this seems to be the only restriction where LyX might
not be able to do every thing plain LaTeX can - or are there others?)
And since we're already very off topic: there is no in line spell check
yet, is there?

Toby



Re: Ÿ without ERT (\"Y)?

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 14:17 schrieb Tobias Krause:
> >
> >> just to make sure: the only way to change the LyX generated preamble 
is
> >> to use the gui and if there are options missing I cannot change them -
> >> right? (Really just because I'm curious)
> >> 
> >
> > Basically yes, but normally there are no options missing. Either a 
package 
> > is fully supported. If you load packages youerself you can get package 
> > ordering problems in some cases, that may need some tricks. A real 
> > solution for this would be a package manager that lets you insert 
custom 
> > packages inbetween the ones loaded by LyX.
> 
> This would be really great - is this already planned to be implemented?

It is agreed that this would be useful, and Herbert Voß wrote something 
like that a long time ago, but for some reasons I don't now it never made 
its way into the sources, and nobody works currently on it.

> (Especially since this seems to be the only restriction where LyX might
> not be able to do every thing plain LaTeX can - or are there others?)

Yes, this is the only restriction of this sort. In the text you can always 
resort to ERT if you want to do something that is not supported natively. 
Of course that can be a mess (e.g. if you have a bigger table using one of 
the packages LyX does not support), but it can be done.

> And since we're already very off topic: there is no in line spell check
> yet, is there?

No: http://bugzilla.lyx.org/show_bug.cgi?id=718


Georg



Re: Hide parts of the document

2007-01-27 Thread Bo Peng

You mean something like the "folding" feature found in some text editors.
This would be very useful indeed, but is not possible yet. Please enter
this as an enhancement request at http://bugzilla.lyx.org.


I guess he meant outline view of word? I was editing a huge
unsectioned word document  and I really missed lyx's navigation menu.

Cheers,
Bo


How I solved my "LyXTextClassList::Read: no textclasses found!" problem

2007-01-27 Thread Richard Garbutt

I was getting this error after installing with the Standard Web
Installer available at  on XP
Professional.

My home directory is on C:\. The file textclass.lst was being created
but only contained a comment.

Various combinations of running configure.py, deleting the settings
folder and reinstalling did not help.

What worked was running configure.py with the option
--without-latex-config. Then a default textclass.lst was generated.

Lyx would now run but did not have any text classes.

While Lyx was running, I ran configure.py again. This time not using
the --without-latex-config option. configure.py took much longer to
run and its output showed it was finding a lot of text classes which
it wrote to textclass.lst

I restarted Lyx and everything seems to be working :)

I hope this helps someone...

Richard


Re: Hide parts of the document

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 15:30 schrieb Bo Peng:
> > You mean something like the "folding" feature found in some text 
editors.
> > This would be very useful indeed, but is not possible yet. Please enter
> > this as an enhancement request at http://bugzilla.lyx.org.
> 
> I guess he meant outline view of word? I was editing a huge
> unsectioned word document  and I really missed lyx's navigation menu.

Maybe. But the folding stuff would be useful nevertheless IMHO (although 
the outliner is a partial replacement).


Georg



AcmSigplan --> Problem with citations

2007-01-27 Thread Frederic Fol Leymarie

Hi again

anyone has experienced such difficulties before
when setting up a new class/layout/template ?

It works all fine, except for the citation/BibTeX
(which has been working fine with other main classes: article. report.
etc.), see error message below.

Frederic



Hi

I followed the steps indicated under :

http://wiki.lyx.org/Examples/AcmSigplan


I installed / reconfigured LyX
and can open my article in the new ACM class; fine.

The problem I encounter is when I include citations.

I run into errors; here is an example of the error messages I get
for each citation :

--
"Use of [EMAIL PROTECTED] doesn't match its definition.
of Todd and Latham \cite{
ToddLathamEvoArt} and on the other hand,
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it."
-

I had no such problem when using the plain article class.

Any idea what the above means?

I am running LyX 1.3.7 under Ubuntu.

Regards,
Frederic





acronym package missing

2007-01-27 Thread Francesco
Hi,

I'm using for the first time lyx under cygwin. When I ask to produce the output
it gives the following error message:
-
LaTeX Error: File 'acronym.sty' not found

^^M

***(cannot \read from terminal in nonstop modes)
-
I don't know how to solve it can anyone help?

Many thanks and regards
Francesco



A question about fonts

2007-01-27 Thread John Hughes
This is going to sound like a bit of a stupid question. I have quite a few 
fonts installed in Windows (XP) which are available to pretty much all of my 
programmes. LyX uses its own set of fonts, which aren't available to any 
other programmes and does not (appear) to be able to use the other fonts on 
the system. Why is this? And can LyX use the fonts installed in Windows?


Thanks

John

_
MSN Hotmail is evolving – check out the new Windows Live Mail 
http://ideas.live.com




Re: Y" without ERT (\"Y)?

2007-01-27 Thread Nick Hopton
In a recent message <[EMAIL PROTECTED]>, Tobias Krause 
<[EMAIL PROTECTED]> wrote.

Did you try the Alt-0255 and Alt-0159 methods, Tobias?


It works, thanks!


In Win-XP all of the character codes accessible to me can be displayed 
as follows. Start -> All Programs -> Accessories -> System Tools -> 
Character Map. When the character map box pops up select your LyX screen 
font from the 'Font' options (Times New Roman, in my case) and then tick 
'Advanced view'. Then click on any character in the map box and use the 
arrow keys to navigate to the one you want to use. As you move over the 
characters keep an eye on the bottom right-hand corner of the box. 
You'll see that for some characters (but not all) a key code will be 
displayed in the form 'Keystroke: Alt-'. This is the code you use 
for producing the character required. I've made a little list of the few 
key-codes I use most frequently, for reference.


Regards,
Nick.

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



Equation numbering

2007-01-27 Thread Nick Kuzmik

Is there any way to get section/subsection reflected in equation numbering?
For example, I have a study guide that chapter 13.1 to 17.5, thats 36 pages
long with some 228 lines of equations.  It would be more concise to be able
to reference equation 14.3.3, rather than Equation 94

--
Nick Kuzmik
AIM   nkuzmik
845-406-5115


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

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

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

> 
> \jobname is your friend then. :-)
> 

Thank you!

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

iD8DBQFFu6APRZ/61mwhY94RAtLmAJwJKIiKWs9VAhPBkUBW2EoekYimMgCdE4EB
C1YcTF18fFDwt2RY3vP1OQQ=
=RzLh
-END PGP SIGNATURE-
-- 
|   ---   ___
|   <0>   <->  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ <<[EMAIL PROTECTED]>>



questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Mike Roberts
disclaimer: i'm new to LyX and (La)TeX.

i believe i have two installations of teTeX on my mac. first, there's 
the version installed in /usr. second, i believe i have a newer one 
installed in /opt/local (macports). the LyX installer script detected 
the macports installation and installed some of its files accordingly. 
the path setting in the perferences panel lists the /usr installation 
paths first. does this mean that Lyx is misconfigured, searching /usr 
for teTeX binaries before /opt/local, where it should be grabbing teTeX 
binaries? also, what happens when i upgrade my macports tree? do the 
files LyX needed to install into /opt/local get removed or overwritten?

/mike



Re: Hide parts of the document

2007-01-27 Thread Russell Davie
On Sat, 27 Jan 2007 16:18:39 +0100
Georg Baum <[EMAIL PROTECTED]> wrote:

> Am Samstag, 27. Januar 2007 15:30 schrieb Bo Peng:
> > > You mean something like the "folding" feature found in some text 
> editors.
> > > This would be very useful indeed, but is not possible yet. Please enter
> > > this as an enhancement request at http://bugzilla.lyx.org.
> > 
> > I guess he meant outline view of word? I was editing a huge
> > unsectioned word document  and I really missed lyx's navigation menu.
> 
> Maybe. But the folding stuff would be useful nevertheless IMHO (although 
> the outliner is a partial replacement).
> 
> 
> Georg

This is a great suggestion!

Cut and pasting to move big sections of text within the doc would be much 
easier with folding.  

I had to do this last night and used mouse dragging to select, then C-X, C-V.  
I over shot the selection a few times before I got it right.  Sometimes this 
leads to several cut-pastes and which makes mistakes, and means later on fixing 
up the mess.

Even if the sections folded, this would make it a great deal easier to do this.

thanks in advance for your great efforts,

cheers

Russsell
Send instant messages to your online friends http://au.messenger.yahoo.com 



Re: acronym package missing

2007-01-27 Thread Paul A. Rubin

Francesco wrote:

Hi,

I'm using for the first time lyx under cygwin. When I ask to produce the output
it gives the following error message:
-
LaTeX Error: File 'acronym.sty' not found

^^M

***(cannot \read from terminal in nonstop modes)
-
I don't know how to solve it can anyone help?

Many thanks and regards
Francesco




You need to download and install the LaTeX acronym package.  How you do 
that depends on which LaTeX distribution you have.


/Paul



Re: problems with urls not breaking at end of line

2007-01-27 Thread Paul A. Rubin

Rainer M Krug wrote:

Hi

I have some urls in my document (simple article style, no special 
options) which contains some URLs. These URLs are entered via the URL 
command in the menue. As I don't like the borders around the URLs, I 
used the package hyperref, and the problems start: the URLs are now 
nicely formated in blue, but they don't break at the end of a line, even 
if I use the final=true or breaklinks=true options.


Anmy ideas how I can get these to break at the end of a line as they 
should be?


Thanks,

Rainer


I don't typically have any problems with links wrapping, but I think I 
usually use \href (in ERT) rather than the menu URL command (plus the 
breaklinks option).


Another possibility to investigate is the breakurl package (which you 
load in the preamble *after* hyperref).  It redefines \url to allow 
breaking.


HTH,
/Paul




Re: Footnotes in Greek

2007-01-27 Thread Uwe Stöhr

Declan O'Byrne schrieb:


I've been trying to get a way to insert some greek text into a document.
Having installed the relevant bits from texlive, I tried putting
\usepackage[greek,british]{babel} into the preamble.


You don't need to do this manually.

Simply take your british document and use the textstyle dialog to mark parts of the text as greek. 
LyX will then take care about the babel options, character encoding and will set the \selectlanguage 
correctly.

Attached is an example file.

In the upcoming LyX 1.5 it is possible that greek characters are also displayed 
as such.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Create hyperlink in presentation (beamer) which launches program when clicked?

2007-01-27 Thread Paul A. Rubin

Rainer M Krug wrote:

Hi

Is it possible to insert into a document (class: beamer) a hyperlink via 
URL which launches a program?


Thanks

Rainer



I can think of one way, but I don't know whether it generalizes beyond 
Windows (I suspect it works on Macs, not sure on Linux).  Suppose that 
you have a data file whose extension is associated (either in the OS or 
within your default web browser) with a particular application.  If you 
use file://path/to/target/myfile.ext in the hyperlink, clicking the 
hyperlink in the PDF file launches the web browser, which then asks you 
whether you want to open the target file or save it.  You pick open and 
the application launches and opens the file.


If you want to launch an application without a target file, you can try 
the following.  First, associate in Windows some extension with a shell 
processor.  For instance, I have .sh associated with MinSYS sh.exe 
(which emulates sh on a *nix system).  To launch app.exe from a Beamer 
presentation, I first write a script (app.sh) that launches app.exe. 
(The script will likely need an absolute path to app.exe, since at least 
with Firefox it will be launched from whatever Firefox thinks is your 
default download directory.)  In the Beamer presentation, I use 
file://path/app.sh.  When I click the link, Beamer invokes Firefox to 
process the link, Firefox asks me what do with the link (default being 
to run it under sh, since that's the association in Windows), I select 
the default, Firefox runs sh, which runs app.sh, which runs app.exe. 



Note that this is not particularly transportable.

HTH,
/Paul




Re: problems with urls not breaking at end of line

2007-01-27 Thread Uwe Stöhr

Rainer M Krug schrieb:

These URLs are entered via the URL 
command in the menue. As I don't like the borders around the URLs, I 
used the package hyperref, and the problems start: the URLs are now 
nicely formated in blue, but they don't break at the end of a line, even 
if I use the final=true or breaklinks=true options.


Don't use the URL inset in this case. Use hyperref's \href command instead, see the attached example 
LyX-file. This has the advantage that you can treat the URL text like every other LyX text: You can 
change ist format, can enter forced linebreaks, hyphenation points, etc. as I demonstrated in the 
attached file.


regards Uwe




newfile3.lyx
Description: application/lyx


Re: acronym package missing

2007-01-27 Thread Enrico Forestieri
Francesco <[EMAIL PROTECTED]> writes:

> I'm using for the first time lyx under cygwin. When I ask to produce the 
> output
> it gives the following error message:
> -
> LaTeX Error: File 'acronym.sty' not found
> 
> ^^M
> 
> ***(cannot \read from terminal in nonstop modes)
> -
> I don't know how to solve it can anyone help?

You have to install the cygwin tetex-extra package.
Contrarily to IEEEtran.cls, the acronym.sty package is contained there.

In general, when you search for a particular file and want to know what
cygwin package contains it, you can paste the following query in the
address field of your browser:

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=acronym.sty

Replace acronym.sty with whatever filename you are interested in.

-- 
Enrico



Re: Equation numbering

2007-01-27 Thread Uwe Stöhr

Nick Kuzmik schrieb:


Is there any way to get section/subsection reflected in equation numbering?
For example, I have a study guide that chapter 13.1 to 17.5, thats 36 pages
long with some 228 lines of equations.  It would be more concise to be able
to reference equation 14.3.3, rather than Equation 94


Add this line to your document preamble

\numberwithin{equation}{subsection}

and set in the document setings that the AMS math package is used. (You can replace "subsection" 
with every other section heading you prefer for the numbering.)

Attached is an examply LyX file.

regards Uwe


newfile4.lyx
Description: application/lyx


Re: questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Bennett Helm

On Jan 27, 2007, at 4:43 AM, Mike Roberts wrote:


disclaimer: i'm new to LyX and (La)TeX.

i believe i have two installations of teTeX on my mac. first, there's
the version installed in /usr. second, i believe i have a newer one
installed in /opt/local (macports). the LyX installer script detected
the macports installation and installed some of its files accordingly.
the path setting in the perferences panel lists the /usr installation
paths first. does this mean that Lyx is misconfigured, searching /usr
for teTeX binaries before /opt/local, where it should be grabbing  
teTeX

binaries? also, what happens when i upgrade my macports tree? do the
files LyX needed to install into /opt/local get removed or  
overwritten?


The LyX-Installer script checks for a TeX installation in /usr/local/ 
teTeX/... and in /sw/bin before /opt/bin, and it picks the first one  
it finds to install a few files (which include preview.sty and  
srcltx.sty among a few others). So it shouldn't install these files  
in /opt/local if you have a TeX installation in /usr/local, and so  
the default PATH Prefix setting should be appropriate in this case.  
(Do you really have a working teTeX installation in /usr/local/ 
teTeX/...?)


I'm not sure whether macports will overwrite these LyX files or not  
when you upgrade, but it is a possibility. (i-Installer has a  
separate directory for user-installed files that are not touched when  
upgrading.) You can test and see: upgrade macport's teTeX, and then  
run the LyX installer. If it says it needs to reinstall preview.sty  
and srcltx.sty, then it has overwritten those files. (And that would  
be good for me to know.)


Note, however, that the files that LyX installs here are needed only  
for some special features, which you may not use at all: they are not  
*needed* for LyX (though they are nice to have in some cases).


Bennett


Re: questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Mike Roberts
In article <[EMAIL PROTECTED]>,
 Bennett Helm <[EMAIL PROTECTED]> 
 wrote:

> The LyX-Installer script checks for a TeX installation in /usr/local/ 
> teTeX/... and in /sw/bin before /opt/bin, and it picks the first one  
> it finds to install a few files (which include preview.sty and  
> srcltx.sty among a few others). So it shouldn't install these files  
> in /opt/local if you have a TeX installation in /usr/local, and so  
> the default PATH Prefix setting should be appropriate in this case.  
> (Do you really have a working teTeX installation in /usr/local/ 
> teTeX/...?)

this is a good question and why i didn't ask this before baffles me at 
the moment. it appears that i don't have anything in /usr or /usr/local 
and that these directories are only present in the PATH array. i don't 
have fink installed, so i don't have multiple tex installations after 
all. i suppose i must have assumed that i had an installation that was 
detected and reflected in the PATH array. my apologies.

> I'm not sure whether macports will overwrite these LyX files or not  
> when you upgrade, but it is a possibility. (i-Installer has a  
> separate directory for user-installed files that are not touched when  
> upgrading.) You can test and see: upgrade macport's teTeX, and then  
> run the LyX installer. If it says it needs to reinstall preview.sty  
> and srcltx.sty, then it has overwritten those files. (And that would  
> be good for me to know.)

the next time i notice that the teTeX port needs to be upgraded, i will 
do this. i do know that the lyx installer prompted me to overwrite a 
file so i imagine that it's a possibility i will loose it.

> Note, however, that the files that LyX installs here are needed only  
> for some special features, which you may not use at all: they are not  
> *needed* for LyX (though they are nice to have in some cases).

good to know. thanks.

/mike