Re: Fwd: Re: subdocuments

2009-04-30 Thread Wolfgang Engelmann
Am Wednesday 29 April 2009 21:40:41 schrieb Guenter Milde:
 On 2009-04-29, Wolfgang Engelmann wrote:
   I am still struggling with a book document. To make it easier to find
   errors I tried to use 21 subdocuments (1 for the title and intro, 20
   for the 20 chapters)
 
  This is strange:
  I found, that one of the chapters (in a subdocument) contains an error
  (pdfendlink ended up in different nesting level than \pd).
 
  Now if I run this chapter separately (that is not using the master
  document db0) it works.

 If run separately, the doc will use its own DocumentSettings, if the
 master is compiled, the childrens DocumentSettings are ignored.
 Maybe looking for the difference will reveal the source of the error.
I have used the same Documentsettings in all subdocuments,
but your proposal with an external file is much better and I will use it from 
now on. 
I guess it has to do with the aux file being used differently if I use the 
whole document (starting with the master docu) versus just a chapter sub-docu

  I have started to divide the chapter in two subdocuments, and know
  already the error is in the second one (and the second one alone runs
  also without error), but do not understand the whole affair. My idea of
  using this subdocument bussiness was to be able to find in the
  subdocument possible errors faster, but that is apparantly not the
  case.
continuing this I found out that the error was due to a reference. But it 
can't be the reference itself, since the same one is used at another place 
without giving troubles. There were two further references in front of it; 
moving it to the begin of the three citations in a row did not help. I put it 
in a note for the time being until I find a solution. I remember that this 
occurs apparently occassionaly in a koma-book-setting with two columns. 

 The whole thing gets more complicated, so your mileage may vary...

Fortunately I made a good mileage

  Since I have used separate chapters, there should be no influence
  from or to the appending chapters (in koma book there are empty pages
  between chapters). Could it be related to the input/ instead of
  include- way of calling the subdirectories from the master??? Any idea?

 I don't think input vs. include will have an influence here. However,
 compiling stand-alone chapters vs. the maste might have.

 To make sure the custom LaTeX preamble is identic (and changes are
 reflected in every chapter), I use an external file (preamble.tex) and
 write in the DocumentSettings:Preamble \input{preamble.tex} (or
 \input{../preamble.tex} if the chapter is in a subdirectory).

   (2) Is input correct for the koma-book style or should I use include?

 Input is correct.

 Günter

I appreciated your help and the one of others very much. 

Wolfgang


Re: Automatic upper case for citation? (using BibLaTeX)

2009-04-30 Thread Charles de Miramon
Piero Faustini wrote:


 
 Thanks.
 There's already a issue open in BibLaTeX:
 http://sourceforge.net/tracker/?
 func=detailaid=2460100group_id=244752atid=1126005
 
 The issue is about the DVI and PDF output differ. In fact, I also get the
 wrong upper caps after a dot in a PDF, while it is OK in DVI. For the
 wrong small caps, both don't work.
 
 Piero

The difference between the DVI and the PDF outputs is very strange. If you 
could make a small self inclosed latex example, you should add it to the 
tracker.

Charles

-- 
http://www.kde-france.org




Re: Using LyX for writing a very long manual

2009-04-30 Thread Wolfgang Keller
Hello,

 But before I start writing, I'd like to ask if there are any good
 resources on using LyX for writing what is essentially a book on
 programming.

You'd probably want to have a look at koma-script:

ftp://ftp.dante.de/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf

Sincerely,

Wolfgang


Re: Automatic upper case for citation? (using BibLaTeX)

2009-04-30 Thread Piero Faustini

 The difference between the DVI and the PDF outputs is very strange. If you 
 could make a small self inclosed latex example, you should add it to the 
 tracker.

Ok, some diagnostic done.
1. It's not that the DVI (as well as PS) output works, but the opposite: It 
actually doesn't work after a full stop, and ONLY for Ib. (Id. works).
2. This malfunction is caused by the hyperref package. If I omit  this, 
everything work (bad) as before.
3. The Ibidem/Idem capitalization problem is still there.

I have this file:



%% 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[italian]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{1}
\setcounter{tocdepth}{3}

%% User specified LaTeX commands.
%\widowpenalty=1
%\clubpenalty=1
\usepackage[babel]{csquotes} 
\usepackage[natbib=true,style=verbose-trad2,sorting=nyt,hyperref=true, 
backref=true, strict=false]{biblatex}

\bibliography{F:/DiLavoro/Tesi/TesiUTF}

\usepackage[unicode=true]
 {hyperref}

\usepackage{babel}

\begin{document}
prova%
\footnote{\citet{FaustiniBraga}; \citet{FaustiniSoleraBiografia}; 
\citet{FaustiniTesiSolera}%
} prova%
\footnote{\citet{FaustiniTesiSolera}; cfr. \citet{FaustiniTesiSolera}; cfr.\ 
\citet{FaustiniTesiSolera};
cfr.\ \citet{FaustiniSoleraBiografia}; cfr. \citet{FaustiniTesiSolera};
\citet{FaustiniBraga};.%
}
\printbibliography
\end{document}





with the TesiUTF.bib (which is not UTF-encoded actually...) file:



@phdthesis{
FaustiniTesiSolera,
   Author = {Faustini, Piero},
   Title = {Il libretto romantico come testo d'uso: indagine sui melodrammi di 
Temistocle Solera (1816ca. - 1878), poeta e compositore},
   ShortTitle = {Il libretto romantico come testo d'uso},
   School = {Università di Bologna},
   Type = {Tesi di Laurea in Drammaturgia musicale},
  Year = {2003} }



@inproceedings{
FaustiniBraga,
   Author = {Faustini, Piero},
   Title = {Ruy Blas tra  drame e mélodrame: un inedito rivale per il successo 
internazionale di Filippo Marchetti},
   ShortTitle = {Ruy Blas tra  drame e mélodrame: un inedito rivale per il 
successo internazionale di Filippo Marchetti},
   BookTitle = {Gaetano braga, un musicista europeo},
   Address= {Varenna},
  Year = {2007} }



@article{
FaustiniSoleraBiografia,
   Author = {Faustini, Piero},
   Title = {Vita e melodramma: Temistocle Solera (1815-1878)},
   ShortTitle = {Vita e melodramma: Temistocle Solera (1815-1878)},
   Journal = {Annali Online - Lettere - Università degli studi di Ferrara},
   Pages = {25},
  Year = {2009} }
















Boxed multiline formula

2009-04-30 Thread Luca Carlon
Hi! I'm facing this problem: I would like to write long equations (two or even
three lines are needed) in which (possibly) each line is center aligned in the
page and so that it is possible to box them all together. Moreover I really need
to have one reference number only (not one for each line). Is this possible? I
tried reading the manual but the methods I read about multiline equations seem
not to fit my needs. I have a Tex code which does almost this (it lacks the
center alignment), but I would like to know if it is possible to do this without
the code to have the good looking equation, and not the inline code :-). Is this
possible?
Thanks guys!



Re: text styles

2009-04-30 Thread Helge Hafting

Drew Kime wrote:

2009/4/28 Steve Litt sl...@troubleshooters.com


Lyx has an option to specify a typewriter face. Simply highlight the

text,

click on Edit-Text Style-Customized, and under Family select
Typewriter. Then check what it does to the code, and do a global replace

to

get all occurrences.

You can do that, but in my opinion it's a bad idea because the text should
be
Typewriter for some specific reason. There could be several parts that are
Typewriter faced for different reasons, and once you say typewriter face,
you've put them all in one bucket. If you use character styles instead,
then
if later you decide a certain category should also be boldface, you can do
that.



In principle I agree with you. But I've found designing my own type styles
somewhat less than user friendly. I'm sure it's one of those things that,
once learned, seems second nature. But the learning curve is pretty steep.


Indeed, but it might be worth it for an entire book.
Now while lyx styles may be hard to make for the average word processor 
user. I don't think it is so hard for someone who already understands 
and can deal with latex.


Helge Hafting


Re: Using LyX for writing a very long manual

2009-04-30 Thread Helge Hafting

Thomas Løcke wrote:

Hey,

I'm about to start the process of writing the 2nd edition of a fairly
long (+150 A4 pages) internal manual. It's about a set of software
systems and programming practices in my business. The 1st edition was
written using OpenOffice. I remember spending a lot of time trying to
make things look good, and when I'm reading the manual today, I'm
constantly reminded of how hard I failed at that.  :o)

So for this 2nd edition, I've been looking for some better tools, and
this has brought me to LyX. I've installed LyX and TexLive on my
Slackware 12.1 system, and I've tinkered some with it. It appears to
be *exactly* what I'm looking for.

Yes, LyX ought to be the right tool for making a book look good. And 
size will not be a problem.


Many like to use one file per chapter. Lyx can handle a single 150-page 
document, but you may get tired of scrolling around in it.



But before I start writing, I'd like to ask if there are any good
resources on using LyX for writing what is essentially a book on
programming. I'd really like to avoid painting myself into a corner,
like I did with OpenOffice.


