Lines and decorative separations

2007-10-12 Thread Donn
Hello list.
I am suffering from search-term-itis trying to find how to:
1. Draw horizontal lines that are of varying lengths and thickness. Also, 
perhaps some decorative lines, like double lines with a thin part and a thick 
part under it. 
2. Decorative separators between paragraphs, sections or on-demand. You know 
the kind of thing, three stars or a leaf to break/mark spaces between things?

I have scoured the help and the web, but I keep going down dead ends.

\d


-- 
Atheism is myth understood.
-- unknown



Re: Lines and decorative separations

2007-10-12 Thread Donn
 \rule{length}{thickness}, for example \rule{3in}{2pt}
Great, already a huge improvement. Thanks.

\d


Re: Lines and decorative separations

2007-10-12 Thread Helge Hafting

Donn wrote:

Hello list.
I am suffering from search-term-itis trying to find how to:
1. Draw horizontal lines that are of varying lengths and thickness. Also, 
perhaps some decorative lines, like double lines with a thin part and a thick 
part under it. 
2. Decorative separators between paragraphs, sections or on-demand. You know 
the kind of thing, three stars or a leaf to break/mark spaces between things?


I have scoured the help and the web, but I keep going down dead ends

LyX can insert a line with fixed thickness between paragraphs.
You find it on the insert menu. It is the width of the text, but
if you put it in a minipage, you can have different lengths by
varying the minipage width.

Anything else require some latex code.
Horizontal lines of varying length and thickness is the easiest,
insert-TeX and then type
\rule{length}{thickness}, for example \rule{3in}{2pt}

Helge Hafting




Re: configure default paragraph alignment

2007-10-12 Thread Marcelo Acuña

--- Richard Heck [EMAIL PROTECTED] escribió:
 Check their documentation.) Changing
 the display in LyX 
 is a matter of editing the layout file, in which
 alignment is controlled 
 by the Align directive. If you're using, say,
 book.cls, then copy 
 book.layout to your local LyX directory (where it is
 is 
 system-dependent), open it, and then add to the end
 of the file:
 Style Standard
 Align Left
 End
 This will override the usual declaration. If you
 want this also for 
 other paragraph types, you'll need to add
 corresponding declarations for 
 the other paragraphs. But again: Changing this in
 the layout file won't 
 change it in the output; these are different beasts.
 
 Richard

 Excuse me Richard,
 You said that I can change align in Lyx screen?

 Regards
 Marcelo



  Los referentes más importantes en compra/ venta de autos se juntaron:
Demotores y Yahoo!
Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/


Re: lyx-1.5.1 apa style question

2007-10-12 Thread Paul A. Rubin

Mirko Briemle wrote:

Thanks for your response. That helped a lot. I installed the apa and the 
apacite package
but I receive a Missing \begin{document} Error when trying to preview the apa
document. What can I do to fix this? (By the way I am using lyx-1.5.2 now too. 
It looks
great.)



That message can be caused by all sorts of problems.  If you can strip 
down your document to a fairly small example where the error occurs and 
then post the example here, we can diagnose it.


/Paul



Re: Fwd: exercise support in LyX

2007-10-12 Thread Gunnar Lindholm
 What do other people use for exercises? And will this ever be built into
 LyX? I have to use ERT to get exercise.sty working.
I use 
\usepackage{answers}

To get it working more easy, I put the stuff below into my lyx configuration 
files. With this I can just press M-g u  to insert an exercise, and then M-g 
a to insert ERT (two greyblocks) so I can write the answer between the grey 
blocks.
I'm sorry for the bad explaination of how it works, but I'm quite satisfied 
with it. 

Here is the stuff I use:
---

in the LaTeX preamble

\Newassociation{sol}{Svar}{ans}
{\theorembodyfont{\upshape} \newtheorem{uppg}{Uppgift}}
\newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}}

and in the bind files 

\bind M-g u   layout GGGUG
\bind M-g a   command-sequence ert-insert; self-insert \begin{sol}; 
next-inset-toggle; ert-insert; self-insert \end{sol}; next-inset-toggle; 
char-backward;


and in the layouts file

# Uppgift style definition
Style GGGUG
  LatexType Environment
  LatexName ug

  ParSkip   0.4
  ParSep0.4
  TopSep0.4
  Align Left
  AlignPossible Left
  LabelTypeTop_Environment
  LabelStringUppgift 
  OptionalArgs  1

  # label font definition
  LabelFont
Series  Bold
  EndFont
End


Fwd: exercise support in LyX

2007-10-12 Thread Ramin Nakisa
Hi,

I've tried various packages for including exercises in a book I'm writing in 
LyX. I settled on exercise.sty which is nice because you write all the 
exercises and their answers, then the command \shipout spews out all the 
answers since the previous \shipout. This means I can easily put all the 
answers to exercises at the end of each chapter. But... it seems to not space 
things properly.

What do other people use for exercises? And will this ever be built into LyX? 
I have to use ERT to get exercise.sty working.

Thanks,

Ramin.


bug using lyx-1.5.2 export at the command line?

2007-10-12 Thread Oscar Lopez
Hello 

When I try to export a pdf file using the command line at my linux box the I get
the following message 
% lyx -e pdf2 file.lyx
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions
in Help-Introduction and send us a bug report, if necessary. Thanks !
Bye.

Does anybody experience the same problem? Is this a know bug?

