Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread faunt

Odd thing I've run into is that TOC.lyx in documentation will not display.
I get a message (on repeated attempts) about the file being truncated and
it crashes LyX.

I compared the installed file with the one in the original tarball and it
matches.

Has anyone else noticed this?

thanks,
jamie faunt




interface to computer algebra systemts

2003-03-22 Thread Serge Winitzki
Hi,

in 1.3.1 I noticed a new menu item use computer
algebra system. I have some questions:

- this feature is so far undocumented? 

- how to add new computer algebra systems,
particularly free ones (gap, pari/gp, yacas, ...?) Can
a user do this by putting something in .lyx directory?

- I am running LyX on a computer that has Maple but it
is not on the path (such is life where I work). Can I
tell LyX where Maple is?

Thanks!

=

Serge Winitzki

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


Re: Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 04:35:42AM -0800, [EMAIL PROTECTED] wrote:

 Odd thing I've run into is that TOC.lyx in documentation will not display.

This is fixed now

thanks
john


Install error for LyX 1.3.1 ?!

2003-03-22 Thread Randy Burgess
I'm a Linux newbie, trying w/a great deal of frustration to install LyX 1.3.1. I'm 
using the Xforms front end, have already installed Xforms 1.0 and Xpm. My LyX 
configure went OK according to the messages. The C compiler (this is on a SuSE 8.1 
distro) is gcc 3.2. When I went to install, things began OK but bombed out with the 
error messages excerpted below. 

Is there anything I can do to fix this and get a working install? The compiler message 
asks me to mail in a bug report, but I don't want to make this a lifetime project. All 
I'm trying to do is see if I would like LyX as an alternative to Microsoft Word on MS 
Windows.  

 (compiler excerpt below) 

make[4]: Entering directory 
`/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs/regex/src'
source='cpp_regex_traits.cpp' object='cpp_regex_traits.lo' libtool=yes \
depfile='.deps/cpp_regex_traits.Plo' tmpdepfile='.deps/cpp_regex_traits.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o cpp_regex_traits.lo `test -f 'cpp_regex_traits.cpp' || echo 
'./'`cpp_regex_traits.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c cpp_regex_traits.cpp -MT 
cpp_regex_traits.lo -MD -MP -MF .deps/cpp_regex_traits.TPlo
echo timestamp  cpp_regex_traits.lo
source='c_regex_traits_common.cpp' object='c_regex_traits_common.lo' libtool=yes \
depfile='.deps/c_regex_traits_common.Plo' 
tmpdepfile='.deps/c_regex_traits_common.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o c_regex_traits_common.lo `test -f 'c_regex_traits_common.cpp' || echo 
'./'`c_regex_traits_common.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c c_regex_traits_common.cpp -MT 
c_regex_traits_common.lo -MD -MP -MF .deps/c_regex_traits_common.TPlo
echo timestamp  c_regex_traits_common.lo
source='c_regex_traits.cpp' object='c_regex_traits.lo' libtool=yes \
depfile='.deps/c_regex_traits.Plo' tmpdepfile='.deps/c_regex_traits.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o c_regex_traits.lo `test -f 'c_regex_traits.cpp' || echo 
'./'`c_regex_traits.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c c_regex_traits.cpp -MT 
c_regex_traits.lo -MD -MP -MF .deps/c_regex_traits.TPlo
echo timestamp  c_regex_traits.lo
source='cregex.cpp' object='cregex.lo' libtool=yes \
depfile='.deps/cregex.Plo' tmpdepfile='.deps/cregex.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o cregex.lo `test -f 'cregex.cpp' || echo './'`cregex.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c cregex.cpp -MT cregex.lo -MD -MP -MF 
.deps/cregex.TPlo
../../../../boost/boost/regex/detail/regex_match.hpp: In member function
   `unsigned int boost::RegEx::GrepFiles(bool (*)(const char*, const
   boost::RegEx), const char*, bool, unsigned int)':