Spend some time in the beginning, finding out how you want to do things. 
This so you don't have to re-do a lot of stuff. For example, lets say 
you need code examples in your book on programming practices. Should 
code examples exist inside the LyX file, or should LyX pull lines of 
code from real source files? The former approach gives you all in one 
document, the latter approach means you can change your code and the 
document is updated automatically. (No need to sync the document with 
code revisions.)


Figure out what kind of numbering scheme you want for sectioning. See if 
you have something special, like: per-chapter TOCs, a special font or 
customized running headers.


Skim through the user guide (and all the other help documents), look for 
things that could be useful. The listing package can do automatic syntax 
highlighting and numbering of code lines, for example.


After a while, you have everything way you want in a 3-4 page test 
book that contains all the types of material and formatting you plan on 
using. The book can then be finished almost as fast as you can come up 
with material. There is normally very little tweaking to do in the end.


If you feel a need to do tweaks like an occational manual page break, 
don't do it until the book is finished. Otherwise, you risk disrupting 
such tweaks if you edit any content earlier in the book. Ideally, there 
shouldn't be any manual breaks but they are handy occationally.


Helge Hafting



Re: How to change Lyx numbering styles with modules

2009-04-30 Thread Guenter Milde
On 2009-04-21, Stefano Franchi wrote:

 I am trying to write a few very simple modules that will change the
 labels Lyx displays for sectioning and enumerate environments to
 reflect the final output. However, I cannot figure out how to do it.

 For instance, let's say that I want to redefine subsubsections to show
 just the subsubsection number followed by a period with this
 declaration:

 \renewcommand\thesubsubsection{\arabic{subsubsection}.}

 I thought I could put this bit of code in a module within the AddToPreamble 
 block and then change the actual appearance within Lyx in the Style 
 Subsubsection block. But I am stumped. The relevant style block in the 
 standard file stdsections.inc shows:


 Style Subsubsection
 CopyStyle Subsection
 LabelCountersubsubsection
 TocLevel  3
 LatexName subsubsection
 TopSep0.7
 BottomSep 0.4
 Font
   Series  Bold
   SizeNormal
 EndFont
 End

 which I assume means that the label is produced from the Latex label 
 subsubsection.  Since I just instructed LyX to redefine it, shouldn't
 LyX pick up the correct label?

It means (to you) that the label corresponds to subsubsection, but
LyX cannot parse the LaTeX definitions and does its own counting.

Unfortunately, the possibilities to configure LyX counters are limited
(at least the ones documented in the Customization guide). (I did not
find a way to generate correct labels for the continuing enumeration in
the enumitem module.)

 What should I change in the LabelCounter field of that block to produce
 the proper label? I am clearly missing something about how modules work
 (or, rather, LyX).  Reading the Customization manual did not provide
 any enlightenment.

My knowledge in this field is limited as well.
Asking in the LyX devel list might help.

Günter




Re: Fwd: Re: subdocuments

2009-04-30 Thread Guenter Milde
On 2009-04-30, Wolfgang Engelmann wrote:
 Am Wednesday 29 April 2009 21:40:41 schrieb Guenter Milde:
 On 2009-04-29, Wolfgang Engelmann wrote:

 continuing this I found out that the error was due to a reference. But it 
 can't be the reference itself, since the same one is used at another place 
 without giving troubles. 

Maybe it is an error that only manifests itself at certain places in the
document.

 There were two further references in front of it; moving it to the
 begin of the three citations in a row did not help. I put it in a note
 for the time being until I find a solution. I remember that this 
 occurs apparently occassionaly in a koma-book-setting with two columns.

It would be nice if you could construct a minimal example showing the
problem.

Günter



Re: How to update to 1.6.2?

2009-04-30 Thread Piero Faustini
Pablo pa...@... writes:

 
 Excuse me for this noob question.
 
 I have Lyx 1.6.1 under Windows. I want to update to 1.6.2. What is the way to 
do
 this? I have to download the new version and install and the installer update
 Lyx automatically?
 
 Thanks!
 
 

You have ti download LyX 1.6.2
I don't know if it will uninstall 1.6.1 automagically
Perhaps you want to uninstall it before. I think it doesn't delete yuour 
settings, but you may want to have a backup of the settings folder.

Piero



Re: Automatic upper case for citation? (using BibLaTeX)

2009-04-30 Thread Dominik Waßenhoven
Piero Faustini wrote:

 Ok, some diagnostic done.
 3. The Ibidem/Idem capitalization problem is still there.

Regarding upper case after dots in strings like 'ibid.' etc.: You have
to use the optional argument to the cite command for this, e.g.
\cite[cfr.][]{FaustiniBraga}, then 'ibid.' or 'id.' don't get
capitalized. You can also achieve this from within LyX. See the
documents (both .lyx and .bib) below:

8---[ LyX file ]---8
#LyX 1.6.2 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble
% Literatur %
\usepackage{babel,csquotes}
\usepackage[%
  natbib=true,
  style=verbose-trad2,
  sorting=nyt,
  hyperref=true,
  backref=true,
  strict=false]{biblatex}
\bibliography{testbib}
\end_preamble
\options DIV=calc
\use_default_options true
\begin_modules
biblatex
\end_modules
\language italian
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\pdf_author Dominik Waßenhoven
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 2
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine natbib_authoryear
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language danish
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Itemize
First citation.
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand citealp
key book,article

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Wrong: 
\begin_inset Foot
status open

\begin_layout Plain Layout
Cfr.
 
\begin_inset CommandInset citation
LatexCommand citealp
key article

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Right: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand citealp
before Cfr.
key article

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Force uppercase: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand Citealp
key article

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Same with idem: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand Citealp
key book

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Again idem, with string before: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand citealp
after 23
before Cfr.
key article

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Note Note
status open

\begin_layout Plain Layout
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles testbib
options plain

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document
8--8

8-[ testbib.bib ]-8
@ARTICLE{article,
  author = {Nachname, Vorname},
  title = {Titel des Zeitschriftenartikels},
  journal = {Zeitschrift},
  year = {2006},
  volume = {6},
  pages = {19--75}
}
@BOOK{book,
  author = {Nachname, Vorname},
  title = {Irgendein Buch},
  address = {Buch am Wald},
  year = {2000}
}
8-8

Regards,
Dominik.-



Re: text styles

2009-04-30 Thread Guenter Milde
On 2009-04-30, Helge Hafting wrote:
 Drew Kime wrote:

 ... I've found designing my own type styles somewhat less than user
 friendly. I'm sure it's one of those things that, once learned, seems
 second nature. But the learning curve is pretty steep.

 Indeed, but it might be worth it for an entire book.
 Now while lyx styles may be hard to make for the average word processor 
 user. I don't think it is so hard for someone who already understands 
 and can deal with latex.

My advice is to use an existing module (e.g. logicalmkup.module) as
starting point. There is a whole selection under LYXDIR/layout/ (where
LYXDIR is a system/installation dependent location, e.g.
/usr/share/lyx/).

Günter



Re: Boxed multiline formula

2009-04-30 Thread James C. Sutherland


On Apr 30, 2009, at 4:06 AM, Luca Carlon wrote:

Hi! I'm facing this problem: I would like to write long equations  
(two or even
three lines are needed) in which (possibly) each line is center  
aligned in the

page and so that it is possible to box them all together.

I have never figured out how to do this for an eqnarray environment -  
only in a regular equation.  One possibility would be to use a  
minipage and frame it.  This doesn't look to great, however...


Moreover I really need
to have one reference number only (not one for each line). Is this  
possible?


You can just assign a number to one line (e.g. the last line) in the  
equation.  Within the equation, choose Edit-Math-Number This Line


I
tried reading the manual but the methods I read about multiline  
equations seem
not to fit my needs. I have a Tex code which does almost this (it  
lacks the
center alignment), but I would like to know if it is possible to do  
this without
the code to have the good looking equation, and not the inline  
code :-). Is this

possible?
Thanks guys!


See attached for an example.


equation.lyx
Description: Binary data


equation.pdf
Description: Adobe PDF document


spell check as you type

2009-04-30 Thread protosslee
i've read some posts back to 2003 requesting spell check as you type function.
Is there any updates that has this patch? 



Re: Boxed multiline formula

2009-04-30 Thread Luca Carlon
James C. Sutherland james.sutherl...@... writes:

 I have never figured out how to do this for an eqnarray environment -  
 only in a regular equation.  One possibility would be to use a  
 minipage and frame it.  This doesn't look to great, however...

Well... better than nothing! Unfortunately the box is far larger than the
equation. This is somehow different from the appearance of \boxed.

 
  Moreover I really need
  to have one reference number only (not one for each line). Is this  
  possible?
 
 You can just assign a number to one line (e.g. the last line) in the  
 equation.  Within the equation, choose Edit-Math-Number This Line

Oh, ok. My problem was that number appeared on each line (not the same number).
This is ok.
Thank you very much!



Re: 1.6.2 Spelling Check Issue

2009-04-30 Thread Doug Laidlaw
On Tuesday 28 April 2009 11:17:27 pm Rich Shepard wrote:
 On Tue, 28 Apr 2009, Rich Shepard wrote:
  However, since aspell is used in other text editors (emacs, joe), I'm
  sure it must be somewhere on the system. I'll see if I can identify the
  file name.