If it helps I compiled the tar.gz file and 
% lyx --version
LyX 1.5.2 (Fri, Oct 5, 2007)
Built on Oct 10 2007, 18:21:05
Configuration
  Host type:i686-pc-linux-gnu
  Special build flags:  aiksaurus pch  use-aspell use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags: -O2
  C++ Compiler: g++ (4.0.3)
  C++ Compiler LyX flags:
  C++ Compiler flags: -O2
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.1.2
  Packaging:posix
  LyX binary dir:   /usr/local/bin
  LyX files dir:/usr/local/share/lyx



Thanks for your help
Best regards




Toggle between documents

2007-10-12 Thread Nicolás

Hi!

In Opera and Acrobat I can use Ctrl-Tab to toggle between opened documents. Is 
there (or can I declare) a similar shortcut in LyX?

Cheers,
Nicolás


I have a problem with language

2007-10-12 Thread Marcelo Acuña
Hello,
 When I try to get a solution (before Ignacio's
letter) for page numbering in roman instead Roman I
changed language from Spanish to American in Document
 Config  Language.
 I can see that roman problem was solved but now I
have several titles like Index and Contents in English
instead Spanish, and I lost hyphenation in Spanish.
 Then I return to Spanish language but American
remains. Now I have all text underlined, and I can't
compile without errors. I have Spanish in Document 
Config  Language and Preferences but if I see Latex
Source I have [american, spanish] in my srcbook.
 I can't get out American any more (perhaps we
have a deep political lesson here ;-)
 How I can get Spanish only?

 Regards
 Marcelo


  Los referentes más importantes en compra/ venta de autos se juntaron:
Demotores y Yahoo!
Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/


Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-12 Thread José Matos
On Thursday 11 October 2007 16:40:51 Paul A. Rubin wrote:
 No, I've had no problems opening old beamer presentations (and, like
 you, I have a bunch of them).  The format for LyX document files evolves
 with new releases, and there is a conversion tool included with LyX to
 convert older format LyX files to the current format.  It works pretty
 well but perhaps not perfectly; it may have tripped over something a bit
 unusual in your presentation file.  Whether it will have similar
 problems with other presentations is hard to predict.

I think that in this case the problem is not lyx2lyx but it is a bug that is 
scheduled to be fixed in 1.5.3.

If you have any problem with convertions from previous version please report 
them here. :-)
-- 
José Abílio


Re: Lines and decorative separations

2007-10-12 Thread Donn
 These are called ``rules'' in printer's parlance.
Ah, thanks for the keyword.

 Some dingbats / ornaments can be used as such as well, so check out
 ornament fonts.
I have a lot of free/open fonts that I installed via apt-get but I'm not sure 
why they are not listed in Lyx. I have not had the time to go on a quest.

 Memoir has explicit support for these, see ``plainfancybreak'' in the
 manual.
Great, thanks again.

\d


Re: Lines and decorative separations

2007-10-12 Thread William Adams

On Oct 12, 2007, at 4:24 AM, Donn wrote:

1. Draw horizontal lines that are of varying lengths and thickness.  
Also,
perhaps some decorative lines, like double lines with a thin part  
and a thick

part under it.


These are called ``rules'' in printer's parlance.

Some dingbats / ornaments can be used as such as well, so check out  
ornament fonts.


2. Decorative separators between paragraphs, sections or on-demand.  
You know
the kind of thing, three stars or a leaf to break/mark spaces  
between things?


Memoir has explicit support for these, see ``plainfancybreak'' in the  
manual.


William

--
William Adams
senior graphic designer
Fry Communications




Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-12 Thread Oscar Lopez
José Matos [EMAIL PROTECTED] writes:

 I think that in this case the problem is not lyx2lyx but it is a bug that is 
 scheduled to be fixed in 1.5.3.

Please could you elaborate more on that? I mean, I have tried to produce, using
lyx-1.5.2, a minimal example showing the problem and I haven't succeeded. I put
a note inlined within the text (using lyx-1.5.2), this is what lyx-1.5.2 (latex)
complains, and everything is fine. However the old beamer lyx files with that
produces latex errors.

What is the bug you refer to? 

 If you have any problem with convertions from previous version please report 
 them here. 

Thanks
Best regards





Re: configure default paragraph alignment

2007-10-12 Thread Richard Heck

Marcelo Acuña wrote:

--- Richard Heck [EMAIL PROTECTED] escribió:
  
Excuse me Richard,

 You said that I can change align in Lyx screen?
  
Yes, you can change the way the alignment appears on the screen in LyX 
by editing the layout files, which you'll find in (e.g.) 
/usr/share/lyx/layouts/. Copy these to your local LyX directory (e.g., 
/home/marcelo/.lyx/layouts/) and so as you wish. You may want to change 
the filename to something else, and change the first line of the layout 
file, so your changes appear as a new choice in DocumentSettings rather 
than over-writing an old one. See the Customization manual for the details.


rh



Nested environments in LyX?

2007-10-12 Thread Steve Litt
Hi all,

You can nest environments within LaTeX:

\begin{parent}
\begin{child}Kid #1\end{child}
\begin{child}Kid #2\end{child}
\begin{child}Kid #3\end{child}
\end{parent}

Can you do that also within the normal LyX user interface? If so, how?

Thanks

StevET
 
Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


What's the problem with encoding?

2007-10-12 Thread Armando Duarte Senra Martins

Hello!

I am trying to get through with Latex using Lyx to type a document in
portuguese.
I had a document previously typed with a WYSIWYG. When I imported it to
Lyx lots af characters were lost. So I had to do find  replace to restore
de accented characters.
I tried many options: switched betweenn
\usepackage[iso-8859-1]{oberdiek}
\usepackage[latin1]{inputenc}
\usepackage[utf-8]{inputenc}

