Re: How do you comment out content?

2005-04-22 Thread Angus Leeming
Steve Litt wrote:
 I have a small ( 1 page) section of my book which I'd like to
 temporarily comment out. Is there an environment with which I can make
 this text into a comment, so it can later easily be reincorporated as
 Standard environment, but for now not be visible in the output?

 Never mind, I found it. It's an evironment called Comment in the
 standard Book document class.

I suggest that you don't use this in LyX. You'll lose all nested
environments. Use the note inset instead.

-- 
Angus



Re: How do you comment out content?

2005-04-22 Thread Micha Feigin
On Fri, 22 Apr 2005 07:33:18 +
Angus Leeming [EMAIL PROTECTED] wrote:

 Steve Litt wrote:
  I have a small ( 1 page) section of my book which I'd like to
  temporarily comment out. Is there an environment with which I can make
  this text into a comment, so it can later easily be reincorporated as
  Standard environment, but for now not be visible in the output?
 
  Never mind, I found it. It's an evironment called Comment in the
  standard Book document class.
 
 I suggest that you don't use this in LyX. You'll lose all nested
 environments. Use the note inset instead.
 

Whats the note inset?

I use a dirtier trick using ert.

I define a new command in the preamble:
\newcommand{\ignore}[1]{}

and then before the start of the part I want to remove in at ert block
\ignore{
and after it in another ert block
}

 -- 
 Angus
 
  
  +++
  This Mail Was Scanned By Mail-seCure System
  at the Tel-Aviv University CC.
 

 
 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: How do you comment out content?

2005-04-22 Thread Angus Leeming
Micha Feigin wrote:
 Whats the note inset?

Insert-Note

-- 
Angus



Re: why lyx when there's word?

2005-04-22 Thread Ernesto Jardim
Rich Drewes wrote:
On Thu, 21 Apr 2005, Gerasimos Grammatikopoulos wrote:

One big issue here is that such third party add-ons for Word are usually paid 
their LOC in gold.

(LOC?)

Another problem is the quite frequent instabillity derived 
by overloading word with such bells and whistles. I can't tell anything 
about EndNote since I haven't used it, but ReferenceManager in its days had 
blown up in my face more than once.

Yes, I agree that stability can be an issue with Word addons.  I have
actually had rare Lyx crashes occur for me that appear to be related to
the pipe communication between Pybliographic and Lyx, and I have also had
some issues with Pybliographic importing reference files from major
journals.  (The Pybliographic problems seem to be related to those
journals putting out reference keys that Pybliographic didn't consider
standard format.  However, when I tried to import the same file in EndNote
it just worked.  From a user's perspective, just working with a
warning message perhaps would be prefereble to failure plus an obscure
error message which is what I got in Pybliographic.)
I have never lost data with Lyx.  Thanks, Lyx team.

Please keep in mind that you can rather 
easily change formatting of the references anytime you please while still 
not messing (and thus loosing time) with the actual archive.

This is a rather routine capability actually.  Word+EndNote can do it too.
Further, I have seen a live demonstration of some features of EndNote and
RefViz that are pretty cool; there is nothing comparable in
BibTex+Pybliographic or addons as far as I can find.  It turns out I don't
need those capabilities but I can see their usefulness.

You can also 
SQL-query for references if your university library offers such service. I 
for one, consider the TexMed web interface a god send.

Again, pretty routine stuff.  EndNote can do it.

OO.org's bibliography is far better than whatever hack you can get with the 
native MS Word endnotes.

I'm not sure we are on the same page . . .  EndNote isn't a native Word
package of course, it is an add on software package.  I tried OO's built
in bibliographic support and found it pretty useless for now.  
Latex+pybliographic was much better than OO's built in stuff for
bibliographic management.  I would put Latex+pybliographic as in the same
class as Word+Endote.  Word+Endnote have a few more features for
bibliographic management, but the basics are there in both.  As I said
there are some advanced features that Word+EndNote+RefViz can do that have
no counterpart in open source AFAIK (unfortunately).

Rich
Hi,
My 5 cents ...
One of the major feature with LyX/LaTeX is the text file. How many 
documents do you have in Word 2 that can not be opened anymore ? And how 
many more do you expect to loose with the evolution of Word file format 
? With text files you know that it will allways be possible to recover 
the information, even if LateX or LyX disapear.

Another major feature is the size of the files. Producing a simple paper 
for a scientific journal with a few equations and figures can result in 
a word file of several MB while in LaTeX/LyX it will be a few k, even 
including the size of the ps files for figures.