And there it is ~/.aspell.en.pws.

 Thanks for the pointer,

 Rich

Looking art my .aspell.en.pws, I see that words have been added in the case 
they were in when I added them.  The Linux Cookbook says that if you want 
them to be accepted regardless of case, make them lower case.  I am not sure 
where that leaves UXBRIDGE, a place name with a capital initial in normal 
text.

HTH your editing.

Doug.



Re: Boxed multiline formula

2009-04-30 Thread James C. Sutherland


On Apr 30, 2009, at 8:12 AM, Luca Carlon wrote:


James C. Sutherland james.sutherl...@... writes:


I have never figured out how to do this for an eqnarray environment -
only in a regular equation.  One possibility would be to use a
minipage and frame it.  This doesn't look to great, however...


Well... better than nothing! Unfortunately the box is far larger  
than the

equation. This is somehow different from the appearance of \boxed.

You can change the size of the box - right click and choose settings  
and change the width.  Unfortunately, you have to do this manually -  
I don't know how to get the box to fit tightly around a multiline  
equation like \boxed does in math mode...




Re: Boxed multiline formula

2009-04-30 Thread Uwe Stöhr

Luca Carlon schrieb:

I have never figured out how to do this for an eqnarray environment -  
only in a regular equation.  One possibility would be to use a  
minipage and frame it.  This doesn't look to great, however...


Well... better than nothing! Unfortunately the box is far larger than the
equation. This is somehow different from the appearance of \boxed.


There are examples about boxed formulas in sec.9 of LyX's Math manual that you 
find in the Help menu.

regards Uwe


Re: text styles

2009-04-30 Thread Drew Kime
On Thu, Apr 30, 2009 at 8:50 AM, Guenter Milde mi...@users.berlios.dewrote:

 My advice is to use an existing module (e.g. logicalmkup.module) as
 starting point. There is a whole selection under LYXDIR/layout/ (where
 LYXDIR is a system/installation dependent location, e.g.
 /usr/share/lyx/).


Does anyone know of a tool that helps in the building of new styles? I've
learned enough Latex to tweak existing styles, etc. but I'm a writer, not a
typesetter. I know my book looks better when I use Lyx/Latex than with
something like OpenOffice, so I'll keep using it. Still, every time I have
to dig into Latex code to change a style, I think about how easy that is to
do in OOo.

Thanks in advance for any pointers.

Drew


Re: text styles

2009-04-30 Thread Richard Heck

Drew Kime wrote:

On Thu, Apr 30, 2009 at 8:50 AM, Guenter Milde mi...@users.berlios.dewrote:

  

My advice is to use an existing module (e.g. logicalmkup.module) as
starting point. There is a whole selection under LYXDIR/layout/ (where
LYXDIR is a system/installation dependent location, e.g.
/usr/share/lyx/).




Does anyone know of a tool that helps in the building of new styles? I've
learned enough Latex to tweak existing styles, etc. but I'm a writer, not a
typesetter. I know my book looks better when I use Lyx/Latex than with
something like OpenOffice, so I'll keep using it. Still, every time I have
to dig into Latex code to change a style, I think about how easy that is to
do in OOo.

  
This is an often requested new feature. At the moment, the best tool is 
this mailing list. Ask away.


rh



Re: Lyx Page Numbering Location

2009-04-30 Thread Marcelo Acuña


 Thank you very Much Marcelo, and I'm sorry about that.
 
 Actually I'm new on Latex as well as in LYX, just
 trying to get ride of Microsoft Word
 
 I will study a little more about this commands,
 
 No problem. I was making an explanation.
 Regards.
Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: Boxed multiline formula

2009-04-30 Thread Uwe Stöhr

James C. Sutherland schrieb:

I have never figured out how to do this for an eqnarray environment - 
only in a regular equation.


I attached some examples using the infos from the Math manual.

regards Uwe


newfile1.lyx
Description: application/lyx


Beamer Class: allowframebreaks

2009-04-30 Thread Rich Shepard

  Using LyX-1.6.2 and beamer-3.07, how do I now specify the frame option,
allowframebreaks?

  I see a menu option of AgainFrame but no explanation of what that does,
where to put the command, or other information in the extended features docs
For that matter, I saw nothing on the beamer class in the extended features
doc.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Sporatic 1.6.2 Crash

2009-04-30 Thread Rich Shepard

  Running 1.6.2 on Slackware-12.2 here. Most of the time when I press the
[Home] key, the cursor is moved to the top of the buffer. However, three
times now (on two different documents), pressing [Home] causes instant
shutdown of the application without an .emergency save. PITA!

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Lyx cannot convert LaTeX files

2009-04-30 Thread JAHules
I just installed Lyx but can't get it to import .tex files. I always get 
this error message:


   LyX: Cannot convert file
   An error occurred whilst running tex2lyx -f *.tex *.lyx

Any ideas?

John Hules

--
John Hules
Science Writer/Editor
Ernest Orlando Lawrence
Berkeley National Laboratory
1 Cyclotron Road, MS 50F1650 
Berkeley, CA 94720

Phone: 510-486-6008
Fax:   510-486-5812
Email: jahu...@lbl.gov
Location: Bldg. 50F Rm. 1613



Re: Lyx cannot convert LaTeX files

2009-04-30 Thread Rich Shepard

On Thu, 30 Apr 2009, JAHules wrote:

I just installed Lyx but can't get it to import .tex files. I always get this 
error message:


  LyX: Cannot convert file
  An error occurred whilst running tex2lyx -f *.tex *.lyx

Any ideas?


John,

  What OS? What version of LyX? How was the .tex file created?

  What does the log file contain?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Lyx cannot convert LaTeX files

2009-04-30 Thread Uwe Stöhr

JAHules schrieb:

I just installed Lyx but can't get it to import .tex files. I always get 
this error message:


Can you please provide more infos. What is you OS, how have you installed LyX?

regards Uwe


Re: Fwd: Re: subdocuments

2009-04-30 Thread Wolfgang Engelmann
Am Wednesday 29 April 2009 21:40:41 schrieb Guenter Milde:
 On 2009-04-29, Wolfgang Engelmann wrote:
   I am still struggling with a book document. To make it easier to find
   errors I tried to use 21 subdocuments (1 for the title and intro, 20
   for the 20 chapters)
 
  This is strange:
  I found, that one of the chapters (in a subdocument) contains an error
  (pdfendlink ended up in different nesting level than \pd).
 
  Now if I run this chapter separately (that is not using the master
  document db0) it works.

 If run separately, the doc will use its own DocumentSettings, if the
 master is compiled, the childrens DocumentSettings are ignored.
 Maybe looking for the difference will reveal the source of the error.
I have used the same Documentsettings in all subdocuments,
but your proposal with an external file is much better and I will use it from 
now on. 
I guess it has to do with the aux file being used differently if I use the 
whole document (starting with the master docu) versus just a chapter sub-docu

  I have started to divide the chapter in two subdocuments, and know
  already the error is in the second one (and the second one alone runs
  also without error), but do not understand the whole affair. My idea of
  using this subdocument bussiness was to be able to find in the
  subdocument possible errors faster, but that is apparantly not the
  case.
continuing this I found out that the error was due to a reference. But it 
can't be the reference itself, since the same one is used at another place 
without giving troubles. There were two further references in front of it; 
moving it to the begin of the three citations in a row did not help. I put it 
in a note for the time being until I find a solution. I remember that this 
occurs apparently occassionaly in a koma-book-setting with two columns. 

 The whole thing gets more complicated, so your mileage may vary...

Fortunately I made a good mileage

  Since I have used separate chapters, there should be no influence
  from or to the appending chapters (in koma book there are empty pages
  between chapters). Could it be related to the input/ instead of
  include- way of calling the subdirectories from the master??? Any idea?

 I don't think input vs. include will have an influence here. However,
 compiling stand-alone chapters vs. the maste might have.

 To make sure the custom LaTeX preamble is identic (and changes are
 reflected in every chapter), I use an external file (preamble.tex) and
 write in the DocumentSettings:Preamble \input{preamble.tex} (or
 \input{../preamble.tex} if the chapter is in a subdirectory).

   (2) Is input correct for the koma-book style or should I use include?

 Input is correct.

 Günter

I appreciated your help and the one of others very much. 

Wolfgang


Re: Automatic upper case for citation? (using BibLaTeX)

2009-04-30 Thread Charles de Miramon
Piero Faustini wrote:


 
 Thanks.
 There's already a issue open in BibLaTeX:
 http://sourceforge.net/tracker/?
 func=detailaid=2460100group_id=244752atid=1126005
 
 The issue is about the DVI and PDF output differ. In fact, I also get the
 wrong upper caps after a dot in a PDF, while it is OK in DVI. For the
 wrong small caps, both don't work.
 
 Piero

The difference between the DVI and the PDF outputs is very strange. If you 
could make a small self inclosed latex example, you should add it to the 
tracker.

Charles

-- 
http://www.kde-france.org




Re: Using LyX for writing a very long manual

2009-04-30 Thread Wolfgang Keller
Hello,

 But before I start writing, I'd like to ask if there are any good
 resources on using LyX for writing what is essentially a book on
 programming.

You'd probably want to have a look at koma-script:

ftp://ftp.dante.de/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf

Sincerely,

Wolfgang


Re: Automatic upper case for citation? (using BibLaTeX)

2009-04-30 Thread Piero Faustini

 The difference between the DVI and the PDF outputs is very strange. If you 
 could make a small self inclosed latex example, you should add it to the 
 tracker.

Ok, some diagnostic done.
1. It's not that the DVI (as well as PS) output works, but the opposite: It 
actually doesn't work after a full stop, and ONLY for Ib. (Id. works).
2. This malfunction is caused by the hyperref package. If I omit  this, 
everything work (bad) as before.
3. The Ibidem/Idem capitalization problem is still there.

I have this file:



%% 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[italian]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{1}
\setcounter{tocdepth}{3}

%% User specified LaTeX commands.
%\widowpenalty=1
%\clubpenalty=1
\usepackage[babel]{csquotes} 
\usepackage[natbib=true,style=verbose-trad2,sorting=nyt,hyperref=true, 
backref=true, strict=false]{biblatex}

\bibliography{F:/DiLavoro/Tesi/TesiUTF}

\usepackage[unicode=true]
 {hyperref}

\usepackage{babel}

\begin{document}
prova%
\footnote{\citet{FaustiniBraga}; \citet{FaustiniSoleraBiografia}; 
\citet{FaustiniTesiSolera}%
} prova%
\footnote{\citet{FaustiniTesiSolera}; cfr. \citet{FaustiniTesiSolera}; cfr.\ 
\citet{FaustiniTesiSolera};
cfr.\ \citet{FaustiniSoleraBiografia}; cfr. \citet{FaustiniTesiSolera};
\citet{FaustiniBraga};.%
}
\printbibliography
\end{document}





with the TesiUTF.bib (which is not UTF-encoded actually...) file:



@phdthesis{
FaustiniTesiSolera,
   Author = {Faustini, Piero},
   Title = {Il libretto romantico come testo d'uso: indagine sui melodrammi di 
Temistocle Solera (1816ca. - 1878), poeta e compositore},
   ShortTitle = {Il libretto romantico come testo d'uso},
   School = {Università di Bologna},
   Type = {Tesi di Laurea in Drammaturgia musicale},
  Year = {2003} }



@inproceedings{
FaustiniBraga,
   Author = {Faustini, Piero},
   Title = {Ruy Blas tra  drame e mélodrame: un inedito rivale per il successo 
internazionale di Filippo Marchetti},
   ShortTitle = {Ruy Blas tra  drame e mélodrame: un inedito rivale per il 
successo internazionale di Filippo Marchetti},
   BookTitle = {Gaetano braga, un musicista europeo},
   Address= {Varenna},
  Year = {2007} }



@article{
FaustiniSoleraBiografia,
   Author = {Faustini, Piero},
   Title = {Vita e melodramma: Temistocle Solera (1815-1878)},
   ShortTitle = {Vita e melodramma: Temistocle Solera (1815-1878)},
   Journal = {Annali Online - Lettere - Università degli studi di Ferrara},
   Pages = {25},
  Year = {2009} }
















Boxed multiline formula

2009-04-30 Thread Luca Carlon
Hi! I'm facing this problem: I would like to write long equations (two or even
three lines are needed) in which (possibly) each line is center aligned in the
page and so that it is possible to box them all together. Moreover I really need
to have one reference number only (not one for each line). Is this possible? I
tried reading the manual but the methods I read about multiline equations seem
not to fit my needs. I have a Tex code which does almost this (it lacks the
center alignment), but I would like to know if it is possible to do this without
the code to have the good looking equation, and not the inline code :-). Is this
possible?
Thanks guys!



Re: text styles

2009-04-30 Thread Helge Hafting

Drew Kime wrote:

2009/4/28 Steve Litt sl...@troubleshooters.com


Lyx has an option to specify a typewriter face. Simply highlight the

text,

click on Edit-Text Style-Customized, and under Family select
Typewriter. Then check what it does to the code, and do a global replace

to

get all occurrences.

You can do that, but in my opinion it's a bad idea because the text should
be
Typewriter for some specific reason. There could be several parts that are
Typewriter faced for different reasons, and once you say typewriter face,
you've put them all in one bucket. If you use character styles instead,
then
if later you decide a certain category should also be boldface, you can do
that.



In principle I agree with you. But I've found designing my own type styles
somewhat less than user friendly. I'm sure it's one of those things that,
once learned, seems second nature. But the learning curve is pretty steep.


Indeed, but it might be worth it for an entire book.
Now while lyx styles may be hard to make for the average word processor 
user. I don't think it is so hard for someone who already understands 
and can deal with latex.


Helge Hafting


Re: Using LyX for writing a very long manual

2009-04-30 Thread Helge Hafting

Thomas Løcke wrote:

Hey,

I'm about to start the process of writing the 2nd edition of a fairly
long (+150 A4 pages) internal manual. It's about a set of software
systems and programming practices in my business. The 1st edition was
written using OpenOffice. I remember spending a lot of time trying to
make things look good, and when I'm reading the manual today, I'm
constantly reminded of how hard I failed at that.  :o)

So for this 2nd edition, I've been looking for some better tools, and
this has brought me to LyX. I've installed LyX and TexLive on my
Slackware 12.1 system, and I've tinkered some with it. It appears to
be *exactly* what I'm looking for.

Yes, LyX ought to be the right tool for making a book look good. And 
size will not be a problem.


Many like to use one file per chapter. Lyx can handle a single 150-page 
document, but you may get tired of scrolling around in it.



But before I start writing, I'd like to ask if there are any good
resources on using LyX for writing what is essentially a book on
programming. I'd really like to avoid painting myself into a corner,
like I did with OpenOffice.


Spend some time in the beginning, finding out how you want to do things. 
This so you don't have to re-do a lot of stuff. For example, lets say 
you need code examples in your book on programming practices. Should 
code examples exist inside the LyX file, or should LyX pull lines of 
code from real source files? The former approach gives you all in one 
document, the latter approach means you can change your code and the 
document is updated automatically. (No need to sync the document with 
code revisions.)


Figure out what kind of numbering scheme you want for sectioning. See if 
you have something special, like: per-chapter TOCs, a special font or 
customized running headers.


Skim through the user guide (and all the other help documents), look for 
things that could be useful. The listing package can do automatic syntax 
highlighting and numbering of code lines, for example.


After a while, you have everything way you want in a 3-4 page test 
book that contains all the types of material and formatting you plan on 
using. The book can then be finished almost as fast as you can come up 
with material. There is normally very little tweaking to do in the end.


If you feel a need to do tweaks like an occational manual page break, 
don't do it until the book is finished. Otherwise, you risk disrupting 
such tweaks if you edit any content earlier in the book. Ideally, there 
shouldn't be any manual breaks but they are handy occationally.


Helge Hafting



Re: How to change Lyx numbering styles with modules

2009-04-30 Thread Guenter Milde
On 2009-04-21, Stefano Franchi wrote:

 I am trying to write a few very simple modules that will change the
 labels Lyx displays for sectioning and enumerate environments to
 reflect the final output. However, I cannot figure out how to do it.

 For instance, let's say that I want to redefine subsubsections to show
 just the subsubsection number followed by a period with this
 declaration:

 \renewcommand\thesubsubsection{\arabic{subsubsection}.}

 I thought I could put this bit of code in a module within the AddToPreamble 
 block and then change the actual appearance within Lyx in the Style 
 Subsubsection block. But I am stumped. The relevant style block in the 
 standard file stdsections.inc shows:


 Style Subsubsection
 CopyStyle Subsection
 LabelCountersubsubsection
 TocLevel  3
 LatexName subsubsection
 TopSep0.7
 BottomSep 0.4
 Font
   Series  Bold
   SizeNormal
 EndFont
 End

 which I assume means that the label is produced from the Latex label 
 subsubsection.  Since I just instructed LyX to redefine it, shouldn't
 LyX pick up the correct label?

It means (to you) that the label corresponds to subsubsection, but
LyX cannot parse the LaTeX definitions and does its own counting.

Unfortunately, the possibilities to configure LyX counters are limited
(at least the ones documented in the Customization guide). (I did not
find a way to generate correct labels for the continuing enumeration in
the enumitem module.)

 What should I change in the LabelCounter field of that block to produce
 the proper label? I am clearly missing something about how modules work
 (or, rather, LyX).  Reading the Customization manual did not provide
 any enlightenment.

My knowledge in this field is limited as well.
Asking in the LyX devel list might help.

Günter




Re: Fwd: Re: subdocuments

2009-04-30 Thread Guenter Milde
On 2009-04-30, Wolfgang Engelmann wrote:
 Am Wednesday 29 April 2009 21:40:41 schrieb Guenter Milde:
 On 2009-04-29, Wolfgang Engelmann wrote:

 continuing this I found out that the error was due to a reference. But it 
 can't be the reference itself, since the same one is used at another place 
 without giving troubles. 

Maybe it is an error that only manifests itself at certain places in the
document.

 There were two further references in front of it; moving it to the
 begin of the three citations in a row did not help. I put it in a note
 for the time being until I find a solution. I remember that this 
 occurs apparently occassionaly in a koma-book-setting with two columns.

