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

2005-04-20 Thread Gerasimos Grammatikopoulos
On Tuesday 19 April 2005 19:44, Rich Drewes wrote:
> Serious Word users would point to EndNote and say that tools like
> BibTex/Pybliographic are toys in comparison.  (EndNote supports importing
> BibTex, BTW.)  For certain things they are right--BibTex+Pybliographic
> handles the basics well, but there are some very powerful features that
> EndNote and associated packages can do like create maps of references so
> you can identify key sources.
One big issue here is that such third party add-ons for Word are usually paid 
their LOC in gold. Another problem is the quite frequent instabillity derived 
by "overloading" word with such bells and whistles. I can't tell anything 
about EndNote since I haven't used it, but ReferenceManager in its days had 
blown up in my face more than once.
I would also be rather careful in dismissing bibtex and latex's support for 
bibliography in general as a toy. Please keep in mind that you can rather 
easily change "formatting" of the references anytime you please while still 
not messing (and thus loosing time) with the actual archive. You can also 
SQL-query for references if your university library offers such service. I 
for one, consider the TexMed web interface a god send.



> There are good equation packages (third party) for Word as well, I am
> told.
It depends on what you consider as good. The main problem with math under word 
is mainly the "point & click" paradigm that will cost you hours to no end 
before you can format half a dozen equations (e.g. "boxed", center-aligned 
and equation number "right-aligned"), while in LaTeX these things in most 
cases work "out-of-the-box". 

> For my thesis I chose to go with Lyx and Pybliographic because OpenOffice
> wasn't up to the bibliographic task as far as I can tell.  
OO.org's bibliography is far better than whatever "hack" you can get with the 
native MS Word endnotes. Wether that's good enough of course depends on your 
necessities, since LaTeX is even better.

> I will probably 
> use Beamer for my thesis defense (all my other presentations so far have
> been with OO Impress).  
Beamer all the way! The graphic quality obtained is not even dreamed of for 
most office-suite users (MS or otherwise). Choose the right theme for you, 
spend a couple of minutes fine-tuning colours and then type away in the most 
casual way. You have a thesis presentation in about an hour (as personal 
experience teaches me).

> It has been quite a bit of work getting Lyx to 
> conform to my University's formatting conventions but I managed it all,
> finally, with appropriate ERT in the Lyx doc.  I did not have the time to
> spend writing my own document class.  In the enrd it is working out well,
> and the result looks great, but I would not recommend this approach at
> this point to someone who wasn't really into open source and fiddling with
> software.
On this point I'll have to agree that a LaTeX class-generating dialog 
application of some sort would do miracles in improving user-friendliness and 
ease-of-deployment for either Lyx or any other LaTeX-based solution.
As for not reccomending TeX to people that have no idea about software, I 
think we all agree. That's why office-suites are so succesful and popular to 
begin with: the pesky typewritter emulation environment requires much less of 
the user than understanding the basic workings of a markup language. Now Lyx 
and other editors (like Kile which is not WYSIWG but offers most LaTeX 
options on dropdown menus and auto-completes code) provide us with the 
ability to write LaTeX-based documents without  knowing by heart the ins and 
outs of the language and without opening HOW-TOs and browsing books every 
couple of lines, but still, some basic knowledge is required to get you 
going.


Re: More than one appendix in IEEEtran

2005-04-20 Thread G. Milde
On 20.04.05, LB wrote:
> I'm not very experienced with this: How do I apply a patch in Windows XP?

This patch adds just one line (the one with the + before it), so the
easisest way is: copy IEEEtran.layout to your local LyX directory and insert
the line with a simple text editor.

the numbers in the @@ @@ enclosed line give you the line-number of the
change, the remaining lines are context.

(There should be a DOS version of Gnu diff/patch that could be used with the
run_program prompt if you ever happen to apply larger patches...)

GM