../../../../boost/boost/regex/detail/regex_match.hpp:1904: Internal compiler
   error in expand_call, at calls.c:3049
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://www.gnu.org/software/gcc/bugs.html for instructions.
make[4]: *** [cregex.lo] Error 1
make[4]: Leaving directory 
`/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs/regex/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs/regex'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost'
make: *** [all-recursive] Error 1
mindful:/usr/src/my_stuff/lyx_related/lyx-1.3.1 #




Re: Install error for LyX 1.3.1 ?!

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 11:00:13PM +0800, Randy Burgess  wrote:

 I'm a Linux newbie, trying w/a great deal of frustration to install
 LyX 1.3.1. I'm using the Xforms front end, have already installed
 Xforms 1.0 and Xpm. My LyX configure went OK according to the
 messages. The C compiler (this is on a SuSE 8.1 distro) is gcc 3.2.
 When I went to install, things began OK but bombed out with the error
 messages excerpted below. 

 Is there anything I can do to fix this and get a working install? The
 compiler message asks me to mail in a bug report, but I don't want to
 make this a lifetime project. All I'm trying to do is see if I would
 like LyX as an alternative to Microsoft Word on MS Windows.  

See the mail archives: Suse 8.1 have a broken compiler, and you need to
get a more recent version.

regards
john

p.s. please wrap your lines when appropriate


Re: Writing a Novel with LyX?

2003-03-22 Thread Randy Burgess
 Alas, I end up submitting manuscripts either in 
 hardcopy or in PDF so they can see what it looks 
 like, and in ascii for their publishing
 process.  Trade publishers always reset whatever 
 an author submits, so the formatting is lost in 
 any case. 

What about converting the ascii output to MS Word format via Word macros that convert 
plain-text tags into appropriate Word styles? I ask because I'm writing a how-to book 
(on poker) for a small pub house. I've started in MS Word but am thinking of changing 
to LyX to see what it's like. However my publisher will be giving the manuscript to an 
editor, and it's quite possible that editor will be using MS Word. 


Re: Adding Classes

2003-03-22 Thread Christian Ridderström
On Sat, 22 Mar 2003 [EMAIL PROTECTED] wrote:

 Will LyX accept other properly defined doc classes? And, if so, how do I
 get LyX reconfigure to find and add them?
 
Yes, I think that what you need to do is simply make sure that your second 
line in the layout file declares what latex class the layout is based on.
In the example below, 'article' is the class and 'clawar' is the name of 
the layout.

Then run reconfigure, now it should look for the class you want.

From my file: clawar.layout
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{clawar}
# Article textclass definition file. Taken from initial LyX source code

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: Lyx and Latex Input and Output

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 01:32:03PM -0500, [EMAIL PROTECTED] wrote:

I current use LaTeX and love it, but WYSIWYG would be nice to have.
I am confussed about LaTeX input/output.  
(1) The lyx main web site sayes Andre Ponitz is currently working to 
 give lyx round-trip LaTeX-lyx-LaTeX capibility so we can be compatable with 
 other users of LaTeX (My exact concern, and a requirement). 
(2) David Johnson's web page that describes lyx states that lyx will 
 output a LaTeX file, and version 1.0 will input most LaTeX files.
So I am confussed.  Can lyx input and output LaTeX files?

Yes it can. There is an old program called reLyX that is used for
importing .tex.  However, it is pretty much unmaintained and has some
annoying bugs for round-tripping.

Andre has started working on a new program called tex2lyx that hopefully
will turn out to work a lot better.

LyX itself exports to latex simple via File-Export-LaTeX

regards,
john


Re: Q: How to import short source code extracts

2003-03-22 Thread Guido Ostkamp

On Sat, 22 Mar 2003, Dekel Tsur wrote:
 On Sat, Mar 22, 2003 at 12:31:26AM +0100, Guido Ostkamp wrote:
  However, I haven't found a comfortable way to import sourcecode from
  an existing ASCII-file without loosing all the formatting - i.e. the
  indentation with blanks and/or tabs in front of each line and the line
  breaks, which is crucial for the readability of sourcecode.

 Insert-Include file, and select verbatim in the dialog. Note that
 this will NOT preserve tabs, so either use a tab2space utility on the
 file, or use the moreverb or listing package (in fact, the listing
 package is better as it performs pretty printing).

Unfortunately, this is not what I want as it is not an import, because I
cannot see the contents of the file inside Lyx. Also I would have to
deliver another file should I want to share the document in source form
with others.

What I am looking for is an Insert-Insert File-Ascii as Lyx-Code.

Regards,

Guido


Re: Adding Classes

2003-03-22 Thread faunt
On Sat, 22 Mar 2003, [ISO-8859-1] Christian Ridderström wrote:

Thanks for the reply.

I'm not finding any .layout files in any of the classes I've added
successfully or unsuccessfully -- after compiling of course. I've had .sty
or .sty and .cls files only on the ones that have worked so far. ??

And what if the new classs isn't based on any existing one? There's a
latex music class (mustek) that I'd like to add for one that I don't
believe is based on another existing class.

I think that the ones I've successfully added so far are based on article
(aa, paper), but they don't have .layout files.

jamie

 On Sat, 22 Mar 2003 [EMAIL PROTECTED] wrote:
 
  Will LyX accept other properly defined doc classes? And, if so, how do I
  get LyX reconfigure to find and add them?
 
 Yes, I think that what you need to do is simply make sure that your second
 line in the layout file declares what latex class the layout is based on.
 In the example below, 'article' is the class and 'clawar' is the name of
 the layout.

 Then run reconfigure, now it should look for the class you want.

 From my file: clawar.layout
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[article]{clawar}
 # Article textclass definition file. Taken from initial LyX source code





Re: Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread faunt
On Sat, 22 Mar 2003, John Levon wrote:

 On Sat, Mar 22, 2003 at 04:35:42AM -0800, [EMAIL PROTECTED] wrote:

  Odd thing I've run into is that TOC.lyx in documentation will not display.

 This is fixed now

Great -- thanks. I just checked ftp.lyx.org and can't find any update
since the 19th. Can I pull just that one file from somewhere?... or is
there an updated 1.3.1 tarball?

thanks,
jamie faunt




Re: Writing a Novel with LyX? (now off topic)

2003-03-22 Thread Todd Flaming


On 22 Mar 2003, Ronald Florence wrote:

 Todd Flaming [EMAIL PROTECTED] writes:

  The trade publishers frequently
  do a very nice job of editing and typesetting a book. But if you can hire
  a good editor and do the typesetting youself, you probably will do just as
  well self-publishing. Big publishing houses expect you to promote your own
  book, except in rare circumstances. They'll do some work, but not enough.

 I don't know what experience you've had with trade publishing houses,
 but the comments above are misleading or downright wrong.  Trade
 publishers have resources, access to distribution channels, and PR
 capabilities that dwarf self-publishing.  For works that are not
 appropriate to trade, technical, or university presses -- which alas,
 is an increasingly large segment of books today -- self-publishing may
 be effective alternative to not getting published.  But despite the
 do-it-yourself guides that tell you can match the resources and
 distribution of a Random House, Knopf, or St. Martins -- it just ain't
 so!

 Your comments on using LyX for self-published manuscripts seem very
 apt.

I didn't mean to offend or suggest that the large publishing houses are a
bad place to be. My works would have much more limited distribution than
yours apparently have. And I should have stated I have no direct
experience with large publishers, only what I've heard second-hand from other
authors. So take my comment with a glass of salt.

But now I'm curious -- you say the publishing houses have a lot of
resources for promoting and distributing a book. Do they use them? What
kind of numbers of copies (broad ranges) can you expect for non-fiction
material otherwise appropriate for a university press? I don't mean to get
off topic. If you are inclined to discuss, please e-mail me directly.

Back on topic - I realized a limitation of my solution to the *** section
break. I looked at a model book (yes, put out by a major publisher) and
noticed that section breaks with blank pages (or *** between them) are
followed by paragraphs that have a first line flush left. But with my
solution, the next paragraph is just an ordinary one, so it has an indent.

Here's a fix: create a new section* (not the numbered one) and use the
ERT for the text of that section. Only use this one instead, to make the
font smaller:

\makebox[\textwidth][c]{\small* * *}

That should work. Then you'll have a logical section break, divided as you
want it to be.

Todd Flaming



Re: Adding Classes

2003-03-22 Thread Christian Ridderström
On Sat, 22 Mar 2003 [EMAIL PROTECTED] wrote:

 On Sat, 22 Mar 2003, [ISO-8859-1] Christian Ridderström wrote:
 
 Thanks for the reply.
 
 I'm not finding any .layout files in any of the classes I've added
 successfully or unsuccessfully -- after compiling of course. I've had .sty
 or .sty and .cls files only on the ones that have worked so far. ??
 
 And what if the new classs isn't based on any existing one? There's a
 latex music class (mustek) that I'd like to add for one that I don't
 believe is based on another existing class.
 
 I think that the ones I've successfully added so far are based on article
 (aa, paper), but they don't have .layout files.
 
 jamie

Ok... we probably need to get some basics right here first...
.sty-files, you add by writing stuff like:
\usepackage{somepackage}
in your preamble.

Then we have the layout and latex classes. These two are connected, I 
guess you can say that each layout is based on a latex class.
In this example, the layout - clawar - was based on the class article.

 
  From my file: clawar.layout
  #% Do not delete the line below; configure depends on this
  #  \DeclareLaTeXClass[article]{clawar}
  # Article textclass definition file. Taken from initial LyX source code
 

It sounds like you want to use a new class with lyx (mustek), and for that 
you probably have to start by creating a new layout file (mustek.layout?).
Here's an example of how I've created a layout file to use the class 
songbook.

http://www.md.kth.se/~chr/lyx/songbook/Songbook.shtml

You should also check out:
http://www.troubleshooters.com/linux/lyx/index.htm
and some of the other links on this page:
http://ev-en.org/wiki/moin.cgi/LyxLinks

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: page number location

2003-03-22 Thread Myriam Abramson

No. Whatever I do, I can't get the page number outside of the margins
specified. What to do? 

 Dekel Tsur [EMAIL PROTECTED] wrote:
 On Fri, Mar 21, 2003 at 06:14:48AM -0500, Myriam Abramson wrote:
  
  In the book document class, how do I change the page number location?
  It seems right now to be on the top and right margins specified (1.25
  and 1 inch, respectively) but my requirements are that the page number
  be at 0.5 inch in the corner. Thanks.
 
 Select fancy page style and add to the preamble the following
 (assuming a single sided paper document):
 
 \fancyfoot[C]{}
 \fancyfoot[L]{\hspace*{0.5in}\thepage}
 \fancypagestyle{empty}{
  \fancyfoot[C]{}
  \fancyfoot[L]{\hspace*{0.5in}\thepage}
 }

-- 
   myriam
IM: tokujawa


Re: Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 01:12:27PM -0800, [EMAIL PROTECTED] wrote:

 Great -- thanks. I just checked ftp.lyx.org and can't find any update
 since the 19th. Can I pull just that one file from somewhere?... or is
 there an updated 1.3.1 tarball?

You either need to grab lyxdoc from CVS, or wait until 1.3.2

regards
john


Re: page number location

2003-03-22 Thread Myriam Abramson

Well, okay. I ended up changing the top margin and fixing headsep (in
the lyx gui) and  headwidth in preamble. Please note that maybe
headwidth should be added to the document-paper interface
thingie. Please let me know if there is a better solution. 

\renewcommand{\headrulewidth}{0pt}
\addtolength{\headwidth}{0.5in}
\fancyhf{}
\fancyhead[R]{\thepage}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[R]{\thepage}
}



 Myriam Abramson [EMAIL PROTECTED] scribbled furiously:
 No. Whatever I do, I can't get the page number outside of the margins
 specified. What to do? 
 
  Dekel Tsur [EMAIL PROTECTED] wrote:
  On Fri, Mar 21, 2003 at 06:14:48AM -0500, Myriam Abramson wrote:
   
   In the book document class, how do I change the page number location?
   It seems right now to be on the top and right margins specified (1.25
   and 1 inch, respectively) but my requirements are that the page number
   be at 0.5 inch in the corner. Thanks.
  
  Select fancy page style and add to the preamble the following
  (assuming a single sided paper document):
  
  \fancyfoot[C]{}
  \fancyfoot[L]{\hspace*{0.5in}\thepage}
  \fancypagestyle{empty}{
   \fancyfoot[C]{}
   \fancyfoot[L]{\hspace*{0.5in}\thepage}
  }
 
 -- 
myriam
 IM: tokujawa

-- 
   myriam
IM: tokujawa


compiling 1.3.1 qt on Debian Sid fails. Which qt libs?

2003-03-22 Thread Kenward Vaughan
I have the same problem mentioned by a fellow in an earlier thread, but I
don't have a clue where my problem is.  The qt packages I have installed
are:

--
11:01:11
daddy:~# dpkg -l qt*|grep ^i
ii  qt2-dev-tools  2.3.2-12   Qt2 development tools

11:01:40
daddy:~# dpkg -l libqt*|grep ^i
ii  libqt-dev  2.3.2-12   Qt GUI development files
ii  libqt2 2.3.2-12   Qt GUI Library (runtime version)
ii  libqt3c102-mt  3.1.1-7Qt GUI Library (Threaded runtime version)
---

configure burps at trying to create a simple qt executable. I have also
tried to include the argument specifying the location of the libs/dev files
but to no avail.

I've attached a gzip'ed config.log.  

Can anyone tell me if these packages make sense, and where my error is? 
Many thanks for the help!


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



config.gz
Description: Binary data


Re: math editor problems - 1.3.1

2003-03-22 Thread Amir Seginer
Hello,

Hi.. I'm having trouble with some simple math in the math editor.. I'm getting
errors saying there are missing $, } etc.. I'm attaching a sample file here
which has 2 lines of math text that gives me 15 errors. Please let me know what
needs to be done to correct this (if it can be corrected by the user..)
The problem was in the second equation on the first line. To solve it I 
simply rewrote it (see attached file) --- I'm assuming you didn't want 
the right parenthasis in bold.

 This kind of problem happens to me from time to time in lyx 
(mysterious errors which are solved by rewrting a small section).

In this case it might be the \mathrm in your equation which then 
includes \mathbf (maybe you pressed C-m by mistake within the equation?).

I should add however, that when I deleted by hand the \mathrm and its 
appropriate {} (second attached file), in the exported LaTeX file, 
running Latex on it gave me no problems but importing it back did give 
me problems

I Hope this helps,

Amir.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble

\newcommand\myToday{\ifcase\month\or
  January\or February\or March\or April\or May\or June\or
  July\or August\or September\or October\or November\or December\fi
  \space\number\day, \number\year}

\sloppy



\newlength{\myDummy}
\setlength{\myDummy}{0.75cm}% maybe different
\newcommand\dummy{%
  \raisebox{-0.5\myDummy}{\rule{0pt}{\myDummy}}%
}
\end_preamble
\language american
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize letterpaper
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 0pt
\paperheight 0pt
\leftmargin 1.25in
\topmargin 1in
\rightmargin 1.25in
\bottommargin 0.5in
\headheight 0pt
\headsep 0in
\footskip 0.5in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

The variance of the quadratic form 
\begin_inset Formula $\mathbf{u^{\prime}}M\mathbf{u}$
\end_inset 

 when 
\begin_inset Formula $\mathbf{u}\sim N_{p}(\mu_{\mathbf{u}},\Sigma_{\mathbf{u}})$
\end_inset 

 is given by
\layout Standard


\begin_inset Formula \begin{eqnarray*}
\textrm{Var}(\mathbf{u^{\prime}}M\mathbf{u})  =  
2tr(M\Sigma_{u}M\Sigma_{u})+4\mu_{u}^{\prime}M\Sigma_{u}M\mu_{u}\end{eqnarray*}

\end_inset 


\the_end


errors.tex
Description: TeX document


Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread faunt

Odd thing I've run into is that TOC.lyx in documentation will not display.
I get a message (on repeated attempts) about the file being truncated and
it crashes LyX.

I compared the installed file with the one in the original tarball and it
matches.

Has anyone else noticed this?

thanks,
jamie faunt




interface to computer algebra systemts

2003-03-22 Thread Serge Winitzki
Hi,

in 1.3.1 I noticed a new menu item use computer
algebra system. I have some questions:

- this feature is so far undocumented? 

- how to add new computer algebra systems,
particularly free ones (gap, pari/gp, yacas, ...?) Can
a user do this by putting something in .lyx directory?

- I am running LyX on a computer that has Maple but it
is not on the path (such is life where I work). Can I
tell LyX where Maple is?

Thanks!

=

Serge Winitzki

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


Re: Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 04:35:42AM -0800, [EMAIL PROTECTED] wrote:

 Odd thing I've run into is that TOC.lyx in documentation will not display.

This is fixed now

thanks
john


Install error for LyX 1.3.1 ?!

2003-03-22 Thread Randy Burgess
I'm a Linux newbie, trying w/a great deal of frustration to install LyX 1.3.1. I'm 
using the Xforms front end, have already installed Xforms 1.0 and Xpm. My LyX 
configure went OK according to the messages. The C compiler (this is on a SuSE 8.1 
distro) is gcc 3.2. When I went to install, things began OK but bombed out with the 
error messages excerpted below. 

Is there anything I can do to fix this and get a working install? The compiler message 
asks me to mail in a bug report, but I don't want to make this a lifetime project. All 
I'm trying to do is see if I would like LyX as an alternative to Microsoft Word on MS 
Windows.  

 (compiler excerpt below) 

make[4]: Entering directory 
`/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs/regex/src'
source='cpp_regex_traits.cpp' object='cpp_regex_traits.lo' libtool=yes \
depfile='.deps/cpp_regex_traits.Plo' tmpdepfile='.deps/cpp_regex_traits.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o cpp_regex_traits.lo `test -f 'cpp_regex_traits.cpp' || echo 
'./'`cpp_regex_traits.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c cpp_regex_traits.cpp -MT 
cpp_regex_traits.lo -MD -MP -MF .deps/cpp_regex_traits.TPlo
echo timestamp  cpp_regex_traits.lo
source='c_regex_traits_common.cpp' object='c_regex_traits_common.lo' libtool=yes \
depfile='.deps/c_regex_traits_common.Plo' 
tmpdepfile='.deps/c_regex_traits_common.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o c_regex_traits_common.lo `test -f 'c_regex_traits_common.cpp' || echo 
'./'`c_regex_traits_common.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c c_regex_traits_common.cpp -MT 
c_regex_traits_common.lo -MD -MP -MF .deps/c_regex_traits_common.TPlo
echo timestamp  c_regex_traits_common.lo
source='c_regex_traits.cpp' object='c_regex_traits.lo' libtool=yes \
depfile='.deps/c_regex_traits.Plo' tmpdepfile='.deps/c_regex_traits.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o c_regex_traits.lo `test -f 'c_regex_traits.cpp' || echo 
'./'`c_regex_traits.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c c_regex_traits.cpp -MT 
c_regex_traits.lo -MD -MP -MF .deps/c_regex_traits.TPlo
echo timestamp  c_regex_traits.lo
source='cregex.cpp' object='cregex.lo' libtool=yes \
depfile='.deps/cregex.Plo' tmpdepfile='.deps/cregex.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o cregex.lo `test -f 'cregex.cpp' || echo './'`cregex.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c cregex.cpp -MT cregex.lo -MD -MP -MF 
.deps/cregex.TPlo
../../../../boost/boost/regex/detail/regex_match.hpp: In member function
   `unsigned int boost::RegEx::GrepFiles(bool (*)(const char*, const
   boost::RegEx), const char*, bool, unsigned int)':
