noindent

2000-08-21 Thread thomas schönhoff

Hello,
I've written a paper encompassing about 90 pages .
Because I didn't want to number the introduction I
changed from chapter to paragraph.
Now everything seems to be fine, but unfortunately
the first sentence is set as an indent, this looks
rather curiously. So marking the whole paragraph
and changed it to \noindent, I inserted ERT
(\noindent), but no way..
First I have a toc, followed by a ERT \newpage,
because I don't want the end of the toc (last
line) and the paragraph are set to the same page !
When I created an example file to demonstrate this
everything is okay in GV, the original file is too
large for posting it to the list (383,92 kb).
Nevertheless, does somebody understand the problem
and can give me a workaround for this !

BTW, the text is written in book
koma-script-class, pagestyle headings, size of
charset 12, german, Latin 1 and charset helvet, in
Lyx-1.1.5fix1

greetings
Thomas



noindent2

2000-08-21 Thread thomas schönhoff

Hello,
after overcoming some difficulties I can give the
attached example file, for the sake of a better
understanding of my problem.

Thomas


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass scrbook
\language german
\inputencoding latin1
\fontscheme helvet
\graphics default
\paperfontsize 12
\spacing onehalf 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle headings

\layout Standard
\noindent \align center 
Inhaltsverzeichnis
\layout Standard


\latex latex 

\backslash 
newpage
\layout Paragraph

Einleitung
\newline 

\layout Standard
\noindent 
Die Epilepsie ist eine universell auftretende und zugleich eine der ältesten,
 dokumentierten Krankheiten der Menschheitsgeschichte, die sich symptomatisch
 durch wiederkehrend auftretende Anfälle äußert.
 Diese Symptomatik wird u.a.
 begleitet durch den Verlust des Bewußtseins, motorische Einschränkungen
 und befremdlichen Sinnesempfindungen seitens der Betroffenen.
\layout Standard
\noindent 
Die sozio-kulturellen Erklärungsmuster für dieses Phänomen wechselten im
 Verlauf der Geschichte, von der Annahme übernatürlicher Kräfte bis hin
 zu heutigen biomedizinischen Sicht als klinischer Manifestation.
 Dennoch verweist die WHO darauf, dass Epilepsie auch heute noch in einigen
 Gegenden dieser Welt oder auch sozialen Schichten als Objekt abergläubischer
 Spekulationen gilt.
\begin_float footnote 
\layout Standard

WHO- Fact-Sheet, Epilepsy: Aetiology, Epidemiology and Prognosis, Juni 1997
\end_float 
 
\layout Standard
\noindent 
\the_end



Re: noindent2

2000-08-21 Thread Herbert Voss

thomas schönhoff wrote:
> 
> Hello,
> after overcoming some difficulties I can give the
> attached example file, for the sake of a better
> understanding of my problem.

look at latex-preamble of the example-file

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass scrbook
\begin_preamble
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{\normalfont\normalsize\bfseries}}
\end_preamble
\language german
\inputencoding latin1
\fontscheme helvet
\graphics default
\paperfontsize 12
\spacing onehalf 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle headings

\layout Standard
\noindent \align center 
Inhaltsverzeichnis
\layout Standard


\latex latex 

\backslash 
newpage
\layout Paragraph

Einleitung
\layout Standard
\noindent 
Die Epilepsie ist eine universell auftretende und zugleich eine der ältesten,
 dokumentierten Krankheiten der Menschheitsgeschichte, die sich symptomatisch
 durch wiederkehrend auftretende Anfälle äußert.
 Diese Symptomatik wird u.a.
 begleitet durch den Verlust des Bewußtseins, motorische Einschränkungen
 und befremdlichen Sinnesempfindungen seitens der Betroffenen.
\layout Standard
\noindent 
Die sozio-kulturellen Erklärungsmuster für dieses Phänomen wechselten im
 Verlauf der Geschichte, von der Annahme übernatürlicher Kräfte bis hin
 zu heutigen biomedizinischen Sicht als klinischer Manifestation.
 Dennoch verweist die WHO darauf, dass Epilepsie auch heute noch in einigen
 Gegenden dieser Welt oder auch sozialen Schichten als Objekt abergläubischer
 Spekulationen gilt.