> >The Right Thing is to copy IEEEtran.layout to your local lyx directory
> >(usually ~/.lyx/layouts) and apply the following patch:
> >
> >--- /usr/share/lyx/layouts/IEEEtran.layout 2004-07-25 07:39:20.0 
> >+0200
> >+++ /home/milde/.lyx/layouts/IEEEtran.layout 2005-04-20 10:34:59.0 
> >+0200
> >@@ -440,6 +440,7 @@
> >  LatexType Command
> >  InTitle 0
> >  LatexName appendices
> >+  KeepEmpty 1
> >  ParSkip 0.4
> >  BottomSep 1.5
> >  ParSep 1.5

-- 
G.Milde web.de


Re: Case equations

2005-04-20 Thread Paul A. Rubin
Angus Leeming wrote:
Kayvan A. Sylvan wrote:

On Tue, Apr 19, 2005 at 08:37:14PM -0400, Myriam Abramson wrote:
Hi!
How do you write a case equation in LyX? I mean an equation like
B = { 1 if x > 0;
 0 if x = 0
so that the brace covers multiple lines?
I think that you can use the math panel and then click on the button that
looks like a blue box surrounded by brackets. Then you can change the
left bracket to your braces and change the right one to blank.
In the inner blue square, insert a math matrix and fill in the parts.

Actually, it's even easier:
Create a math inset: Insert->Math->Display formula
Type:
B=\cases1\textrmif Math->Inline 
formula>x>00\textrmif Math->Inline formula>x=0

Looks horrible, but really it isn't!
Easier still: in a display environment, try Insert->Math->Cases 
environment, and use control-enter to add cases as needed. You still 
need to switch to textrm font for the "if"s (alt-m m or type ).

-- Paul


Re: Problem converting from LyX 1.1.x to 1.3.5

2005-04-20 Thread Angus Leeming
Joerg Hau wrote:
> That was my point ... the "old" LyX version did not have the scaling
> option (upper part of the graphics dialogue); the on-screen display was
> just adapted to the desired output size (lower part).
> 
> The new "scaling" option does the job; I was just confused that this
> refers to the scaling of the _original_ graphics where I would have
> expected a scaling relative to the _output_ size ;-)

Problem is --- LyX has litle idea what the _output_ size is. That's because
the graphics code has been re-written from scratch since 1.1.x. Trust me,
that's a good thing :)

Sure LyX could get this info, but extraction of data from PostScript files
is error-prone at best without a proper PostScript parser.

We just decided to go for simpler code.

-- 
Angus



Re: Should this behavior be expected?

2005-04-20 Thread Micha Feigin
On Mon, 18 Apr 2005 12:10:20 +0200
Charles de Miramon <[EMAIL PROTECTED]> wrote:

> Paul Smith wrote:
> 
> > On 4/18/05, Michael Scottaline
> > <[EMAIL PROTECTED]> wrote:
> >> PS>When two LyX windows are open (after having run the command lyx
> >> PS>twice), copying from a document in a window to a document in the other
> >> PS>one is not possible. Is this behavior expected as normal? Or is this a
> >> PS>bug?
> 
> Yes it is normal, cut&paste is very primitive in LyX. Also, you cannot cut a
> piece a LyX text with ctrl-C and paste it in another application like your
> mailer with ctrl-V.
> 
> Cut&paste is a sad example of the results of the over-engineered and
> under-staffed toolkit independent LyX Sonderweg. Well, I'm running on my
> hobby horse here ;-)

I have managed to copy equations to/from emacs (when I need highly twicked
documents I usually handle the latex directly and use lyx only as an equation
editor).

The problem is probably with the limitation of the X-windows copy system where
Ctrl-C/V, middle click and shift-insert aren't 100% linked.

> 
> Cheers,
> Charles
> -- 
> http://www.kde-france.org
> 
>  
>  +++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 

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


Re: Problem converting from LyX 1.1.x to 1.3.5

2005-04-20 Thread Joerg Hau
Hi All,

> You can't insert a graphic in a list item. Looking at the original, you
> had that wrong there too, so you just got lucky. All that has happened
> is that LyX has got better at spotting errors in the LaTeX log file.
>
> To fix your document, I changed all those list items containing
> graphics, so:
>
> 
> item
>   
>   text
> 
>
> to
>
> 
> item
> 
> 
>   
>     graphic
>     text
>   
> 
> 
> item
> 

