Re: My versions won't control

2005-06-14 Thread Nicolás

As a sidenote: RCS has been (sort of) superseded by CVS a dozen years
ago which in turn is in the process of being superseded by SVN as far
as I can tell. Things might be bearable on a single-user system, though.

Andre'



Yes, but... can CVS or SVN be used with LyX. As far as I know there is 
no way to specify the version control system LyX should use, and, as it 
comes out-of-the-box, LyX calls rcs. In short, if you want to use CVS or 
SVN you have to modify the code (If I am not wrong)




Re: Missing commands?

2005-06-14 Thread Bennett Helm

On Jun 14, 2005, at 4:33 PM, Yan Wong wrote:


Hello,

Do LyX commands exist for a) cycling between open buffers in order and 
b) repeating a find command (equivalent to clicking "find next" in the 
find dialog box)? In Macintosh applications these are generally bound 
to Command-` and Command-g respectively, and it would be very useful 
to me to be able to specify these as key bindings. I'm using LyX 1.3.5 
on OS X.


(a) will be a feature of LyX 1.3.6 (which is not yet released). 
Unfortunately, ` is not accessible to LyX, so the default 
keybinding for Mac OS X (in mac.bind) will be . (Of course, 
you will be feel free to change it to something else.)


(b) is not, I believe, now possible nor in the works. I agree, though, 
that it would be a useful addition. (An aside to those more in the know 
than I: what do the lfuns "word-find-backward" and "word-find-forward" 
do?)


Bennett



Re: My versions won't control

2005-06-14 Thread Matej Cepl
Andre Poenitz wrote:
> As a sidenote: RCS has been (sort of) superseded by CVS a dozen years
> ago which in turn is in the process of being superseded by SVN as far
> as I can tell. Things might be bearable on a single-user system, though.

Aren't CVS (and even more SVN) kind of overkill for personal one-user
editing (which is what most people do with LyX)? I happily use RCS for all
my needs and I haven't found a reason why to switch to CVS (I do not know
much about SVN though).

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There is no reason to suppose that most human beings are engaged
in maximizing anything unless it be unhappiness, and even this
with incomplete success.
-- Ronald Coase
   Introduction to ``The Firm, the Market, and the Law''




Re: adding rows/cols on the edges to tables

2005-06-14 Thread Todd Denniston
Vaibhav Srivastava wrote:
> 
> Adding rows / cols near the edge of  an existing table gives a small
> space between the present table and the added row/col. Is there a way to
> avoid it. It is kinda annoying.
> 
Using the XForms GUI on linux, so this might be slightly different if you
are using the QT GUI.

Assuming we are adding a column at the right edge of the current table.

Right click in a cell on the right edge of the table, the "Edit table
settings" dialog comes up.

Click "Append Column", you now have another column but with a space between
the columns.

Still in "Edit table settings" dialog click "Column/Row", Toggle the check
box marked "Right" in the "Borders" frame, this removes the extra border on
the right.

If you are done click the Close on  "Edit table settings".

Just modify which check box you want to clear if you are adding Column/Rows
in places other than the right edge.

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


adding rows/cols on the edges to tables

2005-06-14 Thread Vaibhav Srivastava
Adding rows / cols near the edge of  an existing table gives a small 
space between the present table and the added row/col. Is there a way to 
avoid it. It is kinda annoying.


Thanks,
Vaibhav

--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 412 4073




Missing commands?

2005-06-14 Thread Yan Wong

Hello,