I even tried to change the setting s of the document (changing language to
portuguese and encondint to UTF-8)

In every case I ended up with the same message (latin1.sty not found)
I have tried to do the same with another processor the result was the same.
I have MiKTeX installed (Windows XP).

Thanks for your help.

Armando Duarte Senra Martins
Universidade de Évora
Departamento de Linguística e Literaturas
Ap. 94
7002-554 ÉVORA



Re: New docs on making your own list

2007-10-12 Thread Christian Liesen

Steve Litt wrote:
I just wrote a document on making your own lists in LaTeX. Here 
it is:


http://www.troubleshooters.com/linux/lyx/ownlists.htm
  

Many thanks for sharing this!

-- Christian


More on nesting environments

2007-10-12 Thread Steve Litt
Hi all,

Within LyX, I put in a list environment for several paragraphs, and within 
those, nested one itemize paragraph, as shown below:
===
#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Standard
Steve was here
\end_layout

\begin_layout List
\labelwidthstring 00.00.
and now is gone 
\end_layout

\begin_layout Itemize
but left nis name
\end_layout

\begin_layout List
\labelwidthstring 00.00.
to carry on
\end_layout

\begin_layout Standard
I am the walrus
\end_layout

\end_body
\end_document
===

I exported it to LaTeX, and here's what came out:

===
%% LyX 1.4.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\makeatletter
%% Textclass specific LaTeX commands.
\newenvironment{lyxlist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{#1}
 \setlength{\leftmargin}{\labelwidth}
 \addtolength{\leftmargin}{\labelsep}
 \renewcommand{\makelabel}[1]{##1\hfil}}}
{\end{list}}

\usepackage{babel}
\makeatother
\begin{document}
Steve was here

\begin{lyxlist}{00.00.}
\item [{and}] now is gone 
\end{lyxlist}
\begin{itemize}
\item but left nis name
\end{itemize}
\begin{lyxlist}{00.00.}
\item [{to}] carry on
\end{lyxlist}
I am the walrus
\end{document}
===
 
As you can see, my nesting an itemize paragraph ended the lyxlist environment, 
instead of nesting.

Does anyone know how I can force nesting?

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: More on nesting environments

2007-10-12 Thread Paul A. Rubin

Steve Litt wrote:


Within LyX, I put in a list environment for several paragraphs, and within 
those, nested one itemize paragraph, as shown below:

[snip]
As you can see, my nesting an itemize paragraph ended the lyxlist environment, 
instead of nesting.


Does anyone know how I can force nesting?


With the cursor in the itemize environment you wish to nest, S-M-right 
arrrow or Edit - Increase List Depth or click the Increase Depth tool 
button (looks like a bullet list with an arrow pointing to the right). 
When it's nested, LyX will draw a bracket in the GUI to the left of the 
nested lines to indicate the nesting.


/Paul



Re: Nested environments in LyX?

2007-10-12 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

You can nest environments within LaTeX:

\begin{parent}
\begin{child}Kid #1\end{child}
\begin{child}Kid #2\end{child}
\begin{child}Kid #3\end{child}
\end{parent}

Can you do that also within the normal LyX user interface? If so, how?



Yes -- see response to your second message (which I read first; I'm a 
bottom-up kind of guy).


/Paul



Re: LyxWinInstaller Update issue

2007-10-12 Thread Uwe Stöhr

Dave Hewitt schrieb:

Can you elaborate on what we need to do to fix our ImageMagick problems 
when we've used the updater. I did and images aren't handled, just as 
you indicate. Should I uninstall LyX 1.5.2 from the Add/Remove Programs 
interface and then just run the small installer for 1.5.2?


Yes, exactly.

regards Uwe


Lines and decorative separations

2007-10-12 Thread Donn
Hello list.
I am suffering from search-term-itis trying to find how to:
1. Draw horizontal lines that are of varying lengths and thickness. Also, 
perhaps some decorative lines, like double lines with a thin part and a thick 
part under it. 
2. Decorative separators between paragraphs, sections or on-demand. You know 
the kind of thing, three stars or a leaf to break/mark spaces between things?

I have scoured the help and the web, but I keep going down dead ends.

\d


-- 
Atheism is myth understood.
-- unknown



Re: Lines and decorative separations

2007-10-12 Thread Donn
 \rule{length}{thickness}, for example \rule{3in}{2pt}
Great, already a huge improvement. Thanks.

\d


Re: Lines and decorative separations

2007-10-12 Thread Helge Hafting

Donn wrote:

Hello list.
I am suffering from search-term-itis trying to find how to:
1. Draw horizontal lines that are of varying lengths and thickness. Also, 
perhaps some decorative lines, like double lines with a thin part and a thick 
part under it. 
2. Decorative separators between paragraphs, sections or on-demand. You know 
the kind of thing, three stars or a leaf to break/mark spaces between things?


I have scoured the help and the web, but I keep going down dead ends

LyX can insert a line with fixed thickness between paragraphs.
You find it on the insert menu. It is the width of the text, but
if you put it in a minipage, you can have different lengths by
varying the minipage width.

Anything else require some latex code.
Horizontal lines of varying length and thickness is the easiest,
insert-TeX and then type
\rule{length}{thickness}, for example \rule{3in}{2pt}

Helge Hafting




Re: configure default paragraph alignment

2007-10-12 Thread Marcelo Acuña

--- Richard Heck [EMAIL PROTECTED] escribió:
 Check their documentation.) Changing
 the display in LyX 
 is a matter of editing the layout file, in which
 alignment is controlled 
 by the Align directive. If you're using, say,
 book.cls, then copy 
 book.layout to your local LyX directory (where it is
 is 
 system-dependent), open it, and then add to the end
 of the file:
 Style Standard
 Align Left
 End
 This will override the usual declaration. If you
 want this also for 
 other paragraph types, you'll need to add
 corresponding declarations for 
 the other paragraphs. But again: Changing this in
 the layout file won't 
 change it in the output; these are different beasts.
 
 Richard

 Excuse me Richard,
 You said that I can change align in Lyx screen?

 Regards
 Marcelo



  Los referentes más importantes en compra/ venta de autos se juntaron:
Demotores y Yahoo!
Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/


Re: lyx-1.5.1 apa style question

2007-10-12 Thread Paul A. Rubin

Mirko Briemle wrote:

Thanks for your response. That helped a lot. I installed the apa and the 
apacite package
but I receive a Missing \begin{document} Error when trying to preview the apa
document. What can I do to fix this? (By the way I am using lyx-1.5.2 now too. 
It looks
great.)



That message can be caused by all sorts of problems.  If you can strip 
down your document to a fairly small example where the error occurs and 
then post the example here, we can diagnose it.


/Paul



Re: Fwd: exercise support in LyX

2007-10-12 Thread Gunnar Lindholm
 What do other people use for exercises? And will this ever be built into
 LyX? I have to use ERT to get exercise.sty working.
I use 
\usepackage{answers}

To get it working more easy, I put the stuff below into my lyx configuration 
files. With this I can just press M-g u  to insert an exercise, and then M-g 
a to insert ERT (two greyblocks) so I can write the answer between the grey 
blocks.
I'm sorry for the bad explaination of how it works, but I'm quite satisfied 
with it. 

Here is the stuff I use:
---

in the LaTeX preamble

\Newassociation{sol}{Svar}{ans}
{\theorembodyfont{\upshape} \newtheorem{uppg}{Uppgift}}
\newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}}