It would be nice if you could construct a minimal example showing the
problem.

Günter



Re: How to update to 1.6.2?

2009-04-30 Thread Piero Faustini
Pablo pa...@... writes:

 
 Excuse me for this noob question.
 
 I have Lyx 1.6.1 under Windows. I want to update to 1.6.2. What is the way to 
do
 this? I have to download the new version and install and the installer update
 Lyx automatically?
 
 Thanks!
 
 

You have ti download LyX 1.6.2
I don't know if it will uninstall 1.6.1 automagically
Perhaps you want to uninstall it before. I think it doesn't delete yuour 
settings, but you may want to have a backup of the settings folder.

Piero



Re: Automatic upper case for citation? (using BibLaTeX)

2009-04-30 Thread Dominik Waßenhoven
Piero Faustini wrote:

 Ok, some diagnostic done.
 3. The Ibidem/Idem capitalization problem is still there.

Regarding upper case after dots in strings like 'ibid.' etc.: You have
to use the optional argument to the cite command for this, e.g.
\cite[cfr.][]{FaustiniBraga}, then 'ibid.' or 'id.' don't get
capitalized. You can also achieve this from within LyX. See the
documents (both .lyx and .bib) below:

8---[ LyX file ]---8
#LyX 1.6.2 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble
% Literatur %
\usepackage{babel,csquotes}
\usepackage[%
  natbib=true,
  style=verbose-trad2,
  sorting=nyt,
  hyperref=true,
  backref=true,
  strict=false]{biblatex}
\bibliography{testbib}
\end_preamble
\options DIV=calc
\use_default_options true
\begin_modules
biblatex
\end_modules
\language italian
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\pdf_author Dominik Waßenhoven
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 2
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine natbib_authoryear
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language danish
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Itemize
First citation.
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand citealp
key book,article

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Wrong: 
\begin_inset Foot
status open

\begin_layout Plain Layout
Cfr.
 
\begin_inset CommandInset citation
LatexCommand citealp
key article

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Right: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand citealp
before Cfr.
key article

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Force uppercase: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand Citealp
key article

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Same with idem: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand Citealp
key book

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Again idem, with string before: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand citealp
after 23
before Cfr.
key article

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Note Note
status open

\begin_layout Plain Layout
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles testbib
options plain

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document
8--8

8-[ testbib.bib ]-8
@ARTICLE{article,
  author = {Nachname, Vorname},
  title = {Titel des Zeitschriftenartikels},
  journal = {Zeitschrift},
  year = {2006},
  volume = {6},
  pages = {19--75}
}
@BOOK{book,
  author = {Nachname, Vorname},
  title = {Irgendein Buch},
  address = {Buch am Wald},
  year = {2000}
}
8-8

Regards,
Dominik.-



Re: text styles

2009-04-30 Thread Guenter Milde
On 2009-04-30, Helge Hafting wrote:
 Drew Kime wrote:

 ... I've found designing my own type styles somewhat less than user
 friendly. I'm sure it's one of those things that, once learned, seems
 second nature. But the learning curve is pretty steep.

 Indeed, but it might be worth it for an entire book.
 Now while lyx styles may be hard to make for the average word processor 
 user. I don't think it is so hard for someone who already understands 
 and can deal with latex.

My advice is to use an existing module (e.g. logicalmkup.module) as
starting point. There is a whole selection under LYXDIR/layout/ (where
LYXDIR is a system/installation dependent location, e.g.
/usr/share/lyx/).

Günter



Re: Boxed multiline formula

2009-04-30 Thread James C. Sutherland


On Apr 30, 2009, at 4:06 AM, Luca Carlon wrote:

Hi! I'm facing this problem: I would like to write long equations  
(two or even
three lines are needed) in which (possibly) each line is center  
aligned in the

page and so that it is possible to box them all together.

I have never figured out how to do this for an eqnarray environment -  
only in a regular equation.  One possibility would be to use a  
minipage and frame it.  This doesn't look to great, however...


Moreover I really need
to have one reference number only (not one for each line). Is this  
possible?


You can just assign a number to one line (e.g. the last line) in the  
equation.  Within the equation, choose Edit-Math-Number This Line


I
tried reading the manual but the methods I read about multiline  
equations seem
not to fit my needs. I have a Tex code which does almost this (it  
lacks the
center alignment), but I would like to know if it is possible to do  
this without
the code to have the good looking equation, and not the inline  
code :-). Is this

possible?
Thanks guys!


See attached for an example.


equation.lyx
Description: Binary data


equation.pdf
Description: Adobe PDF document


spell check as you type

2009-04-30 Thread protosslee
i've read some posts back to 2003 requesting spell check as you type function.
Is there any updates that has this patch? 



Re: Boxed multiline formula

2009-04-30 Thread Luca Carlon
James C. Sutherland james.sutherl...@... writes:

 I have never figured out how to do this for an eqnarray environment -  
 only in a regular equation.  One possibility would be to use a  
 minipage and frame it.  This doesn't look to great, however...

Well... better than nothing! Unfortunately the box is far larger than the
equation. This is somehow different from the appearance of \boxed.

 
  Moreover I really need
  to have one reference number only (not one for each line). Is this  
  possible?
 
 You can just assign a number to one line (e.g. the last line) in the  
 equation.  Within the equation, choose Edit-Math-Number This Line

Oh, ok. My problem was that number appeared on each line (not the same number).
This is ok.
Thank you very much!



Re: 1.6.2 Spelling Check Issue

2009-04-30 Thread Doug Laidlaw
On Tuesday 28 April 2009 11:17:27 pm Rich Shepard wrote:
 On Tue, 28 Apr 2009, Rich Shepard wrote:
  However, since aspell is used in other text editors (emacs, joe), I'm
  sure it must be somewhere on the system. I'll see if I can identify the
  file name.

And there it is ~/.aspell.en.pws.

 Thanks for the pointer,

 Rich

Looking art my .aspell.en.pws, I see that words have been added in the case 
they were in when I added them.  The Linux Cookbook says that if you want 
them to be accepted regardless of case, make them lower case.  I am not sure 
where that leaves UXBRIDGE, a place name with a capital initial in normal 
text.

HTH your editing.

Doug.



Re: spell check as you type

2009-04-30 Thread Richard Heck

protosslee wrote:

i've read some posts back to 2003 requesting spell check as you type function.
Is there any updates that has this patch? 

  
Abdel is working on it. It'll be included in the next major release, LyX 
2.0.


rh



Re: Boxed multiline formula

2009-04-30 Thread James C. Sutherland


On Apr 30, 2009, at 8:12 AM, Luca Carlon wrote:


James C. Sutherland james.sutherl...@... writes:


I have never figured out how to do this for an eqnarray environment -
only in a regular equation.  One possibility would be to use a
minipage and frame it.  This doesn't look to great, however...


Well... better than nothing! Unfortunately the box is far larger  
than the

equation. This is somehow different from the appearance of \boxed.

You can change the size of the box - right click and choose settings  
and change the width.  Unfortunately, you have to do this manually -  
I don't know how to get the box to fit tightly around a multiline  
equation like \boxed does in math mode...




Re: Boxed multiline formula

2009-04-30 Thread Uwe Stöhr

Luca Carlon schrieb:

I have never figured out how to do this for an eqnarray environment -  
only in a regular equation.  One possibility would be to use a  
minipage and frame it.  This doesn't look to great, however...


Well... better than nothing! Unfortunately the box is far larger than the
equation. This is somehow different from the appearance of \boxed.


There are examples about boxed formulas in sec.9 of LyX's Math manual that you 
find in the Help menu.

regards Uwe


Re: text styles

2009-04-30 Thread Drew Kime
On Thu, Apr 30, 2009 at 8:50 AM, Guenter Milde mi...@users.berlios.dewrote:

 My advice is to use an existing module (e.g. logicalmkup.module) as
 starting point. There is a whole selection under LYXDIR/layout/ (where
 LYXDIR is a system/installation dependent location, e.g.
 /usr/share/lyx/).


Does anyone know of a tool that helps in the building of new styles? I've
learned enough Latex to tweak existing styles, etc. but I'm a writer, not a
typesetter. I know my book looks better when I use Lyx/Latex than with
something like OpenOffice, so I'll keep using it. Still, every time I have
to dig into Latex code to change a style, I think about how easy that is to
do in OOo.

Thanks in advance for any pointers.

Drew


Re: text styles

2009-04-30 Thread Richard Heck

Drew Kime wrote:

On Thu, Apr 30, 2009 at 8:50 AM, Guenter Milde mi...@users.berlios.dewrote:

  

My advice is to use an existing module (e.g. logicalmkup.module) as
starting point. There is a whole selection under LYXDIR/layout/ (where
LYXDIR is a system/installation dependent location, e.g.
/usr/share/lyx/).




Does anyone know of a tool that helps in the building of new styles? I've
learned enough Latex to tweak existing styles, etc. but I'm a writer, not a
typesetter. I know my book looks better when I use Lyx/Latex than with
something like OpenOffice, so I'll keep using it. Still, every time I have
to dig into Latex code to change a style, I think about how easy that is to
do in OOo.

  
This is an often requested new feature. At the moment, the best tool is 
this mailing list. Ask away.