Thanks a lot for spotting this .. yet: technically this gets rid of the 
error message, but practically the problem is replaced by another one: the 
graphics is no longer where it belongs. 

Indeed I need the graphics (here, a symbolic mouse button) to be the list 
item, with its corresponding text to the right. In other words, the first 
of the above representations is correct, but not the second. 

Since this worked in previous versions, it seems that this construct as 
such is at least "LaTeX-compatible" ... now, JMarc's fix seems to apply to 
LaTeX only, so if there is a solution for LyX I would truly appreciate 
more details :-)

Best regards!

- Joerg


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
"All standard disclaimers apply."
Never take life seriously. You won't get out alive anyway.


Re: Tip for viewing pdf-files

2005-04-20 Thread Paul Smith
On 4/20/05, samar <[EMAIL PROTECTED]> wrote:
> I find that if you do update as opposed to view, the page stays at the same
> place but you have to "redraw" the screen.
> This you can do by a quick page up/down. I dont know if that fits your bill.

Thanks, Samar. It would be perfect if it redrew automatically likewise xdvi. 

Paul


Re: Problem converting from LyX 1.1.x to 1.3.5

2005-04-20 Thread Joerg Hau
Hi,

> > Another, related question: The LyX file mentioned above includes
> > numerous symbols of mouse buttons, which I formatted as small "inline"
> > graphics in the original document (2.5 mm width). In the LyX 1.3.5
> > editing screen, these are _huge_; is this intended behaviour?
>
> However, if you're worried about it, you can set the size of hte image
> on the LyX screen indenpendent of its size in the output. See the
> graphics dialog.

That was my point ... the "old" LyX version did not have the scaling option 
(upper part of the graphics dialogue); the on-screen display was just 
adapted to the desired output size (lower part). 

The new "scaling" option does the job; I was just confused that this refers 
to the scaling of the _original_ graphics where I would have expected a 
scaling relative to the _output_ size ;-)

Thanks 
and best regards!

- Joerg



-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
"All standard disclaimers apply."
Never take life seriously. You won't get out alive anyway.


Re: Underlining URL environment