and in the bind files 

\bind M-g u   layout GGGUG
\bind M-g a   command-sequence ert-insert; self-insert \begin{sol}; 
next-inset-toggle; ert-insert; self-insert \end{sol}; next-inset-toggle; 
char-backward;


and in the layouts file

# Uppgift style definition
Style GGGUG
  LatexType Environment
  LatexName ug

  ParSkip   0.4
  ParSep0.4
  TopSep0.4
  Align Left
  AlignPossible Left
  LabelTypeTop_Environment
  LabelStringUppgift 
  OptionalArgs  1

  # label font definition
  LabelFont
Series  Bold
  EndFont
End


Fwd: exercise support in LyX

2007-10-12 Thread Ramin Nakisa
Hi,

I've tried various packages for including exercises in a book I'm writing in 
LyX. I settled on exercise.sty which is nice because you write all the 
exercises and their answers, then the command \shipout spews out all the 
answers since the previous \shipout. This means I can easily put all the 
answers to exercises at the end of each chapter. But... it seems to not space 
things properly.

What do other people use for exercises? And will this ever be built into LyX? 
I have to use ERT to get exercise.sty working.

Thanks,

Ramin.


bug using lyx-1.5.2 export at the command line?

2007-10-12 Thread Oscar Lopez
Hello 

When I try to export a pdf file using the command line at my linux box the I get
the following message 
% lyx -e pdf2 file.lyx
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions
in Help-Introduction and send us a bug report, if necessary. Thanks !
Bye.

Does anybody experience the same problem? Is this a know bug?

If it helps I compiled the tar.gz file and 
% lyx --version
LyX 1.5.2 (Fri, Oct 5, 2007)
Built on Oct 10 2007, 18:21:05
Configuration
  Host type:i686-pc-linux-gnu
  Special build flags:  aiksaurus pch  use-aspell use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags: -O2
  C++ Compiler: g++ (4.0.3)
  C++ Compiler LyX flags:
  C++ Compiler flags: -O2
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.1.2
  Packaging:posix
  LyX binary dir:   /usr/local/bin
  LyX files dir:/usr/local/share/lyx



Thanks for your help
Best regards




Toggle between documents

2007-10-12 Thread Nicolás

Hi!

In Opera and Acrobat I can use Ctrl-Tab to toggle between opened documents. Is 
there (or can I declare) a similar shortcut in LyX?

Cheers,
Nicolás


I have a problem with language

2007-10-12 Thread Marcelo Acuña
Hello,
 When I try to get a solution (before Ignacio's
letter) for page numbering in roman instead Roman I
changed language from Spanish to American in Document
 Config  Language.
 I can see that roman problem was solved but now I
have several titles like Index and Contents in English
instead Spanish, and I lost hyphenation in Spanish.
 Then I return to Spanish language but American
remains. Now I have all text underlined, and I can't
compile without errors. I have Spanish in Document 
Config  Language and Preferences but if I see Latex
Source I have [american, spanish] in my srcbook.
 I can't get out American any more (perhaps we
have a deep political lesson here ;-)
 How I can get Spanish only?

 Regards
 Marcelo


  Los referentes más importantes en compra/ venta de autos se juntaron:
Demotores y Yahoo!
Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/


Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-12 Thread José Matos
On Thursday 11 October 2007 16:40:51 Paul A. Rubin wrote:
 No, I've had no problems opening old beamer presentations (and, like
 you, I have a bunch of them).  The format for LyX document files evolves
 with new releases, and there is a conversion tool included with LyX to
 convert older format LyX files to the current format.  It works pretty
 well but perhaps not perfectly; it may have tripped over something a bit
 unusual in your presentation file.  Whether it will have similar
 problems with other presentations is hard to predict.