../../../../boost/boost/regex/detail/regex_match.hpp:1904: Internal compiler
   error in expand_call, at calls.c:3049
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://www.gnu.org/software/gcc/bugs.html for instructions.
make[4]: *** [cregex.lo] Error 1
make[4]: Leaving directory 
`/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs/regex/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs/regex'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost'
make: *** [all-recursive] Error 1
mindful:/usr/src/my_stuff/lyx_related/lyx-1.3.1 #




Re: Install error for LyX 1.3.1 ?!

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 11:00:13PM +0800, Randy Burgess  wrote:

 I'm a Linux newbie, trying w/a great deal of frustration to install
 LyX 1.3.1. I'm using the Xforms front end, have already installed
 Xforms 1.0 and Xpm. My LyX configure went OK according to the
 messages. The C compiler (this is on a SuSE 8.1 distro) is gcc 3.2.
 When I went to install, things began OK but bombed out with the error
 messages excerpted below. 

 Is there anything I can do to fix this and get a working install? The
 compiler message asks me to mail in a bug report, but I don't want to
 make this a lifetime project. All I'm trying to do is see if I would
 like LyX as an alternative to Microsoft Word on MS Windows.  

See the mail archives: Suse 8.1 have a broken compiler, and you need to
get a more recent version.

regards
john

p.s. please wrap your lines when appropriate


Re: Writing a Novel with LyX?

2003-03-22 Thread Randy Burgess
 Alas, I end up submitting manuscripts either in 
 hardcopy or in PDF so they can see what it looks 
 like, and in ascii for their publishing
 process.  Trade publishers always reset whatever 
 an author submits, so the formatting is lost in 
 any case. 

What about converting the ascii output to MS Word format via Word macros that convert 
plain-text tags into appropriate Word styles? I ask because I'm writing a how-to book 
(on poker) for a small pub house. I've started in MS Word but am thinking of changing 
to LyX to see what it's like. However my publisher will be giving the manuscript to an 
editor, and it's quite possible that editor will be using MS Word. 


Re: Adding Classes

2003-03-22 Thread Christian Ridderström
On Sat, 22 Mar 2003 [EMAIL PROTECTED] wrote:

 Will LyX accept other properly defined doc classes? And, if so, how do I
 get LyX reconfigure to find and add them?
 
Yes, I think that what you need to do is simply make sure that your second 
line in the layout file declares what latex class the layout is based on.
In the example below, 'article' is the class and 'clawar' is the name of 
the layout.

Then run reconfigure, now it should look for the class you want.

From my file: clawar.layout
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{clawar}
# Article textclass definition file. Taken from initial LyX source code

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: Lyx and Latex Input and Output

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 01:32:03PM -0500, [EMAIL PROTECTED] wrote:

I current use LaTeX and love it, but WYSIWYG would be nice to have.
I am confussed about LaTeX input/output.  
(1) The lyx main web site sayes Andre Ponitz is currently working to 
 give lyx round-trip LaTeX-lyx-LaTeX capibility so we can be compatable with 
 other users of LaTeX (My exact concern, and a requirement). 
(2) David Johnson's web page that describes lyx states that lyx will 
 output a LaTeX file, and version 1.0 will input most LaTeX files.
So I am confussed.  Can lyx input and output LaTeX files?

Yes it can. There is an old program called reLyX that is used for
importing .tex.  However, it is pretty much unmaintained and has some
annoying bugs for round-tripping.

Andre has started working on a new program called tex2lyx that hopefully
will turn out to work a lot better.

LyX itself exports to latex simple via File-Export-LaTeX

regards,
john


Re: Q: How to import short source code extracts

2003-03-22 Thread Guido Ostkamp

On Sat, 22 Mar 2003, Dekel Tsur wrote:
 On Sat, Mar 22, 2003 at 12:31:26AM +0100, Guido Ostkamp wrote:
  However, I haven't found a comfortable way to import sourcecode from
  an existing ASCII-file without loosing all the formatting - i.e. the
  indentation with blanks and/or tabs in front of each line and the line
  breaks, which is crucial for the readability of sourcecode.

 Insert-Include file, and select verbatim in the dialog. Note that
 this will NOT preserve tabs, so either use a tab2space utility on the
 file, or use the moreverb or listing package (in fact, the listing
 package is better as it performs pretty printing).

Unfortunately, this is not what I want as it is not an import, because I
cannot see the contents of the file inside Lyx. Also I would have to
deliver another file should I want to share the document in source form
with others.

What I am looking for is an Insert-Insert File-Ascii as Lyx-Code.

Regards,

Guido


Re: Adding Classes

2003-03-22 Thread faunt
On Sat, 22 Mar 2003, [ISO-8859-1] Christian Ridderström wrote:

Thanks for the reply.

I'm not finding any .layout files in any of the classes I've added
successfully or unsuccessfully -- after compiling of course. I've had .sty
or .sty and .cls files only on the ones that have worked so far. ??

And what if the new classs isn't based on any existing one? There's a
latex music class (mustek) that I'd like to add for one that I don't
believe is based on another existing class.

I think that the ones I've successfully added so far are based on article
(aa, paper), but they don't have .layout files.

jamie

 On Sat, 22 Mar 2003 [EMAIL PROTECTED] wrote:
 
  Will LyX accept other properly defined doc classes? And, if so, how do I
  get LyX reconfigure to find and add them?
 
 Yes, I think that what you need to do is simply make sure that your second
 line in the layout file declares what latex class the layout is based on.
 In the example below, 'article' is the class and 'clawar' is the name of
 the layout.

 Then run reconfigure, now it should look for the class you want.

 From my file: clawar.layout
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[article]{clawar}
 # Article textclass definition file. Taken from initial LyX source code





Re: Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread faunt
On Sat, 22 Mar 2003, John Levon wrote:

 On Sat, Mar 22, 2003 at 04:35:42AM -0800, [EMAIL PROTECTED] wrote:

  Odd thing I've run into is that TOC.lyx in documentation will not display.

 This is fixed now

Great -- thanks. I just checked ftp.lyx.org and can't find any update
since the 19th. Can I pull just that one file from somewhere?... or is
there an updated 1.3.1 tarball?

thanks,
jamie faunt




Re: Writing a Novel with LyX? (now off topic)

2003-03-22 Thread Todd Flaming


On 22 Mar 2003, Ronald Florence wrote:

 Todd Flaming [EMAIL PROTECTED] writes:

  The trade publishers frequently
  do a very nice job of editing and typesetting a book. But if you can hire
  a good editor and do the typesetting youself, you probably will do just as
  well self-publishing. Big publishing houses expect you to promote your own
  book, except in rare circumstances. They'll do some work, but not enough.

 I don't know what experience you've had with trade publishing houses,
 but the comments above are misleading or downright wrong.  Trade
 publishers have resources, access to distribution channels, and PR
 capabilities that dwarf self-publishing.  For works that are not
 appropriate to trade, technical, or university presses -- which alas,
 is an increasingly large segment of books today -- self-publishing may
 be effective alternative to not getting published.  But despite the
 do-it-yourself guides that tell you can match the resources and
 distribution of a Random House, Knopf, or St. Martins -- it just ain't
 so!

 Your comments on using LyX for self-published manuscripts seem very
 apt.

I didn't mean to offend or suggest that the large publishing houses are a
bad place to be. My works would have much more limited distribution than
yours apparently have. And I should have stated I have no direct
experience with large publishers, only what I've heard second-hand from other
authors. So take my comment with a glass of salt.

But now I'm curious -- you say the publishing houses have a lot of
resources for promoting and distributing a book. Do they use them? What
kind of numbers of copies (broad ranges) can you expect for non-fiction
material otherwise appropriate for a university press? I don't mean to get
off topic. If you are inclined to discuss, please e-mail me directly.

Back on topic - I realized a limitation of my solution to the *** section
break. I looked at a model book (yes, put out by a major publisher) and
noticed that section breaks with blank pages (or *** between them) are
followed by paragraphs that have a first line flush left. But with my
solution, the next paragraph is just an ordinary one, so it has an indent.

Here's a fix: create a new section* (not the numbered one) and use the
ERT for the text of that section. Only use this one instead, to make the
font smaller:

\makebox[\textwidth][c]{\small* * *}

That should work. Then you'll have a logical section break, divided as you
want it to be.

Todd Flaming



Re: Adding Classes

2003-03-22 Thread Christian Ridderström
On Sat, 22 Mar 2003 [EMAIL PROTECTED] wrote:

 On Sat, 22 Mar 2003, [ISO-8859-1] Christian Ridderström wrote:
 
 Thanks for the reply.
 
 I'm not finding any .layout files in any of the classes I've added
 successfully or unsuccessfully -- after compiling of course. I've had .sty
 or .sty and .cls files only on the ones that have worked so far. ??
 
 And what if the new classs isn't based on any existing one? There's a
 latex music class (mustek) that I'd like to add for one that I don't
 believe is based on another existing class.
 
 I think that the ones I've successfully added so far are based on article
 (aa, paper), but they don't have .layout files.
 
 jamie

Ok... we probably need to get some basics right here first...
.sty-files, you add by writing stuff like:
\usepackage{somepackage}
in your preamble.

Then we have the layout and latex classes. These two are connected, I 
guess you can say that each layout is based on a latex class.
In this example, the layout - clawar - was based on the class article.

 
  From my file: clawar.layout
  #% Do not delete the line below; configure depends on this
  #  \DeclareLaTeXClass[article]{clawar}
  # Article textclass definition file. Taken from initial LyX source code
 

It sounds like you want to use a new class with lyx (mustek), and for that 
you probably have to start by creating a new layout file (mustek.layout?).
Here's an example of how I've created a layout file to use the class 
songbook.

http://www.md.kth.se/~chr/lyx/songbook/Songbook.shtml

You should also check out:
http://www.troubleshooters.com/linux/lyx/index.htm
and some of the other links on this page:
http://ev-en.org/wiki/moin.cgi/LyxLinks

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: page number location

2003-03-22 Thread Myriam Abramson

No. Whatever I do, I can't get the page number outside of the margins
specified. What to do? 

 Dekel Tsur [EMAIL PROTECTED] wrote:
 On Fri, Mar 21, 2003 at 06:14:48AM -0500, Myriam Abramson wrote:
  
  In the book document class, how do I change the page number location?
  It seems right now to be on the top and right margins specified (1.25
  and 1 inch, respectively) but my requirements are that the page number
  be at 0.5 inch in the corner. Thanks.
 
 Select fancy page style and add to the preamble the following
 (assuming a single sided paper document):
 
 \fancyfoot[C]{}
 \fancyfoot[L]{\hspace*{0.5in}\thepage}
 \fancypagestyle{empty}{
  \fancyfoot[C]{}
  \fancyfoot[L]{\hspace*{0.5in}\thepage}
 }

-- 
   myriam
IM: tokujawa


Re: Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 01:12:27PM -0800, [EMAIL PROTECTED] wrote:

 Great -- thanks. I just checked ftp.lyx.org and can't find any update
 since the 19th. Can I pull just that one file from somewhere?... or is
 there an updated 1.3.1 tarball?

You either need to grab lyxdoc from CVS, or wait until 1.3.2

regards
john


Re: page number location

2003-03-22 Thread Myriam Abramson

Well, okay. I ended up changing the top margin and fixing headsep (in
the lyx gui) and  headwidth in preamble. Please note that maybe
headwidth should be added to the document-paper interface
thingie. Please let me know if there is a better solution. 

\renewcommand{\headrulewidth}{0pt}
\addtolength{\headwidth}{0.5in}
\fancyhf{}
\fancyhead[R]{\thepage}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[R]{\thepage}
}



 Myriam Abramson [EMAIL PROTECTED] scribbled furiously:
 No. Whatever I do, I can't get the page number outside of the margins
 specified. What to do? 
 
  Dekel Tsur [EMAIL PROTECTED] wrote:
  On Fri, Mar 21, 2003 at 06:14:48AM -0500, Myriam Abramson wrote:
   
   In the book document class, how do I change the page number location?
   It seems right now to be on the top and right margins specified (1.25
   and 1 inch, respectively) but my requirements are that the page number
   be at 0.5 inch in the corner. Thanks.
  
  Select fancy page style and add to the preamble the following
  (assuming a single sided paper document):
  
  \fancyfoot[C]{}
  \fancyfoot[L]{\hspace*{0.5in}\thepage}
  \fancypagestyle{empty}{
   \fancyfoot[C]{}
   \fancyfoot[L]{\hspace*{0.5in}\thepage}
  }
 
 -- 
myriam
 IM: tokujawa

-- 
   myriam
IM: tokujawa


compiling 1.3.1 qt on Debian Sid fails. Which qt libs?

2003-03-22 Thread Kenward Vaughan
I have the same problem mentioned by a fellow in an earlier thread, but I
don't have a clue where my problem is.  The qt packages I have installed
are:

--
11:01:11
daddy:~# dpkg -l qt*|grep ^i
ii  qt2-dev-tools  2.3.2-12   Qt2 development tools

11:01:40
daddy:~# dpkg -l libqt*|grep ^i
ii  libqt-dev  2.3.2-12   Qt GUI development files
ii  libqt2 2.3.2-12   Qt GUI Library (runtime version)
ii  libqt3c102-mt  3.1.1-7Qt GUI Library (Threaded runtime version)
---

configure burps at trying to create a simple qt executable. I have also
tried to include the argument specifying the location of the libs/dev files
but to no avail.

I've attached a gzip'ed config.log.  

Can anyone tell me if these packages make sense, and where my error is? 
Many thanks for the help!


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



config.gz
Description: Binary data


Re: math editor problems - 1.3.1

2003-03-22 Thread Amir Seginer
Hello,

Hi.. I'm having trouble with some simple math in the math editor.. I'm getting
errors saying there are missing $, } etc.. I'm attaching a sample file here
which has 2 lines of math text that gives me 15 errors. Please let me know what
needs to be done to correct this (if it can be corrected by the user..)
The problem was in the second equation on the first line. To solve it I 
simply rewrote it (see attached file) --- I'm assuming you didn't want 
the right parenthasis in bold.

 This kind of problem happens to me from time to time in lyx 
(mysterious errors which are solved by rewrting a small section).

In this case it might be the \mathrm in your equation which then 
includes \mathbf (maybe you pressed C-m by mistake within the equation?).

I should add however, that when I deleted by hand the \mathrm and its 
appropriate {} (second attached file), in the exported LaTeX file, 
running Latex on it gave me no problems but importing it back did give 
me problems

I Hope this helps,

Amir.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble

\newcommand\myToday{\ifcase\month\or
  January\or February\or March\or April\or May\or June\or
  July\or August\or September\or October\or November\or December\fi
  \space\number\day, \number\year}

\sloppy



\newlength{\myDummy}
\setlength{\myDummy}{0.75cm}% maybe different
\newcommand\dummy{%
  \raisebox{-0.5\myDummy}{\rule{0pt}{\myDummy}}%
}
\end_preamble
\language american
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize letterpaper
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 0pt
\paperheight 0pt
\leftmargin 1.25in
\topmargin 1in
\rightmargin 1.25in
\bottommargin 0.5in
\headheight 0pt
\headsep 0in
\footskip 0.5in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

The variance of the quadratic form 
\begin_inset Formula $\mathbf{u^{\prime}}M\mathbf{u}$
\end_inset 

 when 
\begin_inset Formula $\mathbf{u}\sim N_{p}(\mu_{\mathbf{u}},\Sigma_{\mathbf{u}})$
\end_inset 

 is given by
\layout Standard


\begin_inset Formula \begin{eqnarray*}
\textrm{Var}(\mathbf{u^{\prime}}M\mathbf{u})  =  
2tr(M\Sigma_{u}M\Sigma_{u})+4\mu_{u}^{\prime}M\Sigma_{u}M\mu_{u}\end{eqnarray*}

\end_inset 


\the_end


errors.tex
Description: TeX document


Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread faunt

Odd thing I've run into is that TOC.lyx in documentation will not display.
I get a message (on repeated attempts) about the file being truncated and
it crashes LyX.

I compared the installed file with the one in the original tarball and it
matches.

Has anyone else noticed this?

thanks,
jamie faunt




interface to computer algebra systemts

2003-03-22 Thread Serge Winitzki
Hi,

in 1.3.1 I noticed a new menu item "use computer
algebra system". I have some questions:

- this feature is so far undocumented? 

- how to add new computer algebra systems,
particularly free ones (gap, pari/gp, yacas, ...?) Can
a user do this by putting something in .lyx directory?

- I am running LyX on a computer that has Maple but it
is not on the path (such is life where I work). Can I
tell LyX where Maple is?

Thanks!

=

Serge Winitzki

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


Re: Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 04:35:42AM -0800, [EMAIL PROTECTED] wrote:

> Odd thing I've run into is that TOC.lyx in documentation will not display.

This is fixed now

thanks
john


Install error for LyX 1.3.1 ?!

2003-03-22 Thread Randy Burgess
I'm a Linux newbie, trying w/a great deal of frustration to install LyX 1.3.1. I'm 
using the Xforms front end, have already installed Xforms 1.0 and Xpm. My LyX 
configure went OK according to the messages. The C compiler (this is on a SuSE 8.1 
distro) is gcc 3.2. When I went to install, things began OK but bombed out with the 
error messages excerpted below. 

Is there anything I can do to fix this and get a working install? The compiler message 
asks me to mail in a bug report, but I don't want to make this a lifetime project. All 
I'm trying to do is see if I would like LyX as an alternative to Microsoft Word on MS 
Windows.  

 (compiler excerpt below) 

make[4]: Entering directory 
`/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs/regex/src'
source='cpp_regex_traits.cpp' object='cpp_regex_traits.lo' libtool=yes \
depfile='.deps/cpp_regex_traits.Plo' tmpdepfile='.deps/cpp_regex_traits.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o cpp_regex_traits.lo `test -f 'cpp_regex_traits.cpp' || echo 
'./'`cpp_regex_traits.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c cpp_regex_traits.cpp -MT 
cpp_regex_traits.lo -MD -MP -MF .deps/cpp_regex_traits.TPlo
echo timestamp > cpp_regex_traits.lo
source='c_regex_traits_common.cpp' object='c_regex_traits_common.lo' libtool=yes \
depfile='.deps/c_regex_traits_common.Plo' 
tmpdepfile='.deps/c_regex_traits_common.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o c_regex_traits_common.lo `test -f 'c_regex_traits_common.cpp' || echo 
'./'`c_regex_traits_common.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c c_regex_traits_common.cpp -MT 
c_regex_traits_common.lo -MD -MP -MF .deps/c_regex_traits_common.TPlo
echo timestamp > c_regex_traits_common.lo
source='c_regex_traits.cpp' object='c_regex_traits.lo' libtool=yes \
depfile='.deps/c_regex_traits.Plo' tmpdepfile='.deps/c_regex_traits.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o c_regex_traits.lo `test -f 'c_regex_traits.cpp' || echo 
'./'`c_regex_traits.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c c_regex_traits.cpp -MT 
c_regex_traits.lo -MD -MP -MF .deps/c_regex_traits.TPlo
echo timestamp > c_regex_traits.lo
source='cregex.cpp' object='cregex.lo' libtool=yes \
depfile='.deps/cregex.Plo' tmpdepfile='.deps/cregex.TPlo' \
depmode=gcc3 /bin/sh ../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -isystem /usr/X11R6/include  -O -fno-exceptions 
-W -Wall -c -o cregex.lo `test -f 'cregex.cpp' || echo './'`cregex.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -c cregex.cpp -MT cregex.lo -MD -MP -MF 
.deps/cregex.TPlo
../../../../boost/boost/regex/detail/regex_match.hpp: In member function
   `unsigned int boost::RegEx::GrepFiles(bool (*)(const char*, const
   boost::RegEx&), const char*, bool, unsigned int)':
