Attention: very serious problem with fonts and encoding!

2004-11-23 Thread Rocco Orlando Rossi
It seems that there is a pretty big problem with the new version of LyX with 
respect to fonts and encoding, when the application is used with other 
languages, namely Italian in my case.

When I write words with accents, for example velocità (velocity), the 
letters with the accents get screwed up if I export them to HTML, or LaTeX, 
or even Text!

Strangely enough, I don't have any problem viewing them or converting them to 
DVI, Postscript, or PDF through LaTeX.

I can't seem to understand the cause, let alone find a solution.

Can you help?

I need LyX for my work. Among other things (I am a mathematician), I write 
articles for Linux Magazine in Italy, and we even published one on LyX itself 
just a couple of months ago!

Thanks for your assistance.

Sincerely,

Rocco Rossi


[Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Lars Gullik Bjønnes
---BeginMessage---
Hi all,

Please take a look at the LyX Quickstart page at 
http://www.troubleshooters.com/lpm/200210/200210.htm, and if appropriate, 
include it in the English sites section of your Internet Resources page 
at http://www.lyx.org/internet/.

The LyX Quickstart page is a tutorial that walks through LyX's key points, 
starting with a Hello World document, writing a letter, installation, 
documentation resources, book writing, table of contents, graphics and 
tables, and cross references.

It discusses creating a layout, starting with simple layouts and proceding to 
fairly complex environment creation.

All the preceding are available on other Internet pages, but the LyX 
Quickstart page contains material to aid in LyX and LaTeX understanding for 
the publishing newbie. The Understanding LyX Through Contrasts section 
helps the reader know where LaTeX ends and LyX starts, as well as discussing 
Fine Tuning vs. Consistency, Graphical Layout Specification vs. Numeric 
Layout Specification, Word Processors vs. Content Authoring Tools, Using 
Styles vs. Creating Styles, Default vs Created Styles, Character Styles vs. 
Paragraph Styles, LyX the Language vs. LyX the Front End, and LyX Code vs. 
LaTeX Code.

The LyX Quickstart also has an entire section devoted to LyX Code vs. LaTeX 
Code, and another section Learning by Reverse Engineering -- a technique that 
until now was used only by advanced LyX users.

Thanks

Steve

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com
___
Web-team mailing list
[EMAIL PROTECTED]
http://baywatch.lyx.org/mailman/listinfo/web-team

---End Message---


-- 
Lgb


Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Herbert Voss
Lars Gullik Bjønnes wrote:

Subject:
[Web-team] Another great Internet LyX resource
From:
Steve Litt [EMAIL PROTECTED]
Date:
Tue, 23 Nov 2004 10:22:29 -0500
To:
[EMAIL PROTECTED]
To:
[EMAIL PROTECTED]
Hi all,
Please take a look at the LyX Quickstart page at 
http://www.troubleshooters.com/lpm/200210/200210.htm, and if appropriate, 
include it in the English sites section of your Internet Resources page 
at http://www.lyx.org/internet/.

The LyX Quickstart page is a tutorial that walks through LyX's key points, 
starting with a Hello World document, writing a letter, installation, 
documentation resources, book writing, table of contents, graphics and 
tables, and cross references.
the first screenshot is extremely misleading. It shows some wrong
LaTeX code and a way in which LyX shouldn't be use ...
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


decrease font size in bibtex references

2004-11-23 Thread Leo Gürtler
Hi alltogether,
how can I decrease the font size in bibtex references ?
thanks
greetings,
Leo
--
Leo Gürtler
School for Education
Department of Educational Psychology
University of Tübingen
Münzgasse 22-30, 72070 Tübingen, Germany
email: [EMAIL PROTECTED]
www: http://homepages.uni-tuebingen.de/leo.guertler
www: http://www.qualitative-psychologie.de
phone: +(0049) (0)7071 - 2978324
fax:   +(0049) (0)7071 - 294954



Mixed enumerate environments

2004-11-23 Thread Paul Smith
Dear All

With the cursor inside the LyX enumerate environment, I want to begin
a nested enumerate environment using ERT so that I can pass some
parameters to the enumerate environment (not the default enumerate
environment, but the one provided by the enumerate package). Okay, I
know that I could do everything with a single ERT... but that would
correspond to a waste of LyX facilities. Any ideas?

Thanks in advance,

Paul


Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Lars Gullik Bjønnes
Herbert Voss [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:
 
 Subject:
 [Web-team] Another great Internet LyX resource
 From:
 Steve Litt [EMAIL PROTECTED]
 Date:
 Tue, 23 Nov 2004 10:22:29 -0500
 To:
 [EMAIL PROTECTED]
 To:
 [EMAIL PROTECTED]
 Hi all,
 Please take a look at the LyX Quickstart page at
 http://www.troubleshooters.com/lpm/200210/200210.htm, and if
 appropriate, include it in the English sites section of your
 Internet Resources page at http://www.lyx.org/internet/.
 The LyX Quickstart page is a tutorial that walks through LyX's key
 points, starting with a Hello World document, writing a letter,
 installation, documentation resources, book writing, table of
 contents, graphics and tables, and cross references.

| the first screenshot is extremely misleading. It shows some wrong
| LaTeX code and a way in which LyX shouldn't be use ...

But still not too bad.

A bit LaTeX centric perhaps :-)

-- 
Lgb



Special case of enumerate

2004-11-23 Thread Paul Smith
Dear All

I would like to get the following enumerate (in to two columns) output:

1. First item; 1*. Item homologous to the first one;
2. Second item;2*. Item homologous to the second one.

Any ideas?

Thanks in advance,

Paul


Re: Looking for symbuls

2004-11-23 Thread Uwe Stöhr
Hannan Sadar schrieb:
I saw on Voss-mathmode.pdf the notation \eqdef and i hand't succeeded
to use it in LyX. Do I need to use some preamble?
Yes, Herbert described the needed definition in chap. 19 and 63 (or 
search in the pdf).

Is there a symbol :=?
Look at
ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Table 45 and 47 (command \coloneq(q) from mathabx or txfonts-package)
regards Uwe


Re: LyX preview of pdf files

2004-11-23 Thread Uwe Stöhr
Stephen Buonopane wrote:
I am trying to make the switch from eps/ps graphics and 
latex-dvi-ps-pdf to pdf graphics and pdflatex. However, when I have a 
pdf figure which is less than a full page, the LyX display that I see 
shows the graphic as if it is in the bottom left corner of a full page, 
i.e. there is a lot of white space above it. The pdf file produced with 
pdflatex is just fine.
 The displayed image seems to depend  on which program I use to make
 the pdf file.
This is a problem of ghostview. It ignores the pdf crop-box. (You can 
create pdfs in A4-size and crop it, so that only the picture is shown in 
the output without whitespace.) Some programs use this method.
Normally all pdf viewers accept this crop box, except of ghostview. And 
because LyX delegates image conversions to the program Imagemagick and 
Imagemagick uses ghostview to display pdfs, you see the pdf with whitespace.
In the pdf output the pdf is correctly inserted, because pdflatex 
accepts the crop box.

regards Uwe


Re: Attention: very serious problem with fonts and encoding!

2004-11-23 Thread Uwe Stöhr
Rocco Orlando Rossi wrote:
When I write words with accents, for example velocità (velocity), the 
letters with the accents get screwed up if I export them to HTML, or LaTeX, 
or even Text!
I don't understand that, LyX can only export to LaTeX, DVI, PDF and 
postscript, but not to Text or HTML.

Strangely enough, I don't have any problem viewing them or converting them to 
DVI, Postscript, or PDF through LaTeX.
So it doesn't seem to be a LyX problem, or do you also have problems 
with accented characters within Lyx?

I need LyX for my work. Among other things (I am a mathematician), I write 
articles for Linux Magazine in Italy, and we even published one on LyX itself 
just a couple of months ago!
Could you please post the link to this article
regards Uwe


Re: Defenition and numurate

2004-11-23 Thread Uwe Stöhr
Hannan Sadar wrote:
I would like to know if it can be done the following thing:
Define a style and use enumerate with out writing anything in the first line.
For example,
Definition: 1. Bla Bla Bla
 2. ...
Attached a short solution. Ok, it's not exactly what you want, but it 
looks acceptable.
If you need it exactly as posted, you should have in LaTeX book for the 
command
\newenvironment

regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\usepackage[gennarrow]{eurosym}
\usepackage{icomma}
\usepackage{textcomp}
\usepackage{soul}
\usepackage{calc}
\usepackage{array}
\usepackage{multirow}

\renewcommand{\multirowsetup}{\centering}
\setlength{\extrarowheight}{2pt}
\newcolumntype{A}[1]
 {{\centering\hspace{0pt}}m{#1}}

\renewcommand{\underbar}[1]{\ul{#1}}

\setkomafont{captionlabel}{\bfseries}

\usepackage[colorlinks=true, urlcolor=blue,
linkcolor=black, pdftitle={Titel},
pdfauthor={Uwe Stöhr}, bookmarksnumbered=true,
pdfnewwindow=true, pdfstartview=XYZ,
pdfpagelayout=OneColumn,
bookmarksopen]{hyperref}
\usepackage[figure]{hypcap}

%Linkfläche für Querverweise vergrößern
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
\renewcommand{\figureautorefname}{Abb.\negthinspace}
\renewcommand{\tableautorefname}{Tab.\negthinspace}
\renewcommand{\sectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}
\newlength{\abc}
\settowidth{\abc}{\space}
\renewcommand{\equationautorefname}{\hspace{-\abc}}

%Damit die Zeichen ° , · und × in LyX direkt eingegeben werden können.
\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
\DeclareInputText{215}{\ifmmode\times\else\texttimes\fi}

%setzt die Schwelle herauf, ab der Gleitumgebungen allein
%auf einer Seite erscheinen
\renewcommand{\floatpagefraction}{0.7}

%setzt die Schwelle herauf, ab der Gleitumgebungen unten
%auf einer Seite erscheinen dürfen
\renewcommand{\bottomfraction}{0.5}
\end_preamble
\options fleqn,tablecaptionabove
\language ngerman
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Description

Definition:
\begin_deeper 
\layout Enumerate

blabla
\layout Enumerate

blabla
\the_end


Re: Attention: very serious problem with fonts and encoding!

2004-11-23 Thread Georg Baum
Am Dienstag, 23. November 2004 20:52 schrieb Uwe Stöhr:
 I don't understand that, LyX can only export to LaTeX, DVI, PDF and 
 postscript, but not to Text or HTML.

It can always export to Text (this is called ASCII). The HTML export is 
only available if the configure script can find a suitable latex - html 
converter.


Georg



change book Chapter to Session

2004-11-23 Thread Jeremy C. Reed
I am trying to figure out how to change the printed output of Chapter to
Session in a copy of the book document class.

I am using LyX 1.3.4 and teTeX-2.0.2.

I tried copying share/lyx/layouts/book.layout to my
~/.lyx/layouts/courseware.layout and then modifying to have:

\DeclareLaTeXClass{courseware}

and made a new Style Session.

but LyX said the class was Unavailable (but it did work, but didn't have
any way to export to postscript).

I also tried making a new ~/.lyx/layouts/courseware.layout
with:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{courseware}
Input stdclass.inc

But I couldn't figure out how to add a Session style or to change the
Chapter.

Also, I read that the .layout files only effect the look in the LyX
interface. So I guess I need to change some book.cls file to make a new
file.

Any ideas would be appreciated.

Basically what I want is a document layout for a book that doesn't say
Chapter on each of my new chapters, but says Session instead. This is
used for courseware that I have been using for a couple years.

Thank you,

 Jeremy C. Reed

 technical support  remote administration
 http://www.pugetsoundtechnology.com/



Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Herbert Voss
Lars Gullik Bjønnes wrote:
| the first screenshot is extremely misleading. It shows some wrong
| LaTeX code and a way in which LyX shouldn't be use ...
But still not too bad.
extremely bad
A bit LaTeX centric perhaps :-)
nearly everything could be done by LyX ...
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Lars Gullik Bjønnes
Herbert Voss [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:

 | the first screenshot is extremely misleading. It shows some wrong
 | LaTeX code and a way in which LyX shouldn't be use ...
 But still not too bad.

| extremely bad

I mean the rest.

-- 
Lgb



Re: Special case of enumerate

2004-11-23 Thread Uwe Stöhr
Paul Smith wrote:
I would like to get the following enumerate (in to two columns) output:
1. First item; 1*. Item homologous to the first one;
2. Second item;2*. Item homologous to the second one.
You can use two minipages side by side and every minipage has two 
enmumerate environments. To get the star behind the number you have to 
redefine the command
\theenumi

This can be done within a new defined environment or, as I did, with two 
separate commands. The effect is the same: you need for the starred 
enumeration two commands in ERT.
I attached an example.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\newcommand{\starnumb}
 {\let\myenumi\theenumi%
  \renewcommand{\theenumi}{\myenumi$^\ast$}}
\newcommand{\starnume}
 {\renewcommand{\theenumi}{\myenumi}}

%\usepackage{hyperref}
\end_preamble
\options fleqn,tablecaptionabove
\language ngerman
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Standard


\begin_inset Minipage
position 1
inner_position 0
height 0pt
width 50col%
collapsed false

\layout Enumerate

aFsgfasf
\layout Enumerate

asdf
\begin_inset LatexCommand \label{enu:asdf}

\end_inset 


\layout Enumerate

asf
\end_inset 


\begin_inset Minipage
position 1
inner_position 0
height 0pt
width 50col%
collapsed false

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
starnumb 
\end_inset 


\layout Enumerate

asdf
\layout Enumerate

asf
\layout Enumerate

sdf
\begin_inset LatexCommand \label{enu:sdf}

\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
starnume
\end_inset 


\end_inset 


\layout Standard
\added_space_top bigskip 
ydfa
\layout Enumerate

sfas
\begin_inset LatexCommand \label{enu:sfas}

\end_inset 


\layout Enumerate

asdf
\layout Enumerate

sdf
\layout Standard

asfd: 
\begin_inset LatexCommand \ref{enu:asdf}

\end_inset 

, sfd: 
\begin_inset LatexCommand \ref{enu:sdf}

\end_inset 

 and sfas: 
\begin_inset LatexCommand \ref{enu:sfas}

\end_inset 


\the_end


newfile1.pdf
Description: Adobe PDF document


Re: Attention: very serious problem with fonts and encoding!

2004-11-23 Thread G. Milde
On 23.11.04, Rocco Orlando Rossi wrote:
 It seems that there is a pretty big problem with the new version of LyX with
 respect to fonts and encoding, when the application is used with other 
 languages, namely Italian in my case.

Which one? I use LyX 1.3.4 of Thu, Feb 19, 2004 on a Debian Linux system
with German language and have no problems with Umlauts.

 When I write words with accents, for example velocità (velocity), the 
 letters with the accents get screwed up if I export them to HTML, or LaTeX, 
 or even Text!

What application do you use to view the html or tex/text files?

Did you recently upgrade to a system using UTF8? If using Linux, what is
your locale setting?

 Strangely enough, I don't have any problem viewing them or converting them to 
 DVI, Postscript, or PDF through LaTeX.

Does conversion of a handmade or old LaTeX file to HTML work?

Günter

-- 
G.Milde web.de


Re: Mixed enumerate environments

2004-11-23 Thread G. Milde
On 23.11.04, Paul Smith wrote:
 Dear All
 
 With the cursor inside the LyX enumerate environment, I want to begin
 a nested enumerate environment using ERT so that I can pass some
 parameters to the enumerate environment (not the default enumerate
 environment, but the one provided by the enumerate package). Okay, I
 know that I could do everything with a single ERT... but that would
 correspond to a waste of LyX facilities. Any ideas?

Are these optional or compulsory arguments? Optional arguments can be
supported by LyX with the right layout definition. 

Something like (untested!)

Input stdlists.inc
Layout Enumerate
  OptionalArgs  1

Somewhat misleasding, the optional argument must be given in the Menu topic
short heading (or the like), as this feature was introduced for
[sub[sub]]sections.


Another possibility would be to use ERT in a nested standard paragraph to
start and end the sublist. You will not see the indent of the sublist but
otherwise it should be ok. 

Günter

-- 
G.Milde web.de


Re: Defenition and numurate

2004-11-23 Thread G. Milde
On 23.11.04, Uwe Stöhr wrote:
 Hannan Sadar wrote:
 
 I would like to know if it can be done the following thing:
 Define a style and use enumerate with out writing anything in the first 
 line.
 
 For example,
 
 Definition: 1. Bla Bla Bla
  2. ...
 
 Attached a short solution. Ok, it's not exactly what you want, but it 
 looks acceptable.

Another possibility is to use a Minipage for the enumerate. See attached LyX
file

Günter

-- 
G.Milde web.de
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
% Real- und Imaginärteil mit lateinischen Buchstaben
\renewcommand{\Im}{\mathrm{Im}}
\renewcommand{\Re}{\mathrm{Re}}
% Vektoren als schräge fette Buchstaben
\renewcommand{\vec}[1]{\textbf{\itshape #1}}

% Kompatibilitätsmode für die Packung epsfig (see grfguide.ps)
% \usepackage{epsfig}

% Ersetzen von Text in .eps files mit LaTeX Text
\usepackage{psfrag}

\date{}   % avoid date

% Anzahl der Bilder auf einer Seite oben
%\setcounter{topnumber}{3}
% Platz für Gleitobjekt am Fußende
% \renewcommand{\bottomfraction}{0.5}
\end_preamble
\language german
\inputencoding latin1
\fontscheme pslatex
\graphics default
\paperfontsize 10
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 2cm
\topmargin 2.9cm
\rightmargin 2cm
\bottommargin 2.9cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language polish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty

\layout Section

Definition and enumerate
\layout Description

Definition 
\begin_inset Minipage
position 0
inner_position 0
height 0
width 100col%
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\layout Description

Next\SpecialChar ~
Definition 
\begin_inset Minipage
position 0
inner_position 0
height 0
width 100col%
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\layout Standard

You need the List style, if the enumerates should be aligned.
 Set the mark width to the longest mark.
\layout List
\labelwidthstring Very Last Definition

Third\SpecialChar ~
Definition 
\begin_inset Minipage
position 0
inner_position 0
height 0
width 100col%
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\layout List
\labelwidthstring Very Last Definition

Very\SpecialChar ~
Last\SpecialChar ~
Definition 
\begin_inset Minipage
position 0
inner_position 0
height 0
width 100col%
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\the_end


Attention: very serious problem with fonts and encoding!

2004-11-23 Thread Rocco Orlando Rossi
It seems that there is a pretty big problem with the new version of LyX with 
respect to fonts and encoding, when the application is used with other 
languages, namely Italian in my case.

When I write words with accents, for example velocità (velocity), the 
letters with the accents get screwed up if I export them to HTML, or LaTeX, 
or even Text!

Strangely enough, I don't have any problem viewing them or converting them to 
DVI, Postscript, or PDF through LaTeX.

I can't seem to understand the cause, let alone find a solution.

Can you help?

I need LyX for my work. Among other things (I am a mathematician), I write 
articles for Linux Magazine in Italy, and we even published one on LyX itself 
just a couple of months ago!

Thanks for your assistance.

Sincerely,

Rocco Rossi


[Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Lars Gullik Bjønnes
---BeginMessage---
Hi all,

Please take a look at the LyX Quickstart page at 
http://www.troubleshooters.com/lpm/200210/200210.htm, and if appropriate, 
include it in the English sites section of your Internet Resources page 
at http://www.lyx.org/internet/.

The LyX Quickstart page is a tutorial that walks through LyX's key points, 
starting with a Hello World document, writing a letter, installation, 
documentation resources, book writing, table of contents, graphics and 
tables, and cross references.

It discusses creating a layout, starting with simple layouts and proceding to 
fairly complex environment creation.

All the preceding are available on other Internet pages, but the LyX 
Quickstart page contains material to aid in LyX and LaTeX understanding for 
the publishing newbie. The Understanding LyX Through Contrasts section 
helps the reader know where LaTeX ends and LyX starts, as well as discussing 
Fine Tuning vs. Consistency, Graphical Layout Specification vs. Numeric 
Layout Specification, Word Processors vs. Content Authoring Tools, Using 
Styles vs. Creating Styles, Default vs Created Styles, Character Styles vs. 
Paragraph Styles, LyX the Language vs. LyX the Front End, and LyX Code vs. 
LaTeX Code.

The LyX Quickstart also has an entire section devoted to LyX Code vs. LaTeX 
Code, and another section Learning by Reverse Engineering -- a technique that 
until now was used only by advanced LyX users.

Thanks

Steve

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com
___
Web-team mailing list
[EMAIL PROTECTED]
http://baywatch.lyx.org/mailman/listinfo/web-team

---End Message---


-- 
Lgb


Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Herbert Voss
Lars Gullik Bjønnes wrote:

Subject:
[Web-team] Another great Internet LyX resource
From:
Steve Litt [EMAIL PROTECTED]
Date:
Tue, 23 Nov 2004 10:22:29 -0500
To:
[EMAIL PROTECTED]
To:
[EMAIL PROTECTED]
Hi all,
Please take a look at the LyX Quickstart page at 
http://www.troubleshooters.com/lpm/200210/200210.htm, and if appropriate, 
include it in the English sites section of your Internet Resources page 
at http://www.lyx.org/internet/.

The LyX Quickstart page is a tutorial that walks through LyX's key points, 
starting with a Hello World document, writing a letter, installation, 
documentation resources, book writing, table of contents, graphics and 
tables, and cross references.
the first screenshot is extremely misleading. It shows some wrong
LaTeX code and a way in which LyX shouldn't be use ...
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


decrease font size in bibtex references

2004-11-23 Thread Leo Gürtler
Hi alltogether,
how can I decrease the font size in bibtex references ?
thanks
greetings,
Leo
--
Leo Gürtler
School for Education
Department of Educational Psychology
University of Tübingen
Münzgasse 22-30, 72070 Tübingen, Germany
email: [EMAIL PROTECTED]
www: http://homepages.uni-tuebingen.de/leo.guertler
www: http://www.qualitative-psychologie.de
phone: +(0049) (0)7071 - 2978324
fax:   +(0049) (0)7071 - 294954



Mixed enumerate environments

2004-11-23 Thread Paul Smith
Dear All

With the cursor inside the LyX enumerate environment, I want to begin
a nested enumerate environment using ERT so that I can pass some
parameters to the enumerate environment (not the default enumerate
environment, but the one provided by the enumerate package). Okay, I
know that I could do everything with a single ERT... but that would
correspond to a waste of LyX facilities. Any ideas?

Thanks in advance,

Paul


Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Lars Gullik Bjønnes
Herbert Voss [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:
 
 Subject:
 [Web-team] Another great Internet LyX resource
 From:
 Steve Litt [EMAIL PROTECTED]
 Date:
 Tue, 23 Nov 2004 10:22:29 -0500
 To:
 [EMAIL PROTECTED]
 To:
 [EMAIL PROTECTED]
 Hi all,
 Please take a look at the LyX Quickstart page at
 http://www.troubleshooters.com/lpm/200210/200210.htm, and if
 appropriate, include it in the English sites section of your
 Internet Resources page at http://www.lyx.org/internet/.
 The LyX Quickstart page is a tutorial that walks through LyX's key
 points, starting with a Hello World document, writing a letter,
 installation, documentation resources, book writing, table of
 contents, graphics and tables, and cross references.

| the first screenshot is extremely misleading. It shows some wrong
| LaTeX code and a way in which LyX shouldn't be use ...

But still not too bad.

A bit LaTeX centric perhaps :-)

-- 
Lgb



Special case of enumerate

2004-11-23 Thread Paul Smith
Dear All

I would like to get the following enumerate (in to two columns) output:

1. First item; 1*. Item homologous to the first one;
2. Second item;2*. Item homologous to the second one.

Any ideas?

Thanks in advance,

Paul


Re: Looking for symbuls

2004-11-23 Thread Uwe Stöhr
Hannan Sadar schrieb:
I saw on Voss-mathmode.pdf the notation \eqdef and i hand't succeeded
to use it in LyX. Do I need to use some preamble?
Yes, Herbert described the needed definition in chap. 19 and 63 (or 
search in the pdf).

Is there a symbol :=?
Look at
ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Table 45 and 47 (command \coloneq(q) from mathabx or txfonts-package)
regards Uwe


Re: LyX preview of pdf files

2004-11-23 Thread Uwe Stöhr
Stephen Buonopane wrote:
I am trying to make the switch from eps/ps graphics and 
latex-dvi-ps-pdf to pdf graphics and pdflatex. However, when I have a 
pdf figure which is less than a full page, the LyX display that I see 
shows the graphic as if it is in the bottom left corner of a full page, 
i.e. there is a lot of white space above it. The pdf file produced with 
pdflatex is just fine.
 The displayed image seems to depend  on which program I use to make
 the pdf file.
This is a problem of ghostview. It ignores the pdf crop-box. (You can 
create pdfs in A4-size and crop it, so that only the picture is shown in 
the output without whitespace.) Some programs use this method.
Normally all pdf viewers accept this crop box, except of ghostview. And 
because LyX delegates image conversions to the program Imagemagick and 
Imagemagick uses ghostview to display pdfs, you see the pdf with whitespace.
In the pdf output the pdf is correctly inserted, because pdflatex 
accepts the crop box.

regards Uwe


Re: Attention: very serious problem with fonts and encoding!

2004-11-23 Thread Uwe Stöhr
Rocco Orlando Rossi wrote:
When I write words with accents, for example velocità (velocity), the 
letters with the accents get screwed up if I export them to HTML, or LaTeX, 
or even Text!
I don't understand that, LyX can only export to LaTeX, DVI, PDF and 
postscript, but not to Text or HTML.

Strangely enough, I don't have any problem viewing them or converting them to 
DVI, Postscript, or PDF through LaTeX.
So it doesn't seem to be a LyX problem, or do you also have problems 
with accented characters within Lyx?

I need LyX for my work. Among other things (I am a mathematician), I write 
articles for Linux Magazine in Italy, and we even published one on LyX itself 
just a couple of months ago!
Could you please post the link to this article
regards Uwe


Re: Defenition and numurate

2004-11-23 Thread Uwe Stöhr
Hannan Sadar wrote:
I would like to know if it can be done the following thing:
Define a style and use enumerate with out writing anything in the first line.
For example,
Definition: 1. Bla Bla Bla
 2. ...
Attached a short solution. Ok, it's not exactly what you want, but it 
looks acceptable.
If you need it exactly as posted, you should have in LaTeX book for the 
command
\newenvironment

regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\usepackage[gennarrow]{eurosym}
\usepackage{icomma}
\usepackage{textcomp}
\usepackage{soul}
\usepackage{calc}
\usepackage{array}
\usepackage{multirow}

\renewcommand{\multirowsetup}{\centering}
\setlength{\extrarowheight}{2pt}
\newcolumntype{A}[1]
 {{\centering\hspace{0pt}}m{#1}}

\renewcommand{\underbar}[1]{\ul{#1}}

\setkomafont{captionlabel}{\bfseries}

\usepackage[colorlinks=true, urlcolor=blue,
linkcolor=black, pdftitle={Titel},
pdfauthor={Uwe Stöhr}, bookmarksnumbered=true,
pdfnewwindow=true, pdfstartview=XYZ,
pdfpagelayout=OneColumn,
bookmarksopen]{hyperref}
\usepackage[figure]{hypcap}

%Linkfläche für Querverweise vergrößern
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
\renewcommand{\figureautorefname}{Abb.\negthinspace}
\renewcommand{\tableautorefname}{Tab.\negthinspace}
\renewcommand{\sectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}
\newlength{\abc}
\settowidth{\abc}{\space}
\renewcommand{\equationautorefname}{\hspace{-\abc}}

%Damit die Zeichen ° , · und × in LyX direkt eingegeben werden können.
\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
\DeclareInputText{215}{\ifmmode\times\else\texttimes\fi}

%setzt die Schwelle herauf, ab der Gleitumgebungen allein
%auf einer Seite erscheinen
\renewcommand{\floatpagefraction}{0.7}

%setzt die Schwelle herauf, ab der Gleitumgebungen unten
%auf einer Seite erscheinen dürfen
\renewcommand{\bottomfraction}{0.5}
\end_preamble
\options fleqn,tablecaptionabove
\language ngerman
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Description

Definition:
\begin_deeper 
\layout Enumerate

blabla
\layout Enumerate

blabla
\the_end


Re: Attention: very serious problem with fonts and encoding!

2004-11-23 Thread Georg Baum
Am Dienstag, 23. November 2004 20:52 schrieb Uwe Stöhr:
 I don't understand that, LyX can only export to LaTeX, DVI, PDF and 
 postscript, but not to Text or HTML.

It can always export to Text (this is called ASCII). The HTML export is 
only available if the configure script can find a suitable latex - html 
converter.


Georg



change book Chapter to Session

2004-11-23 Thread Jeremy C. Reed
I am trying to figure out how to change the printed output of Chapter to
Session in a copy of the book document class.

I am using LyX 1.3.4 and teTeX-2.0.2.

I tried copying share/lyx/layouts/book.layout to my
~/.lyx/layouts/courseware.layout and then modifying to have:

\DeclareLaTeXClass{courseware}

and made a new Style Session.

but LyX said the class was Unavailable (but it did work, but didn't have
any way to export to postscript).

I also tried making a new ~/.lyx/layouts/courseware.layout
with:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{courseware}
Input stdclass.inc

But I couldn't figure out how to add a Session style or to change the
Chapter.

Also, I read that the .layout files only effect the look in the LyX
interface. So I guess I need to change some book.cls file to make a new
file.

Any ideas would be appreciated.

Basically what I want is a document layout for a book that doesn't say
Chapter on each of my new chapters, but says Session instead. This is
used for courseware that I have been using for a couple years.

Thank you,

 Jeremy C. Reed

 technical support  remote administration
 http://www.pugetsoundtechnology.com/



Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Herbert Voss
Lars Gullik Bjønnes wrote:
| the first screenshot is extremely misleading. It shows some wrong
| LaTeX code and a way in which LyX shouldn't be use ...
But still not too bad.
extremely bad
A bit LaTeX centric perhaps :-)
nearly everything could be done by LyX ...
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Lars Gullik Bjønnes
Herbert Voss [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:

 | the first screenshot is extremely misleading. It shows some wrong
 | LaTeX code and a way in which LyX shouldn't be use ...
 But still not too bad.

| extremely bad

I mean the rest.

-- 
Lgb



Re: Special case of enumerate

2004-11-23 Thread Uwe Stöhr
Paul Smith wrote:
I would like to get the following enumerate (in to two columns) output:
1. First item; 1*. Item homologous to the first one;
2. Second item;2*. Item homologous to the second one.
You can use two minipages side by side and every minipage has two 
enmumerate environments. To get the star behind the number you have to 
redefine the command
\theenumi

This can be done within a new defined environment or, as I did, with two 
separate commands. The effect is the same: you need for the starred 
enumeration two commands in ERT.
I attached an example.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\newcommand{\starnumb}
 {\let\myenumi\theenumi%
  \renewcommand{\theenumi}{\myenumi$^\ast$}}
\newcommand{\starnume}
 {\renewcommand{\theenumi}{\myenumi}}

%\usepackage{hyperref}
\end_preamble
\options fleqn,tablecaptionabove
\language ngerman
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Standard


\begin_inset Minipage
position 1
inner_position 0
height 0pt
width 50col%
collapsed false

\layout Enumerate

aFsgfasf
\layout Enumerate

asdf
\begin_inset LatexCommand \label{enu:asdf}

\end_inset 


\layout Enumerate

asf
\end_inset 


\begin_inset Minipage
position 1
inner_position 0
height 0pt
width 50col%
collapsed false

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
starnumb 
\end_inset 


\layout Enumerate

asdf
\layout Enumerate

asf
\layout Enumerate

sdf
\begin_inset LatexCommand \label{enu:sdf}

\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
starnume
\end_inset 


\end_inset 


\layout Standard
\added_space_top bigskip 
ydfa
\layout Enumerate

sfas
\begin_inset LatexCommand \label{enu:sfas}

\end_inset 


\layout Enumerate

asdf
\layout Enumerate

sdf
\layout Standard

asfd: 
\begin_inset LatexCommand \ref{enu:asdf}

\end_inset 

, sfd: 
\begin_inset LatexCommand \ref{enu:sdf}

\end_inset 

 and sfas: 
\begin_inset LatexCommand \ref{enu:sfas}

\end_inset 


\the_end


newfile1.pdf
Description: Adobe PDF document


Re: Attention: very serious problem with fonts and encoding!

2004-11-23 Thread G. Milde
On 23.11.04, Rocco Orlando Rossi wrote:
 It seems that there is a pretty big problem with the new version of LyX with
 respect to fonts and encoding, when the application is used with other 
 languages, namely Italian in my case.

Which one? I use LyX 1.3.4 of Thu, Feb 19, 2004 on a Debian Linux system
with German language and have no problems with Umlauts.

 When I write words with accents, for example velocità (velocity), the 
 letters with the accents get screwed up if I export them to HTML, or LaTeX, 
 or even Text!

What application do you use to view the html or tex/text files?

Did you recently upgrade to a system using UTF8? If using Linux, what is
your locale setting?

 Strangely enough, I don't have any problem viewing them or converting them to 
 DVI, Postscript, or PDF through LaTeX.

Does conversion of a handmade or old LaTeX file to HTML work?

Günter

-- 
G.Milde web.de


Re: Mixed enumerate environments

2004-11-23 Thread G. Milde
On 23.11.04, Paul Smith wrote:
 Dear All
 
 With the cursor inside the LyX enumerate environment, I want to begin
 a nested enumerate environment using ERT so that I can pass some
 parameters to the enumerate environment (not the default enumerate
 environment, but the one provided by the enumerate package). Okay, I
 know that I could do everything with a single ERT... but that would
 correspond to a waste of LyX facilities. Any ideas?

Are these optional or compulsory arguments? Optional arguments can be
supported by LyX with the right layout definition. 

Something like (untested!)

Input stdlists.inc
Layout Enumerate
  OptionalArgs  1

Somewhat misleasding, the optional argument must be given in the Menu topic
short heading (or the like), as this feature was introduced for
[sub[sub]]sections.


Another possibility would be to use ERT in a nested standard paragraph to
start and end the sublist. You will not see the indent of the sublist but
otherwise it should be ok. 

Günter

-- 
G.Milde web.de


Re: Defenition and numurate

2004-11-23 Thread G. Milde
On 23.11.04, Uwe Stöhr wrote:
 Hannan Sadar wrote:
 
 I would like to know if it can be done the following thing:
 Define a style and use enumerate with out writing anything in the first 
 line.
 
 For example,
 
 Definition: 1. Bla Bla Bla
  2. ...
 
 Attached a short solution. Ok, it's not exactly what you want, but it 
 looks acceptable.

Another possibility is to use a Minipage for the enumerate. See attached LyX
file

Günter

-- 
G.Milde web.de
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
% Real- und Imaginärteil mit lateinischen Buchstaben
\renewcommand{\Im}{\mathrm{Im}}
\renewcommand{\Re}{\mathrm{Re}}
% Vektoren als schräge fette Buchstaben
\renewcommand{\vec}[1]{\textbf{\itshape #1}}

% Kompatibilitätsmode für die Packung epsfig (see grfguide.ps)
% \usepackage{epsfig}

% Ersetzen von Text in .eps files mit LaTeX Text
\usepackage{psfrag}

\date{}   % avoid date

% Anzahl der Bilder auf einer Seite oben
%\setcounter{topnumber}{3}
% Platz für Gleitobjekt am Fußende
% \renewcommand{\bottomfraction}{0.5}
\end_preamble
\language german
\inputencoding latin1
\fontscheme pslatex
\graphics default
\paperfontsize 10
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 2cm
\topmargin 2.9cm
\rightmargin 2cm
\bottommargin 2.9cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language polish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty

\layout Section

Definition and enumerate
\layout Description

Definition 
\begin_inset Minipage
position 0
inner_position 0
height 0
width 100col%
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\layout Description

Next\SpecialChar ~
Definition 
\begin_inset Minipage
position 0
inner_position 0
height 0
width 100col%
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\layout Standard

You need the List style, if the enumerates should be aligned.
 Set the mark width to the longest mark.
\layout List
\labelwidthstring Very Last Definition

Third\SpecialChar ~
Definition 
\begin_inset Minipage
position 0
inner_position 0
height 0
width 100col%
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\layout List
\labelwidthstring Very Last Definition

Very\SpecialChar ~
Last\SpecialChar ~
Definition 
\begin_inset Minipage
position 0
inner_position 0
height 0
width 100col%
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\the_end


Attention: very serious problem with fonts and encoding!

2004-11-23 Thread Rocco Orlando Rossi
It seems that there is a pretty big problem with the new version of LyX with 
respect to fonts and encoding, when the application is used with other 
languages, namely Italian in my case.

When I write words with accents, for example "velocità" (velocity), the 
letters with the accents get screwed up if I export them to HTML, or LaTeX, 
or even Text!

Strangely enough, I don't have any problem viewing them or converting them to 
DVI, Postscript, or PDF through LaTeX.

I can't seem to understand the cause, let alone find a solution.

Can you help?

I need LyX for my work. Among other things (I am a mathematician), I write 
articles for Linux Magazine in Italy, and we even published one on LyX itself 
just a couple of months ago!

Thanks for your assistance.

Sincerely,

Rocco Rossi


[Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Lars Gullik Bjønnes
--- Begin Message ---
Hi all,

Please take a look at the LyX Quickstart page at 
http://www.troubleshooters.com/lpm/200210/200210.htm, and if appropriate, 
include it in the "English sites" section of your "Internet Resources" page 
at http://www.lyx.org/internet/.

The LyX Quickstart page is a tutorial that walks through LyX's key points, 
starting with a "Hello World" document, writing a letter, installation, 
documentation resources, book writing, table of contents, graphics and 
tables, and cross references.

It discusses creating a layout, starting with simple layouts and proceding to 
fairly complex environment creation.

All the preceding are available on other Internet pages, but the LyX 
Quickstart page contains material to aid in LyX and LaTeX understanding for 
the publishing newbie. The "Understanding LyX Through Contrasts" section 
helps the reader know where LaTeX ends and LyX starts, as well as discussing 
Fine Tuning vs. Consistency, Graphical Layout Specification vs. Numeric 
Layout Specification, Word Processors vs. Content Authoring Tools, Using 
Styles vs. Creating Styles, Default vs Created Styles, Character Styles vs. 
Paragraph Styles, LyX the Language vs. LyX the Front End, and LyX Code vs. 
LaTeX Code.

The LyX Quickstart also has an entire section devoted to LyX Code vs. LaTeX 
Code, and another section Learning by Reverse Engineering -- a technique that 
until now was used only by advanced LyX users.

Thanks

Steve

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com
___
Web-team mailing list
[EMAIL PROTECTED]
http://baywatch.lyx.org/mailman/listinfo/web-team

--- End Message ---


-- 
Lgb


Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Herbert Voss
Lars Gullik Bjønnes wrote:

Subject:
[Web-team] Another great Internet LyX resource
From:
Steve Litt <[EMAIL PROTECTED]>
Date:
Tue, 23 Nov 2004 10:22:29 -0500
To:
[EMAIL PROTECTED]
To:
[EMAIL PROTECTED]
Hi all,
Please take a look at the LyX Quickstart page at 
http://www.troubleshooters.com/lpm/200210/200210.htm, and if appropriate, 
include it in the "English sites" section of your "Internet Resources" page 
at http://www.lyx.org/internet/.

The LyX Quickstart page is a tutorial that walks through LyX's key points, 
starting with a "Hello World" document, writing a letter, installation, 
documentation resources, book writing, table of contents, graphics and 
tables, and cross references.
the first screenshot is extremely misleading. It shows some wrong
LaTeX code and a way in which LyX shouldn't be use ...
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


decrease font size in bibtex references

2004-11-23 Thread Leo Gürtler
Hi alltogether,
how can I decrease the font size in bibtex references ?
thanks
greetings,
Leo
--
Leo Gürtler
School for Education
Department of Educational Psychology
University of Tübingen
Münzgasse 22-30, 72070 Tübingen, Germany
email: [EMAIL PROTECTED]
www: http://homepages.uni-tuebingen.de/leo.guertler
www: http://www.qualitative-psychologie.de
phone: +(0049) (0)7071 - 2978324
fax:   +(0049) (0)7071 - 294954



Mixed enumerate environments

2004-11-23 Thread Paul Smith
Dear All

With the cursor inside the LyX enumerate environment, I want to begin
a nested enumerate environment using ERT so that I can pass some
parameters to the enumerate environment (not the default enumerate
environment, but the one provided by the enumerate package). Okay, I
know that I could do everything with a single ERT... but that would
correspond to a waste of LyX facilities. Any ideas?

Thanks in advance,

Paul


Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Lars Gullik Bjønnes
Herbert Voss <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
>> 
>> Subject:
>> [Web-team] Another great Internet LyX resource
>> From:
>> Steve Litt <[EMAIL PROTECTED]>
>> Date:
>> Tue, 23 Nov 2004 10:22:29 -0500
>> To:
>> [EMAIL PROTECTED]
>> To:
>> [EMAIL PROTECTED]
>> Hi all,
>> Please take a look at the LyX Quickstart page at
>> http://www.troubleshooters.com/lpm/200210/200210.htm, and if
>> appropriate, include it in the "English sites" section of your
>> "Internet Resources" page at http://www.lyx.org/internet/.
>> The LyX Quickstart page is a tutorial that walks through LyX's key
>> points, starting with a "Hello World" document, writing a letter,
>> installation, documentation resources, book writing, table of
>> contents, graphics and tables, and cross references.
>
| the first screenshot is extremely misleading. It shows some wrong
| LaTeX code and a way in which LyX shouldn't be use ...

But still not too bad.

A bit LaTeX centric perhaps :-)

-- 
Lgb



Special case of enumerate

2004-11-23 Thread Paul Smith
Dear All

I would like to get the following enumerate (in to two columns) output:

1. First item; 1*. Item homologous to the first one;
2. Second item;2*. Item homologous to the second one.

Any ideas?

Thanks in advance,

Paul


Re: Looking for symbuls

2004-11-23 Thread Uwe Stöhr
Hannan Sadar schrieb:
I saw on Voss-mathmode.pdf the notation \eqdef and i hand't succeeded
to use it in LyX. Do I need to use some preamble?
Yes, Herbert described the needed definition in chap. 19 and 63 (or 
search in the pdf).

Is there a symbol :=?
Look at
ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Table 45 and 47 (command \coloneq(q) from mathabx or txfonts-package)
regards Uwe


Re: LyX preview of pdf files

2004-11-23 Thread Uwe Stöhr
Stephen Buonopane wrote:
I am trying to make the switch from eps/ps graphics and 
latex->dvi->ps->pdf to pdf graphics and pdflatex. However, when I have a 
pdf figure which is less than a full page, the LyX display that I see 
shows the graphic as if it is in the bottom left corner of a full page, 
i.e. there is a lot of white space above it. The pdf file produced with 
pdflatex is just fine.
> The displayed image seems to depend  on which program I use to make
> the pdf file.
This is a problem of ghostview. It ignores the pdf crop-box. (You can 
create pdfs in A4-size and crop it, so that only the picture is shown in 
the output without whitespace.) Some programs use this method.
Normally all pdf viewers accept this crop box, except of ghostview. And 
because LyX delegates image conversions to the program Imagemagick and 
Imagemagick uses ghostview to display pdfs, you see the pdf with whitespace.
In the pdf output the pdf is correctly inserted, because pdflatex 
accepts the crop box.

regards Uwe


Re: Attention: very serious problem with fonts and encoding!

2004-11-23 Thread Uwe Stöhr
Rocco Orlando Rossi wrote:
When I write words with accents, for example "velocità" (velocity), the 
letters with the accents get screwed up if I export them to HTML, or LaTeX, 
or even Text!
I don't understand that, LyX can only export to LaTeX, DVI, PDF and 
postscript, but not to Text or HTML.

Strangely enough, I don't have any problem viewing them or converting them to 
DVI, Postscript, or PDF through LaTeX.
So it doesn't seem to be a LyX problem, or do you also have problems 
with accented characters within Lyx?

I need LyX for my work. Among other things (I am a mathematician), I write 
articles for Linux Magazine in Italy, and we even published one on LyX itself 
just a couple of months ago!
Could you please post the link to this article
regards Uwe


Re: Defenition and numurate

2004-11-23 Thread Uwe Stöhr
Hannan Sadar wrote:
I would like to know if it can be done the following thing:
Define a style and use enumerate with out writing anything in the first line.
For example,
Definition: 1. Bla Bla Bla
 2. ...
Attached a short solution. Ok, it's not exactly what you want, but it 
looks acceptable.
If you need it exactly as posted, you should have in LaTeX book for the 
command
\newenvironment

regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\usepackage[gennarrow]{eurosym}
\usepackage{icomma}
\usepackage{textcomp}
\usepackage{soul}
\usepackage{calc}
\usepackage{array}
\usepackage{multirow}

\renewcommand{\multirowsetup}{\centering}
\setlength{\extrarowheight}{2pt}
\newcolumntype{A}[1]
 {>{\centering\hspace{0pt}}m{#1}}

\renewcommand{\underbar}[1]{\ul{#1}}

\setkomafont{captionlabel}{\bfseries}

\usepackage[colorlinks=true, urlcolor=blue,
linkcolor=black, pdftitle={Titel},
pdfauthor={Uwe Stöhr}, bookmarksnumbered=true,
pdfnewwindow=true, pdfstartview=XYZ,
pdfpagelayout=OneColumn,
bookmarksopen]{hyperref}
\usepackage[figure]{hypcap}

%Linkfläche für Querverweise vergrößern
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
\renewcommand{\figureautorefname}{Abb.\negthinspace}
\renewcommand{\tableautorefname}{Tab.\negthinspace}
\renewcommand{\sectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}
\newlength{\abc}
\settowidth{\abc}{\space}
\renewcommand{\equationautorefname}{\hspace{-\abc}}

%Damit die Zeichen ° , · und × in LyX direkt eingegeben werden können.
\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
\DeclareInputText{215}{\ifmmode\times\else\texttimes\fi}

%setzt die Schwelle herauf, ab der Gleitumgebungen allein
%auf einer Seite erscheinen
\renewcommand{\floatpagefraction}{0.7}

%setzt die Schwelle herauf, ab der Gleitumgebungen unten
%auf einer Seite erscheinen dürfen
\renewcommand{\bottomfraction}{0.5}
\end_preamble
\options fleqn,tablecaptionabove
\language ngerman
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Description

Definition:
\begin_deeper 
\layout Enumerate

blabla
\layout Enumerate

blabla
\the_end


Re: Attention: very serious problem with fonts and encoding!

2004-11-23 Thread Georg Baum
Am Dienstag, 23. November 2004 20:52 schrieb Uwe Stöhr:
> I don't understand that, LyX can only export to LaTeX, DVI, PDF and 
> postscript, but not to Text or HTML.

It can always export to Text (this is called ASCII). The HTML export is 
only available if the configure script can find a suitable latex -> html 
converter.


Georg



change book "Chapter" to "Session"

2004-11-23 Thread Jeremy C. Reed
I am trying to figure out how to change the printed output of "Chapter" to
"Session" in a copy of the book document class.

I am using LyX 1.3.4 and teTeX-2.0.2.

I tried copying share/lyx/layouts/book.layout to my
~/.lyx/layouts/courseware.layout and then modifying to have:

\DeclareLaTeXClass{courseware}

and made a new Style Session.

but LyX said the class was "Unavailable" (but it did work, but didn't have
any way to export to postscript).

I also tried making a new ~/.lyx/layouts/courseware.layout
with:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{courseware}
Input stdclass.inc

But I couldn't figure out how to add a "Session" style or to change the
Chapter.

Also, I read that the .layout files only effect the look in the LyX
interface. So I guess I need to change some book.cls file to make a new
file.

Any ideas would be appreciated.

Basically what I want is a document layout for a book that doesn't say
"Chapter" on each of my new chapters, but says "Session" instead. This is
used for courseware that I have been using for a couple years.

Thank you,

 Jeremy C. Reed

 technical support & remote administration
 http://www.pugetsoundtechnology.com/



Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Herbert Voss
Lars Gullik Bjønnes wrote:
| the first screenshot is extremely misleading. It shows some wrong
| LaTeX code and a way in which LyX shouldn't be use ...
But still not too bad.
extremely bad
A bit LaTeX centric perhaps :-)
nearly everything could be done by LyX ...
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: [Steve Litt] [Web-team] Another great Internet LyX resource

2004-11-23 Thread Lars Gullik Bjønnes
Herbert Voss <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
>
>> | the first screenshot is extremely misleading. It shows some wrong
>> | LaTeX code and a way in which LyX shouldn't be use ...
>> But still not too bad.
>
| extremely bad

I mean the rest.

-- 
Lgb



Re: Special case of enumerate

2004-11-23 Thread Uwe Stöhr
Paul Smith wrote:
I would like to get the following enumerate (in to two columns) output:
1. First item; 1*. Item homologous to the first one;
2. Second item;2*. Item homologous to the second one.
You can use two minipages side by side and every minipage has two 
enmumerate environments. To get the star behind the number you have to 
redefine the command
\theenumi

This can be done within a new defined environment or, as I did, with two 
separate commands. The effect is the same: you need for the starred 
enumeration two commands in ERT.
I attached an example.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\newcommand{\starnumb}
 {\let\myenumi\theenumi%
  \renewcommand{\theenumi}{\myenumi$^\ast$}}
\newcommand{\starnume}
 {\renewcommand{\theenumi}{\myenumi}}

%\usepackage{hyperref}
\end_preamble
\options fleqn,tablecaptionabove
\language ngerman
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Standard


\begin_inset Minipage
position 1
inner_position 0
height "0pt"
width "50col%"
collapsed false

\layout Enumerate

aFsgfasf
\layout Enumerate

asdf
\begin_inset LatexCommand \label{enu:asdf}

\end_inset 


\layout Enumerate

asf
\end_inset 


\begin_inset Minipage
position 1
inner_position 0
height "0pt"
width "50col%"
collapsed false

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
starnumb 
\end_inset 


\layout Enumerate

asdf
\layout Enumerate

asf
\layout Enumerate

sdf
\begin_inset LatexCommand \label{enu:sdf}

\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
starnume
\end_inset 


\end_inset 


\layout Standard
\added_space_top bigskip 
ydfa
\layout Enumerate

sfas
\begin_inset LatexCommand \label{enu:sfas}

\end_inset 


\layout Enumerate

asdf
\layout Enumerate

sdf
\layout Standard

asfd: 
\begin_inset LatexCommand \ref{enu:asdf}

\end_inset 

, sfd: 
\begin_inset LatexCommand \ref{enu:sdf}

\end_inset 

 and sfas: 
\begin_inset LatexCommand \ref{enu:sfas}

\end_inset 


\the_end


newfile1.pdf
Description: Adobe PDF document


Re: Attention: very serious problem with fonts and encoding!

2004-11-23 Thread G. Milde
On 23.11.04, Rocco Orlando Rossi wrote:
> It seems that there is a pretty big problem with the new version of LyX with
> respect to fonts and encoding, when the application is used with other 
> languages, namely Italian in my case.

Which one? I use LyX 1.3.4 of Thu, Feb 19, 2004 on a Debian Linux system
with German language and have no problems with Umlauts.

> When I write words with accents, for example "velocità" (velocity), the 
> letters with the accents get screwed up if I export them to HTML, or LaTeX, 
> or even Text!

What application do you use to view the html or tex/text files?

Did you recently upgrade to a system using UTF8? If using Linux, what is
your locale setting?

> Strangely enough, I don't have any problem viewing them or converting them to 
> DVI, Postscript, or PDF through LaTeX.

Does conversion of a "handmade" or old LaTeX file to HTML work?

Günter

-- 
G.Milde web.de


Re: Mixed enumerate environments

2004-11-23 Thread G. Milde
On 23.11.04, Paul Smith wrote:
> Dear All
> 
> With the cursor inside the LyX enumerate environment, I want to begin
> a nested enumerate environment using ERT so that I can pass some
> parameters to the enumerate environment (not the default enumerate
> environment, but the one provided by the enumerate package). Okay, I
> know that I could do everything with a single ERT... but that would
> correspond to a waste of LyX facilities. Any ideas?

Are these optional or compulsory arguments? Optional arguments can be
supported by LyX with the right layout definition. 

Something like (untested!)

Input stdlists.inc
Layout Enumerate
  OptionalArgs  1

Somewhat misleasding, the optional argument must be given in the Menu topic
"short heading" (or the like), as this feature was introduced for
[sub[sub]]sections.


Another possibility would be to use ERT in a nested standard paragraph to
start and end the sublist. You will not see the indent of the sublist but
otherwise it should be ok. 

Günter

-- 
G.Milde web.de


Re: Defenition and numurate

2004-11-23 Thread G. Milde
On 23.11.04, Uwe Stöhr wrote:
> Hannan Sadar wrote:
> 
> >I would like to know if it can be done the following thing:
> >Define a style and use enumerate with out writing anything in the first 
> >line.
> >
> >For example,
> >
> >Definition: 1. Bla Bla Bla
> > 2. ...
> 
> Attached a short solution. Ok, it's not exactly what you want, but it 
> looks acceptable.

Another possibility is to use a Minipage for the enumerate. See attached LyX
file

Günter

-- 
G.Milde web.de
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
% Real- und Imaginärteil mit lateinischen Buchstaben
\renewcommand{\Im}{\mathrm{Im}}
\renewcommand{\Re}{\mathrm{Re}}
% Vektoren als schräge fette Buchstaben
\renewcommand{\vec}[1]{\textbf{\itshape #1}}

% Kompatibilitätsmode für die Packung epsfig (see grfguide.ps)
% \usepackage{epsfig}

% Ersetzen von Text in .eps files mit LaTeX Text
\usepackage{psfrag}

\date{}   % avoid date

% Anzahl der Bilder auf einer Seite oben
%\setcounter{topnumber}{3}
% Platz für Gleitobjekt am Fußende
% \renewcommand{\bottomfraction}{0.5}
\end_preamble
\language german
\inputencoding latin1
\fontscheme pslatex
\graphics default
\paperfontsize 10
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 2cm
\topmargin 2.9cm
\rightmargin 2cm
\bottommargin 2.9cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language polish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty

\layout Section

Definition and enumerate
\layout Description

Definition 
\begin_inset Minipage
position 0
inner_position 0
height "0"
width "100col%"
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\layout Description

Next\SpecialChar ~
Definition 
\begin_inset Minipage
position 0
inner_position 0
height "0"
width "100col%"
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\layout Standard

You need the List style, if the enumerates should be aligned.
 Set the mark width to the longest mark.
\layout List
\labelwidthstring Very Last Definition

Third\SpecialChar ~
Definition 
\begin_inset Minipage
position 0
inner_position 0
height "0"
width "100col%"
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\layout List
\labelwidthstring Very Last Definition

Very\SpecialChar ~
Last\SpecialChar ~
Definition 
\begin_inset Minipage
position 0
inner_position 0
height "0"
width "100col%"
collapsed false

\layout Enumerate

first item
\layout Enumerate

second item
\layout Enumerate

third item
\end_inset 


\the_end