I think that in this case the problem is not lyx2lyx but it is a bug that is 
scheduled to be fixed in 1.5.3.

If you have any problem with convertions from previous version please report 
them here. :-)
-- 
José Abílio


Re: Lines and decorative separations

2007-10-12 Thread Donn
 These are called ``rules'' in printer's parlance.
Ah, thanks for the keyword.

 Some dingbats / ornaments can be used as such as well, so check out
 ornament fonts.
I have a lot of free/open fonts that I installed via apt-get but I'm not sure 
why they are not listed in Lyx. I have not had the time to go on a quest.

 Memoir has explicit support for these, see ``plainfancybreak'' in the
 manual.
Great, thanks again.

\d


Re: Lines and decorative separations

2007-10-12 Thread William Adams

On Oct 12, 2007, at 4:24 AM, Donn wrote:

1. Draw horizontal lines that are of varying lengths and thickness.  
Also,
perhaps some decorative lines, like double lines with a thin part  
and a thick

part under it.


These are called ``rules'' in printer's parlance.

Some dingbats / ornaments can be used as such as well, so check out  
ornament fonts.


2. Decorative separators between paragraphs, sections or on-demand.  
You know
the kind of thing, three stars or a leaf to break/mark spaces  
between things?


Memoir has explicit support for these, see ``plainfancybreak'' in the  
manual.


William

--
William Adams
senior graphic designer
Fry Communications




Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-12 Thread Oscar Lopez
José Matos [EMAIL PROTECTED] writes:

 I think that in this case the problem is not lyx2lyx but it is a bug that is 
 scheduled to be fixed in 1.5.3.

Please could you elaborate more on that? I mean, I have tried to produce, using
lyx-1.5.2, a minimal example showing the problem and I haven't succeeded. I put
a note inlined within the text (using lyx-1.5.2), this is what lyx-1.5.2 (latex)
complains, and everything is fine. However the old beamer lyx files with that
produces latex errors.

What is the bug you refer to? 

 If you have any problem with convertions from previous version please report 
 them here. 

Thanks
Best regards





Re: configure default paragraph alignment

2007-10-12 Thread Richard Heck

Marcelo Acuña wrote:

--- Richard Heck [EMAIL PROTECTED] escribió:
  
Excuse me Richard,

 You said that I can change align in Lyx screen?
  
Yes, you can change the way the alignment appears on the screen in LyX 
by editing the layout files, which you'll find in (e.g.) 
/usr/share/lyx/layouts/. Copy these to your local LyX directory (e.g., 
/home/marcelo/.lyx/layouts/) and so as you wish. You may want to change 
the filename to something else, and change the first line of the layout 
file, so your changes appear as a new choice in DocumentSettings rather 
than over-writing an old one. See the Customization manual for the details.


rh



Nested environments in LyX?

2007-10-12 Thread Steve Litt
Hi all,

You can nest environments within LaTeX:

\begin{parent}
\begin{child}Kid #1\end{child}
\begin{child}Kid #2\end{child}
\begin{child}Kid #3\end{child}
\end{parent}

Can you do that also within the normal LyX user interface? If so, how?

Thanks

StevET
 
Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


What's the problem with encoding?

2007-10-12 Thread Armando Duarte Senra Martins

Hello!

I am trying to get through with Latex using Lyx to type a document in
portuguese.
I had a document previously typed with a WYSIWYG. When I imported it to
Lyx lots af characters were lost. So I had to do find  replace to restore
de accented characters.
I tried many options: switched betweenn
\usepackage[iso-8859-1]{oberdiek}
\usepackage[latin1]{inputenc}
\usepackage[utf-8]{inputenc}

I even tried to change the setting s of the document (changing language to
portuguese and encondint to UTF-8)

In every case I ended up with the same message (latin1.sty not found)
I have tried to do the same with another processor the result was the same.
I have MiKTeX installed (Windows XP).

Thanks for your help.

Armando Duarte Senra Martins
Universidade de Évora
Departamento de Linguística e Literaturas
Ap. 94
7002-554 ÉVORA



Re: New docs on making your own list

2007-10-12 Thread Christian Liesen

Steve Litt wrote:
I just wrote a document on making your own lists in LaTeX. Here 
it is:


http://www.troubleshooters.com/linux/lyx/ownlists.htm
  

Many thanks for sharing this!

-- Christian


More on nesting environments

2007-10-12 Thread Steve Litt
Hi all,

Within LyX, I put in a list environment for several paragraphs, and within 
those, nested one itemize paragraph, as shown below:
===
#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Standard
Steve was here
\end_layout

\begin_layout List
\labelwidthstring 00.00.
and now is gone 
\end_layout

\begin_layout Itemize
but left nis name
\end_layout

\begin_layout List
\labelwidthstring 00.00.
to carry on
\end_layout

\begin_layout Standard
I am the walrus
\end_layout

\end_body
\end_document
===

I exported it to LaTeX, and here's what came out:

===
%% LyX 1.4.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\makeatletter
%% Textclass specific LaTeX commands.
\newenvironment{lyxlist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{#1}
 \setlength{\leftmargin}{\labelwidth}
 \addtolength{\leftmargin}{\labelsep}
 \renewcommand{\makelabel}[1]{##1\hfil}}}
{\end{list}}

\usepackage{babel}
\makeatother
\begin{document}
Steve was here

\begin{lyxlist}{00.00.}
\item [{and}] now is gone 
\end{lyxlist}
\begin{itemize}
\item but left nis name
\end{itemize}
\begin{lyxlist}{00.00.}
\item [{to}] carry on
\end{lyxlist}
I am the walrus
\end{document}
===
 
As you can see, my nesting an itemize paragraph ended the lyxlist environment, 
instead of nesting.

Does anyone know how I can force nesting?

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: More on nesting environments

2007-10-12 Thread Paul A. Rubin

Steve Litt wrote:


Within LyX, I put in a list environment for several paragraphs, and within 
those, nested one itemize paragraph, as shown below:

[snip]
As you can see, my nesting an itemize paragraph ended the lyxlist environment, 
instead of nesting.


Does anyone know how I can force nesting?


With the cursor in the itemize environment you wish to nest, S-M-right 
arrrow or Edit - Increase List Depth or click the Increase Depth tool 
button (looks like a bullet list with an arrow pointing to the right). 
When it's nested, LyX will draw a bracket in the GUI to the left of the 
nested lines to indicate the nesting.


/Paul



Re: Nested environments in LyX?

2007-10-12 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

You can nest environments within LaTeX:

\begin{parent}
\begin{child}Kid #1\end{child}
\begin{child}Kid #2\end{child}
\begin{child}Kid #3\end{child}
\end{parent}

Can you do that also within the normal LyX user interface? If so, how?



Yes -- see response to your second message (which I read first; I'm a 
bottom-up kind of guy).


/Paul



Re: LyxWinInstaller Update issue

2007-10-12 Thread Uwe Stöhr

Dave Hewitt schrieb:

Can you elaborate on what we need to do to fix our ImageMagick problems 
when we've used the updater. I did and images aren't handled, just as 
you indicate. Should I uninstall LyX 1.5.2 from the Add/Remove Programs 
interface and then just run the small installer for 1.5.2?


Yes, exactly.

regards Uwe


Lines and decorative separations

2007-10-12 Thread Donn
Hello list.
I am suffering from search-term-itis trying to find how to:
1. Draw horizontal lines that are of varying lengths and thickness. Also, 
perhaps some decorative lines, like double lines with a thin part and a thick 
part under it. 
2. Decorative separators between paragraphs, sections or on-demand. You know 
the kind of thing, three stars or a leaf to break/mark spaces between things?

I have scoured the help and the web, but I keep going down dead ends.

\d


-- 
Atheism is myth understood.
-- unknown



Re: Lines and decorative separations

2007-10-12 Thread Donn
> \rule{length}{thickness}, for example \rule{3in}{2pt}
Great, already a huge improvement. Thanks.

\d


Re: Lines and decorative separations

2007-10-12 Thread Helge Hafting

Donn wrote:

Hello list.
I am suffering from search-term-itis trying to find how to:
1. Draw horizontal lines that are of varying lengths and thickness. Also, 
perhaps some decorative lines, like double lines with a thin part and a thick 
part under it. 
2. Decorative separators between paragraphs, sections or on-demand. You know 
the kind of thing, three stars or a leaf to break/mark spaces between things?


I have scoured the help and the web, but I keep going down dead ends

LyX can insert a line with fixed thickness between paragraphs.
You find it on the insert menu. It is the width of the text, but
if you put it in a minipage, you can have different lengths by
varying the minipage width.

Anything else require some latex code.
Horizontal lines of varying length and thickness is the easiest,
insert->TeX and then type
\rule{length}{thickness}, for example \rule{3in}{2pt}

Helge Hafting




Re: configure default paragraph alignment

2007-10-12 Thread Marcelo Acuña

--- Richard Heck <[EMAIL PROTECTED]> escribió:
> Check their documentation.) Changing
> the display in LyX 
> is a matter of editing the layout file, in which
> alignment is controlled 
> by the Align directive. If you're using, say,
> book.cls, then copy 
> book.layout to your local LyX directory (where it is
> is 
> system-dependent), open it, and then add to the end
> of the file:
> Style Standard
> Align Left
> End
> This will override the usual declaration. If you
> want this also for 
> other paragraph types, you'll need to add
> corresponding declarations for 
> the other paragraphs. But again: Changing this in
> the layout file won't 
> change it in the output; these are different beasts.
> 
> Richard

 Excuse me Richard,
 You said that I can change align in Lyx screen?

 Regards
 Marcelo



  Los referentes más importantes en compra/ venta de autos se juntaron:
Demotores y Yahoo!
Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/


Re: lyx-1.5.1 apa style question

2007-10-12 Thread Paul A. Rubin

Mirko Briemle wrote:

Thanks for your response. That helped a lot. I installed the apa and the 
apacite package
but I receive a "Missing \begin{document}" Error when trying to preview the apa
document. What can I do to fix this? (By the way I am using lyx-1.5.2 now too. 
It looks
great.)



That message can be caused by all sorts of problems.  If you can strip 
down your document to a fairly small example where the error occurs and 
then post the example here, we can diagnose it.


/Paul



Re: Fwd: exercise support in LyX

2007-10-12 Thread Gunnar Lindholm
> What do other people use for exercises? And will this ever be built into
> LyX? I have to use ERT to get exercise.sty working.
I use 
\usepackage{answers}

To get it working more easy, I put the stuff below into my lyx configuration 
files. With this I can just press M-g u  to insert an exercise, and then M-g 
a to insert ERT (two greyblocks) so I can write the answer between the grey 
blocks.
I'm sorry for the bad explaination of how it works, but I'm quite satisfied 
with it. 

Here is the stuff I use:
---

in the LaTeX preamble

\Newassociation{sol}{Svar}{ans}
{\theorembodyfont{\upshape} \newtheorem{uppg}{Uppgift}}
\newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}}

