Re: Table cell alignment

2004-10-25 Thread G. Milde
On 25.10.04, Mark Carroll wrote:
> How can I adjust the vertical alignment of the contents of table cells? I
> can't get the relevant bits of dialog box not to be grayed out, 

You have to set a fixed width for the column if you want vertical alignment.
This is a LaTeX restriction, that is reflected by the greying out in LyX.

PS Sometimes I got problems when changing values and clicking in another
table cell -- changes got lost. Frequent clicking on the Apply might
help here...

Günter

-- 
G.Milde web.de



Auto re-center is driving me crazy

2004-10-25 Thread christoff pale
Hi,
I find the auto-center feature (i.e. lyx tries to
recenter the current viewport to put the line with the
caret in the middle) to be annoying--especially when I
editing the last paragraph of a file. 
Is there a way to turn this off?
thanks

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Wrapping very wide math equations?

2004-10-25 Thread Paul Smith
On Mon, 25 Oct 2004 12:05:27 +0100, Paul Smith <[EMAIL PROTECTED]> wrote:
> > > In the dvi file, the equation looks nice,
> > > but in LyX the equation is too wide and does not fit in the window. The
> > > problem is that it gets difficult to edit, since I don't see what I
> > > write at the end of the equation...
> > >
> > > Either I would like a way of manually line breaking an equation, only
> > > in LyX, not in the dvi/pdf/ps file.
> >
> > I have recently changed my mind about the difficulties to implement such
> > a thing and even know of a working implementation *cough*. However, I am
> > not sure how this approach translates from toy sized formulas to the
> > amount of formulas that may show up on a LyX screen. Idea is to have a
> > 'line break inset' and extend the MathArray dim_ cache to a
> > vector linedims_, and handle 'line jumps' when 'drawing' such
> > a 'line break inset'. Conceptually not very hard, but costs at least 12
> > bytes for the vector 'wrapper' and around 12 + n x lines  for the
> > dynamic part, i.e at least 28 more byte for _every_ math 'blue box', even for
> > those not using the feature. Of course, situation would improve if the
> > size cache were moved off the insets, which is also possible an
> > intented. But not today..
> 
> I am not sure whether I correctly understood the point, but another
> solution would be to implement (in case of being easy and doable) a
> sort of a "view scaling" of the equation likewise it is already
> implemented for pictures.

In addition to what I said above, you can circumvent the problem by
adjusting the zoom factor (either permanently or temporarily):

Edit-->Preferences-->Look and feel-->Screen fonts--Zoom %

Maybe, it could be implemented (in next LyX versions) a local (only in
the equation area) zoom adjusting facility. Since I am not a
programmer, I cannot assess how difficult it would be such an
implementation.

Paul


Table cell alignment

2004-10-25 Thread Mark Carroll
How can I adjust the vertical alignment of the contents of table cells? I
can't get the relevant bits of dialog box not to be grayed out, and I'm
can't work out what tweaks to make to an exported LaTeX file to get the
right effect.

-- Mark


Re: Bibtex Problem

2004-10-25 Thread Paul A. Rubin
Martin Pischler wrote:
Hello folks!
I have a little Problem with my bibligraphy (using bibtex with Jabref).
I am using Lyx 1.3.3 for Windows and would like to include my 
bibligraphy as ususal, but since I have upgraded form 1.3.2 it´s not 
working anymore.
The log file says that the "bibtex" command could not be found but I 
know it is in the Miktex folder as usual.
Do I have to set a path anywhere in the Lyx frontend?
No, you do not have to set anything manually.
If it is a problem like that, could anybody tell me where to set it?
Or could it be another problem?
You should probably verify first that it still works and is on your 
command path (by running bibtex --version in a command window).  Then 
have a look at the setup notes for Windows at 
http://wiki.lyx.org/pmwiki.php/LyX/Windows.  The native port has some 
known problems with helper utilities that can cause the installation 
scripts to backfire.  Does Help -> LaTeX configuration correctly find 
installed packages?

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Lyx and CVS

2004-10-25 Thread Andre Poenitz
On Mon, Oct 25, 2004 at 07:54:48AM +, Alexis Huxley wrote:
> Unfortunately these (in RCS/CVS and SVN case) expand to the 
> corresponding value *plus* the keyword text, i.e. not just:
> 
>   1.2.3.4
> 
> but:
> 
>   $Revision 1.2.3.4$
> 
> which may look a bit messier than than you consider acceptable. In this
> case maybe you need to 'make' a stripped version. I.e. edit mydoc.lyx,
> and then use a Makefile to 'sed' this to mydoc-not-for-editing.lyx,
> and then lyx --export that to a printable format.

Sounds a bit complicated. Why not using TeX?

\def\striprevision$Revision #1${#1}
\striprevision$Revision$

should produce  1.2.3.4  if something (e.g. RCS) replaces
'$Revision$' by '$Revision 1.2.3.4$.

Andre'


Re: Lyx and CVS

