Re: Document Tabs

2009-04-22 Thread Rich Shepard

On Wed, 22 Apr 2009, Rich Shepard wrote:


The current is clearly distinguished from the others. My guess is that the
Qt style you are using is misleading WRT tabs.


  OK. I ran qtconfig and changed the default appearance from motif to
cleanlook; now the active tab has a different appearance from the inactive
one.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
I use ifthenelse in my exams. That way I can have one version of
the exam without solutions, and one with solution, without having to
have two documents. If you want, I can send you one of my
exams.



Re: Automating Index Entry Removal

2009-04-22 Thread Richard Heck

Jean-Marc Lasgouttes wrote:

Do we have that (removing all indexes)? How?

  
I was under the impression that the new search/replace stuff was 
supposed to allow this sort of thing.


rh



Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Steve Litt
On Wednesday 22 April 2009 10:18:14 am Anders Host-Madsen wrote:
> I use ifthenelse in my exams. That way I can have one version of
> the exam without solutions, and one with solution, without having to
> have two documents. If you want, I can send you one of my
> exams.

I want. I want bad!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Lyx question

2009-04-22 Thread Kosta Welke

On Wed, 22 Apr 2009 16:44:41 +0200, Nathalia Monteiro 
 wrote:

What exactly should I post at pastebin.com? The error message or the  
whole tex code?


Please post the whole lyx file.

Cheers,

Kosta



Re: Springer 1-Column Proceedings Template with Lyx

2009-04-22 Thread hartepizza
Guenter Milde  writes:

> 
> On 2009-04-08, hartepizza wrote:
> > Hello everybody,
> 
> > I just can't figure out how to use the "1-Column Proceedings" template
> > from Springer within Lyx.
> ...
> > they offer a general template for LaTeX.
> 
> > Is there some FAQ / similiar post, where the necessary steps are described?
> 
> Help>Customization
> 
> search at wiki.lyx.org
> 
> Günter
> 
> 


Hi Günter,

thanks for your hint. I'll write just some hints so others may find solution via
mailing lists. 

I read myself through the documentation and assume I installed the .sty/.cls +
.bst files correctly in MikTex. I also did "Refresh FNDB" within MikTex and
"Refonfigure" in Lyx.

Lyx finds all classes files. I tested with Tools->Tex Information within Lyx.

Thanks!








Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Vito De Tullio
Steve Litt wrote:

>> I use ifthenelse in my exams. That way I can have one version of
>> the exam without solutions, and one with solution, without having to
>> have two documents. If you want, I can send you one of my
>> exams.
> 
> I want. I want bad!

Are you one of his students? :^)

-- 
By ZeD



RE: Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Vincent van Ravesteijn - TNW
 
>I use ifthenelse in my exams. That way I can have one
>version of the exam without solutions, and one with
>solution, without having to have two documents. If
>you want, I can send you one of my exams.

This is the typical example for using branches.

(Document->Settings->Branches and Insert->Branch).

Vincent



Re: LyX 1.6.2 -- svn on Windows

2009-04-22 Thread Pavel Sanda
Vincent van Ravesteijn - TNW wrote:
> >I'm assuming I need a command line client for svn to execute... 
> 
> Yes.
> 
> >is there a way to make Tortoise SVN handle this...
> 
> Yes.
> 
> Enter the following command in the command buffer
> (View->Toolbars->Command Buffer):
> 
> vc-command DS "." "TortoiseProc /command:commit /path:$$p"

btw one can look into "Additional features" manual, where is
the documentation :)

pavel


RE: LyX 1.6.2 -- svn on Windows

2009-04-22 Thread Vincent van Ravesteijn - TNW

>> Enter the following command in the command buffer 
>> (View->Toolbars->Command Buffer):
>> 
>> vc-command DS "." "TortoiseProc /command:commit /path:$$p"
>
>btw one can look into "Additional features" manual, where is the
documentation :)
>

And then you will find out that the 'S flag' does not exist... (yet)

>pavel
>

Vincent


Re: Allignment of figure

2009-04-22 Thread Uwe Stöhr

tomas jansen schrieb:


When I put a picture inside a float in LyX and make a pdf out of it the 
allignment is not in the center.


Set the cursor behind or before the figure and use then the paragraph dialog to center the paragraph 
and thus also the image.



I am using version 1.4.1 and making a book with two sides turned on.


I strongly recommend to update to LyX 1.6.2 or at least to LyX 1.5.9.

regards Uwe


Re: LyX 1.6.2 -- svn on Windows

2009-04-22 Thread Pavel Sanda
Vincent van Ravesteijn - TNW wrote:
> 
> >> Enter the following command in the command buffer 
> >> (View->Toolbars->Command Buffer):
> >> 
> >> vc-command DS "." "TortoiseProc /command:commit /path:$$p"
> >
> >btw one can look into "Additional features" manual, where is the
> documentation :)
> >
> 
> And then you will find out that the 'S flag' does not exist... (yet)

my fault, S shouldn't be in manual. copy/paste error, which i will fix.
pavel


Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread James C. Sutherland


This is the typical example for using branches.