and in the bind files 

\bind "M-g u"   "layout GGGUG"
\bind "M-g a"   "command-sequence ert-insert; self-insert \begin{sol}; 
next-inset-toggle; ert-insert; self-insert \end{sol}; next-inset-toggle; 
char-backward;"


and in the layouts file

# Uppgift style definition
Style GGGUG
  LatexType Environment
  LatexName ug

  ParSkip   0.4
  ParSep0.4
  TopSep0.4
  Align Left
  AlignPossible Left
  LabelTypeTop_Environment
  LabelString"Uppgift "
  OptionalArgs  1

  # label font definition
  LabelFont
Series  Bold
  EndFont
End


Fwd: exercise support in LyX

2007-10-12 Thread Ramin Nakisa
Hi,

I've tried various packages for including exercises in a book I'm writing in 
LyX. I settled on exercise.sty which is nice because you write all the 
exercises and their answers, then the command \shipout spews out all the 
answers since the previous \shipout. This means I can easily put all the 
answers to exercises at the end of each chapter. But... it seems to not space 
things properly.

What do other people use for exercises? And will this ever be built into LyX? 
I have to use ERT to get exercise.sty working.

Thanks,

Ramin.


bug using lyx-1.5.2 export at the command line?

2007-10-12 Thread Oscar Lopez
Hello 

When I try to export a pdf file using the command line at my linux box the I get
the following message 
% lyx -e pdf2 file.lyx
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions
in Help->Introduction and send us a bug report, if necessary. Thanks !
Bye.

Does anybody experience the same problem? Is this a know bug?

If it helps I compiled the tar.gz file and 
% lyx --version
LyX 1.5.2 (Fri, Oct 5, 2007)
Built on Oct 10 2007, 18:21:05
Configuration
  Host type:i686-pc-linux-gnu
  Special build flags:  aiksaurus pch  use-aspell use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags: -O2
  C++ Compiler: g++ (4.0.3)
  C++ Compiler LyX flags:
  C++ Compiler flags: -O2
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.1.2
  Packaging:posix
  LyX binary dir:   /usr/local/bin
  LyX files dir:/usr/local/share/lyx



Thanks for your help
Best regards




Toggle between documents

2007-10-12 Thread Nicolás

Hi!

In Opera and Acrobat I can use Ctrl-Tab to toggle between opened documents. Is 
there (or can I declare) a similar shortcut in LyX?

Cheers,
Nicolás


I have a problem with language

2007-10-12 Thread Marcelo Acuña
Hello,
 When I try to get a solution (before Ignacio's
letter) for page numbering in roman instead Roman I
changed language from Spanish to American in Document
> Config > Language.
 I can see that roman problem was solved but now I
have several titles like Index and Contents in English
instead Spanish, and I lost hyphenation in Spanish.
 Then I return to Spanish language but American
remains. Now I have all text underlined, and I can't
compile without errors. I have Spanish in Document >
Config > Language and Preferences but if I see Latex
Source I have [american, spanish] in my srcbook.
 I can't get out American any more (perhaps we
have a deep political lesson here ;-)
 How I can get Spanish only?

 Regards
 Marcelo


  Los referentes más importantes en compra/ venta de autos se juntaron:
Demotores y Yahoo!
Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/


Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-12 Thread José Matos
On Thursday 11 October 2007 16:40:51 Paul A. Rubin wrote:
> No, I've had no problems opening old beamer presentations (and, like
> you, I have a bunch of them).  The format for LyX document files evolves
> with new releases, and there is a conversion tool included with LyX to
> convert older format LyX files to the current format.  It works pretty
> well but perhaps not perfectly; it may have tripped over something a bit
> unusual in your presentation file.  Whether it will have similar
> problems with other presentations is hard to predict.

I think that in this case the problem is not lyx2lyx but it is a bug that is 
scheduled to be fixed in 1.5.3.

If you have any problem with convertions from previous version please report 
them here. :-)
-- 
José Abílio


Re: Lines and decorative separations

2007-10-12 Thread Donn
> These are called ``rules'' in printer's parlance.
Ah, thanks for the keyword.

> Some dingbats / ornaments can be used as such as well, so check out
> ornament fonts.
I have a lot of free/open fonts that I installed via apt-get but I'm not sure 
why they are not listed in Lyx. I have not had the time to go on a quest.

> Memoir has explicit support for these, see ``plainfancybreak'' in the
> manual.
Great, thanks again.

\d


Re: Lines and decorative separations

2007-10-12 Thread William Adams

On Oct 12, 2007, at 4:24 AM, Donn wrote:

1. Draw horizontal lines that are of varying lengths and thickness.  
Also,
perhaps some decorative lines, like double lines with a thin part  
and a thick

part under it.


These are called ``rules'' in printer's parlance.

Some dingbats / ornaments can be used as such as well, so check out  
ornament fonts.


2. Decorative separators between paragraphs, sections or on-demand.  
You know
the kind of thing, three stars or a leaf to break/mark spaces  
between things?


Memoir has explicit support for these, see ``plainfancybreak'' in the  
manual.


William

--
William Adams
senior graphic designer
Fry Communications




Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-12 Thread Oscar Lopez
José Matos <[EMAIL PROTECTED]> writes:

> I think that in this case the problem is not lyx2lyx but it is a bug that is 
> scheduled to be fixed in 1.5.3.