rh



Re: Lyx Page Numbering Location

2009-04-30 Thread Marcelo Acuña


 Thank you very Much Marcelo, and I'm sorry about that.
 
 Actually I'm new on Latex as well as in LYX, just
 trying to get ride of Microsoft Word
 
 I will study a little more about this commands,
 
 No problem. I was making an explanation.
 Regards.
Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: Boxed multiline formula

2009-04-30 Thread Uwe Stöhr

James C. Sutherland schrieb:

I have never figured out how to do this for an eqnarray environment - 
only in a regular equation.


I attached some examples using the infos from the Math manual.

regards Uwe


newfile1.lyx
Description: application/lyx


Beamer Class: allowframebreaks

2009-04-30 Thread Rich Shepard

  Using LyX-1.6.2 and beamer-3.07, how do I now specify the frame option,
allowframebreaks?

  I see a menu option of AgainFrame but no explanation of what that does,
where to put the command, or other information in the extended features docs
For that matter, I saw nothing on the beamer class in the extended features
doc.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Sporatic 1.6.2 Crash

2009-04-30 Thread Rich Shepard

  Running 1.6.2 on Slackware-12.2 here. Most of the time when I press the
[Home] key, the cursor is moved to the top of the buffer. However, three
times now (on two different documents), pressing [Home] causes instant
shutdown of the application without an .emergency save. PITA!

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Lyx cannot convert LaTeX files

2009-04-30 Thread JAHules
I just installed Lyx but can't get it to import .tex files. I always get 
this error message:


   LyX: Cannot convert file
   An error occurred whilst running tex2lyx -f *.tex *.lyx

Any ideas?

John Hules

--
John Hules
Science Writer/Editor
Ernest Orlando Lawrence
Berkeley National Laboratory
1 Cyclotron Road, MS 50F1650 
Berkeley, CA 94720

Phone: 510-486-6008
Fax:   510-486-5812
Email: jahu...@lbl.gov
Location: Bldg. 50F Rm. 1613



Re: Lyx cannot convert LaTeX files

2009-04-30 Thread Rich Shepard

On Thu, 30 Apr 2009, JAHules wrote:

I just installed Lyx but can't get it to import .tex files. I always get this 
error message:


  LyX: Cannot convert file
  An error occurred whilst running tex2lyx -f *.tex *.lyx

Any ideas?


John,

  What OS? What version of LyX? How was the .tex file created?

  What does the log file contain?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Lyx cannot convert LaTeX files

2009-04-30 Thread Uwe Stöhr

JAHules schrieb:

I just installed Lyx but can't get it to import .tex files. I always get 
this error message:


Can you please provide more infos. What is you OS, how have you installed LyX?

regards Uwe


Re: Fwd: Re: subdocuments

2009-04-30 Thread Wolfgang Engelmann
Am Wednesday 29 April 2009 21:40:41 schrieb Guenter Milde:
> On 2009-04-29, Wolfgang Engelmann wrote:
> >> > I am still struggling with a book document. To make it easier to find
> >> > errors I tried to use 21 subdocuments (1 for the title and intro, 20
> >> > for the 20 chapters)
> >
> > This is strange:
> > I found, that one of the chapters (in a subdocument) contains an error
> > (pdfendlink ended up in different nesting level than \pd).
> >
> > Now if I run this chapter separately (that is not using the master
> > document db0) it works.
>
> If run separately, the doc will use its own Document>Settings, if the
> master is compiled, the childrens Document>Settings are ignored.
> Maybe looking for the difference will reveal the source of the error.
I have used the same Document>settings in all subdocuments,
but your proposal with an external file is much better and I will use it from 
now on. 
I guess it has to do with the aux file being used differently if I use the 
whole document (starting with the master docu) versus just a chapter sub-docu
>
> > I have started to divide the chapter in two subdocuments, and know
> > already the error is in the second one (and the second one alone runs
> > also without error), but do not understand the whole affair. My idea of
> > using this subdocument bussiness was to be able to find in the
> > subdocument possible errors faster, but that is apparantly not the
> > case.
continuing this I found out that the error was due to a reference. But it 
can't be the reference itself, since the same one is used at another place 
without giving troubles. There were two further references in front of it; 
moving it to the begin of the three citations in a row did not help. I put it 
in a note for the time being until I find a solution. I remember that this 
occurs apparently occassionaly in a koma-book-setting with two columns. 
>
> The whole thing gets more complicated, so your mileage may vary...

Fortunately I made a good mileage
>
> > Since I have used separate chapters, there should be no influence
> > from or to the appending chapters (in koma book there are empty pages
> > between chapters). Could it be related to the input/ instead of
> > include- way of calling the subdirectories from the master??? Any idea?
>
> I don't think input vs. include will have an influence here. However,
> compiling stand-alone chapters vs. the maste might have.
>
> To make sure the custom LaTeX preamble is identic (and changes are
> reflected in every chapter), I use an external file (preamble.tex) and
> write in the Document>Settings:Preamble \input{preamble.tex} (or
> \input{../preamble.tex} if the chapter is in a subdirectory).
>
> >> > (2) Is input correct for the koma-book style or should I use include?
>
> Input is correct.
>
> Günter

I appreciated your help and the one of others very much. 

Wolfgang


Re: Automatic upper case for citation? (using BibLaTeX)

2009-04-30 Thread Charles de Miramon
Piero Faustini wrote:


> 
> Thanks.
> There's already a issue open in BibLaTeX:
> http://sourceforge.net/tracker/?
> func=detail=2460100_id=244752=1126005
> 
> The issue is about the DVI and PDF output differ. In fact, I also get the
> wrong upper caps after a dot in a PDF, while it is OK in DVI. For the
> wrong small caps, both don't work.
> 
> Piero

The difference between the DVI and the PDF outputs is very strange. If you 
could make a small self inclosed latex example, you should add it to the 
tracker.

Charles

-- 
http://www.kde-france.org




Re: Using LyX for writing a very long manual

2009-04-30 Thread Wolfgang Keller
Hello,

> But before I start writing, I'd like to ask if there are any good
> resources on using LyX for writing what is essentially a book on
> programming.

You'd probably want to have a look at koma-script:

ftp://ftp.dante.de/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf

Sincerely,

Wolfgang


Re: Automatic upper case for citation? (using BibLaTeX)

2009-04-30 Thread Piero Faustini

> The difference between the DVI and the PDF outputs is very strange. If you 
> could make a small self inclosed latex example, you should add it to the 
> tracker.

Ok, some diagnostic done.
1. It's not that the DVI (as well as PS) output works, but the opposite: It 
actually doesn't work after a full stop, and ONLY for Ib. (Id. works).
2. This malfunction is caused by the hyperref package. If I omit  this, 
everything work (bad) as before.
3. The Ibidem/Idem capitalization problem is still there.

I have this file:



%% 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[italian]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{1}
\setcounter{tocdepth}{3}

%% User specified LaTeX commands.
%\widowpenalty=1
%\clubpenalty=1
\usepackage[babel]{csquotes} 
\usepackage[natbib=true,style=verbose-trad2,sorting=nyt,hyperref=true, 
backref=true, strict=false]{biblatex}

\bibliography{F:/DiLavoro/Tesi/TesiUTF}

\usepackage[unicode=true]
 {hyperref}

\usepackage{babel}

\begin{document}
prova%
\footnote{\citet{FaustiniBraga}; \citet{FaustiniSoleraBiografia}; 
\citet{FaustiniTesiSolera}%
} prova%
\footnote{\citet{FaustiniTesiSolera}; cfr. \citet{FaustiniTesiSolera}; cfr.\ 
\citet{FaustiniTesiSolera};
cfr.\ \citet{FaustiniSoleraBiografia}; cfr. \citet{FaustiniTesiSolera};
\citet{FaustiniBraga};.%
}
\printbibliography
\end{document}





with the TesiUTF.bib (which is not UTF-encoded actually...) file:



@phdthesis{
FaustiniTesiSolera,
   Author = {Faustini, Piero},
   Title = {Il libretto romantico come testo d'uso: indagine sui melodrammi di 
Temistocle Solera (1816ca. - 1878), poeta e compositore},
   ShortTitle = {Il libretto romantico come testo d'uso},
   School = {Università di Bologna},
   Type = {Tesi di Laurea in Drammaturgia musicale},
  Year = {2003} }



@inproceedings{
FaustiniBraga,
   Author = {Faustini, Piero},
   Title = {Ruy Blas tra  drame e mélodrame: un inedito rivale per il successo 
internazionale di Filippo Marchetti},
   ShortTitle = {Ruy Blas tra  drame e mélodrame: un inedito rivale per il 
successo internazionale di Filippo Marchetti},
   BookTitle = {Gaetano braga, un musicista europeo},
   Address= {Varenna},
  Year = {2007} }



@article{
FaustiniSoleraBiografia,
   Author = {Faustini, Piero},
   Title = {Vita e melodramma: Temistocle Solera (1815-1878)},
   ShortTitle = {Vita e melodramma: Temistocle Solera (1815-1878)},
   Journal = {Annali Online - Lettere - Università degli studi di Ferrara},
   Pages = {25},
  Year = {2009} }
















Boxed multiline formula

2009-04-30 Thread Luca Carlon
Hi! I'm facing this problem: I would like to write long equations (two or even
three lines are needed) in which (possibly) each line is center aligned in the
page and so that it is possible to box them all together. Moreover I really need
to have one reference number only (not one for each line). Is this possible? I
tried reading the manual but the methods I read about multiline equations seem
not to fit my needs. I have a Tex code which does almost this (it lacks the
center alignment), but I would like to know if it is possible to do this without
the code to have the good looking equation, and not the inline code :-). Is this
possible?
Thanks guys!