../../../../boost/boost/regex/detail/regex_match.hpp:1904: Internal compiler
   error in expand_call, at calls.c:3049
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
make[4]: *** [cregex.lo] Error 1
make[4]: Leaving directory 
`/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs/regex/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs/regex'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/my_stuff/lyx_related/lyx-1.3.1/boost'
make: *** [all-recursive] Error 1
mindful:/usr/src/my_stuff/lyx_related/lyx-1.3.1 #




Re: Install error for LyX 1.3.1 ?!

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 11:00:13PM +0800, Randy Burgess  wrote:

> I'm a Linux newbie, trying w/a great deal of frustration to install
> LyX 1.3.1. I'm using the Xforms front end, have already installed
> Xforms 1.0 and Xpm. My LyX configure went OK according to the
> messages. The C compiler (this is on a SuSE 8.1 distro) is gcc 3.2.
> When I went to install, things began OK but bombed out with the error
> messages excerpted below. 

> Is there anything I can do to fix this and get a working install? The
> compiler message asks me to mail in a bug report, but I don't want to
> make this a lifetime project. All I'm trying to do is see if I would
> like LyX as an alternative to Microsoft Word on MS Windows.  

See the mail archives: Suse 8.1 have a broken compiler, and you need to
get a more recent version.

regards
john

p.s. please wrap your lines when appropriate


Re: Writing a Novel with LyX?

2003-03-22 Thread Randy Burgess
> Alas, I end up submitting manuscripts either in 
> hardcopy or in PDF so they can see what it looks 
> like, and in ascii for their publishing
> process.  Trade publishers always reset whatever 
> an author submits, so the formatting is lost in 
> any case. 

What about converting the ascii output to MS Word format via Word macros that convert 
plain-text tags into appropriate Word styles? I ask because I'm writing a how-to book 
(on poker) for a small pub house. I've started in MS Word but am thinking of changing 
to LyX to see what it's like. However my publisher will be giving the manuscript to an 
editor, and it's quite possible that editor will be using MS Word. 


Re: Adding Classes

2003-03-22 Thread Christian Ridderström
On Sat, 22 Mar 2003 [EMAIL PROTECTED] wrote:
>
> Will LyX accept other properly defined doc classes? And, if so, how do I
> get LyX reconfigure to find and add them?
> 
Yes, I think that what you need to do is simply make sure that your second 
line in the layout file declares what latex class the layout is based on.
In the example below, 'article' is the class and 'clawar' is the name of 
the layout.

Then run reconfigure, now it should look for the class you want.

>From my file: clawar.layout
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{clawar}
# Article textclass definition file. Taken from initial LyX source code

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: Lyx and Latex Input and Output

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 01:32:03PM -0500, [EMAIL PROTECTED] wrote:

>I current use LaTeX and love it, but WYSIWYG would be nice to have.
>I am confussed about LaTeX input/output.  
>(1) The lyx main web site sayes Andre Ponitz is currently working to 
> give lyx round-trip LaTeX-lyx-LaTeX capibility so we can be compatable with 
> other users of LaTeX (My exact concern, and a requirement). 
>(2) David Johnson's web page that describes lyx states that lyx will 
> output a LaTeX file, and version 1.0 will input most LaTeX files.
>So I am confussed.  Can lyx input and output LaTeX files?

Yes it can. There is an old program called reLyX that is used for
importing .tex.  However, it is pretty much unmaintained and has some
annoying bugs for round-tripping.

Andre has started working on a new program called tex2lyx that hopefully
will turn out to work a lot better.

LyX itself exports to latex simple via File->Export->LaTeX

regards,
john


Re: Q: How to import short source code extracts

2003-03-22 Thread Guido Ostkamp

On Sat, 22 Mar 2003, Dekel Tsur wrote:
> On Sat, Mar 22, 2003 at 12:31:26AM +0100, Guido Ostkamp wrote:
> > However, I haven't found a comfortable way to import sourcecode from
> > an existing ASCII-file without loosing all the formatting - i.e. the
> > indentation with blanks and/or tabs in front of each line and the line
> > breaks, which is crucial for the readability of sourcecode.
>
> Insert->Include file, and select "verbatim" in the dialog. Note that
> this will NOT preserve tabs, so either use a tab2space utility on the
> file, or use the moreverb or listing package (in fact, the listing
> package is better as it performs "pretty printing").

Unfortunately, this is not what I want as it is not an import, because I
cannot see the contents of the file inside Lyx. Also I would have to
deliver another file should I want to share the document in source form
with others.

What I am looking for is an "Insert->Insert File->Ascii as Lyx-Code".

Regards,

Guido


Re: Adding Classes

2003-03-22 Thread faunt
On Sat, 22 Mar 2003, [ISO-8859-1] Christian Ridderström wrote:

Thanks for the reply.

I'm not finding any .layout files in any of the classes I've added
successfully or unsuccessfully -- after compiling of course. I've had .sty
or .sty and .cls files only on the ones that have worked so far. 

And what if the new classs isn't based on any existing one? There's a
latex music class (mustek) that I'd like to add for one that I don't
believe is based on another existing class.

I think that the ones I've successfully added so far are based on article
(aa, paper), but they don't have .layout files.

jamie

> On Sat, 22 Mar 2003 [EMAIL PROTECTED] wrote:
> >
> > Will LyX accept other properly defined doc classes? And, if so, how do I
> > get LyX reconfigure to find and add them?
> >
> Yes, I think that what you need to do is simply make sure that your second
> line in the layout file declares what latex class the layout is based on.
> In the example below, 'article' is the class and 'clawar' is the name of
> the layout.
>
> Then run reconfigure, now it should look for the class you want.
>
> >From my file: clawar.layout
> #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass[article]{clawar}
> # Article textclass definition file. Taken from initial LyX source code
>
>



Re: Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread faunt
On Sat, 22 Mar 2003, John Levon wrote:

> On Sat, Mar 22, 2003 at 04:35:42AM -0800, [EMAIL PROTECTED] wrote:
>
> > Odd thing I've run into is that TOC.lyx in documentation will not display.
>
> This is fixed now

Great -- thanks. I just checked ftp.lyx.org and can't find any update
since the 19th. Can I pull just that one file from somewhere?... or is
there an updated 1.3.1 tarball?

thanks,
jamie faunt




Re: Writing a Novel with LyX? (now off topic)

2003-03-22 Thread Todd Flaming


On 22 Mar 2003, Ronald Florence wrote:

> Todd Flaming <[EMAIL PROTECTED]> writes:
>
> > The trade publishers frequently
> > do a very nice job of editing and typesetting a book. But if you can hire
> > a good editor and do the typesetting youself, you probably will do just as
> > well self-publishing. Big publishing houses expect you to promote your own
> > book, except in rare circumstances. They'll do some work, but not enough.
>
> I don't know what experience you've had with trade publishing houses,
> but the comments above are misleading or downright wrong.  Trade
> publishers have resources, access to distribution channels, and PR
> capabilities that dwarf self-publishing.  For works that are not
> appropriate to trade, technical, or university presses -- which alas,
> is an increasingly large segment of books today -- self-publishing may
> be effective alternative to not getting published.  But despite the
> do-it-yourself guides that tell you can match the resources and
> distribution of a Random House, Knopf, or St. Martins -- it just ain't
> so!
>
> Your comments on using LyX for self-published manuscripts seem very
> apt.

I didn't mean to offend or suggest that the large publishing houses are a
bad place to be. My works would have much more limited distribution than
yours apparently have. And I should have stated I have no direct
experience with large publishers, only what I've heard second-hand from other
authors. So take my comment with a glass of salt.

But now I'm curious -- you say the publishing houses have a lot of
resources for promoting and distributing a book. Do they use them? What
kind of numbers of copies (broad ranges) can you expect for non-fiction
material otherwise appropriate for a university press? I don't mean to get
off topic. If you are inclined to discuss, please e-mail me directly.

Back on topic - I realized a limitation of my solution to the *** section
break. I looked at a model book (yes, put out by a major publisher) and
noticed that section breaks with blank pages (or *** between them) are
followed by paragraphs that have a first line flush left. But with my
solution, the next paragraph is just an ordinary one, so it has an indent.

Here's a fix: create a new section* (not the numbered one) and use the
ERT for the text of that section. Only use this one instead, to make the
font smaller:

\makebox[\textwidth][c]{\small* * *}

That should work. Then you'll have a logical section break, divided as you
want it to be.

Todd Flaming



Re: Adding Classes

2003-03-22 Thread Christian Ridderström
On Sat, 22 Mar 2003 [EMAIL PROTECTED] wrote:

> On Sat, 22 Mar 2003, [ISO-8859-1] Christian Ridderström wrote:
> 
> Thanks for the reply.
> 
> I'm not finding any .layout files in any of the classes I've added
> successfully or unsuccessfully -- after compiling of course. I've had .sty
> or .sty and .cls files only on the ones that have worked so far. 
> 
> And what if the new classs isn't based on any existing one? There's a
> latex music class (mustek) that I'd like to add for one that I don't
> believe is based on another existing class.
> 
> I think that the ones I've successfully added so far are based on article
> (aa, paper), but they don't have .layout files.
> 
> jamie

Ok... we probably need to get some basics right here first...
.sty-files, you add by writing stuff like:
\usepackage{somepackage}
in your preamble.

Then we have the layout and latex classes. These two are connected, I 
guess you can say that each layout is based on a latex class.
In this example, the layout - clawar - was based on the class article.

> >
> > >From my file: clawar.layout
> > #% Do not delete the line below; configure depends on this
> > #  \DeclareLaTeXClass[article]{clawar}
> > # Article textclass definition file. Taken from initial LyX source code
> >

It sounds like you want to use a new class with lyx (mustek), and for that 
you probably have to start by creating a new layout file (mustek.layout?).
Here's an example of how I've created a layout file to use the class 
songbook.

http://www.md.kth.se/~chr/lyx/songbook/Songbook.shtml

You should also check out:
http://www.troubleshooters.com/linux/lyx/index.htm
and some of the other links on this page:
http://ev-en.org/wiki/moin.cgi/LyxLinks

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: page number location

2003-03-22 Thread Myriam Abramson

No. Whatever I do, I can't get the page number outside of the margins
specified. What to do? 

> Dekel Tsur <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 21, 2003 at 06:14:48AM -0500, Myriam Abramson wrote:
> > 
> > In the book document class, how do I change the page number location?
> > It seems right now to be on the top and right margins specified (1.25
> > and 1 inch, respectively) but my requirements are that the page number
> > be at 0.5 inch in the corner. Thanks.
> 
> Select "fancy" page style and add to the preamble the following
> (assuming a single sided paper document):
> 
> \fancyfoot[C]{}
> \fancyfoot[L]{\hspace*{0.5in}\thepage}
> \fancypagestyle{empty}{
>  \fancyfoot[C]{}
>  \fancyfoot[L]{\hspace*{0.5in}\thepage}
> }

-- 
   myriam
IM: tokujawa


Re: Corrupted TOC.lyx in 1.3.1

2003-03-22 Thread John Levon
On Sat, Mar 22, 2003 at 01:12:27PM -0800, [EMAIL PROTECTED] wrote:

> Great -- thanks. I just checked ftp.lyx.org and can't find any update
> since the 19th. Can I pull just that one file from somewhere?... or is
> there an updated 1.3.1 tarball?

You either need to grab lyxdoc from CVS, or wait until 1.3.2

regards
john


Re: page number location

2003-03-22 Thread Myriam Abramson

Well, okay. I ended up changing the top margin and fixing headsep (in
the lyx gui) and  headwidth in preamble. Please note that maybe
headwidth should be added to the document->paper interface
thingie. Please let me know if there is a better solution. 

\renewcommand{\headrulewidth}{0pt}
\addtolength{\headwidth}{0.5in}
\fancyhf{}
\fancyhead[R]{\thepage}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[R]{\thepage}
}



> Myriam Abramson <[EMAIL PROTECTED]> scribbled furiously:
> No. Whatever I do, I can't get the page number outside of the margins
> specified. What to do? 
> 
> > Dekel Tsur <[EMAIL PROTECTED]> wrote:
> > On Fri, Mar 21, 2003 at 06:14:48AM -0500, Myriam Abramson wrote:
> > > 
> > > In the book document class, how do I change the page number location?
> > > It seems right now to be on the top and right margins specified (1.25
> > > and 1 inch, respectively) but my requirements are that the page number
> > > be at 0.5 inch in the corner. Thanks.
> > 
> > Select "fancy" page style and add to the preamble the following
> > (assuming a single sided paper document):
> > 
> > \fancyfoot[C]{}
> > \fancyfoot[L]{\hspace*{0.5in}\thepage}
> > \fancypagestyle{empty}{
> >  \fancyfoot[C]{}
> >  \fancyfoot[L]{\hspace*{0.5in}\thepage}
> > }
> 
> -- 
>myriam
> IM: tokujawa

-- 
   myriam
IM: tokujawa


compiling 1.3.1 qt on Debian Sid fails. Which qt libs?

2003-03-22 Thread Kenward Vaughan
I have the same problem mentioned by a fellow in an earlier thread, but I
don't have a clue where my problem is.  The qt packages I have installed
are:

--
11:01:11
daddy:~# dpkg -l "qt*"|grep ^i
ii  qt2-dev-tools  2.3.2-12   Qt2 development tools

11:01:40
daddy:~# dpkg -l "libqt*"|grep ^i
ii  libqt-dev  2.3.2-12   Qt GUI development files
ii  libqt2 2.3.2-12   Qt GUI Library (runtime version)
ii  libqt3c102-mt  3.1.1-7Qt GUI Library (Threaded runtime version)
---

configure burps at trying to create a simple qt executable. I have also
tried to include the argument specifying the location of the libs/dev files
but to no avail.

I've attached a gzip'ed config.log.  

Can anyone tell me if these packages make sense, and where my error is? 
Many thanks for the help!


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



config.gz
Description: Binary data


Re: math editor problems - 1.3.1

2003-03-22 Thread Amir Seginer
Hello,

Hi.. I'm having trouble with some simple math in the math editor.. I'm getting
errors saying there are missing $, } etc.. I'm attaching a sample file here
which has 2 lines of math text that gives me 15 errors. Please let me know what
needs to be done to correct this (if it can be corrected by the user..)
The problem was in the second equation on the first line. To solve it I 
simply rewrote it (see attached file) --- I'm assuming you didn't want 
the right parenthasis in bold.

 This kind of problem happens to me from time to time in lyx 
(mysterious errors which are solved by rewrting a small section).

In this case it might be the \mathrm in your equation which then 
includes \mathbf (maybe you pressed C-m by mistake within the equation?).

I should add however, that when I deleted by hand the \mathrm and its 
appropriate {} (second attached file), in the exported LaTeX file, 
running Latex on it gave me no problems but importing it back did give 
me problems

I Hope this helps,

Amir.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble

\newcommand\myToday{\ifcase\month\or
  January\or February\or March\or April\or May\or June\or
  July\or August\or September\or October\or November\or December\fi
  \space\number\day, \number\year}

\sloppy



\newlength{\myDummy}
\setlength{\myDummy}{0.75cm}% maybe different
\newcommand\dummy{%
  \raisebox{-0.5\myDummy}{\rule{0pt}{\myDummy}}%
}
\end_preamble
\language american
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize letterpaper
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 0pt
\paperheight 0pt
\leftmargin 1.25in
\topmargin 1in
\rightmargin 1.25in
\bottommargin 0.5in
\headheight 0pt
\headsep 0in
\footskip 0.5in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

The variance of the quadratic form 
\begin_inset Formula $\mathbf{u^{\prime}}M\mathbf{u}$
\end_inset 

 when 
\begin_inset Formula $\mathbf{u}\sim N_{p}(\mu_{\mathbf{u}},\Sigma_{\mathbf{u}})$
\end_inset 

 is given by
\layout Standard


\begin_inset Formula \begin{eqnarray*}
\textrm{Var}(\mathbf{u^{\prime}}M\mathbf{u}) & = & 
2tr(M\Sigma_{u}M\Sigma_{u})+4\mu_{u}^{\prime}M\Sigma_{u}M\mu_{u}\end{eqnarray*}

\end_inset 


\the_end


errors.tex
Description: TeX document