Please could you elaborate more on that? I mean, I have tried to produce, using
lyx-1.5.2, a minimal example showing the problem and I haven't succeeded. I put
a note inlined within the text (using lyx-1.5.2), this is what lyx-1.5.2 (latex)
complains, and everything is fine. However the old beamer lyx files with that
produces latex errors.

What is the bug you refer to? 

> If you have any problem with convertions from previous version please report 
> them here. 

Thanks
Best regards





Re: configure default paragraph alignment

2007-10-12 Thread Richard Heck

Marcelo Acuña wrote:

--- Richard Heck <[EMAIL PROTECTED]> escribió:
  
Excuse me Richard,

 You said that I can change align in Lyx screen?
  
Yes, you can change the way the alignment appears on the screen in LyX 
by editing the layout files, which you'll find in (e.g.) 
/usr/share/lyx/layouts/. Copy these to your local LyX directory (e.g., 
/home/marcelo/.lyx/layouts/) and so as you wish. You may want to change 
the filename to something else, and change the first line of the layout 
file, so your changes appear as a new choice in Document>Settings rather 
than over-writing an old one. See the Customization manual for the details.


rh



Nested environments in LyX?

2007-10-12 Thread Steve Litt
Hi all,

You can nest environments within LaTeX:

\begin{parent}
\begin{child}Kid #1\end{child}
\begin{child}Kid #2\end{child}
\begin{child}Kid #3\end{child}
\end{parent}

Can you do that also within the normal LyX user interface? If so, how?

Thanks

StevET
 
Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


What's the problem with encoding?

2007-10-12 Thread Armando Duarte Senra Martins

Hello!

I am trying to get through with Latex using Lyx to type a document in
portuguese.
I had a document previously typed with a WYSIWYG. When I imported it to
Lyx lots af characters were lost. So I had to do find & replace to restore
de accented characters.
I tried many options: switched betweenn
\usepackage[iso-8859-1]{oberdiek}
\usepackage[latin1]{inputenc}
\usepackage[utf-8]{inputenc}

I even tried to change the setting s of the document (changing language to
portuguese and encondint to UTF-8)

In every case I ended up with the same message (latin1.sty not found)
I have tried to do the same with another processor the result was the same.
I have MiKTeX installed (Windows XP).

Thanks for your help.

Armando Duarte Senra Martins
Universidade de Évora
Departamento de Linguística e Literaturas
Ap. 94
7002-554 ÉVORA



Re: New docs on making your own list

2007-10-12 Thread Christian Liesen

Steve Litt wrote:
I just wrote a document on making your own lists in LaTeX. Here 
it is:


http://www.troubleshooters.com/linux/lyx/ownlists.htm
  

Many thanks for sharing this!

-- Christian


More on nesting environments

2007-10-12 Thread Steve Litt
Hi all,

Within LyX, I put in a list environment for several paragraphs, and within 
those, nested one itemize paragraph, as shown below:
===
#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Standard
Steve was here
\end_layout

\begin_layout List
\labelwidthstring 00.00.
and now is gone 
\end_layout

\begin_layout Itemize
but left nis name
\end_layout

\begin_layout List
\labelwidthstring 00.00.
to carry on
\end_layout

\begin_layout Standard
I am the walrus
\end_layout

\end_body
\end_document
===

I exported it to LaTeX, and here's what came out:

===
%% LyX 1.4.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\makeatletter
%% Textclass specific LaTeX commands.
\newenvironment{lyxlist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{#1}
 \setlength{\leftmargin}{\labelwidth}
 \addtolength{\leftmargin}{\labelsep}
 \renewcommand{\makelabel}[1]{##1\hfil}}}
{\end{list}}

\usepackage{babel}
\makeatother
\begin{document}
Steve was here

\begin{lyxlist}{00.00.}
\item [{and}] now is gone 
\end{lyxlist}
\begin{itemize}
\item but left nis name
\end{itemize}
\begin{lyxlist}{00.00.}
\item [{to}] carry on
\end{lyxlist}
I am the walrus
\end{document}
===
 
As you can see, my nesting an itemize paragraph ended the lyxlist environment, 
instead of nesting.

Does anyone know how I can force nesting?

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: More on nesting environments

2007-10-12 Thread Paul A. Rubin

Steve Litt wrote:


Within LyX, I put in a list environment for several paragraphs, and within 
those, nested one itemize paragraph, as shown below:

[snip]
As you can see, my nesting an itemize paragraph ended the lyxlist environment, 
instead of nesting.


Does anyone know how I can force nesting?


With the cursor in the itemize environment you wish to nest, S-M-right 
arrrow or Edit -> Increase List Depth or click the "Increase Depth" tool 
button (looks like a bullet list with an arrow pointing to the right). 
When it's nested, LyX will draw a bracket in the GUI to the left of the 
nested lines to indicate the nesting.


/Paul



Re: Nested environments in LyX?

2007-10-12 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

You can nest environments within LaTeX:

\begin{parent}
\begin{child}Kid #1\end{child}
\begin{child}Kid #2\end{child}
\begin{child}Kid #3\end{child}
\end{parent}

Can you do that also within the normal LyX user interface? If so, how?



Yes -- see response to your second message (which I read first; I'm a 
bottom-up kind of guy).


/Paul



Re: LyxWinInstaller Update issue

2007-10-12 Thread Uwe Stöhr

Dave Hewitt schrieb:

Can you elaborate on what we need to do to fix our ImageMagick problems 
when we've used the updater. I did and images aren't handled, just as 
you indicate. Should I uninstall LyX 1.5.2 from the Add/Remove Programs 
interface and then just run the small installer for 1.5.2?


Yes, exactly.

regards Uwe