(Document->Settings->Branches and Insert->Branch).



I use branches for this purpose as well (creating exams).  They work  
very well, and are scalable to any number of "branches" that you can  
turn on and off to create different compiled documents...


Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
> I use branches for this purpose as well (creating exams).  They work  
> very well, and are scalable to any number of "branches" that you can  
> turn on and off to create different compiled documents...

Maybe that's an easier, and more elegant, solution 
than using ifthenelse. You learn something new about how powerful
LyX is every day. One advantage of using ifthenelse is that the conditional
becomes part of the LaTeX if you export to LaTeX, while branches is a
pure LyX solution (I still prefer to have a LaTeX copy of all my documents
for compatibility). 





Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Steve Litt
On Wednesday 22 April 2009 11:40:29 am Vito De Tullio wrote:
> Steve Litt wrote:
> >> I use ifthenelse in my exams. That way I can have one version of
> >> the exam without solutions, and one with solution, without having to
> >> have two documents. If you want, I can send you one of my
> >> exams.
> >
> > I want. I want bad!
>
> Are you one of his students? :^)

No, I'm a student of life :-)

I'm (very slowly) writing a math book with multiple choice questions at the 
end of each chapter. I plan on having the correct choice be a different 
environment, but only in certain cases do I want it to look differently.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
Steve Litt  writes:

> I'm (very slowly) writing a math book with multiple choice questions at the 
> end of each chapter. I plan on having the correct choice be a different 
> environment, but only in certain cases do I want it to look differently.

As I said below (or above, depending on how you read this list), using branches
seems more elegant. I didn't realize this when I implemented the ifthenelse
solution.



Thanks for the Alternative Installer!

2009-04-22 Thread Nick Bell
Just a quick note to say thanks for the Alternative Installer for LyX 
1.6.2. Having banged my head against a brick wall for a day trying to 
get EPS/PDF previews to work using the standard Windows installer, 
messing around with paths etc., the complete alternative installer Just 
Worked.


Just as I was about to despair having switched back to Windows** on my 
work laptop, all is now well. Thanks!


**I spent too much time in a virtual machine on Ubuntu...
--
Nick Bell
m...@nickbell.org


Re: Allignment of figure

2009-04-22 Thread Waluyo Adi Siswanto

> I strongly recommend to update to LyX 1.6.2 or at least to LyX 1.5.9.
> 
> regards Uwe

I have never heard 1.5.9 ? or I miss this version. Perhaps 1.5.6?
---
was



Re: Allignment of figure

2009-04-22 Thread Uwe Stöhr

Waluyo Adi Siswanto schrieb:


I strongly recommend to update to LyX 1.6.2 or at least to LyX 1.5.9.

regards Uwe


I have never heard 1.5.9 ?


Sorry, I meant LyX 1.5.7.

regards Uwe


RE: Allignment of figure

2009-04-22 Thread tomas jansen



> Date: Wed, 22 Apr 2009 18:33:07 +0200
> From: uwesto...@web.de
> To: tomasjanse...@hotmail.com
> CC: lyx-users@lists.lyx.org
> Subject: Re: Allignment of figure
> 
> tomas jansen schrieb:
> 
>> When I put a picture inside a float in LyX and make a pdf out of it the 
>> allignment is not in the center.
> 
> Set the cursor behind or before the figure and use then the paragraph dialog 
> to center the paragraph 
> and thus also the image.
> 
>> I am using version 1.4.1 and making a book with two sides turned on.
> 
> I strongly recommend to update to LyX 1.6.2 or at least to LyX 1.5.9.
> 
> regards Uwe

Thanks for the answers, sorry for the confusion but I am using version 1.6.1, 
cannot download the new version at the moment.
I tried centering the picture, and on the preview screen it does center, just 
not in the PDF. I also know how to adjust the size and all.
I tried to change setting in both the float and the picture, and tried with 
indent on an off, but nothing seems to happen.
Regards,Tomas
_
De grappigste filmpjes vind je op MSN Video!
http://video.msn.com/video.aspx?mkt=nl-nl

Re: Allignment of figure

2009-04-22 Thread Uwe Stöhr

tomas jansen schrieb:


Thanks for the answers, sorry for the confusion but I am using version 1.6.1, 
cannot download the new version at the moment.


This links works for me:
ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/LyX-162-4-18-AltInstaller-Small.exe


I tried centering the picture, and on the preview screen it does center, just 
not in the PDF.


Can you please send a small example LyX file?

regards Uwe


How to move bottom page number to top on chapter-heading pages?

2009-04-22 Thread Sophie (itsme213)
I'm using memoir/book, mostly default settings. Page numbering is at the 
top, except on chapter heading pages where it appears at the bottom.

Is there a simple way (LaTex-wise) to have all page numbers at the top?

Thanks! 





Theorems, lemmas, definitions... in Spanish

2009-04-22 Thread Michael Solis Chacon
Hello guys,

I'm making my thesis in Lyx, and i need to write theorems, definitions, etc; but
its necesary that appear like Teorema, Lema, Definición, etc.(in Spanish)