\begin_float footnote 
\layout Standard

WHO- Fact-Sheet, Epilepsy: Aetiology, Epidemiology and Prognosis, Juni 1997
\end_float 
 
\the_end



Re: noindent

2000-08-21 Thread Herbert Voss

thomas schönhoff wrote:
> 
> Hello,
> I've written a paper encompassing about 90 pages .
> Because I didn't want to number the introduction I
> changed from chapter to paragraph.

use the ones with a star, they are the same without star
but not numbered.

> Now everything seems to be fine, but unfortunately
> the first sentence is set as an indent, this looks
> rather curiously. So marking the whole paragraph
> and changed it to \noindent, I inserted ERT
> (\noindent), but no way..

i answerde this with  the last message.

> First I have a toc, followed by a ERT \newpage,
> because I don't want the end of the toc (last
> line) and the paragraph are set to the same page !
> When I created an example file to demonstrate this
> everything is okay in GV, the original file is too
> large for posting it to the list (383,92 kb).
> Nevertheless, does somebody understand the problem
> and can give me a workaround for this !

\frontmatter
-title-
-author-
-contents-
-introduction-

\mainmatter
-the main text-
...
\backmatter
-appendix-
-bib-
-index-
...

with this structure some things (e.g. pagenumbering) looks better. 
choose chapter* for your introduction, than you have by
default a new page.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss




noindent3

2000-08-21 Thread thomas schönhoff

Hello,
thanks to Herbert this works quite nicely...

But one problem remains, the introductions
paragraph is titled TOC (in the headings) which is
definetly wrong and not wanted by me !!!
Are there any ideas to avoid this ?

Thomas



Re: noindent3

2000-08-21 Thread Jean-Pierre.Chretien


>>Date: Sun, 20 Aug 2000 15:03:13 +
>>From: thomas schönhoff <[EMAIL PROTECTED]>
>>Subject: noindent3
>>To: LyX Users <[EMAIL PROTECTED]>
>>
>>Hello,
>>thanks to Herbert this works quite nicely...
>>
>>But one problem remains, the introductions
>>paragraph is titled TOC (in the headings) which is
>>definetly wrong and not wanted by me !!!
>>Are there any ideas to avoid this ?
>>
>>Thomas