Re: text styles

2009-04-30 Thread Helge Hafting

Drew Kime wrote:

2009/4/28 Steve Litt 


Lyx has an option to specify a typewriter face. Simply highlight the

text,

click on Edit->Text Style->Customized, and under "Family" select
Typewriter. Then check what it does to the code, and do a global replace

to

get all occurrences.

You can do that, but in my opinion it's a bad idea because the text should
be
Typewriter for some specific reason. There could be several parts that are
Typewriter faced for different reasons, and once you say "typewriter face",
you've put them all in one bucket. If you use character styles instead,
then
if later you decide a certain category should also be boldface, you can do
that.



In principle I agree with you. But I've found designing my own type styles
somewhat less than user friendly. I'm sure it's one of those things that,
once learned, seems second nature. But the learning curve is pretty steep.


Indeed, but it might be worth it for an entire book.
Now while lyx styles may be hard to make for the average word processor 
user. I don't think it is so hard for someone who already understands 
and can deal with latex.


Helge Hafting


Re: Using LyX for writing a very long manual

2009-04-30 Thread Helge Hafting

Thomas Løcke wrote:

Hey,

I'm about to start the process of writing the 2nd edition of a fairly
long (+150 A4 pages) internal manual. It's about a set of software
systems and programming practices in my business. The 1st edition was
written using OpenOffice. I remember spending a lot of time trying to
make things "look good", and when I'm reading the manual today, I'm
constantly reminded of how hard I failed at that.  :o)

So for this 2nd edition, I've been looking for some better tools, and
this has brought me to LyX. I've installed LyX and TexLive on my
Slackware 12.1 system, and I've tinkered some with it. It appears to
be *exactly* what I'm looking for.

Yes, LyX ought to be the right tool for making a book "look good". And 
size will not be a problem.


Many like to use one file per chapter. Lyx can handle a single 150-page 
document, but you may get tired of scrolling around in it.



But before I start writing, I'd like to ask if there are any good
resources on using LyX for writing what is essentially a book on
programming. I'd really like to avoid painting myself into a corner,
like I did with OpenOffice.


Spend some time in the beginning, finding out how you want to do things. 
This so you don't have to re-do a lot of stuff. For example, lets say 
you need code examples in your book on programming practices. Should 
code examples exist inside the LyX file, or should LyX pull lines of 
code from real source files? The former approach gives you all in one 
document, the latter approach means you can change your code and the 
document is updated automatically. (No need to sync the document with 
code revisions.)


Figure out what kind of numbering scheme you want for sectioning. See if 
you have something special, like: per-chapter TOCs, a special font or 
customized running headers.


Skim through the user guide (and all the other help documents), look for 
things that could be useful. The listing package can do automatic syntax 
highlighting and numbering of code lines, for example.


After a while, you have everything way you want in a 3-4 page "test 
book" that contains all the types of material and formatting you plan on 
using. The book can then be finished almost as fast as you can come up 
with material. There is normally very little tweaking to do in the end.


If you feel a need to do tweaks like an occational manual page break, 
don't do it until the book is finished. Otherwise, you risk disrupting 
such tweaks if you edit any content earlier in the book. Ideally, there 
shouldn't be any manual breaks but they are handy occationally.


Helge Hafting



Re: How to change Lyx numbering styles with modules

2009-04-30 Thread Guenter Milde
On 2009-04-21, Stefano Franchi wrote:

> I am trying to write a few very simple modules that will change the
> labels Lyx displays for sectioning and enumerate environments to
> reflect the final output. However, I cannot figure out how to do it.

> For instance, let's say that I want to redefine subsubsections to show
> just the subsubsection number followed by a period with this
> declaration:

> \renewcommand\thesubsubsection{\arabic{subsubsection}.}

> I thought I could put this bit of code in a module within the AddToPreamble 
> block and then change the actual appearance within Lyx in the Style 
> Subsubsection block. But I am stumped. The relevant style block in the 
> standard file stdsections.inc shows:


> Style Subsubsection
> CopyStyle Subsection
> LabelCountersubsubsection
> TocLevel  3
> LatexName subsubsection
> TopSep0.7
> BottomSep 0.4
> Font
>   Series  Bold
>   SizeNormal
> EndFont
> End

> which I assume means that the label is produced from the Latex label 
> subsubsection.  Since I just instructed LyX to redefine it, shouldn't
> LyX pick up the correct label?

It means (to you) that the label corresponds to subsubsection, but
LyX cannot parse the LaTeX definitions and does its own counting.

Unfortunately, the possibilities to configure LyX counters are limited
(at least the ones documented in the Customization guide). (I did not
find a way to generate correct labels for the "continuing enumeration" in
the enumitem module.)

> What should I change in the LabelCounter field of that block to produce
> the proper label? I am clearly missing something about how modules work
> (or, rather, LyX).  Reading the Customization manual did not provide
> any enlightenment.

My knowledge in this field is limited as well.
Asking in the LyX devel list might help.

Günter




Re: Fwd: Re: subdocuments

2009-04-30 Thread Guenter Milde
On 2009-04-30, Wolfgang Engelmann wrote:
> Am Wednesday 29 April 2009 21:40:41 schrieb Guenter Milde:
>> On 2009-04-29, Wolfgang Engelmann wrote:

> continuing this I found out that the error was due to a reference. But it 
> can't be the reference itself, since the same one is used at another place 
> without giving troubles. 

Maybe it is an error that only manifests itself at certain places in the
document.

> There were two further references in front of it; moving it to the
> begin of the three citations in a row did not help. I put it in a note
> for the time being until I find a solution. I remember that this 
> occurs apparently occassionaly in a koma-book-setting with two columns.

It would be nice if you could construct a minimal example showing the
problem.

Günter



Re: How to update to 1.6.2?

2009-04-30 Thread Piero Faustini
Pablo  writes:

> 
> Excuse me for this noob question.
> 
> I have Lyx 1.6.1 under Windows. I want to update to 1.6.2. What is the way to 
do
> this? I have to download the new version and install and the installer update
> Lyx automatically?
> 
> Thanks!
> 
> 

You have ti download LyX 1.6.2
I don't know if it will uninstall 1.6.1 automagically
Perhaps you want to uninstall it before. I think it doesn't delete yuour 
settings, but you may want to have a backup of the settings folder.

Piero



Re: Automatic upper case for citation? (using BibLaTeX)

2009-04-30 Thread Dominik Waßenhoven
Piero Faustini wrote:

> Ok, some diagnostic done.
> 3. The Ibidem/Idem capitalization problem is still there.

Regarding upper case after dots in strings like 'ibid.' etc.: You have
to use the optional argument to the cite command for this, e.g.
\cite[cfr.][]{FaustiniBraga}, then 'ibid.' or 'id.' don't get
capitalized. You can also achieve this from within LyX. See the
documents (both .lyx and .bib) below:

8<---[ LyX file ]--->8
#LyX 1.6.2 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble
% Literatur %
\usepackage{babel,csquotes}
\usepackage[%
  natbib=true,
  style=verbose-trad2,
  sorting=nyt,
  hyperref=true,
  backref=true,
  strict=false]{biblatex}
\bibliography{testbib}
\end_preamble
\options DIV=calc
\use_default_options true
\begin_modules
biblatex
\end_modules
\language italian
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\pdf_author "Dominik Waßenhoven"
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 2
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine natbib_authoryear
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language danish
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Itemize
First citation.
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand citealp
key "book,article"

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Wrong: 
\begin_inset Foot
status open

\begin_layout Plain Layout
Cfr.
 
\begin_inset CommandInset citation
LatexCommand citealp
key "article"

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Right: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand citealp
before "Cfr."
key "article"

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Force uppercase: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand Citealp
key "article"

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Same with idem: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand Citealp
key "book"

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Itemize
Again idem, with string before: 
\begin_inset Foot
status open

\begin_layout Plain Layout
\begin_inset CommandInset citation
LatexCommand citealp
after "23"
before "Cfr."
key "article"

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Note Note
status open

\begin_layout Plain Layout
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "testbib"
options "plain"

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document
8<-->8

8<-[ testbib.bib ]->8
@ARTICLE{article,
  author = {Nachname, Vorname},
  title = {Titel des Zeitschriftenartikels},
  journal = {Zeitschrift},
  year = {2006},
  volume = {6},
  pages = {19--75}
}
@BOOK{book,
  author = {Nachname, Vorname},
  title = {Irgendein Buch},
  address = {Buch am Wald},
  year = {2000}
}
8<->8

Regards,
Dominik.-



Re: text styles