Do LyX commands exist for a) cycling between open buffers in order and 
b) repeating a find command (equivalent to clicking "find next" in the 
find dialog box)? In Macintosh applications these are generally bound 
to Command-` and Command-g respectively, and it would be very useful to 
me to be able to specify these as key bindings. I'm using LyX 1.3.5 on 
OS X.


Thanks

Yan



Re: My versions won't control

2005-06-14 Thread Andre Poenitz
On Tue, Jun 14, 2005 at 03:05:54PM +0200, Nicolás wrote:
> >I'd like to be able to do version control of my Lyx files running on Win
> >XP; but I find the manual etc less than clear.
> >...
> >I did step 1, putting the RCS directoru in C:\lyx\bin which is where
> >lyx.exe is. But when I try step 1, I get an error message "ci is not a
> >recognised program" etc.
> >Should I have installed something else as well?
> >
> Yes, you have to install an RCS server. I think all you need is here: 
> http://www.cs.purdue.edu/homes/trinkle/RCS/
> but I have not tried it. I use the RCS utility that comes with cygwin 
> (becuase when I installed it I did not know about the website I have 
> just told you :-( ). Be sure that the rcs.exe file is in the PATH 
> environment variable. Good luck!

As a sidenote: RCS has been (sort of) superseded by CVS a dozen years
ago which in turn is in the process of being superseded by SVN as far
as I can tell. Things might be bearable on a single-user system, though.

Andre'


Re: lyx 1.3.5 install under debian/kanotox

2005-06-14 Thread Wolfgang Engelmann
Am Dienstag, 14. Juni 2005 10:44 schrieb Georg Baum:
> Wolfgang Engelmann wrote:
> > lyx-1.3.5 not available as db, AFAIK
>
> Really? Is there any debian user out there who can create one for sarge and
> upload it on the ftp site? I could do that if I still had a clean sarge
> installation, but I have not anymore :-(
will wait and hope
>
> > Thought that rpm-> db by alien is easier than compiling it from source.
>
> I don't think so, because you might get library incompatibilities. Anyway,
> if you reaally want to do it, you need to deinstall the lyx-cxommon
> package. Simply removing the offending file does not help, because dpkg
> does not know about it.
thanks for pointing out this. However, I have done it by using synaptic

Wolfgang


Re: About Beamer and Lyx

2005-06-14 Thread Paul A. Rubin

max wrote:

The situation is the following:

- if I insert  an EndFrame layout at the end of the document, I can compile 
and view the document w/o any problem.


- if the EndFrame is inserted at the end of other frames and NOT at the end of 
the document, I can compile the lyx file but I can not see it with acroread. 
In particular latex issues an error ('"file ended while scanning use of 
\lyxframe.") but lyx does not recognize it and compiles further.


- w/o any EndFrame layout lyx stops and issues an error ("Undefined control 
sequence. \lyxframeend").




This is normal functioning for Beamer.  The last thing in your LyX file 
*must* be an EndFrame environment.  Every frame needs to be terminated. 
 IIRC, BeginFrame and certain other environments automatically issue a 
\lyxframeend{} command to end the previous frame, so you generally won't 
need to insert EndFrames elsewhere in the file, but the last frame in 
the file needs to be ended explicitly.


I've been using Beamer for a while, and I've yet to need to insert an 
EndFrame anywhere else, but you *always* end the file with one.


-- Paul



Re: About Beamer and Lyx

2005-06-14 Thread Uwe Stöhr

Jean-Pierre Chretien wrote:


The User manual states clearly that the document MUST end with an EndFrame 
layout
(page 30, details page 47).


Sometimes you need EndFrame also within the document. Read Beamer's 
wonderful documentation to find out more.


regards uwe


Re: My versions won't control

2005-06-14 Thread Nicolás

I'd like to be able to do version control of my Lyx files running on Win
XP; but I find the manual etc less than clear.
...
I did step 1, putting the RCS directoru in C:\lyx\bin which is where
lyx.exe is. But when I try step 1, I get an error message "ci is not a
recognised program" etc.
Should I have installed something else as well?

Yes, you have to install an RCS server. I think all you need is here: 
http://www.cs.purdue.edu/homes/trinkle/RCS/
but I have not tried it. I use the RCS utility that comes with cygwin 
(becuase when I installed it I did not know about the website I have 
just told you :-( ). Be sure that the rcs.exe file is in the PATH 
environment variable. Good luck!


Nicolás


My versions won't control

2005-06-14 Thread Richard Brown
Hello Lyx people,
It's me with a stupid question again. Comes of being an advanced idiot,
but also of wanting to learn.
I'd like to be able to do version control of my Lyx files running on Win
XP; but I find the manual etc less than clear.
I found a page on the web which said


  


  Version control

This is especially useful when the text is longer and changed several
times. LyX comes RCS-ready, it is simple to set up.

   1. create a directory named *RCS* in the same directory where you
  keep the LyX source
   2. edit the LyX file and go to *File -> Version Control -> Check In
  Changes* (text dialogue
  )
   3. next time you open the file, you get a dialog like this
  


You can use all the usual RCS commands from the commandline (man *rcs*
or *rcsintro*). I usually just use *rcs -l* to create a lock, *co -l*
when I want to lock upon checkout and *rcsclean* to remove all unchanged
files. If you are the only author, disable strict locking via *rcs -U
*, which considerably simplifies the proceedings. 

I did step 1, putting the RCS directoru in C:\lyx\bin which is where
lyx.exe is. But when I try step 1, I get an error message "ci is not a
recognised program" etc.
Should I have installed something else as well?

Thanks,

Richard



Re: Environment menu problem

2005-06-14 Thread Declan O'Byrne
Thanks Gunter,

I have lyx 1.3.4 running on ubuntu hoary.
Anyway, I'm less concerned about this problem now, since some drew my
attention offlist to the Alt-p 0123 etc. option.  That's much quicker
than using the menu anyway.   So I'm not so worried about the menu at
the moment.

Now, I'm trying to figure out how to use pybliographer.  I have the
lyxpipe thing sorted out, so I'm halfway there!

Thanks for your help,

Declan

> 
> The same problem was reported on this list (or lyx-devel) some days
> ago but noone knew an answer :-( Is this with LyX on Windows? Could you
> report the LyX version and Qt version ...


Re: 6.3 Short titles

2005-06-14 Thread Jean-Marc Lasgouttes
> "Bruce" == Bruce Ernest Weller <[EMAIL PROTECTED]> writes:

Bruce> For neatness' sake I note that the scrip below (now corrected
Bruce> in line with J-Marc's direction) over-writes the "Article XXI"
Bruce> over (under?) text of the  text in the table of
Bruce> contents.

I guess it is a limitation of the class you use. Which one is it?

JMarc


Re: About Beamer and Lyx

2005-06-14 Thread Jean-Pierre Chretien

>>From: max <[EMAIL PROTECTED]>
>>To: Uwe Stöhr <[EMAIL PROTECTED]>
>>Subject: Re: About Beamer and Lyx
>>Date: Tue, 14 Jun 2005 11:56:12 +0200
>>Cc: lyx-users@lists.lyx.org
>>
>>The situation is the following:
>>
>>- if I insert  an EndFrame layout at the end of the document, I can compile 
>>and view the document w/o any problem.
>>
>>- if the EndFrame is inserted at the end of other frames and NOT at the end 
>>of 
>>the document, I can compile the lyx file but I can not see it with acroread. 
>>In particular latex issues an error ('"file ended while scanning use of 
>>\lyxframe.") but lyx does not recognize it and compiles further.
>>
>>- w/o any EndFrame layout lyx stops and issues an error ("Undefined control 
>>sequence. \lyxframeend").

The User manual states clearly that the document MUST end with an EndFrame 
layout
(page 30, details page 47).

-- 
Jean-Pierre





Re: 6.3 Short titles

2005-06-14 Thread Bruce Ernest Weller
For neatness' sake I note that the scrip below (now corrected in line
with J-Marc's direction) over-writes the "Article XXI" over (under?)
text of the  text in the table of contents. 

Not a problem. 

I rather like the look of my solution which was to put a hard return
before the  text. Crude, perhaps, but workable and the header
text does reflect this with a space.

Again, thanks for the support. 

On Thu, 2005-06-02 at 11:17 +0200, Jean-Marc Lasgouttes wrote:
> > "Bruce" == Bruce Ernest Weller <[EMAIL PROTECTED]> writes:
> 
> Bruce> J-Marc Happy to carry out the correspondence 

> Bruce> \usepackage{remreset} 
> Bruce> \renewcommand{\thesection}{Article \Roman{section}}
> Bruce> [EMAIL PROTECTED]
> 
> Bruce> (Blind copying here as I do not understand apart from what I
> Bruce> read)
...
> 
> JMarc
-- 
Bruce Ernest Weller <[EMAIL PROTECTED]>



Re: Conditional printing

2005-06-14 Thread G. Milde
On 14.06.05, Richard Brown wrote:
> Thank you Gunter. I didn't really understand because it's all new to me,
> but I just followed your instructions and it worked!! Hurray!!

Good news. You are welcome.
 
> But I don't really follow the "wrapper" idea: you wrote
> 
> > Or you create wrappers for all versions that contain the "right"
> > preamble and include the main content (Insert>File>LyX-Document). In
> > this case, the inserted file should not contain the setup code in the
> > preamble, as this would override the wrapper setting.
> 
> Do I need to have 3 different wrappers (students, teachers, CDscript)?
> With different preambles in each? 

Yes, that was my idea. So the the preamble of exercise-students.lyx
would be e.g.

  \usepackage{ifthen}
  % create toggles
  \newboolean{students} 
  \newboolean{teachers} 
  \newboolean{CDscript} 
  % print students part
  \setboolean{students}{true}
  \setboolean{teachers}{false}
  \setboolean{CDscript}{false}


> What is the "main content" in each wrapper?

The main content is just an include button (Insert>File>LyX) and the
file, say exercise-incl.lyx, would contain all parts an also the
\ifthenelse{ and } ERT boxes. (It will no longer complile error as
stand-alone doucment free due to the missing preamble.)

Just decide if it is worth the additional effort.


Günter

-- 
G.Milde web.de


Re: About Beamer and Lyx

2005-06-14 Thread max
The situation is the following:

- if I insert  an EndFrame layout at the end of the document, I can compile 
and view the document w/o any problem.

- if the EndFrame is inserted at the end of other frames and NOT at the end of 
the document, I can compile the lyx file but I can not see it with acroread. 
In particular latex issues an error ('"file ended while scanning use of 
\lyxframe.") but lyx does not recognize it and compiles further.

- w/o any EndFrame layout lyx stops and issues an error ("Undefined control 
sequence. \lyxframeend").

This is the simple lyx file (w/o any EndFrame layout)

Thank you very much
MAX

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass beamer
\language english
\inputencoding auto
\fontscheme palatino
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

My title
\newline 

\size large 
Subtitle
\size default 

\begin_inset OptArg
collapsed false

\layout Standard

Short title
\end_inset 


\layout Author

Authors
\layout Date

Date
\begin_inset OptArg
collapsed false

\layout Standard

date
\end_inset 


\layout Institute

Institute
\begin_inset OptArg
collapsed false

\layout Standard

Short institute
\end_inset 


\layout Section*

Outline
\layout BeginFrame

Outline
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Section

First section
\layout BeginFrame

First frame
\layout Itemize

Why does not work?
\layout Itemize

Latex problem?
\layout Itemize

Lyx problem?
\the_end



Re: thesis initial pages numbering and title page

2005-06-14 Thread Rob S



a)  Does anyone have a template for the title page of a thesis.


See attached - amend as reqd

I've based this around the report class - it served my needs well.

You will need to have the included files and bib file(s) in the same dir 
as the master file for this to work.
Also should you need a glossary(notation) of terms see my notes for 
creating this here:


http://wiki.lyx.org/LyX/Glossary


> b) It is required that arabic numbering starts only from the chapters
> and pages before that are numbered in the roman numerals . How can that
> be done. I am using the article class for my thesis.

As above - example of this on the thesismaster file attached


> c) How does one force something to start from a fresh page.

Try adding the following to a TEX box

\clearpage




Rob S

--


R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass report
\begin_preamble
[EMAIL PROTECTED]([EMAIL PROTECTED] , #2\fi)}
[EMAIL PROTECTED]

\usepackage{mathptmx}
\usepackage{textcomp}
\usepackage{enumerate}

\usepackage{rotating}
\usepackage{lscape}
\usepackage{overpic}


\usepackage{array}
\usepackage{mdwlist}
\usepackage{flafter}


\usepackage[noprefix]{nomencl}
\usepackage{ifthen}

\renewcommand{\nomgroup}[1]{%
\ifthenelse{\equal{#1}{A}}{\item[\textbf{Roman Symbols}]}{%
\ifthenelse{\equal{#1}{B}}{\item[\textbf{Greek Symbols}]}{%
\ifthenelse{\equal{#1}{C}}{\item[\textbf{Dimensional Analyses Symbols}]}{%
\ifthenelse{\equal{#1}{D}}{\item[\textbf{Abbreviations}]}{%
\ifthenelse{\equal{#1}{Z}}{\item[\textbf{Mathematical Symbols}]}{}}

\makeglossary
\renewcommand\nomname{Notation}

\def\pagedeclaration#1{\dotfill\nobreakspace#1}

\usepackage[margin=10pt,font=small,labelfont=bf]{caption}[2004/07/16]
\end_preamble
\language english
\inputencoding auto
\fontscheme palatino
\graphics default
\paperfontsize 12
\spacing other 1.30 
\papersize a4paper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 42mm
\topmargin 25mm
\rightmargin 25mm
\bottommargin 25mm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 1
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
pagenumbering{roman}
\end_inset 


\layout Standard


\begin_inset Include \include{titlepage.lyx}
preview false

\end_inset 


\layout Comment


\begin_inset Include \include{Abstract.lyx}
preview false

\end_inset 


\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Standard


\begin_inset FloatList figure

\end_inset 


\layout Standard


\begin_inset FloatList table

\end_inset 


\layout Standard


\begin_inset Include \include{Acknowledge.lyx}
preview false

\end_inset 


\layout Standard


\begin_inset Include \include{glossary.lyx}
preview false

\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
clearpage
\end_inset 


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
pagenumbering{arabic}
\end_inset 


\layout Standard


\begin_inset Include \include{ch1.lyx}
preview false

\end_inset 


\layout Standard


\begin_inset Include \include{ch2.lyx}
preview false

\end_inset 


\layout Standard


\begin_inset Include \include{ch3.lyx}
preview false

\end_inset 


\layout Standard


\begin_inset Include \include{ch4.lyx}
preview false

\end_inset 


\layout Standard


\begin_inset Include \include{ch5.lyx}
preview false

\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
renewcommand
\backslash 
bibname{References}
\end_inset 


\begin_inset LatexCommand \BibTeX[bibtotoc,apalike]{your_bib_file}

\end_inset 


\the_end
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass report
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 4.2cm
\topmargin 2.5cm
\rightmargin 2.5cm
\bottommargin 2.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 1
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{titlepage}
\end_inset 


\begin_inset ERT
status Open

\layout Standard

\backslash 
vspace*{0.5cm}
\end_inset 


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
huge
\end_inset 


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{center}
\end_inset 

 
\series bold 
\noun on 
University of 
\series default 
\noun default 
???
\

Re: lyx 1.3.5 install under debian/kanotox

2005-06-14 Thread Georg Baum
Wolfgang Engelmann wrote:

> lyx-1.3.5 not available as db, AFAIK

Really? Is there any debian user out there who can create one for sarge and
upload it on the ftp site? I could do that if I still had a clean sarge
installation, but I have not anymore :-(

> Thought that rpm-> db by alien is easier than compiling it from source.

I don't think so, because you might get library incompatibilities. Anyway,
if you reaally want to do it, you need to deinstall the lyx-cxommon
package. Simply removing the offending file does not help, because dpkg
does not know about it.


Georg



Re: lyx 1.3.5 install under debian/kanotox

2005-06-14 Thread Wolfgang Engelmann
Am Montag, 13. Juni 2005 21:28 schrieb [EMAIL PROTECTED]:
> Am Montag, 13. Juni 2005 18:12 schrieb Wolfgang Engelmann:
> > I try to install lyx-1.3.5-1fc2 xforms.i386.rpm under debian/kanotix
> > using alien -i lyx-1.3.5-1fc2_xforms.i386.rpm
>
> [...]
>
> You don't need to convert LyX with alien. LyX is an official Debian Sid
> package. Try "apt-get install lyx". Or compile it from source if you need
> the latest version.
lyx-1.3.5 not available as db, AFAIK
Thought that rpm-> db by alien is easier than compiling it from source.
Wolfgang