>From a local report class:
\newcommand{\tocchap}[1]{\addcontentsline{toc}{chapter}{\protect\numberline
{}#1}\markboth{\textsc{#1}}{\textsc{#1}}\thispagestyle{plain}}
\newcommand{\chapterstar}[1]{\chapter*{#1}\tocchap{#1}}

The first command 
- feeds the title of an unnumbered chapter back to the TOC
- redefines the headings to reflect the change, déclaring the first page
of the chapter as plain (the fancyplain facility is used in the
headindg organisation): thus the headings of an initial chapter page
can be modified ad libitum (mostly to avoid a duplication of the title,
which is the default for numbered chapters and default running headers,
but is lost with the enforced markboth).

The second command declares chapterstar to call an unnumbered chapter
and the new headings layout and TOC info.


Once this is in the class, the style or the preamble, it is easy to
change the layout to chapterstar as a menu item in LyX.

I hope you can extract the right stuff from this in order
to fulfill your needs.

Regards

-- 
Jean-Pierre






scaling .pstex

2000-08-21 Thread Martijn Brouwer

Is it possible to scale .pstex pictures, or does this change the position
of the text with respect to graphical part of the picture? When this is
possible, how to achieve it?

Thanks,

Martijn


__
Martijn Brouwer   [EMAIL PROTECTED]



Re: scaling .pstex

2000-08-21 Thread Jean-Pierre.Chretien


>>Date: Mon, 21 Aug 2000 17:09:23 +0200
>>To: [EMAIL PROTECTED]
>>From: Martijn Brouwer <[EMAIL PROTECTED]>
>>Subject: scaling .pstex
>>
>>Is it possible to scale .pstex pictures, or does this change the position
>>of the text with respect to graphical part of the picture? When this is
>>possible, how to achieve it?
>>

I didn't check, but I guess that the -m option of fig2dev
*should* work, so that
fig2dev -L pstex -m 0.5 -p bar foo.fig > foo.pstex
fig2dev -L pstex_t -p foo.pstex foo.fig > foo.pstex_t
is a way to do it.

Din't check however, hope that scaling the graphics is enough
and that the -m option is not needed in the second command...

-- 
Jean-Pierre





Re: Importing PS files

2000-08-21 Thread Dekel Tsur

On Sun, Aug 20, 2000 at 02:18:38AM +0300, Tuukka Toivonen wrote:
> On Fri, 18 Aug 2000, Jonathan Pennington wrote:
> 
> > I seem to remember this thread rearing its head before, but I can't
> > find it in the archives. I want to import and edit postscript
> > files. How can I do so?
> 
> Not too easy. Probably the best way is to load the postscript
> file to xfig and "paint over": ie, you can't really edit
> the postscript file in xfig, but you can remove parts by
> drawing white rectangles over the graphics and add new graphics.

pstoedit can convert from Postscript to xfig (and other formats).



Re: noindent

2000-08-21 Thread Dekel Tsur

On Sun, Aug 20, 2000 at 12:16:22PM +, thomas sch?nhoff wrote:
> Hello,
> I've written a paper encompassing about 90 pages .
> Because I didn't want to number the introduction I
> changed from chapter to paragraph.
> Now everything seems to be fine, but unfortunately
> the first sentence is set as an indent, this looks
> rather curiously. So marking the whole paragraph
> and changed it to \noindent, I inserted ERT
> (\noindent), but no way..

If I understand correctly, you need to set the layout of the introduction
to chapter*



Re: noindent

2000-08-21 Thread Jean-Pierre.Chretien


>>Date: Mon, 21 Aug 2000 19:07:20 +0300
>>From: Dekel Tsur <[EMAIL PROTECTED]>
>>To: thomas sch?nhoff <[EMAIL PROTECTED]>
>>Cc: LyX users <[EMAIL PROTECTED]>
>>Subject: Re: noindent
>>
>>On Sun, Aug 20, 2000 at 12:16:22PM +, thomas sch?nhoff wrote:
>>> Hello,
>>> I've written a paper encompassing about 90 pages .
>>> Because I didn't want to number the introduction I
>>> changed from chapter to paragraph.
>>> Now everything seems to be fine, but unfortunately
>>> the first sentence is set as an indent, this looks
>>> rather curiously. So marking the whole paragraph
>>> and changed it to \noindent, I inserted ERT
>>> (\noindent), but no way..
>>
>>If I understand correctly, you need to set the layout of the introduction
>>to chapter*

This a *much* better way to proceed than setting it to a paragraph,
unless you do not want it to appear in the same layout as the other sections
or chapters.

Howvever in a paper there are no chapters, but rather sections, so 
I'm not sure that it will work: what I gave is rather for a kind of
layout where introduction, chapters, conclusion, bibliography... start
on a new page, so that \thispagestyle{plain} makes sense.
In the same line, the « chapter » stuff of the commands should be replaced
by « section ». 

Perhaps you need only the \markboth stuff to get the correct headings.

Sorry if I mislead you, I'm afraid I killed the former mails of the thread
when I posted.

-- 
Jean-Pierre




once again TOC

2000-08-21 Thread thomas schönhoff

Hello,
thanks to Jean and Herbert for proposals. I've
experiemnted with serveral proposed solutions.
Now the state of art is that (with all three
LaTeX-commands, of cause seperately!) the first
page of my introduction is plain (headings), but
the following four pages are still labelled as
TOC!
Are there any other ideas for handling this
problem.

greetings
Thomas
BTW, if someone will have a look I attach an
example file.


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass scrbook
\language german
\inputencoding latin1
\fontscheme helvet
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle headings

\layout Standard
\noindent 

\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout LaTeX


\backslash 
newpage
\layout Chapter*
\noindent 
Einleitung
\layout Standard
\noindent 
Die Epilepsie ist eine universell auftretende und zugleich eine der ältesten,
 dokumentierten Krankheiten der Menschheitsgeschichte, die sich symptomatisch
 durch wiederkehrend auftretende Anfälle äußert.
 Diese Symptomatik wird u.a.
 begleitet durch den Verlust des Bewußtseins, motorische Einschränkungen
 und befremdlichen Sinnesempfindungen seitens der Betroffenen.
\layout Standard
\noindent 
Die sozio-kulturellen Erklärungsmuster für dieses Phänomen wechselten im
 Verlauf der Geschichte, von der Annahme übernatürlicher Kräfte bis hin
 zu heutigen biomedizinischen Sicht als klinischer Manifestation.
 Dennoch verweist die WHO darauf, dass Epilepsie auch heute noch in einigen
 Gegenden dieser Welt oder auch sozialen Schichten als Objekt abergläubischer
 Spekulationen gilt.
\begin_float footnote 
\layout Standard

WHO- Fact-Sheet, Epilepsy: Aetiology, Epidemiology and Prognosis, Juni 1997
\end_float 
 
\layout Standard
\noindent 
Das Risiko einer epileptischen Erkrankung gilt für alle Menschen unabhängig
 von Alter, Geschlecht oder Rasse, wenngleich das Krankheitsbild je nach
 Alterskohorte oder Region epidemiologisch unterschiedlich gehäuft auftritt.
 Es wird geschätzt, dass ca.
 5% der Weltbevölkerung in ihrem Leben mindestens einmal von einem epileptischen
 Anfall betroffen sind (Lebenszeitprävalenz).
 Weltweit entwickeln von diesen 5 Prozent aller Personen, die jemals einen
 epileptischen Anfall in ihrem Leben hatten, ca.
 40 Millionen Menschen eine Epilepsie.
 Beispielsweise entwickeln ca.
 5 % der Kinder, bei denen nach der Geburt Fieberkrämpfe auftreten, eine
 Epilepsie, d.h.
 sie sind im weiteren Verlauf ihres Lebens weiteren, chronisch wiederkehrenden
 epileptischen Anfällen ausgesetzt.
\begin_float footnote 
\layout Standard

WHO, a.a.O.
\end_float 
\layout Standard
\noindent 
Die Prävalenz- und Inzidenz- Raten epileptischer Syndrome variieren in den
 epidemiologischen Studien, so wird vermutet, dass die tatsächliche Prävalenz
 oder Inzidenz weitaus höher ist, wie dies in einigen Studien verschiedener
 Regionen der Entwicklungsländer gezeigt worden ist.
\begin_float footnote 
\layout Standard

WHO, a.a.O.
\end_float 
 Allerdings lassen sich dafür wenig greifbare Anhaltspunkte in dem Text
 der WHO finden.
 In der Regel handelt es sich bei diesen Betrachtungen der WHO um durchschnittli
che Werte, deren methodisch- inhaltliche Basis nur in Andeutungen sichtbar
 wird.
 Dies zeigt sich besonders an den Prävalenzen und Inzidenzen epileptischer
 Syndrome, der epidemiologischen Dimension der Epilepsie.
\layout Standard
\noindent 
Eine Betrachtung der Details regionenspezifischer Inzidenzraten zeigt, dass
 die Inzidenzraten in den Entwicklungsländern bei bis zu 119 je 100.000 liegen,
 während in den industrialisierten Ländern die Raten etwa um die Hälfte
 niedriger sind.
\begin_float footnote 
\layout Standard

Hauser, WA., Recent developements in the epidemiology of epilepsy, 
\noun on 
acta neurologica scandinavia, 
\noun default 
Supplement 162: 17-21, 1995
\end_float 
 Dieser Differenz zwischen Industrie- und Entwicklungsländern folgen bei
 näherer Betrachtung weiterer Unterschiedlichkeiten, z.B.
 des höheren Niveaus epileptischer Syndrome in der schwarzen im Vergleich
 zur weißen amerikanischen Bevölkerung der Stadt Rochester ((10.04 versus
 6.7) oder der Tatsache, dass Männer zweimal häufiger als Frauen von epileptische
n Erkrankungen betroffen sind (6.8 versus 3.4).
\begin_float footnote 
\layout Standard

Jallon,P., Distribution géographique de l'epilepsie dans le monde, Rev.
 Neurologique (Paris), 1996
\end_float 
\layout Standard
\noindent 
Thematisch an solche Differenzen anknüpfend werden im weiteren Verlauf dieser
 Arbeit zwei inhaltliche Ebenen unterschieden.
 Die erste Ebene befasst sich mit Fragen der Erforschung von Ursachen epileptisc
her Erkrankungen, z.B.
 bezüglich beeinflussender Faktoren auf ein Rezidiv-Risikos

Re: once again TOC

2000-08-21 Thread Jean-Pierre.Chretien


>>Date: Sun, 20 Aug 2000 18:47:14 +
>>From: thomas schönhoff <[EMAIL PROTECTED]>
>>Subject: once again TOC
>>To: LyX Users <[EMAIL PROTECTED]>
>>
>>Hello,
>>thanks to Jean and Herbert for proposals. I've
>>experiemnted with serveral proposed solutions.
>>Now the state of art is that (with all three
>>LaTeX-commands, of cause seperately!) the first
>>page of my introduction is plain (headings), but
>>the following four pages are still labelled as
>>TOC!
>>Are there any other ideas for handling this
>>problem.
>>
>>greetings
>>Thomas
>>BTW, if someone will have a look I attach an
>>example file.

\markboth{Einleitung}{Einleitung}
after \newpage will do it.

-- 
Jean-Pierre




Re: once again TOC

2000-08-21 Thread Herbert Voss

thomas schönhoff wrote:
> 
> Hello,
> thanks to Jean and Herbert for proposals. I've
> experiemnted with serveral proposed solutions.
> Now the state of art is that (with all three
> LaTeX-commands, of cause seperately!) the first
> page of my introduction is plain (headings), but
> the following four pages are still labelled as
> TOC!
> Are there any other ideas for handling this
> problem.

when you have the komma-class than you can choose 
the \addchap - style for "Einleitung" and all
works well.
remember that there is a good doc for koma-class

/usr/share/texmf/doc/latex/koma-script/scrguide.dvi

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/voss



Re: Support for ncurses-LyX

2000-08-21 Thread Matej Cepl

On 16 Aug 00, at 10:48, Raffael Herzog wrote:

> I think emacs is a great front-end to LaTeX on the console. OK, using
> Emacs, You'll need to know LaTeX, but just take a look at the code LyX
> produces! It's quite simple.

> How would you show the different environments on the console? The best I
> could imagine would be: show the LaTeX code, because there are too many
> environments to format them uniquely on the console. And that's exactly
> what Emacs does.

Hi,

I would strongly disagree. The problem for me is not, that I would 
not be _able_ to learn LaTeX, but rather that I do not _want_ to. I 
perfectly know the LaTeX syntax (I have written couple of 
documents using AUCTeX), but I do not want to be bothered by all 
the codes, but I prefer clean text, which I can better concentrate on.

Another point is that I do not want to waste my time by looking up 
all syntax stuff (all these questions for not-so-obvious issues -- "How 
to make text blue?").

And concerning showing different environments -- many of them can 
be shown directly (lists, sections etc.) and for the rest different 
colours are perfectly OK. Have you ever had WordPerfect 5.1 for 
DOS in your hands? Yes, I have no idea, how to show equations via 
ncurses (is it possible to display some pictures via SVGAlib on 
konsole?), but for most of my documents (I am a lawyer) it should 
be perfectly sufficient.

Your opinion?

Have a nice day

Matej Cepl