2005-04-20 Thread Steve Litt
On Wednesday 20 April 2005 12:35 pm, Herbert Voss wrote:
> Steve Litt wrote:
> > Using the above code, I still have the problem that when I put it into an
> > environment, it only underlines the first character of the paragraph.
>
> where is the sense to have an environment here???
>
> \newenvironment{UUrl}{%
>[EMAIL PROTECTED]
>  \ttfamily%
> [EMAIL PROTECTED]
>
>
> Herbert

Thanks Herbert,

The abovereferenced code did the trick. I changed it to \footnotesize and 
\rmfamily to conserve horizontal space, and am now very happy with the 
result. The underlining is perfect. Thanks.

As far as the sense in an environment -- that's how I do styles when I'm in 
Author Mode -- I format the paragraph with an environment.

Herbert -- could you please explain to me (and probably 100 others) why what 
you did above worked, when all else failed? What is the purpose of the lrbox? 
Why is the \underline placed in a different place than the \ttfamily? And 
perhaps most important, by what mental process do you come up with such 
solutions? Whatever you're doing, I want to be able to do it too.

Thanks

SteveT

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


Re: Case equations

2005-04-20 Thread Angus Leeming
Kayvan A. Sylvan wrote:

> Cool! Thanks. I did not ask the question, but I am sure I will have
> occasion to use stuff like this... Is there any documentation that goes
> over all the mysterious math stuff (like "\cases")?

I believe that André's goal was to support the whole of AMSLaTeX. He didn't
quite succeed, but he was getting quite close.

Something that isn't supported?

\sum \begin{Sb}
x \leq 0 \\
y \leq x
\end{Sb}

André was playing with environment insets at one stage, but other things
intruded. Babies. Life.

-- 
Angus



Re: Case equations

2005-04-20 Thread Herbert Voss
Angus Leeming wrote:
Create a math inset: Insert->Math->Display formula
Type:
B=\cases1\textrmif Math->Inline 
only the "if" should be text, then you do not need
this "math inside text inside math" ...
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: Case equations

2005-04-20 Thread Kayvan A. Sylvan
Cool! Thanks. I did not ask the question, but I am sure I will have occasion
to use stuff like this... Is there any documentation that goes over all the
mysterious math stuff (like "\cases")?

---Kayvan

On Wed, Apr 20, 2005 at 09:49:13AM +0100, Angus Leeming wrote:
> Kayvan A. Sylvan wrote:
> 
> > On Tue, Apr 19, 2005 at 08:37:14PM -0400, Myriam Abramson wrote:
> >> 
> >> Hi!
> >> 
> >> How do you write a case equation in LyX? I mean an equation like
> >> 
> >> B = { 1 if x > 0;
> >>   0 if x = 0
> >> 
> >> so that the brace covers multiple lines?
> > 
> > I think that you can use the math panel and then click on the button that
> > looks like a blue box surrounded by brackets. Then you can change the
> > left bracket to your braces and change the right one to blank.
> > 
> > In the inner blue square, insert a math matrix and fill in the parts.
> 
> Actually, it's even easier:
> 
> Create a math inset: Insert->Math->Display formula
> Type:
> B=\cases1\textrmif Math->Inline 
> formula>x>0 arrow>0\textrmif Math->Inline formula>x=0
> 
> Looks horrible, but really it isn't!
> 
> -- 
> Angus

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Underlining URL environment

2005-04-20 Thread Herbert Voss
Steve Litt wrote:
Using the above code, I still have the problem that when I put it into an 
environment, it only underlines the first character of the paragraph.
where is the sense to have an environment here???
\newenvironment{UUrl}{%
  [EMAIL PROTECTED]
\ttfamily%
[EMAIL PROTECTED]
Herbert


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

2005-04-20 Thread Michael Wojcik
Steve Litt wrote:
I think a person should use Word (or in my case OpenOffice) for most stuff.
Oh, goody.  Now we start the Battle of Improperly-Generalized Anecdotes. 
 Here's mine:

> If
it's under 10,000 words, LyX is a hassle unless you're willing to accept ALL 
LyX's defaults. Here's why...

In WordPerfect 5.1, Word or OpenOffice, modifying a style is a 5 minute 
procedure. For very sophisticated styles it might take an hour.
I've spent more than an hour trying to coerce Word - without luck - into 
fixing some glaring formatting error.  It's particularly bad about 
mysteriously deciding to screw with the left indent, in my experience, 
and particularly prone to trouble when editing a document originally 
produced by someone else on another system (and so with different 
customizations applied to "normal.dot", aka Word's Dungeon of Mystery).

> But in LyX,
I've spent 2 days modifying one paragraph style (Environment in LyX speak). 
My sympathies, but this hardly defines the LyX experience for everyone, 
any more than my Word experience does.

Meanwhile, although WordPerfect 5.0 had character styles in May 1988, and 
Word had styles at least as early as the early 1990's, LyX still does not 
have character styles (something I keep urging the developers to put in).
Sure, and that's a problem for people who want character styles. 
There's quite a jump from "don't need character styles" to "willing to 
accept ALL LyX's defaults", don't you think?

> In
summary, changing the default look of a document class is a HUGE time sink.
I've made a number of changes to the default layout of my dissertation, 
and the time spent doing that is a negligible fraction of my writing 
time.  And this is the first time I've used LyX or LaTeX (though I admit 
I'm not new to markup languages in general).

I haven't used LyX for a short document, because all of the short 
documents I've created since I started using it are HTML, except for a 
couple that had to be Word due to outside requirements.  But I'd have no 
qualms about using it for one.  Certainly *I* find it far less annoying 
than Word, which as far as I can tell (and I've been using it since the 
free demo that shipped as a 5 1/2" floppy bound into an issue of _PC 
Magazine_) is nothing but a nasty collection of ad hoc formatting 
functions thrown on top of a virtual typewriter.

And there's my anecdote, which I imagine is irrelevant for the vast 
majority of Word and LyX users.  Some people survey the tools available 
to them, and weigh their advantages and costs; but most use the first 
one that comes to hand, or the one that their friends use, or the one 
that seems to offer the path of least resistance, or the one chosen for 
any number of contingent reasons that have nothing to do with quality.

Marshalling arguments about LyX's superiority, under whatever 
conditions, isn't going to achieve much, because the operative 
conditions vary among users (as the difference between Steve's opinion 
and mine shows), and more importantly because most users aren't 
interested in those arguments or indeed in the relative merits of 
available tools.  For most users, good enough - even by the slimmest of 
margins, even with gross compromise - is good enough, and there simply 
isn't any impetus to change.

Furthermore, most Word users, I believe, want to get some text on a page 
(whether it's paper or just on screen - I see lots of Word documents 
that will never be printed).  They don't particularly care if it looks 
good, so long as it looks as if something's been done to it - that 
they've done due diligence to pretty it up.  Separating content and 
presentation may be elegant and efficient and maintainable, but most 
Word documents are write-once anyway.

And, of course, there are the realities of document interchange.  If 
you're writing academic articles in the humanities, good luck submitting 
in anything Word can't digest.  Sometimes PDF is an option, but that's 
still relatively rare.  And for students that often applies as well, 
since professors are increasingly requesting electronic submission of 
papers, and many of them won't take anything but Word.

--
Michael Wojcik



Re: Underlining URL environment

2005-04-20 Thread Steve Litt
On Wednesday 20 April 2005 11:37 am, Herbert Voss wrote:
> Steve Litt wrote:
> > I have a special LyX URL environment that references LaTeX URLL
> > environment that redefines quote, but no matter how hard I try, I can't
> > get it to underline more than the first character of the URL. I already
> > have the ulem package loaded, not that it's helped me.
> >
> > Here's one of the things I tried:
> >
> > \let\URLL=\quote
> > \let\endURLL=\endquote
> > \renewenvironment{URLL}{%
> > \begin{quote}%
> > \small\begin{uline}%
> > }{%
> > %modifications in the end of the environment
> > \end{uline}%
> > \end{quote}%
> > }
> >
> > I also tried removing the \begin, and the entire \end{uline} -- no joy.
> > What can I do?
>
> write into the preamble:
>
> \usepackage{url}
> \let\OldUrl\url
> \renewcommand\url[1]{\underline{\OldUrl{#1}}}
>
> and use insert->url in the usual way
>
> Herbert

Thanks Herbert,

Using the above code, I still have the problem that when I put it into an 
environment, it only underlines the first character of the paragraph.

SteveT

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


Re: Tip for viewing pdf-files

2005-04-20 Thread samar
Hi Paul
I find that if you do update as opposed to view, the page stays at the same 
place but you have to "redraw" the screen.
This you can do by a quick page up/down. I dont know if that fits your bill.

samar
- Original Message - 
From: "Paul Smith" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, April 20, 2005 9:05 PM
Subject: Re: Tip for viewing pdf-files

On 4/14/05, Johan Ingvast <[EMAIL PROTECTED]> wrote:
The standard viewer for pdf files is acrobat but, there seem to be no way
of making it update the view automatically. Here is a way of viewing
pdf-files using xpdf. Put this as your viewer for pdf (instead of 
acroread)

xpdf -remote $$i $$p$$i
It features:
* if the file is not already open it will start a new window
* if there is a window with the file open it will reload it.
Indeed, if there is a window with the file open it will reload it, but
the xpdf will show the first page and not the current one. Is there
some way of getting the current page automatically shown up after
reloading the file?
Paul


Re: Underlining URL environment

2005-04-20 Thread Herbert Voss
Steve Litt wrote:
I have a special LyX URL environment that references LaTeX URLL environment 
that redefines quote, but no matter how hard I try, I can't get it to 
underline more than the first character of the URL. I already have the ulem 
package loaded, not that it's helped me.

Here's one of the things I tried:
\let\URLL=\quote
\let\endURLL=\endquote
\renewenvironment{URLL}{%
\begin{quote}%
\small\begin{uline}%
}{%
%modifications in the end of the environment
\end{uline}%
\end{quote}%
}
I also tried removing the \begin, and the entire \end{uline} -- no joy. What 
can I do?
write into the preamble:
\usepackage{url}
\let\OldUrl\url
\renewcommand\url[1]{\underline{\OldUrl{#1}}}
and use insert->url in the usual way
Herbert


Re: Tip for viewing pdf-files

2005-04-20 Thread Paul Smith
On 4/14/05, Johan Ingvast <[EMAIL PROTECTED]> wrote:
> The standard viewer for pdf files is acrobat but, there seem to be no way
> of making it update the view automatically. Here is a way of viewing
> pdf-files using xpdf. Put this as your viewer for pdf (instead of acroread)
> 
> xpdf -remote $$i $$p$$i
> 
> It features:
> * if the file is not already open it will start a new window
> * if there is a window with the file open it will reload it.

Indeed, if there is a window with the file open it will reload it, but
the xpdf will show the first page and not the current one. Is there
some way of getting the current page automatically shown up after
reloading the file?

Paul


Re: Underlining URL environment

2005-04-20 Thread Uwe Stöhr
Steve Litt wrote:
I have a special LyX URL environment that references LaTeX URLL environment 
that redefines quote, but no matter how hard I try, I can't get it to 
underline more than the first character of the URL. I already have the ulem 
package loaded, not that it's helped me.
Attached a possible solution using the package "hyperref" for the url 
command "\href" (produces a real hyperlink in the output) and the 
package "soul" for proper underlining also if the URL runs over a linebreak.

regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
%enable underlining together with linebreaks
\usepackage{soul}
\renewcommand{\underbar}[1]{\ul{#1}}

%generate real hyperlinks
\usepackage[pdfborder={0 0 0}]{hyperref}
\end_preamble
\language ngerman
\inputencoding auto
\fontscheme default
\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

hello
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
href{http://lyx.org}{
\end_inset 


\bar under 
LyX-adress
\bar default 

\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\layout Standard

olleh
\the_end


newfile1.pdf
Description: Adobe PDF document


Re: More than one appendix in IEEEtran

2005-04-20 Thread LB
I'm not very experienced with this: How do I apply a patch in Windows XP?
Leo
Yes. LyX automatically closes empty paragraphs if not told otherwise by 
the
KeepEmpty keyword in the layout file.

A fast workaround is to fool LyX by putting something invisible into the
APPENDICES paragraph, e.g. "{}" or "% some comment" as ERT.
The Right Thing is to copy IEEEtran.layout to your local lyx directory
(usually ~/.lyx/layouts) and apply the following patch:
--- /usr/share/lyx/layouts/IEEEtran.layout 2004-07-25 07:39:20.0 
+0200
+++ /home/milde/.lyx/layouts/IEEEtran.layout 2005-04-20 10:34:59.0 
+0200
@@ -440,6 +440,7 @@
  LatexType Command
  InTitle 0
  LatexName appendices
+  KeepEmpty 1
  ParSkip 0.4
  BottomSep 1.5
  ParSep 1.5

Guenter
--
G.Milde web.de



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

2005-04-20 Thread Andre Poenitz
On Mon, Apr 18, 2005 at 08:33:56AM +0200, Alexander Blüm wrote:
> But I've also met a few very stubborn people, like most of my school.
> They say that you can solve any problem you're approaching with
> WORD2000...
> I'm running out of arguments.. They've not even tried LyX and knock it
> already.

There are people that don't want to be disturbed in the world they are
comfortable with. It's a waste of time to argue with them.

> Any good arguments why one should use LyX instead of word?

There have been such answers in the past, should be in the archives.

Most advantages of LyX can be attributed to its use of LaTeX as its
formatting backend.

Main point in a LaTeX-Word comparison is usually LaTeX's superior output
(formulas, spacing in general, line breaking), stability (both of the
program itself and its file format) and the ease of creating tables of
contents, indices, etc., automatically without numbering going wrong.

And nobody ever heard of LaTeX eating a thesis paper a day before
deadline...

Andre'


Re: Should this behavior be expected?

2005-04-20 Thread Andre Poenitz
On Mon, Apr 18, 2005 at 11:51:21AM +0100, Angus Leeming wrote:
> I guess we just need to look at a kde app to see how they stuff the 
> clipboard.

Plain Qt should be sufficient as far as I can tell..

Andre'


Re: Should this behavior be expected?

2005-04-20 Thread Andre Poenitz
On Mon, Apr 18, 2005 at 11:43:41AM +0100, Paul Smith wrote:
> On 4/18/05, Charles de Miramon <[EMAIL PROTECTED]> wrote:
> > Cut&paste is a sad example of the results of the over-engineered and
> > under-staffed toolkit independent LyX Sonderweg. 
> 
> In spite of being few, LyX staff deserves a high commendation for
> having greatly simplified, in an intelligent way, the task of battling
> with LaTeX when writing our documents.

Describing the GUII effort beyond plain GUI-core separation (which was
sucessful and necessary) as 'over-engineered and under-staffed' is
nevertheless appropriate.

The project just can't effort to continue that effort, but I have
the suspicion that this is becoming consensus...

Andre'


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

2005-04-20 Thread Andre Poenitz
On Tue, Apr 19, 2005 at 10:44:08AM -0700, Rich Drewes wrote:
> There are good equation packages (third party) for Word as well, I am
> told.

I've seen a couple of them. I would even admit that most of them look
better than LyX _on screen_. But when the criteria are either quality of
print output or the amount of time/number of keystrokes needed to enter a
formula I still have to see any coming close.

[Of course, the former is not LyX's doing, but rather TeX's, so if you
use Word to write .tex sources you can get the same kind of output...]

Andre'


Re: \hyphenation

2005-04-20 Thread Uwe Stöhr
Tim Michelsen wrote:
I am currently encountering numerous problems in my document.
I wrote the hints from
http://www.texnik.de/language/hyphen.phtml#sloppy
in my preamble but still get some ugly things like:
[I write in German...]
Un-   instead ofUnter-
ternehmen   nehmen
This is correct hyphenated.
Wirtschaft-instead of  Wirtschafts-
sraumes  raumes
This is bad. Do you use the language "german (new spelling)"? If yes, 
what is your version of the LaTeX-package "babel"?

Determinan-
ten
pro-
jektbezogen
both are correct
inländis-
sche
possibly a typo, use only one "s"
If you don't like (correct) hyphenations, you can insert a hyphenation 
character (menu Insert -> Special Character) at the position where you 
want the word to be hyphenated.

regards Uwe


Installing class documents

2005-04-20 Thread Tim Hughes
I know this has been asked before, that there are answers in the mailing 
list archive and some info on this in the tutorials but I can't get it to 
work for me. So you could someone give me a recap on what I need to do 
when I get a myfile.cls and myfile.tex (template) and I want to make them 
available in LyX but do not have superuser privileges.

Specifically:
Into which subdirectory of .lyx does the .cls file go?
How/where do I get a layout document (text class file) that I can use with 
myfile.cls and how do I associate the two files?
At which stage of this process do I need to call "Reconfigure"?
Do any environment variables need to be set?

Thanks for your help.
Tim.


Re: Case equations

2005-04-20 Thread Angus Leeming
Kayvan A. Sylvan wrote:

> On Tue, Apr 19, 2005 at 08:37:14PM -0400, Myriam Abramson wrote:
>> 
>> Hi!
>> 
>> How do you write a case equation in LyX? I mean an equation like
>> 
>> B = { 1 if x > 0;
>>   0 if x = 0
>> 
>> so that the brace covers multiple lines?
> 
> I think that you can use the math panel and then click on the button that
> looks like a blue box surrounded by brackets. Then you can change the
> left bracket to your braces and change the right one to blank.
> 
> In the inner blue square, insert a math matrix and fill in the parts.

Actually, it's even easier:

Create a math inset: Insert->Math->Display formula
Type:
B=\cases1\textrmif Math->Inline 
formula>x>00\textrmif Math->Inline formula>x=0

Looks horrible, but really it isn't!

-- 
Angus



Re: More than one appendix in IEEEtran

2005-04-20 Thread G. Milde
On 19.04.05, LB wrote:
> Hi
> 
> Thank you for the help.  I can get \appendices to work using ERT.  If I 
> inserted the environment APPENDICES using LyX drop down menu the word 
> APPENDICES appears in the document, but it disappears as soon as I move the 
> cursor to any other line.  Is it a bug in LyX?

Yes. LyX automatically closes empty paragraphs if not told otherwise by the
KeepEmpty keyword in the layout file.

A fast workaround is to fool LyX by putting something invisible into the
APPENDICES paragraph, e.g. "{}" or "% some comment" as ERT.

The Right Thing is to copy IEEEtran.layout to your local lyx directory
(usually ~/.lyx/layouts) and apply the following patch:

--- /usr/share/lyx/layouts/IEEEtran.layout  2004-07-25 07:39:20.0 
+0200
+++ /home/milde/.lyx/layouts/IEEEtran.layout2005-04-20 10:34:59.0 
+0200
@@ -440,6 +440,7 @@
   LatexTypeCommand
   InTitle  0
   LatexNameappendices
+  KeepEmpty1
   ParSkip  0.4
   BottomSep1.5
   ParSep   1.5
 

Guenter

-- 
G.Milde web.de


Re: Should this behavior be expected?

2005-04-20 Thread G. Milde
On 18.04.05, [EMAIL PROTECTED] wrote:
> On Mon, 18 Apr 2005, Paul Smith wrote:
> > When two LyX windows are open (after having run the command lyx
> > twice), copying from a document in a window to a document in the
> > other one is not possible. 
> 
> Assuming *NIX, and X, open xclipboard, "copy" from one LyX, "paste" into 
> xclipboard. Now do the same from xclipboard to the 2d LyX.

Drag-and-drop with the mouse works also without xclipboard. 

  In some LyX versions, you need to copy (C-c with cua.bind) the marked
  region, before you can paste it somewhere else (with the middle mouse
  button).

However, you will loose information this way as the x-selection only
gets an ASCII version of the document. 
 
> Document to document within one LyX session (window) works without a hitch 
> and *almost* never looses formatting information.

Feature request
---

I would greatly appreciate a lyx-function (say x-copy) that passes a
"stringified" version of the region with full formatting information to
the selection and an accompanying x-paste that inserts this again.

The same would be a great help for the lyx-server (say server-copy and
server-paste).


Günter

-- 
G.Milde web.de


Re: Case equations

2005-04-20 Thread Hannan Sadar
Hi Myriam,

You could also write in math-mode \cases and a space. With the use of
Control + Enter you could control the number of lines in the case.

Hope its helps.

Hannan

On 4/20/05, Myriam Abramson <[EMAIL PROTECTED]> wrote:
> 
> Hi!
> 
> How do you write a case equation in LyX? I mean an equation like
> 
> B = { 1 if x > 0;
>   0 if x = 0
> 
> so that the brace covers multiple lines?
> 
> I looked everywhere and read the Users' guide but it did not cover
> that.
> 
> TIA
> --
>myriam
> 
>


Thesis example (was: "why lyx when there's word?")

2005-04-20 Thread chr
On Tue, 19 Apr 2005, Rich Drewes wrote:

> For my thesis I chose to go with Lyx and Pybliographic 
...
> It has been quite a bit of work getting Lyx to conform to my
> University's formatting conventions but I managed it all, finally, with
> appropriate ERT in the Lyx doc.

Perhaps it'd be a good idea to upload a stripped version of your thesis to
the wiki? That should at least be useful for fellow students at your
university, possible also some other universiteis?

> I did not have the time to spend writing my own document class.  In the
> end it is working out well, great, but I would not recommend this
> approach at this point to someone who wasn't really into open source and
> fiddling with software.

Less fiddling should be required if you have something to start from, 
right?

regards
/Christian

PS. If you need help in choosing where or how to upload an example, just 
let me know.

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr