More document styles

1999-07-27 Thread Albert Wagner


I am a new user, unfamiliar with Latex and Lyx.  Is there a web site
where new styles are submitted for download?  Specifically, I am looking
for an MLA(Modern Language Association) style for use as undergraduate
in college.



Re: Whats this error?

1999-07-27 Thread Julián Muñoz Domínguez

On Sun, 25 Jul 1999, Markus Mohr wrote:

> Hi!
> 
> This is a small part of a document, that was only created with Lyx. I
> get this strange error I can't fix.
> It says:
> 
> ! Undefined control sequence.
> 
> \Url Error ->\url used in a movong argument.

Hi had the same problem. It is a LaTex limitation, it can't put URLs
in footnotes :-(




Re: tables within an enumerated list ?

1999-07-27 Thread Julián Muñoz Domínguez

On Sat, 24 Jul 1999, Ronald Florence wrote:

> I want a table under one item of an enumerated list, with subsequent
> items numbered in sequence:

It is very easy, lLook at the documentation, about nesting.
Go to the table, and push the <- -> Buton on the toolbar.







Re: restrictions on accenting

1999-07-27 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| I do not really know why these characters are considered as not
| valid. Maybe Lars could comment on this, since I believe he added that
| code. 

The "Allow Accents on all chars" was added for use with T1 fonts. All
accents found in T1 is enabled always, but if you want others (like
tilde-T) you have to check the box.

I am not sure if you should keep it.

Lgb



Re: lyx backup directory

1999-07-27 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| > "Kevin" == Kevin Chu <[EMAIL PROTECTED]> writes:
| 
| Kevin> Jean-Marc Lasgouttes wrote:
| >> backups/main.lyx~ part1/main.lyx part2/main.lyx
| >> 
| >> Exercise: can you tell me what main.lyx backup file has been put un
| >> the backup/ directory???
| 
| Kevin> backups/part1/main.lyx backups/part2/main.lyx
| 
| Yes, but this means building a hierarchy of directories if things get
| too complicated. Thinking about it, the best solution is probably to
| have a backup directory in every directory. 

backups/part1#main.lyx
backups/part2#main.lyx 

then.

Lgb



Re: A0 poster using lyx

1999-07-27 Thread Jean-Marc Lasgouttes

> "Bill" == Bill Simpson <[EMAIL PROTECTED]> writes:

Bill> I am trying to get the method from the web site working.  He has
Bill> included an example .tex file.  The opening of his .tex file
Bill> refers to a0poster.cls, which I attach. I have installed this
Bill> .cls in /usr/lib/teTeX/texmf/latex/misc and ran texhash.

Bill> How make this work from LyX?  I have read the customization.lyx
Bill> section 6 on this. But I still am not clear on it. Is there some
Bill> fairly "automatic" way to make a .layout file from a .cls file?

There is no automatic way that I know of. Fortunately, it seems that
his code just takes the article class and changes font sizes and
margins (which are not important for LyX). So as a first step, you can
copy article.layout as a0poster.layout and change the first lines to
read:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{A0 Poster}

Then run Option-Reconfigure from inside LyX, restart LyX, and it
should work. A few more tweaks could be necessary for correct support,
but most of it should be there.

JMarc



A0 poster using lyx

1999-07-27 Thread Bill Simpson

I was inspired by
http://www.cstr.ed.ac.uk/~robert/posters.html
to try to make my next conference poster all on one big A0 piece of
paper using using latex. My univ has one of these A0 printers.

Before going any further I should ask if anyone has produced an A0poster
using LyX, and if anyone has therefore set up a LyX A0 poster textclass?

I am trying to get the method from the web site working.  He has included
an example .tex file.  The opening of his .tex file refers to
a0poster.cls, which I attach. I have installed this .cls in
/usr/lib/teTeX/texmf/latex/misc
and ran texhash.

How make this work from LyX?  I have read the customization.lyx
section 6 on this. But I still am not clear on it. Is there some fairly
"automatic" way to make a .layout file from a .cls file?

It appears that I have to write a file a0poster.layout and save it in
/usr/local/share/lyx/layouts. Once this is done, I should be able to
select Layout->Document->Class->a0poster.  The big problem: how to write a
 .layout file?  I looked at the ones in the directory and all I know is
that they are not latex, so I can't just rename a0poster.cls to
a0poster.layout.

Thanks very much for any help!

Bill Simpson



%% 
%% This is file `a0poster.cls'
%% 
%% Copyright (C) 07.05.97 Gerlinde Kettl and Matthias Weiser
%%
%% Problems, bugs and comments to 
%% [EMAIL PROTECTED]
%% 
\ProvidesClass{a0poster}[1997/05/07 v1.21b a0poster class (GK, MW)]
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\LoadClass{article}

\newif\ifportrait
\newif\ifanullb
\newif\ifanull
\newif\ifaeins
\newif\ifazwei
\newif\ifadrei
\newif\ifdraft

\newcount\xkoord
\newcount\ykoord
\newcount\xscale
\newcount\yscale

\DeclareOption{a0b}{
\anullbtrue
\xkoord=2594 % big points (1 bp=1/72 inch)
\ykoord=3370 % big points (1 bp=1/72 inch)
\xscale=2
\yscale=2
}
\DeclareOption{a0}{
\anulltrue\anullbfalse
\xkoord=2380 % big points (1 bp=1/72 inch)
\ykoord=3368 % big points (1 bp=1/72 inch)
\xscale=2
\yscale=2
}
\DeclareOption{a1}{
\aeinstrue\anullbfalse
\xkoord=1684 % big points (1 bp=1/72 inch)
\ykoord=2380 % big points (1 bp=1/72 inch)
\xscale=3
\yscale=3
}
\DeclareOption{a2}{
\azweitrue\anullbfalse
\xkoord=1190 % big points (1 bp=1/72 inch)
\ykoord=1684 % big points (1 bp=1/72 inch)
\xscale=4
\yscale=4

}
\DeclareOption{a3}{
\adreitrue\anullbfalse
\xkoord=842  % big points (1 bp=1/72 inch)
\ykoord=1190 % big points (1 bp=1/72 inch)
\xscale=6
\yscale=6
}
\DeclareOption{landscape}{
\portraitfalse
}
\DeclareOption{portrait}{
\portraittrue
}
\DeclareOption{draft}{
\drafttrue
}
\DeclareOption{final}{
\draftfalse
}
\DeclareOption*{\PackageWarning{a0poster}{Unknown Option \CurrentOption}}
\ExecuteOptions{landscape,a0b,final}
\ProcessOptions\relax

\ifanullb
   \setlength{\paperwidth}{119cm}
   \setlength{\paperheight}{87cm}
   \setlength{\textwidth}{114cm}
   \setlength{\textheight}{87cm}
\else\ifanull
\setlength{\paperwidth}{118.82cm}
\setlength{\paperheight}{83.96cm}
\setlength{\textwidth}{114.82cm}
\setlength{\textheight}{79.96cm}
 \else\ifaeins
 \setlength{\paperwidth}{83.96cm}
 \setlength{\paperheight}{59.4cm}
 \setlength{\textwidth}{79.96cm}
 \setlength{\textheight}{55.4cm}
  \else\ifazwei
  \setlength{\paperwidth}{59.4cm}
  \setlength{\paperheight}{41.98cm}
  \setlength{\textwidth}{55.4cm}
  \setlength{\textheight}{37.98cm}
   \else\ifadrei
   \setlength{\paperwidth}{41.98cm}
   \setlength{\paperheight}{29.7cm}
   \setlength{\textwidth}{37.98cm}
   \setlength{\textheight}{25.7cm}
\else\relax
\fi
   \fi
  \fi
 \fi
\fi


\ifportrait
   \newdimen\tausch
   \setlength{\tausch}{\paperwidth}
   \setlength{\paperwidth}{\paperheight}
   \setlength{\paperheight}{\tausch}
   \setlength{\tausch}{\textwidth}
   \setlength{\textwidth}{\textheight}
   \setlength{\textheight}{\tausch}
\else\relax
\fi

%% Setting proper dimensions for a DIN A0 printer

\setlength{\headheight}{0 cm}
\setlength{\headsep}{0 cm}
\setlength{\topmargin}{0 cm}
\setlength{\oddsidemargin}{0 cm}

\catcode`\%=11
\newwrite\Ausgabe
\immediate\openout\Ausgabe=a0header.ps
\write\Ausgabe{%%BeginFeature *PageSize ISOA0/ISO A0}
\ifdraft\write\Ausgabe{2 dict dup /PageSize [595 842] put dup /ImagingBBox null put}
\else\write\Ausgabe{2 dict dup /PageSize [\number\xkoord\space \number\ykoord] put dup 
/ImagingBBox null put}\fi
\write\Ausgabe{setpagedevice}
\ifdraft\write\Ausgabe{38 84 translate}
\write\Ausgabe{0.\number\xscale\space 0.\number\yscale\space scale}\else\relax\fi
\write\Ausgabe{%%EndFeature}
\closeout\Ausgabe
\catcode`\%=14

\special{header=./a0header.ps}

\input{a0size.sty}

\rene