I selected the document's language in spanish, the encoding is latin1, and the
Theorems(AMS), Theorems(AMS-Extended) and Theorems(By Chapter).

The problems it's the definitions for the theorems still in English,


%% Textclass specific LaTeX commands.
\theoremstyle{plain}
\ifx\thechapter\undefined
\newtheorem{thm}{Theorem}
\else
\newtheorem{thm}{Theorem}[chapter]
\fi
  \theoremstyle{definition}
  \newtheorem{defn}[thm]{Definition}


Could someone help me?

Thanks in advance.


PS: The preamble is this, (copy-paste from the source view)


% Preview source code

%% LyX 1.6.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,oneside,english,spanish]{book}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[letterpaper]{geometry}
\geometry{verbose,tmargin=3cm,bmargin=3cm,lmargin=3.5cm,rmargin=3cm}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{color}
\usepackage{verbatim}
\usepackage{textcomp}
\usepackage{amsthm}
\usepackage{relsize}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{amssymb}
\onehalfspacing

\makeatletter

%% LyX specific LaTeX commands.
\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}

%% Textclass specific LaTeX commands.
\theoremstyle{plain}
\ifx\thechapter\undefined
\newtheorem{thm}{Theorem}
\else
\newtheorem{thm}{Theorem}[chapter]
\fi
  \theoremstyle{definition}
  \newtheorem{defn}[thm]{Definition}

%% User specified LaTeX commands.

%%%Paquetes
\usepackage[Glenn]{fncychap}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}
\usepackage{babelbib}
\usepackage{fancyhdr}


%
%% Encabezados
%
\pagestyle{fancy}
\fancyhead{}
\fancyhead[CE]{\scriptsize \leftmark}
\fancyhead[CO]{\scriptsize \rightmark}
\fancyhead[LE,RO]{\thepage}
\fancyfoot{}
\renewcommand{\headrulewidth}{0.9pt}
%
%% Estilos de teoremas
% \swapnumbers
%\theoremstyle{plain}
%\newtheorem{teorema}{Teorema}%[section]
% \theoremstyle{definition}
% \newtheorem{definicion}[teorema]{Definici\'{o}n}
% \newtheorem{ejemplo}[teorema]{Ejemplo}
% \newtheorem{ejercicio}[teorema]{Ejercicio}
% \newtheorem{nota}[teorema]{$ $Nota}
% %\newtheorem*{sol}{Soluci\'{o}n}
% \newcommand{\bsol}{\begin{proof}[Soluci\'{o}n]}
% \newcommand{\esol}{\end{proof}}
% \theoremstyle{remark}
%% Fin Estilos

\renewcommand{\chaptername}{Capítulo}

\makeatother

\usepackage[spanish]{babel}
\addto\shorthandsspanish{\spanishdeactivate{~<>}}



Making long selects

2009-04-22 Thread john
Hi

I am frustrated in my attempts to select very long passages (for
deletion) in a LyX document.

When I attempt to select by
a. Left clicking and holding then
b. Dragging the mouse

things work as expected until I hit the last visible line on the screen.
Then there is a mighty upheaval and I find I have selected way beyond my
intended target. So still holding down the left button and trying to go
back up a little - again LyX over reacts and I find myself back earlier
in the text than where I started.

Questions:

1. Am I doing something wrong?
2. Is there a better way to select largish chunks of text (say a whole
chapter).
3. Is there any way to mark places in a document then delete to the mark
(as in vi)

John O'Gorman


Re: Making long selects

2009-04-22 Thread Nicolas Ferré
Hi, I noticed the same kind of behavior. Now I use the ctrl+shift+arrow 
combination.


Hope this helps.

NF

john a écrit :

Hi

I am frustrated in my attempts to select very long passages (for
deletion) in a LyX document.

When I attempt to select by
a. Left clicking and holding then
b. Dragging the mouse

things work as expected until I hit the last visible line on the screen.
Then there is a mighty upheaval and I find I have selected way beyond my
intended target. So still holding down the left button and trying to go
back up a little - again LyX over reacts and I find myself back earlier
in the text than where I started.

Questions:

1. Am I doing something wrong?
2. Is there a better way to select largish chunks of text (say a whole
chapter).
3. Is there any way to mark places in a document then delete to the mark
(as in vi)

John O'Gorman




--
Nicolas Ferre'
Laboratoire Chimie Provence
Universite' de Provence - France
Tel: +33 491282733
http://sites.univ-provence.fr/lcp-ct


Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Guenter Milde
On 2009-04-22, Anders Host-Madsen wrote:

...
> One advantage of using ifthenelse is that the conditional becomes part
> of the LaTeX if you export to LaTeX, while branches is a pure LyX
> solution (I still prefer to have a LaTeX copy of all my documents for
> compatibility).

You might file an enhancement request for an 

 "export to LaTeX source" 
 
branch setting.

The `comment`__ package is a "LaTeX equivalent" of the LyX branches. It
allows "named" commends with configurable visibility in the output.

Günter

__ http://dante.ctan.org/CTAN/help/Catalogue/entries/comment.html



<    1   2