And for last, your arguments are very much depending on the use of 
pybliographic. I would say your comparing pybliographic with EndNote and 
not really LyX with Word ... Anyway, take a look at JabRef 
(http://jabref.sf.net). I was using pyblio and after trying JabRef I was 
so impressed I changed on the same day. Give it a try, its a great sofware.

Regards
EJ


Re: Background image in Beamer

2005-04-22 Thread samar
Eugenio wrote:
After some help from Till Tantau, and consulting every related document I 
could find, including de Lyx page, I developed an approach that works (?) 
for me including the following commands in the preamble:

\newcommand\BackgroundPicture[1]{%
   \setbeamertemplate{background}{%
   \parbox[c][\paperheight]{\paperwidth}{%
   \vfill \hfill 
\includegraphics[width=0.8\paperwidth,height=0.8\paperheight]{#1}
\hfill \vfill
 }}}

and using the command
\BackgroundPicture{image}
before the slide I need the background in.
I did the image processing with ImageMagick 1.6.9 tools, in order to 
reduce the intensity of the image in the background (dissolving an image 
onto a white background of the same size)

Any more contributions are accepted
Thanks
Eugenio Guevara
- Original Message - 
From: samar [EMAIL PROTECTED]
To: Eugenio Guevara [EMAIL PROTECTED]; 
lyx-users@lists.lyx.org
Sent: Sunday, April 17, 2005 7:17 AM
Subject: Re: Background image in Beamer


Hi Eugenio
I have been looking for an answer to this myself so I  waited hoping 
someone would answer your query.
The nearest I have got is putting a grid in according to the manual on 
page 59 which also mentions that one can put a picture in using the 
\setbeamertemplate{background}

For putting a grid in one just goes:
\setbeamertemplate{background}[grid]
according to the manual one can put in a background picture the same way 
but it gives no example how and all my attempts have not been very 
successful.

Perhaps someone more adroit at interpreting the manual will be kind 
enough to explain.

samar
- Original Message - 
From: Eugenio Guevara [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Sent: Saturday, April 16, 2005 11:04 AM
Subject: Background image in Beamer


I am using Beamer with Lyx 1.3.5 on a Windows XP platform.  I am 
preparing
a
presentation and can't find a way to put a background image on any frame 
and
change it as needed.

Can anyone give some light on this matter?
Thanks in advance
Eugenio Guevara

Eugenio
Thanks for the persistence. That  was great. Works like a dream.
A few thoughts:
1. Depending on the size of your background bitmap you may need to adjust 
the 0.8 factor in the preamble.

2. if like me you are using a dark background and find your
text becoming invisible the simple solution I use is to put in the preamble:
\usecolortheme{albatross}
Gives a great effect with a nearly black background
3. Is there any chance you or someone else can explain the logic of the 
preamble code?

4. As a  beamer user I am indebted to Till Tantau and his team for a great 
product that really fills a void
and for documentation which is probably as good as it ever gets. For me, its 
goodbye powerpoint which I abhorred
and mostly used Flash instead. That was hard work. Beamer is a dream by 
contrast.

samar 



Re: How do you comment out content?

2005-04-22 Thread Herbert Voss
Steve Litt wrote:
On Thursday 21 April 2005 07:14 pm, Steve Litt wrote:
Hi all,
I have a small ( 1 page) section of my book which I'd like to temporarily
comment out. Is there an environment with which I can make this text into a
comment, so it can later easily be reincorporated as Standard environment,
but for now not be visible in the output?

Never mind, I found it. It's an evironment called Comment in the standard 
Book document class.
it is better to use in ERT \iffalse and at the end of your
part also in ERT \fi
Herbert


Re: Background image in Beamer

2005-04-22 Thread Gerasimos Grammatikopoulos
On Friday 22 April 2005 12:28, samar wrote:
 Eugenio wrote:
  After some help from Till Tantau, and consulting every related document I
  could find, including de Lyx page, I developed an approach that works (?)
  for me including the following commands in the preamble:
 
  \newcommand\BackgroundPicture[1]{%
 \setbeamertemplate{background}{%
 \parbox[c][\paperheight]{\paperwidth}{%
 \vfill \hfill
  \includegraphics[width=0.8\paperwidth,height=0.8\paperheight]{#1}
  \hfill \vfill
   }}}
 
  and using the command
 
  \BackgroundPicture{image}
 
  before the slide I need the background in.
 
  I did the image processing with ImageMagick 1.6.9 tools, in order to
  reduce the intensity of the image in the background (dissolving an
  image onto a white background of the same size)
 
  Any more contributions are accepted
 
  Thanks
 
  Eugenio Guevara
 

 Eugenio

 Thanks for the persistence. That  was great. Works like a dream.

 A few thoughts:

 1. Depending on the size of your background bitmap you may need to adjust
 the 0.8 factor in the preamble.
I think a better approach would be to define the scale on a per image basis, 
i.e. in the form of \BackgroundPicture{image, desiredscale}. This can be 
rather easily done, by not declaring a fixed value on the preamble but rather 
defining a variable. This would allow different images with different 
dimensions for different slides.
Thus:
In the preamble:
\newcommand\BackgroundPicture[3]{%
\setbeamertemplate{background}{%
\parbox[c][\paperheight]{\paperwidth}{%
\vfill \hfill
 \includegraphics[width=#2\paperwidth,height=#3\paperheight]{#1}
 \hfill \vfill
  }}}

In the document body:
\BackgroundPicture{image, width factor, height factor}

I have not tried it yet, but I think it should work

 2. if like me you are using a dark background and find your
 text becoming invisible the simple solution I use is to put in the
 preamble:

 \usecolortheme{albatross}

 Gives a great effect with a nearly black background
You can also define colors explicitly, but this rather defies the ease-of-use 
and rapid-deployment points of the beamer class.


 3. Is there any chance you or someone else can explain the logic of the
 preamble code?
Ok, let's see if I can get this:
\newcommand\BackgroundPicture[3]{% 
%define a new command for later use (so that we don't have to write down this 
%all of this each time we need to do the same thing)
%The command will be \BackgroundPicture and it takes 3 arguments (Eugenio's 
%code took only one instead - [1] - the image file path) 

\setbeamertemplate{background}{%
%define the background beamer template as a:

\parbox[c][\paperheight]{\paperwidth}{%
%paragraph style box with the papersize dimensions 
% ([\paperheight]{\paperwidth}) and its contents centered ([c])

\vfill \hfill
%expand both vertically and horizontally

 \includegraphics[width=#2\paperwidth,height=#3\paperheight]{#1}
%instead of entering some text as is usually the case with \parbox
%insert an image whose path will be given as the first argument (#1)
%of the \BackgroundPicture command, width proportional to paperwidth
%at a scale factor given as the 2nd argument (#2) and height proportional
%to paperheight at a scale factor given as the 3rd argument (#3)

 \hfill \vfill
%again, expand both horizontal and vertical so that the end result is nicelly 
%centered and fills up the hole page

   }
%closing the \parbox definition
 }
%closing the background beamertemplate definition
}
%closing the BackgroundPicture newcommand definition




 4. As a  beamer user I am indebted to Till Tantau and his team for a great
 product that really fills a void
 and for documentation which is probably as good as it ever gets. For me,
 its goodbye powerpoint which I abhorred
 and mostly used Flash instead. That was hard work. Beamer is a dream by
 contrast.
PowerPoint (or any other of its contenders like OO.org's Impress) is nowhere 
near the class of this product. After discovering beamer, I never looked 
back: 
- Graphical quality others never dreamed of. I'm very fond of the rounded 
inner theme with shadows enabled that invariably leaves people 
speechless. :-)
- Unmatched ease of use and productivity speed. Try embedding complex tables 
and/or footnotes on any office-suite presentation app just for an example of 
exercise in futility.
- Portability. No need to bring along the whole computer or HOPE that the one 
provided by the organizers is compatible as in not only providing the 
necessary software (and thus practically LOCKING you on PowerPoint and NOT 
the latest version if you want to play it safely) but also configured 
appropriately for your presentation to work at 100%. Nah, the only need is 
for Acrobat Reader or almost any other pdf viewer app: a standard tool even 
for computers 10 years old.
The only case I will not use beamer is for special cases calling for 
MagicPoint, i.e. incorporating fully functional 

Re: How do you comment out content?

2005-04-22 Thread G. Milde
On 22.04.05, Micha Feigin wrote:
 On Fri, 22 Apr 2005 07:33:18 +
 Angus Leeming [EMAIL PROTECTED] wrote:
  Steve Litt wrote:
   I have a small ( 1 page) section of my book which I'd like to
   temporarily comment out. Is there an environment with which I can make
   this text into a comment, so it can later easily be reincorporated as
   Standard environment, but for now not be visible in the output?
  
   Never mind, I found it. It's an evironment called Comment in the
   standard Book document class.
  
  I suggest that you don't use this in LyX. You'll lose all nested
  environments. Use the note inset instead.
 
 I use a dirtier trick using ert.
 
 I define a new command in the preamble:
 \newcommand{\ignore}[1]{}
 
 and then before the start of the part I want to remove in at ert block
 \ignore{
 and after it in another ert block
 }

But why don't you just put \begin{comment} and \end{comment} as ERT around
the to-be-commented text? (Or Herberts tex commands)

Once I look at this, the LyXish solution would be to open a Comment
paragraph and nest the to-be-commented text in it. 

If the first line of the to-be-commented text is a Standard paragraph, this
can be converted to comment, if not, you need to insert some stuff so the
Comment paragraph is not removed before you are able to nest something in it.

Developers: 
---

 * could the Comment Style get a KeepEmpty 1 tag? 

 * What would be a command-sequence to open a Comment and nest the 
   selection in it (as opposed to setting all selected paragraphs to 
   Comment Style)?
   
   Or do we need a new lyx function for this.
   
Günter   






-- 
G.Milde web.de


Re: How do you comment out content?

2005-04-22 Thread Jean-Marc Lasgouttes
 G == G Milde [EMAIL PROTECTED] writes:

G Once I look at this, the LyXish solution would be to open a Comment
G paragraph and nest the to-be-commented text in it.

No. Select the text, press InsertNote.

What's so wrong with that that? Comment was a stop-gap measure, and it
should go. Actually, LyX 1.4.0 will have support for different types
of Notes, including Comment-like.

JMarc


Sections

2005-04-22 Thread Peter Pieczora
Hi,

When I use, in my document,  class article, and 2 environments, section and 
subsection. There are more than 20 sectons each with aprox. 5-10 subsections. 
I get corrupted output ( exporting it to latex, I can see  Underfull \hbox 
(badness 1590) in paragraph error messages). 
However when using amsart as a base class for the document, and even though 
error messages persist, produced output looks fine and is printable. 
AFAIK it has to do with hyphenation. I went on Dante and found few answers and 
possible solution, however none has helped solving this problem. 
Any ideas?

I attempted to create my own layout based on amsart ( since this one works 
fine ). I seem not to be able to ie. get section headers align left (setting, 
in my.layout,  Align Right  outputs section header aligned right in dvi, but 
setting it to Left outputs it centered).
Any tips how to get it right?   



Re: why lyx when there's word?

2005-04-22 Thread Mark Carroll
On Thu, 21 Apr 2005, Gerasimos Grammatikopoulos wrote:
(snip)
 Although Lyx provides another language layer over LaTeX (which works over
 plain TeX) its files still maintain a rather simple structure that becomes
 life-saving over crashes and glitches both Lyx-related and system-wide.
(snip)

True. (-: It'd be nice if the structure were documented somewhere, though
- whenever I want to write software that generates LyX files, I have to
reverse-engineer the format by inspecting various LyX files. At least, if
I'm using software that's a version or two behind, a later LyX will
generally happily read an older format LyX file with just a few
warnings.

-- Mark


Re: why lyx when there's word?

2005-04-22 Thread Jose' Matos
On Friday 22 April 2005 14:36, Mark Carroll wrote:

 True. (-: It'd be nice if the structure were documented somewhere, though
 - whenever I want to write software that generates LyX files, I have to
 reverse-engineer the format by inspecting various LyX files. At least, if
 I'm using software that's a version or two behind, a later LyX will
 generally happily read an older format LyX file with just a few
 warnings.

  Take a look to lyx2lyx comes with lyx.
  It is able to convert old files to the more recent format, so you 
shouldn't need to take care of that anymore. :-)

  Also all the changes after 1.3 are documented there.

 -- Mark

-- 
José Abílio


Re: How to insert a new line into an array cell?

2005-04-22 Thread samar
Patrick Gelin wrote:
Hi,
I can't use a CTRL + return into an array cell in order to add a new 
line.
Could you tell me if it's possible to get much more one line into an 
array
cell?

Thanks.
Not entirely sure what you mean.  If you're trying to get something like 
this

  | b
a |
  | c
-
d | e
in an array, you can just insert a 2x1 array in the upper right cell of a 
2x2 array.

-- Paul
Another possibility is to make the tabular array of fixed dimension, then 
you can use your return key.

samar 



Re: How do you comment out content?

2005-04-22 Thread Andre Poenitz
On Thu, Apr 21, 2005 at 07:14:58PM -0400, Steve Litt wrote:
 Hi all,
 
 I have a small ( 1 page) section of my book which I'd like to temporarily 
 comment out. Is there an environment with which I can make this text into a 
 comment, so it can later easily be reincorporated as Standard environment, 
 but for now not be visible in the output?

'\iffalse ' in ERT at the beginning and '\fi' in ERT at the end should
do the trick.

Andre'


Re: why lyx when there's word?

2005-04-22 Thread Rich Drewes
On Fri, 22 Apr 2005, Ernesto Jardim wrote:

 And for last, your arguments are very much depending on the use of 
 pybliographic.

That was the best free  open source GUI bibliographic manager I had found
at the time that could insert references into a Lyx doc with a click and
also launch a reference's local .pdf file with a click.

 Anyway, take a look at JabRef 
 (http://jabref.sf.net). I was using pyblio and after trying JabRef I was 
 so impressed I changed on the same day. Give it a try, its a great sofware.

I just gave it a try and may keep using it.  Functionally, it looks about
the same as Pybliographic as far as I can tell.  It is prettier though.  
Thanks for the tip.

On the downside, it is written in Java :)

Rich


Re: TOC headache

2005-04-22 Thread Rich Drewes
Hi Paul,

The \usepackage{tocbibind} did put the TOC in the TOC as desired, and it
numbered it in the TOC properly with the number of the first page of the
two-page TOC.

However, the Bibliography then appeared in the TOC *twice* at the end.  I
unclicked the include bibliography in TOC option in the Lyx Bib widget
and that fixed that problem.

Thanks!

Rich 


On Tue, 19 Apr 2005, Paul Medwell wrote:

 Rich Drewes wrote:
  I have a TOC that is two pages long.  I must number my abstract, TOC, list 
  of figures, and other frontmatter with roman numerals and that's working.  
  Also, the TOC itself must appear as an entry in the TOC.
  
  Here's the problem:  If I put my
  
  \addcontentsline{toc}{chapter}{Table of Contents}
  
  before the Lyx TOC widget, then the number that appears for the TOC in the 
  TOC is the page *before* the TOC actually starts.  If I put my 
  \addcontentsline{toc} *after* the Lyx TOC widget, the page number that 
  appears for the TOC in the TOC is the *second* page of the TOC!
  
  In both cases the pages themselves are numbered correctly.  It's just the
  page number in the TOC listing that is wrong.
 
 
 Hi Rich,
 
 Try adding to your preamble;
 \usepackage{tocbibind}
 
 Hope this helps.
 
 Lata,
 Paul
 


Re: why lyx when there's word?

2005-04-22 Thread Ernesto Jardim
Rich Drewes wrote:
On Fri, 22 Apr 2005, Ernesto Jardim wrote:

And for last, your arguments are very much depending on the use of 
pybliographic.

That was the best free  open source GUI bibliographic manager I had found
at the time that could insert references into a Lyx doc with a click and
also launch a reference's local .pdf file with a click.

Anyway, take a look at JabRef 
(http://jabref.sf.net). I was using pyblio and after trying JabRef I was 
so impressed I changed on the same day. Give it a try, its a great sofware.

I just gave it a try and may keep using it.  Functionally, it looks about
the same as Pybliographic as far as I can tell.  It is prettier though.  
Thanks for the tip.

On the downside, it is written in Java :)
Rich
Hmmm, it has a lot of nice features like accessing web databases and 
download records, like medline, etc. Import/export from more formats 
like ISI, JStor, medline, EndNote, etc. It also uses lyxpipe like 
pyblio. Searching is easier. A nice feature is to produce a BiBTeX file 
from a aux file, which I find quite nice if you keep your references in 
a big file and want to write a paper in colaboration with someone.

The java part is the worst, I agree, being prettier helps but it's not 
decisive.

Regards
EJ


Re: How to insert a new line into an array cell?

2005-04-22 Thread Paul A. Rubin
Patrick Gelin wrote:
Hi,
I can't use a CTRL + return into an array cell in order to add a new line.
Could you tell me if it's possible to get much more one line into an array
cell?
Thanks.
Not entirely sure what you mean.  If you're trying to get something like 
this

  | b
a |
  | c
-
d | e
in an array, you can just insert a 2x1 array in the upper right cell of 
a 2x2 array.

-- Paul


Re: How do you make a bibliography?

2005-04-22 Thread Matej Cepl
Steve Litt wrote:
 What is a site key, and what should I put in there? A number? A letter? A
cite ???

Actually, there is actually a semi-standard (not widely used though -- but I
like it), which is in $TEXMF/doc/bibtex/base/bibshare.

 Should the author be Lastname, Firstname MiddleInitial?

Doesn't have to ($TEXMF/doc/bibtex/base/btxdoc.*), but it seems to be the
most robust if you want to export to non-BibTeX databases.

 Why is there no provision to state a page number or chapter number?

page and chapter record.

 If it's a website, what reference type do I use. tkbibtex has all sorts of
 reference types, but Website isn't one of them?

 When referencing a website, do I put its URL in the URL field?

natbib supports record url, so for example I have this in my dbase:

  @misc{abreu:ESR-2001,
author = {Dilip Abreu and Rajiv Sethi},
title = {Evolutionary Stability in a Reputational Model of
   Bargaining},
institution = {Princeton University and Barnard College, Columbia
   University},
url = {http://ssrn.com/abstract=260652},
  }

 What are CROSSREF, CODE, ANNOTE and ABSTRACT for, and do I need to use
 those just to give credit to the original source of the material?

see $TEXMF/doc/bibtex/base/btxdoc.*

@incollection{coase:PSC-1960,
  author = {Ronald H. Coase},
  title = {The Problem of Social Cost},
  pages = {95--156},
  note = {First published in \emph{Journal of Law and Economics}
   3:1-44.},
  crossref = {coase:FML-1998},
}

@book{coase:FML-1998,
  publisher = pub-ucp,
  year = {1998},
  author = {Ronald H. Coase},
  address = addr-chi,
  booktitle = {The Firm, the Market, and the Law},
}

 Sometimes I reference a whole book, and sometimes I reference a tiny piece
 of text out of the book (within the bounds of fair use). How do these
 differ as far as the bibiliaography?

see @incollection.

Matj

--
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

As a rule of thumb, the more qualifiers there are before the name
of a country, the more corrupt the rulers. A country called The
Socialist People's Democratic Republic of X is probably the last
place in the world you'd want to live.
-- Paul Graham discussing (not only) Nigerian spam
   (http://www.paulgraham.com/spam.html)



Re: Sections

2005-04-22 Thread Matej Cepl
Peter Pieczora wrote:
 I get corrupted output ( exporting it to latex, I can see  Underfull
 \hbox (badness 1590) in paragraph error messages).

Underfull \hbox is a warning not error and it can be silently ignored in
most of the cases.

Matj

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Q: Is vi an easy editor to learn, is it intuitive?
A: Yes, some of us think so. But most people think that we are
   crazy.
-- vi FAQ



Re: How do you comment out content?

2005-04-22 Thread Angus Leeming
Steve Litt wrote:
 I have a small ( 1 page) section of my book which I'd like to
 temporarily comment out. Is there an environment with which I can make
 this text into a comment, so it can later easily be reincorporated as
 Standard environment, but for now not be visible in the output?

 Never mind, I found it. It's an evironment called Comment in the
 standard Book document class.

I suggest that you don't use this in LyX. You'll lose all nested
environments. Use the note inset instead.

-- 
Angus



Re: How do you comment out content?

2005-04-22 Thread Micha Feigin
On Fri, 22 Apr 2005 07:33:18 +
Angus Leeming [EMAIL PROTECTED] wrote:

 Steve Litt wrote:
  I have a small ( 1 page) section of my book which I'd like to
  temporarily comment out. Is there an environment with which I can make
  this text into a comment, so it can later easily be reincorporated as
  Standard environment, but for now not be visible in the output?
 
  Never mind, I found it. It's an evironment called Comment in the
  standard Book document class.
 
 I suggest that you don't use this in LyX. You'll lose all nested
 environments. Use the note inset instead.
 

Whats the note inset?

I use a dirtier trick using ert.

I define a new command in the preamble:
\newcommand{\ignore}[1]{}

and then before the start of the part I want to remove in at ert block
\ignore{
and after it in another ert block
}

 -- 
 Angus
 
  
  +++
  This Mail Was Scanned By Mail-seCure System
  at the Tel-Aviv University CC.
 

 
 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: How do you comment out content?

2005-04-22 Thread Angus Leeming
Micha Feigin wrote:
 Whats the note inset?

Insert-Note

-- 
Angus



Re: why lyx when there's word?

2005-04-22 Thread Ernesto Jardim
Rich Drewes wrote:
On Thu, 21 Apr 2005, Gerasimos Grammatikopoulos wrote:

One big issue here is that such third party add-ons for Word are usually paid 
their LOC in gold.

(LOC?)

Another problem is the quite frequent instabillity derived 
by overloading word with such bells and whistles. I can't tell anything 
about EndNote since I haven't used it, but ReferenceManager in its days had 
blown up in my face more than once.

Yes, I agree that stability can be an issue with Word addons.  I have
actually had rare Lyx crashes occur for me that appear to be related to
the pipe communication between Pybliographic and Lyx, and I have also had
some issues with Pybliographic importing reference files from major
journals.  (The Pybliographic problems seem to be related to those
journals putting out reference keys that Pybliographic didn't consider
standard format.  However, when I tried to import the same file in EndNote
it just worked.  From a user's perspective, just working with a
warning message perhaps would be prefereble to failure plus an obscure
error message which is what I got in Pybliographic.)
I have never lost data with Lyx.  Thanks, Lyx team.

Please keep in mind that you can rather 
easily change formatting of the references anytime you please while still 
not messing (and thus loosing time) with the actual archive.

This is a rather routine capability actually.  Word+EndNote can do it too.
Further, I have seen a live demonstration of some features of EndNote and
RefViz that are pretty cool; there is nothing comparable in
BibTex+Pybliographic or addons as far as I can find.  It turns out I don't
need those capabilities but I can see their usefulness.

You can also 
SQL-query for references if your university library offers such service. I 
for one, consider the TexMed web interface a god send.

Again, pretty routine stuff.  EndNote can do it.

OO.org's bibliography is far better than whatever hack you can get with the 
native MS Word endnotes.

I'm not sure we are on the same page . . .  EndNote isn't a native Word
package of course, it is an add on software package.  I tried OO's built
in bibliographic support and found it pretty useless for now.  
Latex+pybliographic was much better than OO's built in stuff for
bibliographic management.  I would put Latex+pybliographic as in the same
class as Word+Endote.  Word+Endnote have a few more features for
bibliographic management, but the basics are there in both.  As I said
there are some advanced features that Word+EndNote+RefViz can do that have
no counterpart in open source AFAIK (unfortunately).

Rich
Hi,
My 5 cents ...
One of the major feature with LyX/LaTeX is the text file. How many 
documents do you have in Word 2 that can not be opened anymore ? And how 
many more do you expect to loose with the evolution of Word file format 
? With text files you know that it will allways be possible to recover 
the information, even if LateX or LyX disapear.

Another major feature is the size of the files. Producing a simple paper 
for a scientific journal with a few equations and figures can result in 
a word file of several MB while in LaTeX/LyX it will be a few k, even 
including the size of the ps files for figures.

And for last, your arguments are very much depending on the use of 
pybliographic. I would say your comparing pybliographic with EndNote and 
not really LyX with Word ... Anyway, take a look at JabRef 
(http://jabref.sf.net). I was using pyblio and after trying JabRef I was 
so impressed I changed on the same day. Give it a try, its a great sofware.

Regards
EJ


Re: Background image in Beamer

2005-04-22 Thread samar
Eugenio wrote:
After some help from Till Tantau, and consulting every related document I 
could find, including de Lyx page, I developed an approach that works (?) 
for me including the following commands in the preamble:

\newcommand\BackgroundPicture[1]{%
   \setbeamertemplate{background}{%
   \parbox[c][\paperheight]{\paperwidth}{%
   \vfill \hfill 
\includegraphics[width=0.8\paperwidth,height=0.8\paperheight]{#1}
\hfill \vfill
 }}}

and using the command
\BackgroundPicture{image}
before the slide I need the background in.
I did the image processing with ImageMagick 1.6.9 tools, in order to 
reduce the intensity of the image in the background (dissolving an image 
onto a white background of the same size)

Any more contributions are accepted
Thanks
Eugenio Guevara
- Original Message - 
From: samar [EMAIL PROTECTED]
To: Eugenio Guevara [EMAIL PROTECTED]; 
lyx-users@lists.lyx.org
Sent: Sunday, April 17, 2005 7:17 AM
Subject: Re: Background image in Beamer


Hi Eugenio
I have been looking for an answer to this myself so I  waited hoping 
someone would answer your query.
The nearest I have got is putting a grid in according to the manual on 
page 59 which also mentions that one can put a picture in using the 
\setbeamertemplate{background}

For putting a grid in one just goes:
\setbeamertemplate{background}[grid]
according to the manual one can put in a background picture the same way 
but it gives no example how and all my attempts have not been very 
successful.

Perhaps someone more adroit at interpreting the manual will be kind 
enough to explain.

samar
- Original Message - 
From: Eugenio Guevara [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Sent: Saturday, April 16, 2005 11:04 AM
Subject: Background image in Beamer


I am using Beamer with Lyx 1.3.5 on a Windows XP platform.  I am 
preparing
a
presentation and can't find a way to put a background image on any frame 
and
change it as needed.

Can anyone give some light on this matter?
Thanks in advance
Eugenio Guevara

Eugenio
Thanks for the persistence. That  was great. Works like a dream.
A few thoughts:
1. Depending on the size of your background bitmap you may need to adjust 
the 0.8 factor in the preamble.

2. if like me you are using a dark background and find your
text becoming invisible the simple solution I use is to put in the preamble:
\usecolortheme{albatross}
Gives a great effect with a nearly black background
3. Is there any chance you or someone else can explain the logic of the 
preamble code?

4. As a  beamer user I am indebted to Till Tantau and his team for a great 
product that really fills a void
and for documentation which is probably as good as it ever gets. For me, its 
goodbye powerpoint which I abhorred
and mostly used Flash instead. That was hard work. Beamer is a dream by 
contrast.

samar 



Re: How do you comment out content?

2005-04-22 Thread Herbert Voss
Steve Litt wrote:
On Thursday 21 April 2005 07:14 pm, Steve Litt wrote:
Hi all,
I have a small ( 1 page) section of my book which I'd like to temporarily
comment out. Is there an environment with which I can make this text into a
comment, so it can later easily be reincorporated as Standard environment,
but for now not be visible in the output?

Never mind, I found it. It's an evironment called Comment in the standard 
Book document class.
it is better to use in ERT \iffalse and at the end of your
part also in ERT \fi
Herbert


Re: Background image in Beamer

2005-04-22 Thread Gerasimos Grammatikopoulos
On Friday 22 April 2005 12:28, samar wrote:
 Eugenio wrote:
  After some help from Till Tantau, and consulting every related document I
  could find, including de Lyx page, I developed an approach that works (?)
  for me including the following commands in the preamble:
 
  \newcommand\BackgroundPicture[1]{%
 \setbeamertemplate{background}{%
 \parbox[c][\paperheight]{\paperwidth}{%
 \vfill \hfill
  \includegraphics[width=0.8\paperwidth,height=0.8\paperheight]{#1}
  \hfill \vfill
   }}}
 
  and using the command
 
  \BackgroundPicture{image}
 
  before the slide I need the background in.
 
  I did the image processing with ImageMagick 1.6.9 tools, in order to
  reduce the intensity of the image in the background (dissolving an
  image onto a white background of the same size)
 
  Any more contributions are accepted
 
  Thanks
 
  Eugenio Guevara
 

 Eugenio

 Thanks for the persistence. That  was great. Works like a dream.

 A few thoughts:

 1. Depending on the size of your background bitmap you may need to adjust
 the 0.8 factor in the preamble.
I think a better approach would be to define the scale on a per image basis, 
i.e. in the form of \BackgroundPicture{image, desiredscale}. This can be 
rather easily done, by not declaring a fixed value on the preamble but rather 
defining a variable. This would allow different images with different 
dimensions for different slides.
Thus:
In the preamble:
\newcommand\BackgroundPicture[3]{%
\setbeamertemplate{background}{%
\parbox[c][\paperheight]{\paperwidth}{%
\vfill \hfill
 \includegraphics[width=#2\paperwidth,height=#3\paperheight]{#1}
 \hfill \vfill
  }}}

In the document body:
\BackgroundPicture{image, width factor, height factor}

I have not tried it yet, but I think it should work

 2. if like me you are using a dark background and find your
 text becoming invisible the simple solution I use is to put in the
 preamble:

 \usecolortheme{albatross}

 Gives a great effect with a nearly black background
You can also define colors explicitly, but this rather defies the ease-of-use 
and rapid-deployment points of the beamer class.


 3. Is there any chance you or someone else can explain the logic of the
 preamble code?
Ok, let's see if I can get this:
\newcommand\BackgroundPicture[3]{% 
%define a new command for later use (so that we don't have to write down this 
%all of this each time we need to do the same thing)
%The command will be \BackgroundPicture and it takes 3 arguments (Eugenio's 
%code took only one instead - [1] - the image file path) 

\setbeamertemplate{background}{%
%define the background beamer template as a:

\parbox[c][\paperheight]{\paperwidth}{%
%paragraph style box with the papersize dimensions 
% ([\paperheight]{\paperwidth}) and its contents centered ([c])

\vfill \hfill
%expand both vertically and horizontally

 \includegraphics[width=#2\paperwidth,height=#3\paperheight]{#1}
%instead of entering some text as is usually the case with \parbox
%insert an image whose path will be given as the first argument (#1)
%of the \BackgroundPicture command, width proportional to paperwidth
%at a scale factor given as the 2nd argument (#2) and height proportional
%to paperheight at a scale factor given as the 3rd argument (#3)

 \hfill \vfill
%again, expand both horizontal and vertical so that the end result is nicelly 
%centered and fills up the hole page

   }
%closing the \parbox definition
 }
%closing the background beamertemplate definition
}
%closing the BackgroundPicture newcommand definition




 4. As a  beamer user I am indebted to Till Tantau and his team for a great
 product that really fills a void
 and for documentation which is probably as good as it ever gets. For me,
 its goodbye powerpoint which I abhorred
 and mostly used Flash instead. That was hard work. Beamer is a dream by
 contrast.
PowerPoint (or any other of its contenders like OO.org's Impress) is nowhere 
near the class of this product. After discovering beamer, I never looked 
back: 
- Graphical quality others never dreamed of. I'm very fond of the rounded 
inner theme with shadows enabled that invariably leaves people 
speechless. :-)
- Unmatched ease of use and productivity speed. Try embedding complex tables 
and/or footnotes on any office-suite presentation app just for an example of 
exercise in futility.
- Portability. No need to bring along the whole computer or HOPE that the one 
provided by the organizers is compatible as in not only providing the 
necessary software (and thus practically LOCKING you on PowerPoint and NOT 
the latest version if you want to play it safely) but also configured 
appropriately for your presentation to work at 100%. Nah, the only need is 
for Acrobat Reader or almost any other pdf viewer app: a standard tool even 
for computers 10 years old.
The only case I will not use beamer is for special cases calling for 
MagicPoint, i.e. incorporating fully functional 

Re: How do you comment out content?

2005-04-22 Thread G. Milde
On 22.04.05, Micha Feigin wrote:
 On Fri, 22 Apr 2005 07:33:18 +
 Angus Leeming [EMAIL PROTECTED] wrote:
  Steve Litt wrote:
   I have a small ( 1 page) section of my book which I'd like to
   temporarily comment out. Is there an environment with which I can make
   this text into a comment, so it can later easily be reincorporated as
   Standard environment, but for now not be visible in the output?
  
   Never mind, I found it. It's an evironment called Comment in the
   standard Book document class.
  
  I suggest that you don't use this in LyX. You'll lose all nested
  environments. Use the note inset instead.
 
 I use a dirtier trick using ert.
 
 I define a new command in the preamble:
 \newcommand{\ignore}[1]{}
 
 and then before the start of the part I want to remove in at ert block
 \ignore{
 and after it in another ert block
 }

But why don't you just put \begin{comment} and \end{comment} as ERT around
the to-be-commented text? (Or Herberts tex commands)

Once I look at this, the LyXish solution would be to open a Comment
paragraph and nest the to-be-commented text in it. 

If the first line of the to-be-commented text is a Standard paragraph, this
can be converted to comment, if not, you need to insert some stuff so the
Comment paragraph is not removed before you are able to nest something in it.

Developers: 
---

 * could the Comment Style get a KeepEmpty 1 tag? 

 * What would be a command-sequence to open a Comment and nest the 
   selection in it (as opposed to setting all selected paragraphs to 
   Comment Style)?
   
   Or do we need a new lyx function for this.
   
Günter   






-- 
G.Milde web.de


Re: How do you comment out content?

2005-04-22 Thread Jean-Marc Lasgouttes
 G == G Milde [EMAIL PROTECTED] writes:

G Once I look at this, the LyXish solution would be to open a Comment
G paragraph and nest the to-be-commented text in it.

No. Select the text, press InsertNote.

What's so wrong with that that? Comment was a stop-gap measure, and it
should go. Actually, LyX 1.4.0 will have support for different types
of Notes, including Comment-like.

JMarc


Sections

2005-04-22 Thread Peter Pieczora
Hi,

When I use, in my document,  class article, and 2 environments, section and 
subsection. There are more than 20 sectons each with aprox. 5-10 subsections. 
I get corrupted output ( exporting it to latex, I can see  Underfull \hbox 
(badness 1590) in paragraph error messages). 
However when using amsart as a base class for the document, and even though 
error messages persist, produced output looks fine and is printable. 
AFAIK it has to do with hyphenation. I went on Dante and found few answers and 
possible solution, however none has helped solving this problem. 
Any ideas?

I attempted to create my own layout based on amsart ( since this one works 
fine ). I seem not to be able to ie. get section headers align left (setting, 
in my.layout,  Align Right  outputs section header aligned right in dvi, but 
setting it to Left outputs it centered).
Any tips how to get it right?   



Re: why lyx when there's word?

2005-04-22 Thread Mark Carroll
On Thu, 21 Apr 2005, Gerasimos Grammatikopoulos wrote:
(snip)
 Although Lyx provides another language layer over LaTeX (which works over
 plain TeX) its files still maintain a rather simple structure that becomes
 life-saving over crashes and glitches both Lyx-related and system-wide.
(snip)

True. (-: It'd be nice if the structure were documented somewhere, though
- whenever I want to write software that generates LyX files, I have to
reverse-engineer the format by inspecting various LyX files. At least, if
I'm using software that's a version or two behind, a later LyX will
generally happily read an older format LyX file with just a few
warnings.

-- Mark


Re: why lyx when there's word?

2005-04-22 Thread Jose' Matos
On Friday 22 April 2005 14:36, Mark Carroll wrote:

 True. (-: It'd be nice if the structure were documented somewhere, though
 - whenever I want to write software that generates LyX files, I have to
 reverse-engineer the format by inspecting various LyX files. At least, if
 I'm using software that's a version or two behind, a later LyX will
 generally happily read an older format LyX file with just a few
 warnings.

  Take a look to lyx2lyx comes with lyx.
  It is able to convert old files to the more recent format, so you 
shouldn't need to take care of that anymore. :-)

  Also all the changes after 1.3 are documented there.

 -- Mark

-- 
José Abílio


Re: How to insert a new line into an array cell?

2005-04-22 Thread samar
Patrick Gelin wrote:
Hi,
I can't use a CTRL + return into an array cell in order to add a new 
line.
Could you tell me if it's possible to get much more one line into an 
array
cell?

Thanks.
Not entirely sure what you mean.  If you're trying to get something like 
this

  | b
a |
  | c
-
d | e
in an array, you can just insert a 2x1 array in the upper right cell of a 
2x2 array.

-- Paul
Another possibility is to make the tabular array of fixed dimension, then 
you can use your return key.

samar 



Re: How do you comment out content?

2005-04-22 Thread Andre Poenitz
On Thu, Apr 21, 2005 at 07:14:58PM -0400, Steve Litt wrote:
 Hi all,
 
 I have a small ( 1 page) section of my book which I'd like to temporarily 
 comment out. Is there an environment with which I can make this text into a 
 comment, so it can later easily be reincorporated as Standard environment, 
 but for now not be visible in the output?

'\iffalse ' in ERT at the beginning and '\fi' in ERT at the end should
do the trick.

Andre'


Re: why lyx when there's word?

2005-04-22 Thread Rich Drewes
On Fri, 22 Apr 2005, Ernesto Jardim wrote:

 And for last, your arguments are very much depending on the use of 
 pybliographic.

That was the best free  open source GUI bibliographic manager I had found
at the time that could insert references into a Lyx doc with a click and
also launch a reference's local .pdf file with a click.

 Anyway, take a look at JabRef 
 (http://jabref.sf.net). I was using pyblio and after trying JabRef I was 
 so impressed I changed on the same day. Give it a try, its a great sofware.

I just gave it a try and may keep using it.  Functionally, it looks about
the same as Pybliographic as far as I can tell.  It is prettier though.  
Thanks for the tip.

On the downside, it is written in Java :)

Rich


Re: TOC headache

2005-04-22 Thread Rich Drewes
Hi Paul,

The \usepackage{tocbibind} did put the TOC in the TOC as desired, and it
numbered it in the TOC properly with the number of the first page of the
two-page TOC.

However, the Bibliography then appeared in the TOC *twice* at the end.  I
unclicked the include bibliography in TOC option in the Lyx Bib widget
and that fixed that problem.

Thanks!

Rich 


On Tue, 19 Apr 2005, Paul Medwell wrote:

 Rich Drewes wrote:
  I have a TOC that is two pages long.  I must number my abstract, TOC, list 
  of figures, and other frontmatter with roman numerals and that's working.  
  Also, the TOC itself must appear as an entry in the TOC.
  
  Here's the problem:  If I put my
  
  \addcontentsline{toc}{chapter}{Table of Contents}
  
  before the Lyx TOC widget, then the number that appears for the TOC in the 
  TOC is the page *before* the TOC actually starts.  If I put my 
  \addcontentsline{toc} *after* the Lyx TOC widget, the page number that 
  appears for the TOC in the TOC is the *second* page of the TOC!
  
  In both cases the pages themselves are numbered correctly.  It's just the
  page number in the TOC listing that is wrong.
 
 
 Hi Rich,
 
 Try adding to your preamble;
 \usepackage{tocbibind}
 
 Hope this helps.
 
 Lata,
 Paul
 


Re: why lyx when there's word?

2005-04-22 Thread Ernesto Jardim
Rich Drewes wrote:
On Fri, 22 Apr 2005, Ernesto Jardim wrote:

And for last, your arguments are very much depending on the use of 
pybliographic.

That was the best free  open source GUI bibliographic manager I had found
at the time that could insert references into a Lyx doc with a click and
also launch a reference's local .pdf file with a click.

Anyway, take a look at JabRef 
(http://jabref.sf.net). I was using pyblio and after trying JabRef I was 
so impressed I changed on the same day. Give it a try, its a great sofware.

I just gave it a try and may keep using it.  Functionally, it looks about
the same as Pybliographic as far as I can tell.  It is prettier though.  
Thanks for the tip.

On the downside, it is written in Java :)
Rich
Hmmm, it has a lot of nice features like accessing web databases and 
download records, like medline, etc. Import/export from more formats 
like ISI, JStor, medline, EndNote, etc. It also uses lyxpipe like 
pyblio. Searching is easier. A nice feature is to produce a BiBTeX file 
from a aux file, which I find quite nice if you keep your references in 
a big file and want to write a paper in colaboration with someone.

The java part is the worst, I agree, being prettier helps but it's not 
decisive.

Regards
EJ


Re: How to insert a new line into an array cell?

2005-04-22 Thread Paul A. Rubin
Patrick Gelin wrote:
Hi,
I can't use a CTRL + return into an array cell in order to add a new line.
Could you tell me if it's possible to get much more one line into an array
cell?
Thanks.
Not entirely sure what you mean.  If you're trying to get something like 
this

  | b
a |
  | c
-
d | e
in an array, you can just insert a 2x1 array in the upper right cell of 
a 2x2 array.

-- Paul


Re: How do you make a bibliography?

2005-04-22 Thread Matej Cepl
Steve Litt wrote:
 What is a site key, and what should I put in there? A number? A letter? A
cite ???

Actually, there is actually a semi-standard (not widely used though -- but I
like it), which is in $TEXMF/doc/bibtex/base/bibshare.

 Should the author be Lastname, Firstname MiddleInitial?

Doesn't have to ($TEXMF/doc/bibtex/base/btxdoc.*), but it seems to be the
most robust if you want to export to non-BibTeX databases.

 Why is there no provision to state a page number or chapter number?

page and chapter record.

 If it's a website, what reference type do I use. tkbibtex has all sorts of
 reference types, but Website isn't one of them?

 When referencing a website, do I put its URL in the URL field?

natbib supports record url, so for example I have this in my dbase:

  @misc{abreu:ESR-2001,
author = {Dilip Abreu and Rajiv Sethi},
title = {Evolutionary Stability in a Reputational Model of
   Bargaining},
institution = {Princeton University and Barnard College, Columbia
   University},
url = {http://ssrn.com/abstract=260652},
  }

 What are CROSSREF, CODE, ANNOTE and ABSTRACT for, and do I need to use
 those just to give credit to the original source of the material?

see $TEXMF/doc/bibtex/base/btxdoc.*

@incollection{coase:PSC-1960,
  author = {Ronald H. Coase},
  title = {The Problem of Social Cost},
  pages = {95--156},
  note = {First published in \emph{Journal of Law and Economics}
   3:1-44.},
  crossref = {coase:FML-1998},
}

@book{coase:FML-1998,
  publisher = pub-ucp,
  year = {1998},
  author = {Ronald H. Coase},
  address = addr-chi,
  booktitle = {The Firm, the Market, and the Law},
}

 Sometimes I reference a whole book, and sometimes I reference a tiny piece
 of text out of the book (within the bounds of fair use). How do these
 differ as far as the bibiliaography?

see @incollection.

Matj

--
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

As a rule of thumb, the more qualifiers there are before the name
of a country, the more corrupt the rulers. A country called The
Socialist People's Democratic Republic of X is probably the last
place in the world you'd want to live.
-- Paul Graham discussing (not only) Nigerian spam
   (http://www.paulgraham.com/spam.html)



Re: Sections

2005-04-22 Thread Matej Cepl
Peter Pieczora wrote:
 I get corrupted output ( exporting it to latex, I can see  Underfull
 \hbox (badness 1590) in paragraph error messages).

Underfull \hbox is a warning not error and it can be silently ignored in
most of the cases.

Matj

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Q: Is vi an easy editor to learn, is it intuitive?
A: Yes, some of us think so. But most people think that we are
   crazy.
-- vi FAQ



Re: How do you "comment out" content?

2005-04-22 Thread Angus Leeming
Steve Litt wrote:
>> I have a small (< 1 page) section of my book which I'd like to
>> temporarily comment out. Is there an environment with which I can make
>> this text into a comment, so it can later easily be reincorporated as
>> Standard environment, but for now not be visible in the output?

> Never mind, I found it. It's an evironment called "Comment" in the
> standard Book document class.

I suggest that you don't use this in LyX. You'll lose all nested
environments. Use the "note" inset instead.

-- 
Angus



Re: How do you "comment out" content?

2005-04-22 Thread Micha Feigin
On Fri, 22 Apr 2005 07:33:18 +
Angus Leeming <[EMAIL PROTECTED]> wrote:

> Steve Litt wrote:
> >> I have a small (< 1 page) section of my book which I'd like to
> >> temporarily comment out. Is there an environment with which I can make
> >> this text into a comment, so it can later easily be reincorporated as
> >> Standard environment, but for now not be visible in the output?
> 
> > Never mind, I found it. It's an evironment called "Comment" in the
> > standard Book document class.
> 
> I suggest that you don't use this in LyX. You'll lose all nested
> environments. Use the "note" inset instead.
> 

Whats the note inset?

I use a dirtier trick using ert.

I define a new command in the preamble:
\newcommand{\ignore}[1]{}

and then before the start of the part I want to remove in at ert block
\ignore{
and after it in another ert block
}

> -- 
> Angus
> 
>  
>  +++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 

 
 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: How do you "comment out" content?

2005-04-22 Thread Angus Leeming
Micha Feigin wrote:
> Whats the note inset?

Insert->Note

-- 
Angus



Re: "why lyx when there's word?"

2005-04-22 Thread Ernesto Jardim
Rich Drewes wrote:
On Thu, 21 Apr 2005, Gerasimos Grammatikopoulos wrote:

One big issue here is that such third party add-ons for Word are usually paid 
their LOC in gold.

(LOC?)

Another problem is the quite frequent instabillity derived 
by "overloading" word with such bells and whistles. I can't tell anything 
about EndNote since I haven't used it, but ReferenceManager in its days had 
blown up in my face more than once.

Yes, I agree that stability can be an issue with Word addons.  I have
actually had rare Lyx crashes occur for me that appear to be related to
the pipe communication between Pybliographic and Lyx, and I have also had
some issues with Pybliographic importing reference files from major
journals.  (The Pybliographic problems seem to be related to those
journals putting out reference keys that Pybliographic didn't consider
standard format.  However, when I tried to import the same file in EndNote
it "just worked".  From a user's perspective, "just working" with a
warning message perhaps would be prefereble to failure plus an obscure
error message which is what I got in Pybliographic.)
I have never lost data with Lyx.  Thanks, Lyx team.

Please keep in mind that you can rather 
easily change "formatting" of the references anytime you please while still 
not messing (and thus loosing time) with the actual archive.

This is a rather routine capability actually.  Word+EndNote can do it too.
Further, I have seen a live demonstration of some features of EndNote and
RefViz that are pretty cool; there is nothing comparable in
BibTex+Pybliographic or addons as far as I can find.  It turns out I don't
need those capabilities but I can see their usefulness.

You can also 
SQL-query for references if your university library offers such service. I 
for one, consider the TexMed web interface a god send.

Again, pretty routine stuff.  EndNote can do it.

OO.org's bibliography is far better than whatever "hack" you can get with the 
native MS Word endnotes.

I'm not sure we are on the same page . . .  EndNote isn't a native Word
package of course, it is an add on software package.  I tried OO's built
in bibliographic support and found it pretty useless for now.  
Latex+pybliographic was much better than OO's built in stuff for
bibliographic management.  I would put Latex+pybliographic as in the same
class as Word+Endote.  Word+Endnote have a few more features for
bibliographic management, but the basics are there in both.  As I said
there are some advanced features that Word+EndNote+RefViz can do that have
no counterpart in open source AFAIK (unfortunately).

Rich
Hi,
My 5 cents ...
One of the major feature with LyX/LaTeX is the text file. How many 
documents do you have in Word 2 that can not be opened anymore ? And how 
many more do you expect to loose with the evolution of Word file format 
? With text files you know that it will allways be possible to recover 
the information, even if LateX or LyX disapear.

Another major feature is the size of the files. Producing a simple paper 
for a scientific journal with a few equations and figures can result in 
a word file of several MB while in LaTeX/LyX it will be a few k, even 
including the size of the ps files for figures.

And for last, your arguments are very much depending on the use of 
pybliographic. I would say your comparing pybliographic with EndNote and 
not really LyX with Word ... Anyway, take a look at JabRef 
(http://jabref.sf.net). I was using pyblio and after trying JabRef I was 
so impressed I changed on the same day. Give it a try, its a great sofware.

Regards
EJ


Re: Background image in Beamer

2005-04-22 Thread samar
Eugenio wrote:
After some help from Till Tantau, and consulting every related document I 
could find, including de Lyx page, I developed an approach that works (?) 
for me including the following commands in the preamble:

\newcommand\BackgroundPicture[1]{%
   \setbeamertemplate{background}{%
   \parbox[c][\paperheight]{\paperwidth}{%
   \vfill \hfill 
\includegraphics[width=0.8\paperwidth,height=0.8\paperheight]{#1}
\hfill \vfill
 }}}

and using the command
\BackgroundPicture{image}
before the slide I need the background in.
I did the image processing with ImageMagick 1.6.9 tools, in order to 
"reduce" the intensity of the image in the background (dissolving an image 
onto a white background of the same size)

Any more contributions are accepted
Thanks
Eugenio Guevara
- Original Message - 
From: "samar" <[EMAIL PROTECTED]>
To: "Eugenio Guevara" <[EMAIL PROTECTED]>; 

Sent: Sunday, April 17, 2005 7:17 AM
Subject: Re: Background image in Beamer


Hi Eugenio
I have been looking for an answer to this myself so I  waited hoping 
someone would answer your query.
The nearest I have got is putting a grid in according to the manual on 
page 59 which also mentions that one can put a picture in using the 
\setbeamertemplate{background}

For putting a grid in one just goes:
\setbeamertemplate{background}[grid]
according to the manual one can put in a background picture the same way 
but it gives no example how and all my attempts have not been very 
successful.

Perhaps someone more adroit at interpreting the manual will be kind 
enough to explain.

samar
- Original Message - 
From: "Eugenio Guevara" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, April 16, 2005 11:04 AM
Subject: Background image in Beamer


I am using Beamer with Lyx 1.3.5 on a Windows XP platform.  I am 
preparing
a
presentation and can't find a way to put a background image on any frame 
and
change it as needed.

Can anyone give some light on this matter?
Thanks in advance
Eugenio Guevara

Eugenio
Thanks for the persistence. That  was great. Works like a dream.
A few thoughts:
1. Depending on the size of your background bitmap you may need to adjust 
the 0.8 factor in the preamble.

2. if like me you are using a dark background and find your
text becoming invisible the simple solution I use is to put in the preamble:
\usecolortheme{albatross}
Gives a great effect with a nearly black background
3. Is there any chance you or someone else can explain the logic of the 
preamble code?

4. As a  beamer user I am indebted to Till Tantau and his team for a great 
product that really fills a void
and for documentation which is probably as good as it ever gets. For me, its 
goodbye powerpoint which I abhorred
and mostly used Flash instead. That was hard work. Beamer is a dream by 
contrast.

samar 



Re: How do you "comment out" content?

2005-04-22 Thread Herbert Voss
Steve Litt wrote:
On Thursday 21 April 2005 07:14 pm, Steve Litt wrote:
Hi all,
I have a small (< 1 page) section of my book which I'd like to temporarily
comment out. Is there an environment with which I can make this text into a
comment, so it can later easily be reincorporated as Standard environment,
but for now not be visible in the output?

Never mind, I found it. It's an evironment called "Comment" in the standard 
Book document class.
it is better to use in ERT \iffalse and at the end of your
part also in ERT \fi
Herbert


Re: Background image in Beamer

2005-04-22 Thread Gerasimos Grammatikopoulos
On Friday 22 April 2005 12:28, samar wrote:
> Eugenio wrote:
> > After some help from Till Tantau, and consulting every related document I
> > could find, including de Lyx page, I developed an approach that works (?)
> > for me including the following commands in the preamble:
> >
> > \newcommand\BackgroundPicture[1]{%
> >\setbeamertemplate{background}{%
> >\parbox[c][\paperheight]{\paperwidth}{%
> >\vfill \hfill
> > \includegraphics[width=0.8\paperwidth,height=0.8\paperheight]{#1}
> > \hfill \vfill
> >  }}}
> >
> > and using the command
> >
> > \BackgroundPicture{image}
> >
> > before the slide I need the background in.
> >
> > I did the image processing with ImageMagick 1.6.9 tools, in order to
> > "reduce" the intensity of the image in the background (dissolving an
> > image onto a white background of the same size)
> >
> > Any more contributions are accepted
> >
> > Thanks
> >
> > Eugenio Guevara
> >
>
> Eugenio
>
> Thanks for the persistence. That  was great. Works like a dream.
>
> A few thoughts:
>
> 1. Depending on the size of your background bitmap you may need to adjust
> the 0.8 factor in the preamble.
I think a better approach would be to define the scale on a per image basis, 
i.e. in the form of \BackgroundPicture{, }. This can be 
rather easily done, by not declaring a fixed value on the preamble but rather 
defining a variable. This would allow different images with different 
dimensions for different slides.
Thus:
In the preamble:
\newcommand\BackgroundPicture[3]{%
\setbeamertemplate{background}{%
\parbox[c][\paperheight]{\paperwidth}{%
\vfill \hfill
 \includegraphics[width=#2\paperwidth,height=#3\paperheight]{#1}
 \hfill \vfill
  }}}

In the document body:
\BackgroundPicture{, , }

I have not tried it yet, but I think it should work

> 2. if like me you are using a dark background and find your
> text becoming invisible the simple solution I use is to put in the
> preamble:
>
> \usecolortheme{albatross}
>
> Gives a great effect with a nearly black background
You can also define colors explicitly, but this rather defies the ease-of-use 
and rapid-deployment points of the beamer class.


> 3. Is there any chance you or someone else can explain the logic of the
> preamble code?
Ok, let's see if I can get this:
\newcommand\BackgroundPicture[3]{% 
%define a new command for later use (so that we don't have to write down this 
%all of this each time we need to do the same thing)
%The command will be "\BackgroundPicture" and it takes 3 arguments (Eugenio's 
%code took only one instead - [1] - the image file path) 

\setbeamertemplate{background}{%
%define the background beamer template as a:

\parbox[c][\paperheight]{\paperwidth}{%
%"paragraph style box" with the papersize dimensions 
% ([\paperheight]{\paperwidth}) and its contents centered ([c])

\vfill \hfill
%expand both vertically and horizontally

 \includegraphics[width=#2\paperwidth,height=#3\paperheight]{#1}
%instead of entering some text as is usually the case with \parbox
%insert an image whose path will be given as the first argument (#1)
%of the \BackgroundPicture command, width proportional to paperwidth
%at a scale factor given as the 2nd argument (#2) and height proportional
%to paperheight at a scale factor given as the 3rd argument (#3)

 \hfill \vfill
%again, expand both horizontal and vertical so that the end result is nicelly 
%centered and fills up the hole page

   }
%closing the \parbox definition
 }
%closing the background beamertemplate definition
}
%closing the BackgroundPicture newcommand definition




> 4. As a  beamer user I am indebted to Till Tantau and his team for a great
> product that really fills a void
> and for documentation which is probably as good as it ever gets. For me,
> its goodbye powerpoint which I abhorred
> and mostly used Flash instead. That was hard work. Beamer is a dream by
> contrast.
PowerPoint (or any other of its contenders like OO.org's Impress) is nowhere 
near the class of this product. After discovering beamer, I never looked 
back: 
- Graphical quality others never dreamed of. I'm very fond of the "rounded" 
inner theme with shadows enabled that invariably leaves people 
speechless. :-)
- Unmatched ease of use and productivity speed. Try embedding complex tables 
and/or footnotes on any office-suite presentation app just for an example of 
exercise in futility.
- Portability. No need to bring along the whole computer or HOPE that the one 
provided by the organizers is compatible as in not only providing the 
necessary software (and thus practically LOCKING you on PowerPoint and NOT 
the latest version if you want to play it safely) but also configured 
appropriately for your presentation to work at 100%. Nah, the only need is 
for Acrobat Reader or almost any other pdf viewer app: a standard tool even 
for computers 10 years old.
The only case I will not use beamer is for "special cases" calling for 

Re: How do you "comment out" content?

2005-04-22 Thread G. Milde
On 22.04.05, Micha Feigin wrote:
> On Fri, 22 Apr 2005 07:33:18 +
> Angus Leeming <[EMAIL PROTECTED]> wrote:
> > Steve Litt wrote:
> > >> I have a small (< 1 page) section of my book which I'd like to
> > >> temporarily comment out. Is there an environment with which I can make
> > >> this text into a comment, so it can later easily be reincorporated as
> > >> Standard environment, but for now not be visible in the output?
> > 
> > > Never mind, I found it. It's an evironment called "Comment" in the
> > > standard Book document class.
> > 
> > I suggest that you don't use this in LyX. You'll lose all nested
> > environments. Use the "note" inset instead.
 
> I use a dirtier trick using ert.
> 
> I define a new command in the preamble:
> \newcommand{\ignore}[1]{}
> 
> and then before the start of the part I want to remove in at ert block
> \ignore{
> and after it in another ert block
> }

But why don't you just put \begin{comment} and \end{comment} as ERT around
the to-be-commented text? (Or Herberts tex commands)

Once I look at this, the LyXish solution would be to open a Comment
paragraph and nest the to-be-commented text in it. 

If the first line of the to-be-commented text is a Standard paragraph, this
can be converted to comment, if not, you need to insert some stuff so the
Comment paragraph is not removed before you are able to nest something in it.

Developers: 
---

 * could the Comment Style get a KeepEmpty 1 tag? 

 * What would be a command-sequence to open a Comment and nest the 
   selection in it (as opposed to setting all selected paragraphs to 
   Comment Style)?
   
   Or do we need a new lyx function for this.
   
Günter   






-- 
G.Milde web.de


Re: How do you "comment out" content?

2005-04-22 Thread Jean-Marc Lasgouttes
> "G" == G Milde <[EMAIL PROTECTED]> writes:

G> Once I look at this, the LyXish solution would be to open a Comment
G> paragraph and nest the to-be-commented text in it.

No. Select the text, press Insert>Note.

What's so wrong with that that? Comment was a stop-gap measure, and it
should go. Actually, LyX 1.4.0 will have support for different types
of Notes, including Comment-like.

JMarc


Sections

2005-04-22 Thread Peter Pieczora
Hi,

When I use, in my document,  class article, and 2 environments, section and 
subsection. There are more than 20 sectons each with aprox. 5-10 subsections. 
I get corrupted output ( exporting it to latex, I can see  "Underfull \hbox 
(badness 1590) in paragraph" error messages). 
However when using amsart as a base class for the document, and even though 
error messages persist, produced output looks fine and is printable. 
AFAIK it has to do with hyphenation. I went on Dante and found few answers and 
possible solution, however none has helped solving this problem. 
Any ideas?

I attempted to create my own layout based on amsart ( since this one works 
fine ). I seem not to be able to ie. get section headers align left (setting, 
in my.layout,  Align Right  outputs section header aligned right in dvi, but 
setting it to Left outputs it centered).
Any tips how to get it right?   



Re: "why lyx when there's word?"

2005-04-22 Thread Mark Carroll
On Thu, 21 Apr 2005, Gerasimos Grammatikopoulos wrote:
(snip)
> Although Lyx provides another language layer over LaTeX (which works over
> plain TeX) its files still maintain a rather simple structure that becomes
> life-saving over crashes and glitches both Lyx-related and system-wide.
(snip)

True. (-: It'd be nice if the structure were documented somewhere, though
- whenever I want to write software that generates LyX files, I have to
reverse-engineer the format by inspecting various LyX files. At least, if
I'm using software that's a version or two behind, a later LyX will
generally happily read an "older format" LyX file with just a few
warnings.

-- Mark


Re: "why lyx when there's word?"

2005-04-22 Thread Jose' Matos
On Friday 22 April 2005 14:36, Mark Carroll wrote:
>
> True. (-: It'd be nice if the structure were documented somewhere, though
> - whenever I want to write software that generates LyX files, I have to
> reverse-engineer the format by inspecting various LyX files. At least, if
> I'm using software that's a version or two behind, a later LyX will
> generally happily read an "older format" LyX file with just a few
> warnings.

  Take a look to lyx2lyx comes with lyx.
  It is able to convert old files to the more recent format, so you 
shouldn't need to take care of that anymore. :-)

  Also all the changes after 1.3 are documented there.

> -- Mark

-- 
José Abílio


Re: How to insert a new line into an array cell?

2005-04-22 Thread samar
Patrick Gelin wrote:
Hi,
I can't use a CTRL + return into an array cell in order to add a new 
line.
Could you tell me if it's possible to get much more one line into an 
array
cell?

Thanks.
Not entirely sure what you mean.  If you're trying to get something like 
this

  | b
a |
  | c
-
d | e
in an array, you can just insert a 2x1 array in the upper right cell of a 
2x2 array.

-- Paul
Another possibility is to make the tabular array of fixed dimension, then 
you can use your return key.

samar 



Re: How do you "comment out" content?

2005-04-22 Thread Andre Poenitz
On Thu, Apr 21, 2005 at 07:14:58PM -0400, Steve Litt wrote:
> Hi all,
> 
> I have a small (< 1 page) section of my book which I'd like to temporarily 
> comment out. Is there an environment with which I can make this text into a 
> comment, so it can later easily be reincorporated as Standard environment, 
> but for now not be visible in the output?

'\iffalse ' in ERT at the beginning and '\fi' in ERT at the end should
do the trick.

Andre'


Re: "why lyx when there's word?"

2005-04-22 Thread Rich Drewes
On Fri, 22 Apr 2005, Ernesto Jardim wrote:

> And for last, your arguments are very much depending on the use of 
> pybliographic.

That was the best free & open source GUI bibliographic manager I had found
at the time that could insert references into a Lyx doc with a click and
also launch a reference's local .pdf file with a click.

> Anyway, take a look at JabRef 
> (http://jabref.sf.net). I was using pyblio and after trying JabRef I was 
> so impressed I changed on the same day. Give it a try, its a great sofware.

I just gave it a try and may keep using it.  Functionally, it looks about
the same as Pybliographic as far as I can tell.  It is prettier though.  
Thanks for the tip.

On the downside, it is written in Java :)

Rich


Re: TOC headache

2005-04-22 Thread Rich Drewes
Hi Paul,

The \usepackage{tocbibind} did put the TOC in the TOC as desired, and it
numbered it in the TOC properly with the number of the first page of the
two-page TOC.

However, the Bibliography then appeared in the TOC *twice* at the end.  I
unclicked the "include bibliography in TOC" option in the Lyx Bib widget
and that fixed that problem.

Thanks!

Rich 


On Tue, 19 Apr 2005, Paul Medwell wrote:

> Rich Drewes wrote:
> > I have a TOC that is two pages long.  I must number my abstract, TOC, list 
> > of figures, and other frontmatter with roman numerals and that's working.  
> > Also, the TOC itself must appear as an entry in the TOC.
> > 
> > Here's the problem:  If I put my
> > 
> > \addcontentsline{toc}{chapter}{Table of Contents}
> > 
> > before the Lyx TOC widget, then the number that appears for the TOC in the 
> > TOC is the page *before* the TOC actually starts.  If I put my 
> > \addcontentsline{toc} *after* the Lyx TOC widget, the page number that 
> > appears for the TOC in the TOC is the *second* page of the TOC!
> > 
> > In both cases the pages themselves are numbered correctly.  It's just the
> > page number in the TOC listing that is wrong.
> 
> 
> Hi Rich,
> 
> Try adding to your preamble;
> \usepackage{tocbibind}
> 
> Hope this helps.
> 
> Lata,
> Paul
> 


Re: "why lyx when there's word?"

2005-04-22 Thread Ernesto Jardim
Rich Drewes wrote:
On Fri, 22 Apr 2005, Ernesto Jardim wrote:

And for last, your arguments are very much depending on the use of 
pybliographic.

That was the best free & open source GUI bibliographic manager I had found
at the time that could insert references into a Lyx doc with a click and
also launch a reference's local .pdf file with a click.

Anyway, take a look at JabRef 
(http://jabref.sf.net). I was using pyblio and after trying JabRef I was 
so impressed I changed on the same day. Give it a try, its a great sofware.

I just gave it a try and may keep using it.  Functionally, it looks about
the same as Pybliographic as far as I can tell.  It is prettier though.  
Thanks for the tip.

On the downside, it is written in Java :)
Rich
Hmmm, it has a lot of nice features like accessing web databases and 
download records, like medline, etc. Import/export from more formats 
like ISI, JStor, medline, EndNote, etc. It also uses lyxpipe like 
pyblio. Searching is easier. A nice feature is to produce a BiBTeX file 
from a aux file, which I find quite nice if you keep your references in 
a big file and want to write a paper in colaboration with someone.

The java part is the worst, I agree, being prettier helps but it's not 
decisive.

Regards
EJ


Re: How to insert a new line into an array cell?

2005-04-22 Thread Paul A. Rubin
Patrick Gelin wrote:
Hi,
I can't use a CTRL + return into an array cell in order to add a new line.
Could you tell me if it's possible to get much more one line into an array
cell?
Thanks.
Not entirely sure what you mean.  If you're trying to get something like 
this

  | b
a |
  | c
-
d | e
in an array, you can just insert a 2x1 array in the upper right cell of 
a 2x2 array.

-- Paul


Re: How do you make a bibliography?

2005-04-22 Thread Matej Cepl
Steve Litt wrote:
> What is a site key, and what should I put in there? A number? A letter? A
cite ???

Actually, there is actually a semi-standard (not widely used though -- but I
like it), which is in $TEXMF/doc/bibtex/base/bibshare.

> Should the author be Lastname, Firstname MiddleInitial?

Doesn't have to ($TEXMF/doc/bibtex/base/btxdoc.*), but it seems to be the
most robust if you want to export to non-BibTeX databases.

> Why is there no provision to state a page number or chapter number?

page and chapter record.

> If it's a website, what reference type do I use. tkbibtex has all sorts of
> reference types, but "Website" isn't one of them?
>
> When referencing a website, do I put its URL in the URL field?

natbib supports record url, so for example I have this in my dbase:

  @misc{abreu:ESR-2001,
author = {Dilip Abreu and Rajiv Sethi},
title = {Evolutionary Stability in a Reputational Model of
   Bargaining},
institution = {Princeton University and Barnard College, Columbia
   University},
url = {http://ssrn.com/abstract=260652},
  }

> What are CROSSREF, CODE, ANNOTE and ABSTRACT for, and do I need to use
> those just to give credit to the original source of the material?

see $TEXMF/doc/bibtex/base/btxdoc.*

@incollection{coase:PSC-1960,
  author = {Ronald H. Coase},
  title = {The Problem of Social Cost},
  pages = {95--156},
  note = {First published in \emph{Journal of Law and Economics}
   3:1-44.},
  crossref = {coase:FML-1998},
}

@book{coase:FML-1998,
  publisher = pub-ucp,
  year = {1998},
  author = {Ronald H. Coase},
  address = addr-chi,
  booktitle = {The Firm, the Market, and the Law},
}

> Sometimes I reference a whole book, and sometimes I reference a tiny piece
> of text out of the book (within the bounds of fair use). How do these
> differ as far as the bibiliaography?

see @incollection.

Matěj

--
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

As a rule of thumb, the more qualifiers there are before the name
of a country, the more corrupt the rulers. A country called The
Socialist People's Democratic Republic of X is probably the last
place in the world you'd want to live.
-- Paul Graham discussing (not only) Nigerian spam
   (http://www.paulgraham.com/spam.html)



Re: Sections

2005-04-22 Thread Matej Cepl
Peter Pieczora wrote:
> I get corrupted output ( exporting it to latex, I can see  "Underfull
> \hbox (badness 1590) in paragraph" error messages).

Underfull \hbox is a warning not error and it can be silently ignored in
most of the cases.

Matěj

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Q: Is vi an easy editor to learn, is it intuitive?
A: Yes, some of us think so. But most people think that we are
   crazy.
-- vi FAQ