2004-10-25 Thread Todd Denniston
"Kayvan A. Sylvan" wrote:
> 
> On Mon, Oct 25, 2004 at 04:46:20PM +0200, roland schmitz wrote:
> > Hi Alexis,
> >

> > > keywords, which CVS uses to do the same thing. Try putting '$Revision$'

> Put the following in your LaTeX preamble:
> 
> % RCS style.
> \def\RCSdef $#1${\typeout{RCS keyword string: [EMAIL PROTECTED]: {} :.}
> [EMAIL PROTECTED]: #2 :#3.{\expandafter\def\csname RCS#1\endcsname{#2}}
> 
> Then, in your document (or in your preamble), do:
> 
> \RCSdef $Revision$
> \RCSdef $Date$
> 
> Now, you can use \RCSRevision or \RCSDate in your document (in a
> LaTeX ERT inset).
Thank you Very much.
I have been looking for a way do do it with out the $'s and :'s for quite a
while. Bosses did not seem to understand why I wanted to have version control
markers in my text when it looked so "ugly", this makes it look "Pretty". Now
I just have to make them understand that using the revision control "version
indicator"  of documents is more meaningful than a never updated hand version
marker. :}

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


Re: Lyx and CVS

2004-10-25 Thread Kayvan A. Sylvan
On Mon, Oct 25, 2004 at 04:46:20PM +0200, roland schmitz wrote:
> Hi Alexis,
> 
> > I embed Subversion keywords in my LyX documents (e.g. '$HeadURL$
> > $LastChangedRevision$') and this works fine.  You can use the RCS
> > keywords, which CVS uses to do the same thing. Try putting '$Revision$'
> > in your document. Look at RCS's co(1) man page for a list of
> > keywords.
> This sounds quite simple, before i started this thread, i googled the web
> with "linux lyx cvs" and found countless pages which doesn't help me. Is
> there any source to read for me? Until this weekend, i can't check it it,
> but i can read about it, if i know where.

Put the following in your LaTeX preamble:

% RCS style.
\def\RCSdef $#1${\typeout{RCS keyword string: [EMAIL PROTECTED]: {} :.}
[EMAIL PROTECTED]: #2 :#3.{\expandafter\def\csname RCS#1\endcsname{#2}}

Then, in your document (or in your preamble), do:

\RCSdef $Revision$
\RCSdef $Date$

Now, you can use \RCSRevision or \RCSDate in your document (in a 
LaTeX ERT inset).

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Lyx and CVS

2004-10-25 Thread roland schmitz
Hi Alexis,

> I embed Subversion keywords in my LyX documents (e.g. '$HeadURL$
> $LastChangedRevision$') and this works fine.  You can use the RCS
> keywords, which CVS uses to do the same thing. Try putting '$Revision$'
> in your document. Look at RCS's co(1) man page for a list of
> keywords.
This sounds quite simple, before i started this thread, i googled the web
with "linux lyx cvs" and found countless pages which doesn't help me. Is
there any source to read for me? Until this weekend, i can't check it it,
but i can read about it, if i know where.

Thanx

Roland

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz

Geschenkt: 3 Monate GMX ProMail + 3 Ausgaben der TV Movie mit DVD
 Jetzt anmelden und testen http://www.gmx.net/de/go/mail 



Re: Saving and converting LyX Files

2004-10-25 Thread Angus Leeming
Philipp Fleig wrote:

> Dear LyX Users,
> a few days ago I started with LyX, so I'm a beginner. I installed LyX
> 1.3.3-Win32 on my PC with Windows XP. But now I have got a problem and I
> hope that one of you might be able to help me! Here is the problem:
> 
> For a test I created a LyX File and then converted it into a pdf
> (pdfLaTeX) file. Everything went right so far. Then I created another LyX
> file, but before converting it I pressed 'save as' and saved it in a
> folder which contains my personal files. This folder is called 'Eigene
> Dateien' as I'm german. After that I again tried to convert this file
> into pdf (pdfLaTeX). But this time the following error turned up: Cannot
> run LaTeX The path to the lyx file cannot contain spaces!
> 
> Trying to avoid this error I created another folder which doesn't contain
> a space like there is one in the name 'Eigene Dateien'. Unfortunately
> this didn't work either and the same error turned up again.
> 
> Can anyone of you help me?
> Thank you!!!

C:\Documents and Settings\Philipp\docs still contains spaces...

I believe that this problem is resolved in the in-development code, but the
changes were too extensive to consider backporting them to the LyX 1.3.x
branch.

-- 
Angus



Saving and converting LyX Files

2004-10-25 Thread Philipp Fleig
Dear LyX Users,
a few days ago I started with LyX, so I'm a beginner. I installed LyX 1.3.3-Win32 on 
my PC with Windows XP. But now I have got a problem and I hope that one of you might 
be able to help me! Here is the problem:

For a test I created a LyX File and then converted it into a pdf (pdfLaTeX) file. 
Everything went right so far.
Then I created another LyX file, but before converting it I pressed 'save as' and 
saved it in a folder which contains my personal files. This folder is called 'Eigene 
Dateien' as I'm german.
After that I again tried to convert this file into pdf (pdfLaTeX). But this time the 
following error turned up:
Cannot run LaTeX
The path to the lyx file cannot contain spaces!

Trying to avoid this error I created another folder which doesn't contain a space like 
there is one in the name 'Eigene Dateien'. Unfortunately this didn't work either and 
the same error turned up again.

Can anyone of you help me?
Thank you!!!

Philipp Fleig
  

Re: No letter document works with lyx

2004-10-25 Thread Juergen Spitzmueller
Hans-Georg Fischer wrote:
> What am I missing?

The letter ui is not very instructive, but you can find working examples for 
the letter classes in the templates directory of your LyX installation.

HTH,
Jürgen


No letter document works with lyx

2004-10-25 Thread Hans-Georg Fischer
Hallo,

if I chose as document format one of the letter formats and insert
things like Opening: or Closing: latex complains about errors.

A search in the internet yielded that after
\begin{document}
has to be a
\begin{letter}

and befor \end{document} a \end{letter}

why doesn't lyx insert this two lines.

If I export the letter as latex and insert these two lines by hand
latex doesn't complain anymore.

What am I missing?

-- 

Hans-Georg Fischer





Re: Nested enumerate in columns

2004-10-25 Thread Paul Smith
On Sun, 24 Oct 2004 12:35:21 -0700, Kenward Vaughan
<[EMAIL PROTECTED]> wrote:
> > Thanks, Kenward and Eric. According to Herbert's example (for
> > non-nested enumerate environments), one should insert, just before
> > \end{multicols}, the following ERT:
> >
> > \vspace*{\fill}
> >
> > It also seems to improve the aesthetics of the nested enumerate
> > environment.
> 
> Hmm.  Is this to be used on regular enumerations when one has > 1
> column per page?  I put this into some of my exams at various points in
> these nested, multi-columned environments (M/C answers on the exams),
> and saw no change in anything.
> 
> Caveat: I'm no LaTeX guru, but at the other end of the spectrum.  I
> don't even know what it _should_ do.

Kenward,

At the address below, you can find a simple document where an
explanation about \vspace*{\fill} is provided:

http://www.plu.edu/~sklarjk/480j04/lecture4.doc

Regards,

Paul


Re: Wrapping very wide math equations?

2004-10-25 Thread Paul Smith
On Fri, 22 Oct 2004 19:42:29 +0200, Andre Poenitz
<[EMAIL PROTECTED]> wrote:
> > In the dvi file, the equation looks nice,
> > but in LyX the equation is too wide and does not fit in the window. The
> > problem is that it gets difficult to edit, since I don't see what I
> > write at the end of the equation...
> >
> > Either I would like a way of manually line breaking an equation, only
> > in LyX, not in the dvi/pdf/ps file.
> 
> I have recently changed my mind about the difficulties to implement such
> a thing and even know of a working implementation *cough*. However, I am
> not sure how this approach translates from toy sized formulas to the
> amount of formulas that may show up on a LyX screen. Idea is to have a
> 'line break inset' and extend the MathArray dim_ cache to a
> vector linedims_, and handle 'line jumps' when 'drawing' such
> a 'line break inset'. Conceptually not very hard, but costs at least 12
> bytes for the vector 'wrapper' and around 12 + n x lines  for the
> dynamic part, i.e at least 28 more byte for _every_ math 'blue box', even for
> those not using the feature. Of course, situation would improve if the
> size cache were moved off the insets, which is also possible an
> intented. But not today..

I am not sure whether I correctly understood the point, but another
solution would be to implement (in case of being easy and doable) a
sort of a "view scaling" of the equation likewise it is already
implemented for pictures.

Paul


Re: Lyx and CVS

2004-10-25 Thread Alexis Huxley
Roland Schmitz <[EMAIL PROTECTED]> wrote:

> the cvs version or revision tags (on the titlepage, or in the page 
> headings/footer).
> Is/how it possibe to query cvs automaticly before printing the thesis, which 
> number/tag is actual used in cvs, and insert this result into the text before 
> printing starts?

I embed Subversion keywords in my LyX documents (e.g. '$HeadURL$
$LastChangedRevision$') and this works fine.  You can use the RCS
keywords, which CVS uses to do the same thing. Try putting '$Revision$'
in your document. Look at RCS's co(1) man page for a list of
keywords.

Unfortunately these (in RCS/CVS and SVN case) expand to the 
corresponding value *plus* the keyword text, i.e. not just:

1.2.3.4

but:

$Revision 1.2.3.4$

which may look a bit messier than than you consider acceptable. In this
case maybe you need to 'make' a stripped version. I.e. edit mydoc.lyx,
and then use a Makefile to 'sed' this to mydoc-not-for-editing.lyx,
and then lyx --export that to a printable format.

Remember that the keyword will correspond to the last *committed*
version; edits made after checking out will not affect the version
number displayed. So always commit before printing if you want
the correct number to be embedded in the doc.

HTH 

Alexis