2009-04-30 Thread Guenter Milde
On 2009-04-30, Helge Hafting wrote:
> Drew Kime wrote:

>> ... I've found designing my own type styles somewhat less than user
>> friendly. I'm sure it's one of those things that, once learned, seems
>> second nature. But the learning curve is pretty steep.

> Indeed, but it might be worth it for an entire book.
> Now while lyx styles may be hard to make for the average word processor 
> user. I don't think it is so hard for someone who already understands 
> and can deal with latex.

My advice is to use an existing module (e.g. logicalmkup.module) as
starting point. There is a whole selection under LYXDIR/layout/ (where
LYXDIR is a system/installation dependent location, e.g.
/usr/share/lyx/).

Günter



Re: Boxed multiline formula

2009-04-30 Thread James C. Sutherland


On Apr 30, 2009, at 4:06 AM, Luca Carlon wrote:

Hi! I'm facing this problem: I would like to write long equations  
(two or even
three lines are needed) in which (possibly) each line is center  
aligned in the

page and so that it is possible to box them all together.

I have never figured out how to do this for an eqnarray environment -  
only in a regular equation.  One possibility would be to use a  
minipage and frame it.  This doesn't look to great, however...


Moreover I really need
to have one reference number only (not one for each line). Is this  
possible?


You can just assign a number to one line (e.g. the last line) in the  
equation.  Within the equation, choose Edit->Math->Number This Line


I
tried reading the manual but the methods I read about multiline  
equations seem
not to fit my needs. I have a Tex code which does almost this (it  
lacks the
center alignment), but I would like to know if it is possible to do  
this without
the code to have the good looking equation, and not the inline  
code :-). Is this

possible?
Thanks guys!


See attached for an example.


equation.lyx
Description: Binary data


equation.pdf
Description: Adobe PDF document


"spell check as you type"

2009-04-30 Thread protosslee
i've read some posts back to 2003 requesting "spell check as you type" function.
Is there any updates that has this patch? 



Re: Boxed multiline formula

2009-04-30 Thread Luca Carlon
James C. Sutherland  writes:

> I have never figured out how to do this for an eqnarray environment -  
> only in a regular equation.  One possibility would be to use a  
> minipage and frame it.  This doesn't look to great, however...

Well... better than nothing! Unfortunately the box is far larger than the
equation. This is somehow different from the appearance of \boxed.

> >
> > Moreover I really need
> > to have one reference number only (not one for each line). Is this  
> > possible?
> >
> You can just assign a number to one line (e.g. the last line) in the  
> equation.  Within the equation, choose Edit->Math->Number This Line

Oh, ok. My problem was that number appeared on each line (not the same number).
This is ok.
Thank you very much!



Re: 1.6.2 Spelling Check Issue

2009-04-30 Thread Doug Laidlaw
On Tuesday 28 April 2009 11:17:27 pm Rich Shepard wrote:
> On Tue, 28 Apr 2009, Rich Shepard wrote:
> > However, since aspell is used in other text editors (emacs, joe), I'm
> > sure it must be somewhere on the system. I'll see if I can identify the
> > file name.
>
>And there it is ~/.aspell.en.pws.
>
> Thanks for the pointer,
>
> Rich

Looking art my .aspell.en.pws, I see that words have been added in the case 
they were in when I added them.  The Linux Cookbook says that if you want 
them to be accepted regardless of case, make them lower case.  I am not sure 
where that leaves UXBRIDGE, a place name with a capital initial in normal 
text.

HTH your editing.

Doug.



Re: "spell check as you type"

2009-04-30 Thread Richard Heck

protosslee wrote:

i've read some posts back to 2003 requesting "spell check as you type" function.
Is there any updates that has this patch? 

  
Abdel is working on it. It'll be included in the next major release, LyX 
2.0.


rh



Re: Boxed multiline formula

2009-04-30 Thread James C. Sutherland


On Apr 30, 2009, at 8:12 AM, Luca Carlon wrote:


James C. Sutherland  writes:


I have never figured out how to do this for an eqnarray environment -
only in a regular equation.  One possibility would be to use a
minipage and frame it.  This doesn't look to great, however...


Well... better than nothing! Unfortunately the box is far larger  
than the

equation. This is somehow different from the appearance of \boxed.

You can change the size of the box - right click and choose "settings"  
and change the "width".  Unfortunately, you have to do this manually -  
I don't know how to get the box to fit tightly around a multiline  
equation like \boxed does in math mode...




Re: Boxed multiline formula

2009-04-30 Thread Uwe Stöhr

Luca Carlon schrieb:

I have never figured out how to do this for an eqnarray environment -  
only in a regular equation.  One possibility would be to use a  
minipage and frame it.  This doesn't look to great, however...


Well... better than nothing! Unfortunately the box is far larger than the
equation. This is somehow different from the appearance of \boxed.


There are examples about boxed formulas in sec.9 of LyX's Math manual that you 
find in the Help menu.

regards Uwe


Re: text styles

2009-04-30 Thread Drew Kime
On Thu, Apr 30, 2009 at 8:50 AM, Guenter Milde wrote:

> My advice is to use an existing module (e.g. logicalmkup.module) as
> starting point. There is a whole selection under LYXDIR/layout/ (where
> LYXDIR is a system/installation dependent location, e.g.
> /usr/share/lyx/).
>

Does anyone know of a tool that helps in the building of new styles? I've
learned enough Latex to tweak existing styles, etc. but I'm a writer, not a
typesetter. I know my book looks better when I use Lyx/Latex than with
something like OpenOffice, so I'll keep using it. Still, every time I have
to dig into Latex code to change a style, I think about how easy that is to
do in OOo.

Thanks in advance for any pointers.

Drew


Re: text styles

2009-04-30 Thread Richard Heck

Drew Kime wrote:

On Thu, Apr 30, 2009 at 8:50 AM, Guenter Milde wrote:

  

My advice is to use an existing module (e.g. logicalmkup.module) as
starting point. There is a whole selection under LYXDIR/layout/ (where
LYXDIR is a system/installation dependent location, e.g.
/usr/share/lyx/).




Does anyone know of a tool that helps in the building of new styles? I've
learned enough Latex to tweak existing styles, etc. but I'm a writer, not a
typesetter. I know my book looks better when I use Lyx/Latex than with
something like OpenOffice, so I'll keep using it. Still, every time I have
to dig into Latex code to change a style, I think about how easy that is to
do in OOo.

  
This is an often requested new feature. At the moment, the best tool is 
this mailing list. Ask away.


rh



Re: Lyx Page Numbering Location

2009-04-30 Thread Marcelo Acuña


> Thank you very Much Marcelo, and I'm sorry about that.
> 
> Actually I'm new on Latex as well as in LYX, just
> trying to get ride of Microsoft Word
> 
> I will study a little more about this commands,
> 
 No problem. I was making an explanation.
 Regards.
Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: Boxed multiline formula

2009-04-30 Thread Uwe Stöhr

James C. Sutherland schrieb:

I have never figured out how to do this for an eqnarray environment - 
only in a regular equation.


I attached some examples using the infos from the Math manual.

regards Uwe


newfile1.lyx
Description: application/lyx


Beamer Class: allowframebreaks

2009-04-30 Thread Rich Shepard

  Using LyX-1.6.2 and beamer-3.07, how do I now specify the frame option,
allowframebreaks?

  I see a menu option of "AgainFrame" but no explanation of what that does,
where to put the command, or other information in the extended features docs
For that matter, I saw nothing on the beamer class in the extended features
doc.

Rich

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


Sporatic 1.6.2 Crash

2009-04-30 Thread Rich Shepard

  Running 1.6.2 on Slackware-12.2 here. Most of the time when I press the
[Home] key, the cursor is moved to the top of the buffer. However, three
times now (on two different documents), pressing [Home] causes instant
shutdown of the application without an .emergency save. PITA!

Rich

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


Lyx cannot convert LaTeX files

2009-04-30 Thread JAHules
I just installed Lyx but can't get it to import .tex files. I always get 
this error message:


   LyX: Cannot convert file
   An error occurred whilst running tex2lyx -f "*.tex" "*.lyx"

Any ideas?

John Hules

--
John Hules
Science Writer/Editor
Ernest Orlando Lawrence
Berkeley National Laboratory
1 Cyclotron Road, MS 50F1650 
Berkeley, CA 94720

Phone: 510-486-6008
Fax:   510-486-5812
Email: jahu...@lbl.gov
Location: Bldg. 50F Rm. 1613



Re: Lyx cannot convert LaTeX files

2009-04-30 Thread Rich Shepard

On Thu, 30 Apr 2009, JAHules wrote:

I just installed Lyx but can't get it to import .tex files. I always get this 
error message:


  LyX: Cannot convert file
  An error occurred whilst running tex2lyx -f "*.tex" "*.lyx"

Any ideas?


John,

  What OS? What version of LyX? How was the .tex file created?

  What does the log file contain?

Rich

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


Re: Lyx cannot convert LaTeX files

2009-04-30 Thread Uwe Stöhr

JAHules schrieb:

I just installed Lyx but can't get it to import .tex files. I always get 
this error message:


Can you please provide more infos. What is you OS, how have you installed LyX?

regards Uwe