Re: LyX: How to insert a doc with tabs?

2006-07-20 Thread Juergen Spitzmueller
Reinhard Mayr aka Czerwinski wrote:
> I would like to insert an RTF file into my working lyx doc. The RTF page  
> is rather wide, so I plan to put it on a landscape page (is that  
> possible?). There are some tabs in the file and their positions are  
> essential to the meaning, so I would like to keep them (or at least the  
> text should look as in the RTF editor). Not all lines make use of the tabs.
>
> Can sombody please give me some hints how to do that the most efficient  
> way or provide some helpful keywords to look up?

If you want it exactly to look like the rtf page, then convert that to PDF and 
include it with pdfpages.

http://www.ctan.org/tex-archive/help/Catalogue/entries/pdfpages.html

If you want tabs in LyX/LaTeX, use the tabbing environment.

http://www.giss.nasa.gov/tools/latex/ltx-58.html

HTH,
Jürgen


Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Juergen Spitzmueller
Sebastian Zander wrote:
> the class is also listed in Lyx->Tools->Tex Information->Latex Classes
> but i cannot use it :(

Are the *.layout files in place?

Jürgen


Lyx 1.42 spelling

2006-07-20 Thread Johann Kellerman
Hi,

How do I go about installing the spell checker + dictionaries if I don't have a
internet connection on my pc. (or if the proxy requires logging on)

Regards,
Johann



Re: how to sort the environments in the upper left corner pull down menu?

2006-07-20 Thread Richard Heck
Rich Shepard wrote:
> On Thu, 20 Jul 2006, Bo Peng wrote:
>> You can not control the order of the environment. The ui files are
>> for menu and toolbars only. I was proposing some sort of order, but
>> gave up after a few email exchanges... You may search the archive for
>> this.
> Unless the sequence was user-configurable, you'd get complaints no
> matter what the presented sequence is. Perhaps a compromise might be
> to re-order the environments relative to the class, but each of us
> users will still be applying different environments more frequently
> than others.
I believe the order is controlled by the layout file, which is in the
./layouts/ subdirectory of wherever the LyX system files are
(/usr/share/lyx/, in my case). There is such a file for each document
class. You can copy this to your local LyX directory
($HOME/.lyx/layouts/, in my case) and modify it as you wish.

I believe it's also possible simply to put at the beginning of the file
something like this:

Style Standard
End

Style Part
End

Style Chapter
End

Etc
Etc

Note that all of these are now empty. They then get redefined later in
the file. But the order seems to be set by first appearance.

I keep saying "I think" and such because it works for me. I don't know
it'll work for you.

Richard



Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Sebastian Zander

i ran miktex options refresh file name database a couple of times.

the class is also listed in Lyx->Tools->Tex Information->Latex Classes
but i cannot use it :(

cheers,

Sebastian

Bo Peng wrote:

but i ran reconfigure (and configure from the command line) a couple 
of times

and in my textclass.lst i have:
"sig-alternate" "sig-alternate" "article (sig-alternate)" "true"



Just to check: have you run texhash of miktex?

Bo




--
Sebastian Zander
http://caia.swin.edu.au


Re: how to sort the environments in the upper left corner pull down menu?

2006-07-20 Thread Rich Shepard

On Thu, 20 Jul 2006, Bo Peng wrote:


You can not control the order of the environment. The ui files are for
menu and toolbars only. I was proposing some sort of order, but gave up
after a few email exchanges... You may search the archive for this.


Bo,

  Er, yes. I mis-read the original message and was thinking of menus. Must
be the heat here today. Apologies.

  Unless the sequence was user-configurable, you'd get complaints no matter
what the presented sequence is. Perhaps a compromise might be to re-order
the environments relative to the class, but each of us users will still be
applying different environments more frequently than others.

  As far as I'm concerned, the environment combobox is about the only thing
for which I need to use the trackball. Everything else has a keyboard
shortcut (except for a couple of rarely used features), so I'll be needing
that pointy thingie regardless of the sequence.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: how to sort the environments in the upper left corner pull down menu?

2006-07-20 Thread Bo Peng

On 7/20/06, Rich Shepard <[EMAIL PROTECTED]> wrote:

On Thu, 20 Jul 2006, Michael Chen wrote:

> how to sort the environments in the upper left corner pull down menu?

Michael,

   Stroll over to /usr/local/share/lyx/ui and edit stdmenus.ui. Change the
order to your heart's content, and disable those you don't want by
preceeding the entry with a comment (#).


You can not control the order of the environment. The ui files are for
menu and toolbars only. I was proposing some sort of order, but gave
up after a few email exchanges... You may search the archive for this.

Bo


Re: how to sort the environments in the upper left corner pull down menu?

2006-07-20 Thread Rich Shepard

On Thu, 20 Jul 2006, Michael Chen wrote:


I tried all four uil files including stdmenus.ui under my windows 1.4.1
installation (resources\ui\), and didn't find a match. They seems to
define toolbars and menus though. Am I missing something? Thanks.


Michael,

  Oh. Microsoft. I know nothing about that. My solution works on any *nix
box, but someone else will need to advise you.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Bo Peng

but i ran reconfigure (and configure from the command line) a couple of times
and in my textclass.lst i have:
"sig-alternate" "sig-alternate" "article (sig-alternate)" "true"


Just to check: have you run texhash of miktex?

Bo


Re: how to sort the environments in the upper left corner pull down menu?

2006-07-20 Thread Michael Chen

Thanks Rich,

I tried all four uil files including stdmenus.ui under my windows
1.4.1 installation (resources\ui\), and didn't find a match. They
seems to define toolbars and menus though. Am I missing something?
Thanks.

Michael Chen

On 7/20/06, Rich Shepard <[EMAIL PROTECTED]> wrote:

On Thu, 20 Jul 2006, Michael Chen wrote:

> how to sort the environments in the upper left corner pull down menu?

Michael,

  Stroll over to /usr/local/share/lyx/ui and edit stdmenus.ui. Change the
order to your heart's content, and disable those you don't want by
preceeding the entry with a comment (#).

Have fun,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863




--
Michael Chen
IE Dept, Tech C124
Northwestern University
2145 Sheridan Road
Evanston, IL 60208-3119
Phone: 847.491.7247
Fax: 847.491.8005
# -*- text -*-

# file stdmenus.ui
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author Jean-Marc Lasgouttes
# author John Levon

# Full author contact details are available in file CREDITS.

# The interface is designed (partially) following the KDE Human Interface
# Guidelines (http://usability.kde.org/hig/)

Menuset

Menubar
# Make the first 4 menus be as much as expected as possible
Submenu "File|F" "file"
Submenu "Edit|E" "edit"
Submenu "View|V" "view"
Submenu "Insert|I" "insert"
Submenu "Navigate|N" "navigate"
Submenu "Document|D" "document"
Submenu "Tools|T" "tools"
Submenu "Help|H" "help"
End

#
# FILE MENU
#

Menu "file"
Item "New|N" "buffer-new"
Item "New from Template...|m" "buffer-new-template"
Item "Open...|O" "file-open"
# This seems a much more sensible place to me
Submenu "Open recent|t" "lastfiles"
Separator
Item "Close|C" "buffer-close"
Item "Save|S" "buffer-write"
Item "Save As...|A" "buffer-write-as"
Item "Revert|R" "buffer-reload"
Submenu "Version Control|V" "file_vc"
Separator
Submenu "Import|I" "file_import"
Submenu "Export|E" "file_export"
Item "Print...|P" "dialog-show print"
OptItem "Fax...|F" "buffer-export fax"
Separator
Item "Exit|x" "lyx-quit"
End

Menu "lastfiles"
Lastfiles
End

Menu "file_vc"
OptItem "Register...|R" "vc-register"
OptItem "Check In Changes...|I" "vc-check-in"
OptItem "Check Out for Edit|O" "vc-check-out"
OptItem "Revert to Last Version|L" "vc-revert"
OptItem "Undo Last Check In|U" "vc-undo-last"
OptItem "Show History|H" "dialog-show vclog"
End

Menu "file_import"
ImportFormats
End

Menu "file_export"
ExportFormats
Item "Custom...|C" "buffer-export custom"
End

#
# EDIT MENU
#

Menu "edit"
Item "Undo|U" "undo"
Item "Redo|R" "redo"
Separator
Item "Cut" "cut"
Item "Copy" "copy"
Item "Paste" "paste"
Submenu "Paste Recent" "pasterecent"
Submenu "Paste External Selection" "edit_paste"
Separator
Item "Find & Replace...|F" "dialog-show findreplace"
Separator
Item "Text Style...|S" "dialog-show character"
Item "Paragraph Settings...|P" "layout-paragraph"
Separator
# Mathed b0rkage means these don't work properly
OptSubmenu "Table|T" "edit_tabular"
OptSubmenu "Math|M" "edit_math"
OptSubmenu "Rows & Columns|C" "tabular_features"
Separator
OptItem "Increase List Depth|I" "depth-increment"
OptItem "Decrease List Depth|D" "depth-decrement"
# This is where the context-specific stuff is supposed to go.
# The idea is that everything on here can disappear and should
# only appear when relevant (getStatus). Only stuff that needs
# a right-click to bring up the dialog should appear here (it is not
# obvious what the context is for the others)
OptItem "TeX Code Settings...|C" "inset-settings ert"
# 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
OptItem "Float Settings...|a" "inset-settings float"
OptItem "Text Wrap Settings...|W" "inset-settings wrap"
OptItem "Note Settings...|N" "inset-settings note"
 

Re: please consolidate the documentation

2006-07-20 Thread Stephen Harris

John Pye wrote:

Hi all,

I'd like to say congratulations to all on the re-inauguration of the LyX
documentation team ;-) ! The scattered documentation of LyX has
frustrated me too. I have some thoughts and ideas to mention...

First, I think that the shining example of the *delivery* of software
documentation is the PHP manual, which is at http://www.php.net/manual/en/.



SH: It seems good to me and other people hold it as an example.


In its favour: anyone can annotate a page in the manual with their own
tips and clarifications. This is great and it prevents quite the same
degree of random organic growth that occurs when people feel that they
should jot things into a wiki. I would imagine it makes things easier
for editors too: the community tells you where information is missing or
unclear. Here is an example of an annotated page:
http://au.php.net/manual/en/function.array-sum.php



This is my concern about the Wiki method too. When discussing what
is good for LyX one needs to factor in the available resources.
A limited number of developers already committed to high priority 
projects, no dedicated Editor, and a small documentation team.



Perhaps a limitation of the PHP manual's user-notes feature is that
whole new pages are hard for people to add. So there's still a place for
Wiki but it shouldn't be one of the primary resources, I don't think.

The PHP people have also done a great job of providing translations of
their manual, and also provide the documentation in lots of different
formats, eg CHM for reading online with Windows, and online/offline HTML
and PDF, eg see http://au.php.net/docs.php. There is a Linux
documentation format standard over at freedesktop.org that we should
comply with too.



I think these ideas serve a much larger project with much greater
resources. LyX is cross-platform itself. It is readable in DVI,
Postscript and pdf. The conversion to html is straightforward
and XML is the next LyX major goal. "htlatex foo.tex" -> foo.html

The problem with OS specific documentation is that it is only
going to benefit about ~half of the users at most, and they
already have several formats available. The left margin toc
is perhaps slightly better/readable for chm than pdf but I
don't know of a free .tex or .pdf converter to .chm. Problems
with .chm or say kde are outside the scope of LyX and only
benefit about half the users. LyX doesn't have a reource luxury.


I don't think that we should expect people to use LyX as their
documentation browser. Operating systems all provide good standard ways
of accessing help: Installed LyX documentation should play nice with
those so that there's one less thing for new users to learn. I think
that the LyX manual should serve as a model example of a well-published
document, with HTML and PDF versions, downloadable in various formats,
etc. It should be the type of end-result document that a person setting
out to write a book or a software manunal with LyX would aspire to
produce, not an exposition of the LyX GUI.



I certainly agree, showcase comes to mind. The exposition of
the Lyx GUI could be done like the Latex Visual FAQ, the LyX
Visual FAQ. One person produced this remarkable package!


There should be a good self-updating HTML version of the LyX manual.
Ideally a local search engine could be installed that would search both
the HTML manual and the Wiki side-by-side with a single installation of
lucene, xapian, swish-e, etc.



As I understand it, this will work better with XML. Updating
comes to mind also with the Wiki index project (searchindex).


We should aspire to the PDF version of the manual being a last port of
call: online searching, CHM, Yelp (under GNOME), etc should be able to
provide nicer and more efficient ways to read and search. Although,
given what LyX is, it's important to produce a good looking PDF to prove
what LyX can do.



It took me less than 3 minutes to convert those 4 LyX guides which
come with LyX-Help into pdfs and combine them into 1 searchable file.
How long to convert those 4 .lyx files and combine them into 1 .chm
with the left margin toc or then without it? How about Yelp?



We're meanwhile trying to use LyX for documenting a project I've worked
on: the ASCEND modelling environment. So we're very interested in taking
the right approach here. I'm sure a lot of other writers, especially of
software documentation, must be as well.

Cheers
JP



I would like to the LyX Wiki displayed like a book.
Wolfram does a great job of indexing, here is an
online, hyperlinked, searchable index:

http://www.wolframscience.com/nksonline/page-852d-text
General Note/Intro to the Index

http://www.wolframscience.com/nksonline/toc.html
the toc which links to the index

http://www.wolframscience.com/nksonline/index/

I am not as experienced as you are with the nitty gritty.
But I am a good judge of books and their indexes. (ices)
Wolfram's "A New Kind of Science" is over 1200 pages
long. And if you are exploring a topic like

cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Sebastian Zander

Hi,

after installing LyX 1.4.2 under windows xp (the small version not the bundle)
i cannot work with some non-standard classes anymore (but it worked fine under
LyX 1.4.1). For example i have installed the ACM template and sig-alternate.cls
from:
http://www.ece.iit.edu/~jgrad/lyx/

i have no problems with tex documents using the class under miktex. however,
everytime i try to use the class under LyX i get the error message could not
load the class (or could not convert to this class when i try to change to
it under settings) and then it sets the class to the default article.

but i ran reconfigure (and configure from the command line) a couple of times
and in my textclass.lst i have:
"sig-alternate" "sig-alternate" "article (sig-alternate)" "true"

the same happens for other templates and classes i installed. i ran out
of ideas and would greatly appreciate if somebody could tell me how to fix
this problem!

cheers,

Sebastian



Re: Print Lyx ERT code, note, comments, etc...

2006-07-20 Thread Wolfgang Lasch
Am Fri, 21. July 2006 00:18 schrieb Richard Heck:
[ cleaned tofu ]
> Wolfgang Lasch wrote:
> > Hello
> >
> > I would like to have a printout of a LyX file as it is seen in the LyX
> > editor window. So all my open ERT, math, notes, comments, etcpp should be
> > on the printout.
> >
> > For a documentation I'm working on I would like to show the look of LyX
> > files to people who don't have LyX. A LyX file should be listed in the
> > documentation's printout as it is done for programming code. I don't want
> > to have a LyX file listing as in a plain text editor but as it shows up
> > in LyX.
[...]

> How about a screenshot?
Hmm, won't fit my needs, sorry.

I would like the reader to see a large LyX document which shows all LyX 
internas, ERT boxes, index boxes, math boxes, ... opened. So a screenshot 
will only show a very small part of the document. 

It is a template for a theorem used for german universities of applied 
science, (german: Vorlage für eine Diplomarbeit an deutschen 
Fachhochschulen). If I would use screenshots of all neat LyX examples which 
are in this document it would become a _very_ big Slideshow of more then 10 - 
to 20 MByte. ;-)

One way to have this might be to create a new document, e.g. using Scribus 
which has all the LyX internals in frames. But before I start all this work 
once again in an other application I would strongly prefer to do this in LyX.

In the past I saw some examples of how to print comments using some LyX and 
bsh tricks. So I think there might be a way to have this for other LyX 
internals too.

regards,
Wolfgang


Re: how to sort the environments in the upper left corner pull down menu?

2006-07-20 Thread Rich Shepard

On Thu, 20 Jul 2006, Michael Chen wrote:


how to sort the environments in the upper left corner pull down menu?


Michael,

  Stroll over to /usr/local/share/lyx/ui and edit stdmenus.ui. Change the
order to your heart's content, and disable those you don't want by
preceeding the entry with a comment (#).

Have fun,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


how to sort the environments in the upper left corner pull down menu?

2006-07-20 Thread Michael Chen

how to sort the environments in the upper left corner pull down menu?
guess it is more convinent.

Michael


Re: can't install lyx

2006-07-20 Thread Rich Shepard

On Thu, 20 Jul 2006, Stephen Smethurst wrote:

Hello all,my first posting 'cos I get off the starting line. I hope someone 
can help


***
* Tried to install from source:
***
Running Fedora Core 4, gcc-4.0.0-8, source says my compiler isn't good 
enough.


Steve,

  Hm-m-m. That's not likely. gcc-3.3.6 is installed on my Slackware boxes
and LyX-1.4.2 built as flawlessly as did the others.

  I suggest that you try it again. Begin with './configure --help | less'
and look at the options available to you. I'd highly recommend one to use:
--with-frontend=qt. The advantage of building from source is that it will
build with the library versions you have on your system. Tell us what this
step reports.

  Then, instead of running 'make install,' use Google to find a copy of
'checkinstall.' This tool replaces 'make install,' and makes a package for
Slackware, Debian, or Red Hat. It doesn't install the package, but lets you
do it yourself. I used it with the latter until I left RH at 7.3 and
migrated to Slackware about three years ago. Now I use it with Slackware and
it registers applications I build locally with the package database.

HTH,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: can't install lyx

2006-07-20 Thread Richard Heck

> ***
> * So I tried with YUM:
> ***
> $ yum install lyx
> 
> Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by
> package xorg-x11
> Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by
> package xorg-x11-devel
> Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by
> package xorg-x11-xfs
> Error: Missing Dependency: XFree86-libs >= 4.2.99 is needed by package
> libgnomeui
> Error: Missing Dependency: /usr/X11R6/lib/X11/XKeysymDB is needed by
> package openmotif
> Error: Missing Dependency: libdps.so.1 is needed by package ImageMagick
> Error: Missing Dependency: libdps.so.1 is needed by package xorg-x11
> Error: Missing Dependency: XFree86-libs is needed by package synaptics
> Error: Missing Dependency: libdpstk.so.1 is needed by package ImageMagick
> Error: Missing Dependency: xorg-x11-devel is needed by package
> kdesdk-devel
> Error: Missing Dependency: XFree86-devel is needed by package
> startup-notification-devel
> Error: Missing Dependency: XFree86-devel is needed by package gtk2-devel
> Error: Missing Dependency: XFree86-devel is needed by package SDL-devel
> Error: Missing Dependency: xorg-x11-devel is needed by package qt-devel
> Error: Missing Dependency: xorg-x11-devel is needed by package gd-devel
> Error: Missing Dependency: xorg-x11-devel is needed by package
> Xaw3d-devel
> Error: Missing Dependency: xorg-x11-devel is needed by package
> openmotif-devel
> Error: Missing Dependency: xorg-x11-devel = 6.8.2-31 is needed by
> package xorg-x11-deprecated-libs-devel
>
> $ yum install lyx-qt
> 
> Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by
> package xorg-x11
> Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by
> package xorg-x11-devel
> Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by
> package xorg-x11-xfs
> Error: Missing Dependency: XFree86-libs >= 4.2.99 is needed by package
> libgnomeui
> Error: Missing Dependency: /usr/X11R6/lib/X11/XKeysymDB is needed by
> package openmotif
> Error: Missing Dependency: libdps.so.1 is needed by package ImageMagick
> Error: Missing Dependency: libdps.so.1 is needed by package xorg-x11
> Error: Missing Dependency: XFree86-libs is needed by package synaptics
> Error: Missing Dependency: libdpstk.so.1 is needed by package ImageMagick
> Error: Missing Dependency: xorg-x11-devel is needed by package
> kdesdk-devel
> Error: Missing Dependency: XFree86-devel is needed by package
> startup-notification-devel
> Error: Missing Dependency: XFree86-devel is needed by package gtk2-devel
> Error: Missing Dependency: XFree86-devel is needed by package SDL-devel
> Error: Missing Dependency: xorg-x11-devel is needed by package qt-devel
> Error: Missing Dependency: xorg-x11-devel is needed by package gd-devel
> Error: Missing Dependency: xorg-x11-devel is needed by package
> Xaw3d-devel
> Error: Missing Dependency: xorg-x11-devel is needed by package
> openmotif-devel
> Error: Missing Dependency: xorg-x11-devel = 6.8.2-31 is needed by
> package xorg-x11-deprecated-libs-devel
>
> But I have these dependencies as shown by rpm -q
>
> $ rpm -q xorg-x11-libs
> xorg-x11-libs-6.8.2-31
>
> $ rpm -q xorg-x11-devel
> xorg-x11-devel-6.8.2-31
yum's error messages aren't always as informative as they might be. In
particular, yum will complain if an upgrade would cause a package to
disappear that some other package thinks it needs. So the problem isn't
that you don't have xorg-x11-libs-6.8.2-31, say. The problem is that
what you're asking yum to do would remove it for some reason or other,
probably because yum's trying to upgrade it.

In this case, my guess is that yum is trying to upgrade some packages
that cause dependency errors elsewhere. Here's what I would try. First, run

#yum check-upgrade

and perhaps then

#yum check-upgrade

and make sure your system is otherwise up-to-date. When that's done, try
re-installing lyx-qt again.

Richard


Re: Print Lyx ERT code, note, comments, etc...

2006-07-20 Thread Richard Heck

How about a screenshot?

Wolfgang Lasch wrote:
> Hello
>
> I would like to have a printout of a LyX file as it is seen in the LyX editor 
> window. So all my open ERT, math, notes, comments, etcpp should be on the 
> printout.
>
> For a documentation I'm working on I would like to show the look of LyX files 
> to people who don't have LyX. A LyX file should be listed in the 
> documentation's printout as it is done for programming code. I don't want to 
> have a LyX file listing as in a plain text editor but as it shows up in LyX.
>
>
> regards,
> Wolfgang
>   



can't install lyx

2006-07-20 Thread Stephen Smethurst
Hello all,my first posting 'cos I get off the starting line. I hope 
someone can help


***
* Tried to install from source:
***
Running Fedora Core 4, gcc-4.0.0-8, source says my compiler isn't good 
enough.


***
* Tried with RPM:
***
rpm -ivh lyx-1.4.1-9.fc4.i386.rpm
error: Failed dependencies:
libstdc++.so.6(GLIBCXX_3.4.6) is needed by lyx-1.4.1-9.fc4.i386
lyx-frontend = 1.4.1 is needed by lyx-1.4.1-9.fc4.i386
mathml-fonts is needed by lyx-1.4.1-9.fc4.i386
tetex-dvipost is needed by lyx-1.4.1-9.fc4.i386
tetex-preview is needed by lyx-1.4.1-9.fc4.i386
wv is needed by lyx-1.4.1-9.fc4.i386

rpm -ivh lyx-qt-1.4.1-9.fc4.i386.rpm
error: Failed dependencies:
libAiksaurus-1.2.so.0 is needed by lyx-qt-1.4.1-9.fc4.i386
libstdc++.so.6(GLIBCXX_3.4.6) is needed by lyx-qt-1.4.1-9.fc4.i386
lyx = 1.4.1 is needed by lyx-qt-1.4.1-9.fc4.i386

I have libstdc++.so.6 & tetex-dvipost. My reading hints that there are 
some difficulties with libAiksaurus.


***
* So I tried with YUM:
***
$ yum install lyx
  
Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by package 
xorg-x11
Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by package 
xorg-x11-devel
Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by package 
xorg-x11-xfs
Error: Missing Dependency: XFree86-libs >= 4.2.99 is needed by package 
libgnomeui
Error: Missing Dependency: /usr/X11R6/lib/X11/XKeysymDB is needed by 
package openmotif

Error: Missing Dependency: libdps.so.1 is needed by package ImageMagick
Error: Missing Dependency: libdps.so.1 is needed by package xorg-x11
Error: Missing Dependency: XFree86-libs is needed by package synaptics
Error: Missing Dependency: libdpstk.so.1 is needed by package ImageMagick
Error: Missing Dependency: xorg-x11-devel is needed by package 
kdesdk-devel
Error: Missing Dependency: XFree86-devel is needed by package 
startup-notification-devel

Error: Missing Dependency: XFree86-devel is needed by package gtk2-devel
Error: Missing Dependency: XFree86-devel is needed by package SDL-devel
Error: Missing Dependency: xorg-x11-devel is needed by package qt-devel
Error: Missing Dependency: xorg-x11-devel is needed by package gd-devel
Error: Missing Dependency: xorg-x11-devel is needed by package Xaw3d-devel
Error: Missing Dependency: xorg-x11-devel is needed by package 
openmotif-devel
Error: Missing Dependency: xorg-x11-devel = 6.8.2-31 is needed by package 
xorg-x11-deprecated-libs-devel


$ yum install lyx-qt
  
Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by package 
xorg-x11
Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by package 
xorg-x11-devel
Error: Missing Dependency: xorg-x11-libs = 6.8.2-31 is needed by package 
xorg-x11-xfs
Error: Missing Dependency: XFree86-libs >= 4.2.99 is needed by package 
libgnomeui
Error: Missing Dependency: /usr/X11R6/lib/X11/XKeysymDB is needed by 
package openmotif

Error: Missing Dependency: libdps.so.1 is needed by package ImageMagick
Error: Missing Dependency: libdps.so.1 is needed by package xorg-x11
Error: Missing Dependency: XFree86-libs is needed by package synaptics
Error: Missing Dependency: libdpstk.so.1 is needed by package ImageMagick
Error: Missing Dependency: xorg-x11-devel is needed by package 
kdesdk-devel
Error: Missing Dependency: XFree86-devel is needed by package 
startup-notification-devel

Error: Missing Dependency: XFree86-devel is needed by package gtk2-devel
Error: Missing Dependency: XFree86-devel is needed by package SDL-devel
Error: Missing Dependency: xorg-x11-devel is needed by package qt-devel
Error: Missing Dependency: xorg-x11-devel is needed by package gd-devel
Error: Missing Dependency: xorg-x11-devel is needed by package Xaw3d-devel
Error: Missing Dependency: xorg-x11-devel is needed by package 
openmotif-devel
Error: Missing Dependency: xorg-x11-devel = 6.8.2-31 is needed by package 
xorg-x11-deprecated-libs-devel


But I have these dependencies as shown by rpm -q

$ rpm -q xorg-x11-libs
  xorg-x11-libs-6.8.2-31

$ rpm -q xorg-x11-devel
  xorg-x11-devel-6.8.2-31


So whichever way I try it I am faced with fatal errors which do not seem 
factual to me.  Any hints will be gratefully received.



Thanks


Steve S.


Table/dcolumn Questions

2006-07-20 Thread Patrick Lam
Hi all,

 

Forgive me for the newbie questions.  I am working on a table with columns
aligned by decimal place.  When I do that, two things happen:

 

1)   I have certain rows that I don’t want aligned by decimal.  I used
the multicolumn option, which is fine except that the non-decimal rows are
now aligned with the decimal places as the center.  However, most of my data
is heavy toward the right of the decimal (i.e. .0007, .095, .0634, etc.)  Is
there a way to align the columns so that the decimal places are aligned but
the decimal place is not necessarily the center?  (e.g. I want the whole
value to be centered so .012345 would be centered at between 2 and 3 instead
of at the decimal.

 

2)   I’m using asterisks to signal certain type of statistical
significance.  Therefore, most of my data looks something like this:
.035***  When I used dcolumn, the asterisks are no longer near the top of
the number but near the bottom so that it looks something like this: .035***
except it’s not a subscript.  Is there a way to move the asterisks back up
to the top, and why does it do that?

 

Thanks


-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date: 6/16/2006
 


Re: please consolidate the documentation

2006-07-20 Thread Stephen Harris

Jean-Pierre Chretien wrote:

Date: Thu, 20 Jul 2006 03:05:50 -0700
To: Jean-Pierre Chretien <[EMAIL PROTECTED]>
CC: lyx-users@lists.lyx.org
Subject: Re: please consolidate the documentation
From: Stephen Harris <[EMAIL PROTECTED]>

[...]

swish-e is supposed to be capable of indexing a Wiki.
Perhaps this categorizing scheme will be quite productive.


PmWiki includes it own indexing scheme: the search field in 
each page is able to retrieve match in wiki pages.


swish-e (or similar, htdig e.g.) are useful for segmented 

> HTML publication indexing.





I am under the impression that the indexing you speak of
just accelerates PmWikis normal searchbox function which
doesn't include the content of the pdf files on the Wiki?
I'm thinking that the PmWiki indexing scheme will report
text Wiki matches of say "layout" but not .pdf content?
That is the reason behind tagging pages with categories?

swish-e will index pdf files on the wiki and the wiki. I
would like to see a complete file, visually, like a TOC.

The purpose behind the Index was to benefit inexperienced
users who did not already know the keyword needed for the
search; making the Wiki more accessible for new users.

Precompiled special searchindex files don't do that, they
make it faster, but do not include new content-- meaning
something not available to you if you already know the
right keyword, using the normal search function. Indexing
pdf files provides new content, keywords are listed from
a new domain. I didn't get the idea that the Pmwiki index
would include "see also"(s). Increasing internet exposure
had no priority so perhaps you developed the index idea
for the Wiki, independently of the categorization origin.

Regards,
Stephen


LyX: How to insert a doc with tabs?

2006-07-20 Thread Reinhard Mayr aka Czerwinski

Hi there,

I would like to insert an RTF file into my working lyx doc. The RTF page  
is rather wide, so I plan to put it on a landscape page (is that  
possible?). There are some tabs in the file and their positions are  
essential to the meaning, so I would like to keep them (or at least the  
text should look as in the RTF editor). Not all lines make use of the tabs.


Can sombody please give me some hints how to do that the most efficient  
way or provide some helpful keywords to look up?


Thanks in advance!

Cz.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


Re: Adding an abstract section into a book class

2006-07-20 Thread Marcelo Acuña
> > > I added a chapter* at the begining of the book
> > with
> > > the title Abstract.
> > > This provide a chapter without number.
> > > I added a ERT with addcontents command and I get
> > that
> > > this chapter* appears in TOC.
> > >
> > > Marcelo
> > >
> > 
> > I'm very interested in your solution. Can you tell
> > me how to add a  
> > ERT (and firstly, what is an ERT ;-))?
> > Thanks for your answer, I'm a beginner!
> > 
> > Isaac Pante
> > 
 ERT is a way for add a latex command in lyx.
 In this moment I am not in my computer and I don´t
 remember exactly the command.
 You can try with this:
 click in ERT in menu bar,
 write this command in ERT box:

\addcontentsline{toc}{chapter}{\protectnumber{Abstract}}
 
 The last argument is the title that you want.
 
 I don´t speak English.
 I don´t remember how spell protectnumber.
 
 If it no work try with
 \addcontentsline{toc}{chapter}{Abstract}
 
 Marcelo






__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



Print Lyx ERT code, note, comments, etc...

2006-07-20 Thread Wolfgang Lasch
Hello

I would like to have a printout of a LyX file as it is seen in the LyX editor 
window. So all my open ERT, math, notes, comments, etcpp should be on the 
printout.

For a documentation I'm working on I would like to show the look of LyX files 
to people who don't have LyX. A LyX file should be listed in the 
documentation's printout as it is done for programming code. I don't want to 
have a LyX file listing as in a plain text editor but as it shows up in LyX.


regards,
Wolfgang


Re: is it easy to write in theorem environment and ref to a theorem?

2006-07-20 Thread Richard Heck

Why don't you just use the Theorem environment (say), selectable from
the drop box in the upper left hand corner (assuming you are using a
document class that makes it available) and then use math mode (Ctrl-M)?
Then you can enter the label as normal.

I'm attaching a short example file.

Richard

Michael Chen wrote:
> hi, when I need to write theorems or definitions, I have to use \ERT
> and type in all  math formua in LATEX. Morever a label in \ERT is not
> available in the "insert reference window". Is there an easier way to
> edit and ref a theorem? Thanks.
>
> Michael



example.lyx
Description: application/lyx


is it easy to write in theorem environment and ref to a theorem?

2006-07-20 Thread Michael Chen

hi, when I need to write theorems or definitions, I have to use \ERT
and type in all  math formua in LATEX. Morever a label in \ERT is not
available in the "insert reference window". Is there an easier way to
edit and ref a theorem? Thanks.

Michael


Re: LyX/Mac-1.4.2 (PPC) binary available

2006-07-20 Thread Anders Ekberg

Bernd,

If I understand you correctly the problem seems to be TeX- rather  
than LyX-related. Could you explain exactly what you do and what the  
error message is?


Do you use TeX as installed by the i-Installer? Which class(es) are  
missing? Have you installed these yourself or are they included in  
the LyX-bundle and you have added a path to them manually?


/Anders



Bernd Kulawik
Thu, 20 Jul 2006 09:46:40 -0700

Hi,

thanx to all who made this possible.
But I - again - have a problem I had solved before (on Mac OSX  
10.4.7):
All the classes have been "unavailable" for me until I moved the  
LyX-1.4 folder from /users/.../Library/Application Support/ to /  
users/.../Library/ --- because I had learned that LaTeX does not  
like paths with "empty spaces" in their names. Ok, it worked, I  
wrote a short article a few days ago ... and since Tuesday I got  
the "unavailable" again. Though I changed the Paths in the  
Preferences (or looked, if there were still the correct paths given  
- they were) and "reconfigured" LyX 2 times.

Now, after installing LyX-1.4.2, the problem remains.
Any idea what went wrong? Am I the only person too stupid to find  
the reason ... or does anybody else have the problem too. The  
solution described above is the one I found for the problem - and  
it worked ... a few days. Strange, isn't it?

Thanks for any hints and suggestions!

Bernd





Re: Weird... Styles dropdown stopped working

2006-07-20 Thread John Coppens
On Thu, 20 Jul 2006 09:26:24 -0700 (PDT)
Rich Shepard <[EMAIL PROTECTED]> wrote:

> On Thu, 20 Jul 2006, Jean-Pierre Chretien wrote:
> 
> > Can't reproduce it here, lyx-1.4.2/Qt/Solaris. Clicking twice on the
> > rectangle reactivates the dropdown list. Clicking twice on the
> > selected style closes the dropdown list.
> 
>Also no problem with lyx-1.4.2/Qt/Slackware.

My machine is basically Slackware... But the problem is very
reproducible - in fact, I've just given up typing, because the it gets in
the way.

Well, I'm about to compile the latest 1.4.2 anyway - will check if it
appears there.

Thanks.
John


Re: Digit Lost in References

2006-07-20 Thread Bruce Pourciau

Yes, that was it. Thanks for the second time today, Richard.

Bruce

On Jul 20, 2006, at 12:24 PM, Richard Heck wrote:



My guess would be that the bibliography style expects years to be four
characters long, so you're losing the first character. But the  
solution

is simple: In the .bib file, you can just have both papers be "2005".
BibTeX will sort out the "a" and "b" for you automagically.

Richard

Bruce Pourciau wrote:
Sorry about the title of this email: this is far less sensational  
than

the Wendy's finger in the chili episode.

A certain author had two papers appear in 2005; so I dated them 2005a
and 2005b. That seemed to work just fine. But after revising my LyX
file -- including a change of .bib file, but the new .bib file has  
the

same 2005a, 2005b references -- the citations now appear as 005a and
005b. Where, oh where, has my digit 2 gone?

I used the apalike bib style before and after revision. Other bib
styles seem to be OK.

In the references, I see, for example,

[Smith, 005a] Smith, B. (2005a) blah blah

In the text, I get

[Smith, 005a, p. 10]

Any thoughts?

Bruce






Re: Digit Lost in References

2006-07-20 Thread Richard Heck

My guess would be that the bibliography style expects years to be four
characters long, so you're losing the first character. But the solution
is simple: In the .bib file, you can just have both papers be "2005".
BibTeX will sort out the "a" and "b" for you automagically.

Richard

Bruce Pourciau wrote:
> Sorry about the title of this email: this is far less sensational than
> the Wendy's finger in the chili episode.
>
> A certain author had two papers appear in 2005; so I dated them 2005a
> and 2005b. That seemed to work just fine. But after revising my LyX
> file -- including a change of .bib file, but the new .bib file has the
> same 2005a, 2005b references -- the citations now appear as 005a and
> 005b. Where, oh where, has my digit 2 gone?
>
> I used the apalike bib style before and after revision. Other bib
> styles seem to be OK.
>
> In the references, I see, for example,
>
> [Smith, 005a] Smith, B. (2005a) blah blah
>
> In the text, I get
>
> [Smith, 005a, p. 10]
>
> Any thoughts?
>
> Bruce



Digit Lost in References

2006-07-20 Thread Bruce Pourciau
Sorry about the title of this email: this is far less sensational  
than the Wendy's finger in the chili episode.


A certain author had two papers appear in 2005; so I dated them 2005a  
and 2005b. That seemed to work just fine. But after revising my LyX  
file -- including a change of .bib file, but the new .bib file has  
the same 2005a, 2005b references -- the citations now appear as 005a  
and 005b. Where, oh where, has my digit 2 gone?


I used the apalike bib style before and after revision. Other bib  
styles seem to be OK.


In the references, I see, for example,

[Smith, 005a] Smith, B. (2005a) blah blah

In the text, I get

[Smith, 005a, p. 10]

Any thoughts?

Bruce


Re: Label in User-Defined Environment

2006-07-20 Thread Richard Heck

Here's a version of the formula environment that works in LyX.

\newcounter{formula}
\newenvironment{Formula}%
{%
\begin{list}{\theformula}%
{%
\setlength{\labelwidth}{\leftmargin - \labelsep}%
\let\olditem=\item%
\renewcommand{\item}{\refstepcounter{formula}\olditem}%
\renewcommand{\makelabel}[1]{(##1)\hfil}%
}%
}
{%
\end{list}
}
%End Formula environment

Note that this does not include the optional argument for creating a
cross-reference, since that would not make so much sense in LyX. (The
crossref would not appear in the references menu.)

The issue in getting the formula environment to work in LyX is this. As
I originally designed the environment (see my previous note), it was a
one-item list. If you wanted more than one formula, you had to use the
environment multiple times. But, in LyX, if you have successive Formula
environments, where these are defined as List_Environments, they are
treated as a /single/ Formula environment with multiple items. Wrong
result, since LyX will then output a bunch of \item commands, whereas
what we wanted was a bunch of \begin{Formula} commands. If you instead
use "LatexType Environment", then you get a single environment with
multiple paragraphs. (I've filed an enhancement request to resolve this
issue.)

The obvious thing to do would seem to be this:

\newenvironment{Formula}[1][xxx]%
{%
\begin{list}{\theformula}%
{%
\setlength{\labelwidth}{\leftmargin - \labelsep}%

\renewcommand{\makelabel}[1]{\refstepcounter{formula}(##1)\hfil}%
}%
}
{%
\end{list}
}
%End Formula environment

So we're now stepping the counter /inside/ the \makelabel command, which
is called by \item, so the counter gets stepped each time.
Unfortunately, this simply doesn't work, because \refstepcounter doesn't
seem to do what it's meant to do here. The solution that does work is
the one above, where we redefine the \item command to step the counter
there.

Here's a layout, for those who are interested:

Style Formula
MarginFirst_Dynamic
LatexType List_Environment
LatexName Formula
NextNoIndent  1
LabelSep  xx
LeftMarginMMM
ParSkip   0.4
ItemSep   0.2
TopSep0.7
BottomSep 0.7
ParSep0.3
Align Block
AlignPossible Block, Left
LabelType Counter
LabelCounter  formula
LabelString   "(\arabic{formula})"
LabelFont
  Shape   Up
  Series  Bold
EndFont

#define the environment
Preamble
\usepackage{calc}
\usepackage{prettyref}
\newcounter{formula}
\newenvironment{Formula}%
{%
\begin{list}{\theformula}%
{%
\setlength{\labelwidth}{\leftmargin - \labelsep}%
\let\olditem=\item%

\renewcommand{\item}{\refstepcounter{formula}\olditem}%
\renewcommand{\makelabel}[1]{(##1)\hfil}%
}%
}
{%
\end{list}
}
%End Formula environment
\newrefformat{For}{(\ref{#1})}
EndPreamble
End


Richard Heck




Layout Idea

2006-07-20 Thread Richard Heck
You know what would be really cool? To be able to include in the
definition of a layout environment something like this:

LyxCommand label-insert For:#0

with the result that such a label was automatically created from an
optional argument. Now that would rock!

Richard


Re: LyX/Mac-1.4.2 (PPC) binary available

2006-07-20 Thread Bernd Kulawik

Hi,

thanx to all who made this possible.
But I - again - have a problem I had solved before (on Mac OSX 10.4.7):
All the classes have been "unavailable" for me until I moved the  
LyX-1.4 folder from /users/.../Library/Application Support/  to / 
users/.../Library/ --- because I had learned that LaTeX does not like  
paths with "empty spaces" in their names. Ok, it worked, I wrote a  
short article a few days ago ... and since Tuesday I got the  
"unavailable" again. Though I changed the Paths in the Preferences  
(or looked, if there were still the correct paths given - they were)  
and "reconfigured" LyX 2 times.

Now, after installing LyX-1.4.2, the problem remains.
Any idea what went wrong? Am I the only person too stupid to find the  
reason ... or does anybody else have the problem too. The solution  
described above is the one I found for the problem - and it  
worked ... a few days. Strange, isn't it?


Thanks for any hints and suggestions!

Bernd

Am 19.07.2006 um 22:45 schrieb Anders Ekberg:


Bennett Helm
Wed, 19 Jul 2006 06:00:44 -0700

The LyX/Mac binary is available here:



(This URL is linked via the wiki page at .) It is compiled for PPC only, though it apparently runs  
well on Intel Macs via Rosetta.


If someone wants to compile an Intel version, contact me for tips  
and/ or instructions as well as for help bundling it up with the  
Installer and docs.

Bennett

Thanks Bennett, The installation worked flawlessly for me.
I hope the rescue of your hard drive was successful!

Anders Ekberg





Re: Label in User-Defined Environment

2006-07-20 Thread Bruce Pourciau
Thank you very much, Richard. I'll forward your solution to my  
colleague. He'll be _very_ happy.


Bruce

On Jul 20, 2006, at 11:20 AM, Richard Heck wrote:



Does he want automatically to have the label created every time he
creates the environment? Or does he just want to put a label in it
manually, after he creates it, so he can cross-reference to it? If the
latter, it's trivial: Just put the label there. You can do this, for
example, with the lemma environment, and LaTeX doesn't care whether  
it's

user created or what have you. But you have to be sure to use
\refstepcounter not just \stepcounter when incrementing the  
counter. See

below.

If what he wants is the former, then it can be done, but we need to
consider where we'll get the name of the label. One might have the  
idea

to do it with a counter, but then if you were to add a new such
environment between the ones you'd already created, you'd break the
cross-references. Another way to do it would be to have the  
environment

accept an argument (possibly optional) which will then appear as the
name of the label. For example,

\newcounter{formula}
\newenvironment{Formula}[1][xxx]%
{\refstepcounter{formula}%
\begin{list}{\theformula}
{
\renewcommand{\makelabel}[1]{(##1)\hfil}
\setlength{\labelwidth}{\leftmargin - \labelsep}
}
\item%
\ifthenelse{\equal{#1}{xxx}}{}{\label{Formula:#1}}%
}
{
\end{list}
}
%End Formula environment

You can then use the formula environment like this:

/begin{Formula}[sillyformula]
This is a silly formula.
\end{Formula}

and refer to it via \ref{sillyformula} (or
\prettyref{Formula:sillyformula}, if you wish).

I'm working on getting this to work in LyX.

Richard

Bruce Pourciau wrote:
Thinking I knew much more LaTeX than I do, a colleague asked me  
how to

introduce a label command in a user-defined environment so he could
cross-reference. I said I'd check with the LaTeX experts on the LyX
list. What say you?

Bruce






Re: Weird... Styles dropdown stopped working

2006-07-20 Thread Rich Shepard

On Thu, 20 Jul 2006, Jean-Pierre Chretien wrote:


Can't reproduce it here, lyx-1.4.2/Qt/Solaris. Clicking twice on the
rectangle reactivates the dropdown list. Clicking twice on the selected
style closes the dropdown list.


  Also no problem with lyx-1.4.2/Qt/Slackware.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Label in User-Defined Environment

2006-07-20 Thread Richard Heck

Does he want automatically to have the label created every time he
creates the environment? Or does he just want to put a label in it
manually, after he creates it, so he can cross-reference to it? If the
latter, it's trivial: Just put the label there. You can do this, for
example, with the lemma environment, and LaTeX doesn't care whether it's
user created or what have you. But you have to be sure to use
\refstepcounter not just \stepcounter when incrementing the counter. See
below.

If what he wants is the former, then it can be done, but we need to
consider where we'll get the name of the label. One might have the idea
to do it with a counter, but then if you were to add a new such
environment between the ones you'd already created, you'd break the
cross-references. Another way to do it would be to have the environment
accept an argument (possibly optional) which will then appear as the
name of the label. For example,

\newcounter{formula}
\newenvironment{Formula}[1][xxx]%
{\refstepcounter{formula}%
\begin{list}{\theformula}
{
\renewcommand{\makelabel}[1]{(##1)\hfil}
\setlength{\labelwidth}{\leftmargin - \labelsep}
}
\item%
\ifthenelse{\equal{#1}{xxx}}{}{\label{Formula:#1}}%
}
{
\end{list}
}
%End Formula environment

You can then use the formula environment like this:

/begin{Formula}[sillyformula]
This is a silly formula.
\end{Formula}

and refer to it via \ref{sillyformula} (or
\prettyref{Formula:sillyformula}, if you wish).

I'm working on getting this to work in LyX.

Richard

Bruce Pourciau wrote:
> Thinking I knew much more LaTeX than I do, a colleague asked me how to
> introduce a label command in a user-defined environment so he could
> cross-reference. I said I'd check with the LaTeX experts on the LyX
> list. What say you?
>
> Bruce



Re: Weird... Styles dropdown stopped working

2006-07-20 Thread Jean-Pierre Chretien

>>Date: Thu, 20 Jul 2006 13:02:09 -0300
>>From: John Coppens <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Weird... Styles dropdown stopped working
[...]
>>
>>Click on the small rectangle - the list appears, click again, it
>>disappears. From then on - no more style changes. (typing and the rest
>>still works)

Can't reproduce it here, lyx-1.4.2/Qt/Solaris.
Clicking twice on the rectangle reactivates the dropdown list.
Clicking twice on the selected style closes the dropdown list.

-- 
Jean-Pierre



Weird... Styles dropdown stopped working

2006-07-20 Thread John Coppens
Hi all

This is probably a very stupid problem, but I can't find any reference in
the docs.

I'd installed 1.4.1 a while ago, and thought I'd try and enter the
outline of a book, just for the fun of it. I entered a title, marked it
as title, fine. Entered my name marked it as author, but, by accident,
touched the small rectangle inside the style selection button... And, from
then on all style selection were disabled!

I tried to change the title style - no luck. I opened help pages, tried
to change the style - no luck either. The only way I could make it work
again was exiting/entering LyX. It _is_ repeatable:

Click on the small rectangle - the list appears, click again, it
disappears. From then on - no more style changes. (typing and the rest
still works)

Is this some feature I don't know about?

John


Label in User-Defined Environment

2006-07-20 Thread Bruce Pourciau
Thinking I knew much more LaTeX than I do, a colleague asked me how  
to introduce a label command in a user-defined environment so he  
could cross-reference. I said I'd check with the LaTeX experts on the  
LyX list. What say you?


Bruce


Re: please consolidate the documentation

2006-07-20 Thread John Pye
Hi all,

I'd like to say congratulations to all on the re-inauguration of the LyX
documentation team ;-) ! The scattered documentation of LyX has
frustrated me too. I have some thoughts and ideas to mention...

First, I think that the shining example of the *delivery* of software
documentation is the PHP manual, which is at http://www.php.net/manual/en/.

In its favour: anyone can annotate a page in the manual with their own
tips and clarifications. This is great and it prevents quite the same
degree of random organic growth that occurs when people feel that they
should jot things into a wiki. I would imagine it makes things easier
for editors too: the community tells you where information is missing or
unclear. Here is an example of an annotated page:
http://au.php.net/manual/en/function.array-sum.php

Perhaps a limitation of the PHP manual's user-notes feature is that
whole new pages are hard for people to add. So there's still a place for
Wiki but it shouldn't be one of the primary resources, I don't think.

The PHP people have also done a great job of providing translations of
their manual, and also provide the documentation in lots of different
formats, eg CHM for reading online with Windows, and online/offline HTML
and PDF, eg see http://au.php.net/docs.php. There is a Linux
documentation format standard over at freedesktop.org that we should
comply with too.

I don't think that we should expect people to use LyX as their
documentation browser. Operating systems all provide good standard ways
of accessing help: Installed LyX documentation should play nice with
those so that there's one less thing for new users to learn. I think
that the LyX manual should serve as a model example of a well-published
document, with HTML and PDF versions, downloadable in various formats,
etc. It should be the type of end-result document that a person setting
out to write a book or a software manunal with LyX would aspire to
produce, not an exposition of the LyX GUI.

There should be a good self-updating HTML version of the LyX manual.
Ideally a local search engine could be installed that would search both
the HTML manual and the Wiki side-by-side with a single installation of
lucene, xapian, swish-e, etc.

We should aspire to the PDF version of the manual being a last port of
call: online searching, CHM, Yelp (under GNOME), etc should be able to
provide nicer and more efficient ways to read and search. Although,
given what LyX is, it's important to produce a good looking PDF to prove
what LyX can do.

We're meanwhile trying to use LyX for documenting a project I've worked
on: the ASCEND modelling environment. So we're very interested in taking
the right approach here. I'm sure a lot of other writers, especially of
software documentation, must be as well.

Cheers
JP

Jean-Pierre Chretien wrote:

>>>Date: Thu, 20 Jul 2006 03:05:50 -0700
>>>To: Jean-Pierre Chretien <[EMAIL PROTECTED]>
>>>CC: lyx-users@lists.lyx.org
>>>Subject: Re: please consolidate the documentation
>>>From: Stephen Harris <[EMAIL PROTECTED]>
>>>  
>>>
>[...]
>  
>
>>>swish-e is supposed to be capable of indexing a Wiki.
>>>Perhaps this categorizing scheme will be quite productive.
>>>  
>>>
>
>PmWiki includes it own indexing scheme: the search field in each page is able 
>to retrieve
>match in wiki pages.
>
>swish-e (or similar, htdig e.g.) are useful for segmented HTML publication 
>indexing.
>
>  
>


Re: please consolidate the documentation

2006-07-20 Thread Jean-Pierre Chretien

>>Date: Thu, 20 Jul 2006 03:05:50 -0700
>>To: Jean-Pierre Chretien <[EMAIL PROTECTED]>
>>CC: lyx-users@lists.lyx.org
>>Subject: Re: please consolidate the documentation
>>From: Stephen Harris <[EMAIL PROTECTED]>
[...]
>>
>>swish-e is supposed to be capable of indexing a Wiki.
>>Perhaps this categorizing scheme will be quite productive.

PmWiki includes it own indexing scheme: the search field in each page is able 
to retrieve
match in wiki pages.

swish-e (or similar, htdig e.g.) are useful for segmented HTML publication 
indexing.

-- 
Jean-Pierre




Re: please consolidate the documentation

2006-07-20 Thread Stephen Harris

Jean-Pierre Chretien wrote:

Date: Wed, 19 Jul 2006 09:37:55 -0700
To: lyx-users@lists.lyx.org
Subject: Re: please consolidate the documentation
From: Stephen Harris <[EMAIL PROTECTED]>

Ingo Klöcker wrote:

Am Mittwoch, 19. Juli 2006 08:58 schrieb Martin A. Hansen:

[...]
In any case, I'm pretty sure we can discuss this to death. Some people 
prefer a several megabyte large HTML file and other people prefer the 
same information nicely split up into several HTML files per chapter or 
even section (with nice navigation buttons of course). While the first 
approach is only feasible for people with a fast internet connection 
the second approach is feasible for anyone.


There used to be a splitted HTML version of the doc.
I found this while googling for "lyx verbatim 1.4" :-)
http://www.lyx.org/~jug/lyx/lyxdoc/Extended/node6.html
It's lyx-1.1.6 apparently, 1.4 is the section number.

The toc is here:
http://www.lyx.org/~jug/lyx/lyxdoc

However a local indexing is needed (btw, lyx.org does not seem to be indexed) 
as googling
retrieves a lot of noise.

Turning the doc into a wiki seems complicated, as only two levels are allowed, 
but maybe there are
tools to do so ? The indexing problem is solved this way.




Wolfram's indexes are very detailed and I like the
hyperlink feature but I suppose that requires html.
http://documents.wolfram.com/v4/MainBook/Index/

This webpage index shows the 'see also' feature.
For instance "layouts" would probably have several 'see alsos'
and also appear in several references ->each given a short code,
which could be listed alphabetically with page numbers. I want
it to be detailed enough to provide clues to inexperienced users.
http://www.indexers.org.uk/site/index.htm

swish-e is supposed to be capable of indexing a Wiki.
Perhaps this categorizing scheme will be quite productive.

Regards,
Stephen


If layouts were mentioned in several documents


Re: Removing all the "bigskip"'s of a document

2006-07-20 Thread Nicolás

Hola!

I can think on two possibilities:

1)Within LyX, search for "\bigskip" and replace it with an empty string. 
The ERT boxes will still be in the document, but they will be empty. The 
result will therefore be as they were not there. (This works in LyX 
1.4.2, I do not know in 1.3.5)


2)Open your document with a normal text processor (e.g. Notepad, 
Emacs,...) and search for "bigskip". You will see something like this:


\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
bigskip
\end_layout
\end_inset

Delete everything. By doing this The complete ERT boxes are removed from 
the document.


Saludos,
Nicolás

Horacio Emilio Pérez Sánchez wrote:

Hi,

I use LyX 1.3.5, and I have a big document someone passed to me to work 
with. This man likes to add a lot of extra spaces using the feature 
"bigskip" which I don't like at all. So I want to remove all of them.


Is there an easy way to do this in lyx ?

Thanks!