Introduction documentation

2002-01-18 Thread Matej Cepl

Hi,

when reading changed Introduction (yes, it is MUCH better in
*fix4, than it was before), I found very nicely written chapter
about WYSIWYM concept. Maybe, that it may be worthy to mention,
that similar concept as WYSIWYM is called in SGML/HTML world
``structured authoring'' (see for example, HTML4 standard on W3C
website). Actually, it was the reason why I have switched to LyX
from Lout (although, I still believe, that Lout is much better
than whatever was created in *TeX world; maybe, with exception of
ConTeXt; but both of these formatting programs have one crucial
disadvantage for me -- there is no LyX for them :-).

Thanks for all your work, folks!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Give your heartache to him. (1Pt 5,7; Mt 11:28-30)




lyx-1.1.6fix4-1.i386.rpm for RedHat 7.0 available

2002-01-18 Thread Matej Cepl

Hi,

after unsuccesfull attempt to install binary RPM package from
ftp.sylvan.com, I have spent this whole day compiling
lyx-1.1.6fix4 here (yes, it takes basically whole day to compile
LyX on Pentium 120MHz w/32 MB RAM!). In order that others may
enjoy the result of this work of my computer, I have uploaded the
binary package on http://www.volny.cz/cepls/cizi/ . It requires
xforms-0.89-1. If anybody would to repeat my effort on her
computer, then I have attached also a file rpm-qa.log, which
lists all rpm packages I have installed on my computer (so you
can check that you have sufficient versions of required
packages).

Happy LyXing!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
As with the Christian religion, the worst advertisement for
Socialism is its adherents.
-- George Orwell 




Re: Upgrading

2002-01-21 Thread Matej Cepl

On Mon, Jan 21, 2002 at 02:18:50AM -0200, dddmmmttt wrote:
 I have lyx 1.1.4fix3 working. I downloaded 1.1.6fix4  and tryed
 to compile it in order to upgrade. However, after the long
 execution of the ./configure command, I got errors from make.
 What should I do to solve this? I am not properly an expert, so
 be simple with any hint. Go to the basics, please.

Contemplate a little bit on the first section of the ``Known
Bugs'' document (I know, that it is not about bugs, but similar
information are necessary), then read all documents in the root
directory of the distribution (README, INSTALL, etc.),
contemplate again, and then file your question again.

Happy LyXing

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
[W]hat country can preserve its liberties, if its rulers are not
warned from time to time that [the] people preserve the spirit of
resistance? Let them take arms...The tree of liberty must be
refreshed from time to time, with the blood of patriots and
tyrants.
-- Thomas Jefferson, letter to Col. William S. Smith, 1787 




Re: Lyx/Tex/Pdf and graphics !-- looking for help .. !

2002-01-21 Thread Matej Cepl

On Sun, Jan 20, 2002 at 03:48:41PM -0800, Sanjay Sane wrote:
 Lyx didnt work if I wanted to create pdf files, either
 
 1. with graphics or
 
 2. without graphics

Try something really simple, include picture (in .pdf format and
in the same directory as .lyx file; if necessary use epstopdf
script). Export to latex in LyX, and then in the same directory
as all files are run

pdflatex documentname.tex

What happens (if something wrong, send me in the private email
LyX document together with the image file)?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There is no reason to suppose that most human beings are engaged
in maximizing anything unless it be unhappiness, and even this
with incomplete success.
-- Ronald Coase
   Introduction to ``The Firm, the Market, and the Law''




\S in ae?

2002-01-23 Thread Matej Cepl

Does anybody have an explanation, why \S (section sign) is so
exceedingly ugly and obviously not-fitting among other glyphs,
when \usepackage{ae,aecompl} is used?

For an example try
pdftex testfont
Name of the font:aer10
\bigtest\end

Thanks for any hint (being a lawyer, \S is rather important thing
to me).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Opinions founded on prejudice are always sustained with the
greatest violence.
-- Hebrew Proverb




FAQ [Was: Re: Type 1 Fonts]

2002-01-25 Thread Matej Cepl

On Wed, Jan 23, 2002 at 07:26:45PM -0600, Remzi Seker wrote:
 How can I have the Postscript file with Type 1 fonts?

Are there any volunteers for maintaining FAQ, please?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.
-- Matthew D. Fuller




Re: Image conversion

2002-01-25 Thread Matej Cepl

On Thu, Jan 24, 2002 at 10:27:25PM -0300, Roberto Hernandez wrote:
 What I'm doing is documenting a program, so I'm including screenshots. I 
 used KSnapshot to capture the graphics and that saves the files in PNG 
 format. If there's a better way to do this, please let me know.

If you do not have too many of these pictures, try GIMP.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
DOS: n., A small annoying boot virus that causes random
spontaneous system crashes, usually just before saving a massive
project. Easily cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS.
-- David Vicker's .plan




Re: whishes for next version

2002-01-25 Thread Matej Cepl

On Fri, Jan 25, 2002 at 02:17:39AM, belahcene abdelkader wrote:
 2.--- pdflatex dosn't recognize the eps figure, the possibility
 to include other format for those who want a pdf output. Or
 perhaps this possibility exits; I don't know .

This is not issue of LyX but pdftex. Second you can make copies
of your figures in pdf and the use the filename of the picture
without the suffix (i.e., you have in the current directory
'picture.eps' and 'picture.pdf' and in the image filename you put
only 'picture'), then latex and pdflatex take automagically right
file for their purposes.

Mass conversion of more pictures can be done either by

convert *.eps *.pdf

or by

for f in *.eps ; do epstopdf %f ; done

Happy LyXing

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 




Re: Type 3 font in pdf output turns invisible?

2002-01-28 Thread Matej Cepl

On Sun, Jan 27, 2002 at 08:23:30PM -0600, Paul Johnson wrote:
 If I view the same pdf file in xpdf, there is an error message
 saying that the document uses Type 3 fonts and it can't use
 them.  I read in the ps2pdf docs where it says it converts Type
 3 fonts to high resolution bitmaps, so I'm confused.

xpdf cannot work with Type3 fonts at all -- use only gv or
acroreader.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
[W]hat country can preserve its liberties, if its rulers are not
warned from time to time that [the] people preserve the spirit of
resistance? Let them take arms...The tree of liberty must be
refreshed from time to time, with the blood of patriots and
tyrants.
-- Thomas Jefferson, letter to Col. William S. Smith, 1787 




Re: New functionality to allowing viewing of virtual two-column format, i.e. Emacs follow-mode

2002-01-28 Thread Matej Cepl

On Mon, Jan 28, 2002 at 01:44:11PM, Christian Ridderstrm wrote:
 Problem: I have a big screen (20), but that doesn't really
 help me when editing (only) in LyX, since I don't like working
 with text-lines that are about 40 centimetres long...

Any sensible windows manager (sawfish, icewm, kwm, for sure) is
able to maximize only in one direction. Then you can maximize
only vertically and have non-square shaped window. I do it all
the time, and I have only 15 monitor.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
...every Man has a Property in his own Person. This no Body has
any Right to but himself. The Labour of his Body, and the Work
of his Hands, we may say, are properly his.  The great and
chief end therefore, of Mens uniting into Commonwealths, and
putting themselves under Government, is the Preservation of their
Property.
-- John Locke, A Treatise Concerning Civil Government




Re: Please help about: bibliography, LateX preamble in LyX, footnote

2002-01-30 Thread Matej Cepl

On Tue, Jan 29, 2002 at 06:46:02PM +0200, Tuukka Toivonen wrote:
 4) When I insert the title and the author name it is
 automatically added also the date. I don't want it. How can I
 delete it?
 
 Press Ctrl-Space which will produce an blue empty space, and
 set its style as Date from the tool bar.

Well, this is probably the best advice for beginners, but it
introduce huge gap between title and body of text. The better
advice is to look in the article.cls (or scrartcl.cls, or
something else -- the class of document you use), find definition
of \maketitle, and then redefine it without date. It is not so
bad as you would expect it to be. For example for scrartcl
('article [Koma-Script]' in Layout/Document dialog box), the new
command to be add to Layout/LaTeX preamble is just:

\def\@maketitle{%
\clearpage
\let\footnote\thanks
\begin{center}%
{\sectfont\huge \@title \par}%
  \end{center}%
  \par
  \vskip 2em}

(you may reconsider what kind of size you want for the title --
default \huge is probably inappropriate for just simple document;
either delete \huge at all, or use something smaller like \large)

Happy LyXing!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 




Re: Please help about: bibliography, LateX preamble in LyX, footnote

2002-01-30 Thread Matej Cepl

On Wed, Jan 30, 2002 at 07:12:01PM +0100, Herbert Voss wrote:
 nah ... it gives _some_ space!
 
 \def\@maketitle{%
 \clearpage
 \let\footnote\thanks
 \begin{center}%
 {\sectfont\huge \@title \par}%
   \end{center}%
   \par
   \vskip 2em}
 
 
 where is the sense when \date{} in preamble does nearly the

Sorry, my mistake the last two lines should be just

 \par}

(omitting \vskip command).

Matej


-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Ask not for whom the telephone bell tolls ... if thou art in the
bathtub, it tolls for thee.




Re: Two questions

2002-01-30 Thread Matej Cepl

On Mon, Jan 28, 2002 at 11:54:26AM -0300, Roberto Hernandez wrote:
 I agree on your definition of a perfect world. My university uses a 
 _VERY_ uncommon bibliography format, so I had to do a lot of .bst 
 editing -- not fun.

In such case, consider amsrefs package (see
http://www.ams.org/tex/amsrefs.html).

Happy TeXing

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
We are told that [St. Anthony] once fell into dejection, finding
uninterrupted contemplation above his strength; but was taught to
apply himself at intervals to manual labour by a vision of an
angel who appeared platting mats of palm-tree leaves, then rising
to pray, and after some time sitting down again to work; and who
at length said to him, Do thus, and thou shalt be saved.
-- Life of St. Anthony




Re: IEEETran

2002-01-30 Thread Matej Cepl

On Wed, Jan 30, 2002 at 02:17:07AM -0700, Aaron wrote:
 $ find . -name *.cls |grep -i ieee
 ./TeXLive/texmf/tex/latex/ltxmisc/ieeetrans.cls
 ./TeXLive/texmf/tex/latex/IEEEtran/IEEEtran_v15.cls

What does the following command gives you?

kpsewhich ieeetrans.cls

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The main idea of the pope's asking for forgivness was not to be
afraid of the truth. DO NOT BE AFRAID OF TRUTH! We have to have
faith in the God's governing power to be able not to be afraid.
-- On NPR The Connection from March 13, 2000




Re: LyX-1.1.6fix4 on RedHat 7.2: please help to install

2002-02-01 Thread Matej Cepl

On Wed, Jan 30, 2002 at 12:10:01PM -0800, Kayvan A. Sylvan wrote:
 Next, grab the .src.rpm and do:
 
 rpm --rebuild lyx-1.1.6fix4-1.src.rpm

Be aware that on slower computer it may take a long time to do it
(on my VERY slow Pentium 120MHz it was six hours, but it is
extreme). There should be complete binary rpm package on
ftp.lyx.org which is build on RedHat 7.0 (well, mine RedHat, so
that it took these six hours :-).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Extremism in the defense of liberty is no vice; moderation in the
pursuit of justice is no virtue.
-- Barry Goldwater (actually written by Karl Hess)




Re: Customizing Lyx

2002-02-06 Thread Matej Cepl

On Wed, Feb 06, 2002 at 02:26:20PM, Jean-Marc Lasgouttes wrote:
 Or type M-f 1 when lyx is started. I agree that a pref to do
 that may be useful.

I agree, that it is only loosely connected, but it is at least
about preferences too :-).

Could anybody explain me, why the setting of the font encoding
(translated later to \usepackage{fontenc}) is in Edit/Preferences
and not in the Layout/Document, where it should go, IMHO?

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
We are told that [St. Anthony] once fell into dejection, finding
uninterrupted contemplation above his strength; but was taught to
apply himself at intervals to manual labour by a vision of an
angel who appeared platting mats of palm-tree leaves, then rising
to pray, and after some time sitting down again to work; and who
at length said to him, Do thus, and thou shalt be saved.
-- Life of St. Anthony




Re: Problems reimporting exported documents

2002-02-07 Thread Matej Cepl

On Wed, Feb 06, 2002 at 03:07:03PM -0700, Mario Parra wrote:
 Here is the problem. My advisor doesn't want to use Lyx. He is
 used to latex and will not switch. I love Lyx, Been using it
 for a couple of years and I think it is the best. So I so all
 my work using Lyx and then I export it to latex, send it over
 to my advisor. He then makes changes, deletes stuff, ...  and
 sends the latex back to me. Then I have to reimport the latex
 back into lyx so I can keep working. This happens very often,
 so having some long procedure for reimporting latex into lyx is
 just not an option. The thesis has lots of pictures that get
 screwed up when reimporting, so I would have to spend half an
 hour going through the lyx document fixing them. Cut and
 pasting would require the same amount of effort.

Then why not do make diff on the two LaTeX files and make changes
into LyX by hand?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
...every Man has a Property in his own Person. This no Body has
any Right to but himself. The Labour of his Body, and the Work
of his Hands, we may say, are properly his.  The great and
chief end therefore, of Mens uniting into Commonwealths, and
putting themselves under Government, is the Preservation of their
Property.
-- John Locke, A Treatise Concerning Civil Government




Re: layout-problems

2002-02-09 Thread Matej Cepl

On Sat, Feb 09, 2002 at 04:34:38PM +0100, Fabian B. wrote:
 Hello,
 
 I've just subscribed to this list and have some questions. I hope someone 
 can help me.
 I want to write my Facharbeit ( I don't know, what the English word is - 
 it's something for school ) with LyX.

Being German, you will have no problems with using Koma-script
packages, which are originally from Germany with more
European-style layout. Just switch to report (koma-script) in
Layout/Document. It has all fields you need.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
A nation or civilization that continues to produce soft-minded
men purchases its own spiritual death on an installment plan.
--Martin Luther King, Jr. 




Re: customizing natbib

2002-02-11 Thread Matej Cepl

On Mon, Feb 11, 2002 at 09:03:23AM +0100, Guenter Milde wrote:
 This is the way most bibtex styles work (and I learned, it is
 the normal way it is done in English). As this is a problem
 with German titles (where you need to keep the Capitalization
 of Nouns) all German bibtexers know the workaround

another one is to throw bibtex out of the window and use amsrefs
(on www.ams.org). It does not do any such ugly things.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Give your heartache to him. (1Pt 5,7; Mt 11:28-30)




Re: customizing natbib

2002-02-13 Thread Matej Cepl

On Tue, Feb 12, 2002 at 03:48:54PM -0500, Paul Tremblay wrote:
 On Mon, Feb 11, 2002 at 09:38:09PM -0500, Matej Cepl wrote:
  another one is to throw bibtex out of the window and use amsrefs
  (on www.ams.org). It does not do any such ugly things.
 
 I just checked out this website. It seems like the amsrefs
 package is meant for publishing mathmatical documents, something
 I won't be doing. Also, if I understand it correctly, amsrefs
 doesn't wouldn't offer any flexibility. The database of your data
 base has to be what you would use in a latex document. What
 happens if you need to change one element in this database?
 Wouldn't you have to every single entry by hand?

Wrong on both counts :-).

1) Although AMS is concerned mostly with the mathematic
   (surprise!), they are also publishers who are dissatisfied
with the BibTeX. Therefore, amsrefs is entirely
non-mathematical thing--just a replacement of BibTeX written
entirely in LaTeX.

2) Let me see from the example document (jktest.ltb):

\bib{MR58:27738}{book}{
  author={Andrews, G.~E.},
  title={The {T}heory of {P}artitions},
  publisher={Encyclopedia of Mathematics and its
 Applications, Vol. 2, Addison-Wesley,
 Mass.-London-Amsterdam},
date={1976},
}

It does not seem like what you will use in your document, does
it? And I do not think, how maintenance of the database
consisting from such blocks is more difficult than maintenance
of BibTeX database (of course, unless you use Pybibliographer,
but _that_ I found totally unsufficient to my needs, so I am
using good old EMACS/vi for BibTeX databases anyway).

Happy LyXing!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.
-- Matthew D. Fuller




Re: Re: Re: customizing natbib

2002-02-14 Thread Matej Cepl

On Thu, Feb 14, 2002 at 11:51:44AM, Jean-Pierre.Chretien wrote:
 The main point is to avoid a dialect of bib records in amsref,
 that is to keep with the existing fields for the same
 information.

Well, now we are again in the shooting in the foot question. I
think, that it should be allowed (and it is the responsibility of
everyone, what he does), but on the other hand I am pretty sure,
that it is not the issue, where some agreement can be found,
because it is (I am afraid) a pure religious issue.

As of current support of BibTeX fields in amsrefs, I believe that
intent is clearly to support everything, although it seems to me
that @inproceeding were not correctly translated in my database.

Have a nice day

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The main idea of the pope's asking for forgivness was not to be
afraid of the truth. DO NOT BE AFRAID OF TRUTH! We have to have
faith in the God's governing power to be able not to be afraid.
-- On NPR The Connection from March 13, 2000




Re: lynx template errors

2002-02-14 Thread Matej Cepl

On Thu, Feb 14, 2002 at 03:46:09PM +, marvin wrote:
 But, I want to do a lot of things via a GUI app (e.g.lyx) that links to
 other app`s.
 
 The DVI, pdf, ps, are not part of lynx, they are probably piped to those

Whoops, typo :-) How many times, I have started my most popular
web browser instead of LyX? Many times...

 other applications when you click the button.  The same for the spell
 checker etc.
 
 But I would like to create a document, and be able to output it into a
 variety of formats with minimal, hand changes.
 
 If anyone has better options, please do say something.  

I believe, that there is currently no better option than that
available in open source world. Of course, you can go for XML/XSL
stuff, but despite all hype, you cannot get anything so friendly
(as far as I know) as LyX. And of course, you can write DocBook
in LyX too.

 Like I said, latex/lyx kept coming up so I was hoping I could
 focus on content and not spend most of the time learning and
 babying a convoluted system.

Here we are! That's exactly the best thing about the LyX.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
In the autumn mountains
The yellow leaves are so thick.
Alas, how shall I seek my love
Who has wandered away?
 
I see the messenger come
As the yellow leaves are falling.
Oh, well I remember
How on such a day we used to meet--
My lover and I!
-- Kakinomoto Hitomaro
(from an example sed script :-)




Re: lynx template errors

2002-02-14 Thread Matej Cepl

On Thu, Feb 14, 2002 at 02:56:05PM +, marvin wrote:
 Well perhaps you can give me some advice then as you are doing
 what I want to do.

Actually, I really believe that LyX is an _excellent_ package for
you (as for anybody else :-). No, I mean it.

Concerning the missing templates, as somebody mentioned before,
take a look at Help/LaTeX Configuration. There you can easily
find, that IEEEtran can be found at
ftp://ftp.isi.edu/pub/graham/infocom99/latest/IEEEtran.cls. So,
if you need it, you can have it.

However, if you are new to LaTeX/LyX, I would strongely suggest
to you, let this additional packages be, learn something about
LyX by using just the standard article class (or article
(koma-script), which is more up to my European taste), and then
if you need it, check something different. Beauty of LaTeX/LyX is
that you are not bound to one class forever and if you later
decide that you want/need something different, it is usually
question of minutes to change whole layout of the document
according to the new style.

And do not be afraid of the group. If you will make your
homework, people here are extremely friendly and we are proud of
it :-). BTW, the most simple way how to resolve mostly of all
your problems (well, so far only those LyX-related :-) is to take
a look at http://www.lyx.org/help. You will be surprised by the
amount of the information available there (at least I am,
whenever I use it :-).

 I`ve even transitioned my wife to Mandrake 8.1 with kde...had
 too, it had to look and feel similar to microsoft for her to
 accept it.

Then you are definitively on the same boat with me :-) I have
succeeded so far, that she has just finished her first paper in
pure LaTeX written on NTEmacs. I have still long way to go ...

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
We are told that [St. Anthony] once fell into dejection, finding
uninterrupted contemplation above his strength; but was taught to
apply himself at intervals to manual labour by a vision of an
angel who appeared platting mats of palm-tree leaves, then rising
to pray, and after some time sitting down again to work; and who
at length said to him, Do thus, and thou shalt be saved.
-- Life of St. Anthony




Re: Re: customizing natbib

2002-02-14 Thread Matej Cepl

On Thu, Feb 14, 2002 at 10:25:42AM, Jean-Pierre.Chretien wrote:
 In fact, I wanted to stress the fact that database typing
 inside documents (which is a current practice) should be
 avoided because a bibliography tag is by definition an piece of
 data which should be written once correctly forever, and
 available autonomously for copy (that's why I don't like some
 facilities like the STRINGS or crossref features: the bib
 record looses autonomy ant can't be simply copied for reuse).

My previous experience before LaTeX/LyX was with Lout (which I
consider to be much better designed than LaTeX, but it doesn't
have LyX and CTAN, which were the reasons why I switched) and
there it was done in a way, which really made sense to me. Lout
has a command @Reference (char @ is roughly equivalent of \ in
TeX) which contains bibliographical information and with the
syntax similar to @something in BibTeX. So for example for
TeXbook, there is this:

{ @Reference
 @Tag { knuth1984tex }
 @Type { Book }
 @Author { Donald E. Knuth }
 @Title { The {@TeX}Book }
 @Publisher { Addison-Wesley }
 @Year { 1984 }
}

And the bibliographical database was just list of such records
(BTW, databases are indexed, so they may be much bigger) to be
included via the equivalent of \input (modified for the
databases, so that only selected records were included).

The point is, that because Lout (not some additional program) was
able to work with these records, it was possible to include
couple of these in the document, which may be helpfull sometimes.
For example, I am now in the graduate school, so I have to write
a lot of small papers with references which are not of direct
interest to me. Therefore, with Lout I was able to put some
refereces (which were not interesting for me) into document and
some other were gotten from the database. Of course, another
advantage of such system (which may be the main issue for AMS to
create such system) is that, it was possible to use
self-contained documents (I know, you can get something similar
with tools for BibTeX too). Now, I have to have special
bibliographical database junk.bib, but it is not the same.

And do not tell me, that I should not be allowed to shoot my foot
off--I am afraid, that such things smell by Mordor (sorry, I mean
Microsoft :-). Truth is, that I cannot do it with BibTeX,
although I would love to and I have some pretty legitimate
reasons to do so.

 So the question is only about the choice of the standard: -
 using latex in an abstract field (which does not exists in the
 original bib data structure (which knows only about note field

Or even worse with me: abstract field is just for real abstracts
of original authors and annotate is for my notes and comments.

 AFAIR) or in titles (which I use often) imports (La)TeX inside

And, BTW I am afraid that weird rules of capitalization in BibTeX
are just another instance, when I am confident to say, that it is
bug, not feature.

 this piece of data this is clearly not recommended for
 portability even if the output is much better; this must be the
 reason why .bib is not a standard for citation outside the
 academic world using LaTeX/LyX; - using on of these standards
 (among which a lot are proprietary AFAIK) needs conversion to
 bib or amsref, if ever possible without licensing.

Most of them have some export/import filters to/from BibTeX.

Have a nice day

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The main idea of the pope's asking for forgivness was not to be
afraid of the truth. DO NOT BE AFRAID OF TRUTH! We have to have
faith in the God's governing power to be able not to be afraid.
-- On NPR The Connection from March 13, 2000




Re: Re: amsref (was: customizing natbib)

2002-02-15 Thread Matej Cepl

On Fri, Feb 15, 2002 at 01:45:58PM +0100, Wayan wrote:
 thank you. I have already used ERT, but the problem is the citation not
 appears in the text. I have only use \cite{} and \ocite{}. When I viewed
 as PostScript, that only show: (?mil99) for \cite{mil99) and () for
 \ocite{mil99). I am using [author-year]{amsrefs} package with the amsxport
 style. Could you please tell me what is wrong of my setting? The reference
 at the end of article is right.

Could you send short example file, please?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Economics is the only discipline where two people can win a Nobel
Prize for saying exactly the opposite thing!
-- Eamonn Butler of Adam Smith Institute
   on Nobel Prize awards for year 2001




Re: Re: amsref (was: customizing natbib)

2002-02-15 Thread Matej Cepl

On Sat, Feb 16, 2002 at 03:25:11AM +0100, Wayan wrote:
  Could you send short example file, please?
 
 Thank you for rapid respons. I attaced an zip file
 which consist of example.lyx, example.pdf and
 myref.bib.

I am clueless. I have my paper tonight, so I cannot spent much
time with that, but I was not able to find anything. Try to take
a look at www.ams.org/tex/amsrefs.html if there is any discussion
list for the amsrefs package, where you could contact folks who
really know. The last option may be [EMAIL PROTECTED]

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
I believe in the power of prayer. It's been said: I would rather
stand against the cannons of the wicked than against the prayers
of the righteous. The prayers of a friend are one of life's most
gracious gifts.
-- George W. Bush at the 2001 National Prayer Breakfast




Re: amsref (was: customizing natbib)

2002-02-16 Thread Matej Cepl

On Sat, Feb 16, 2002 at 08:46:12AM +0100, Herbert Voss wrote:
 it's a problem to choose a special ams package and a german
 textclass.

I believe that amsrefs should be AMS-independent and that there
must be some problem with it. I did proposed to turn to
AMS-managed list with further questions.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Opinions founded on prejudice are always sustained with the
greatest violence.
-- Hebrew Proverb




Re: inserting preamble text

2002-02-17 Thread Matej Cepl

On Fri, Feb 15, 2002 at 05:13:31PM, Wolfgang Engelmann wrote:
 Somebody suggested a nice way of inserting the preamble into a
 lyx document.  This would allow to have a collection of
 preambles and insert the one needed/wanted.  I saved the
 messages somewhere but dont find it. Does somebody remember
 the trick?

I do not know, what do you mean exactly, but such thing as you
want, I would do through creating special package and then just
using \usepackage{mypackage} in Layout/LaTeX Preamble. For more
information, see ``Not so Short Introduction to LaTeX2e'' (search
for lshort.{dvi,pdf} file in your distribution).

Matej Cepl

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review
   of Pennsylvania, 1759.




Replace keyboard shortcut?

2002-02-17 Thread Matej Cepl

Hi,

just a question: what is the keyboard shortcut for Replace in the
Find/Replace? ``Replace All'' is Alt-A, but Alt-R doesn't work
for me as a shortcut for ``Replace''. Using 1.1.6fix4 with the
Czech locale and Czech xkb keyboard. However, even through
browsing through all applicable .bind files I cannot find, where
these shortcuts are defined.

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
I believe in the power of prayer. It's been said: I would rather
stand against the cannons of the wicked than against the prayers
of the righteous. The prayers of a friend are one of life's most
gracious gifts.
-- George W. Bush at the 2001 National Prayer Breakfast




Re: Problem with RPM

2002-02-18 Thread Matej Cepl

On Mon, Feb 18, 2002 at 01:16:49PM, Brian Flangsmythe wrote:
 When I try to install a lyx or xforms package with RPM I get
 the following error message:
 
 only packages with major numbers = 3 are supported by this
 version of RPM

You need to update your rpm program. My version is 4.0.2. and I
have no problems.

Matej Cepl

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
DOS: n., A small annoying boot virus that causes random
spontaneous system crashes, usually just before saving a massive
project. Easily cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS.
-- David Vicker's .plan




Clean-up of the overfluous {}

2002-02-18 Thread Matej Cepl

Hi,

LyX in later version correctly creates workaroung around problems
with Spanish question mark by preceding it with empty group, so
that instead of

,,My question?``

(which leads to Spanish inverted question mark)

it creates

,,My question?{}``

which avoids the problem. However, I would like to make script
which would delete superfluous empty groups so as not to avoid
proper kerning. I tried to insert this line in my script running
latex, but I was not successful. Could you tell me how to do it,
please?

sed 's/\{}([^?!])``/\1``/' input.tex

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
All parts should go together without forcing. You must remember
that the parts you are reassembling were disassembled by you.
Therefore, if you can't get them together again, there must be a
reason. By all means, do not use a hammer.
-- IBM maintenance manual, 1925




Re: Re: amsref (was: customizing natbib)

2002-02-19 Thread Matej Cepl

On Fri, Feb 15, 2002 at 01:45:58PM +0100, Wayan wrote:
 thank you. I have already used ERT, but the problem is the
 citation not appears in the text. I have only use \cite{} and
 \ocite{}. When I viewed as PostScript, that only show: (?mil99)
 for \cite{mil99) and () for \ocite{mil99). I am using
 [author-year]{amsrefs} package with the amsxport style. Could
 you please tell me what is wrong of my setting? The reference
 at the end of article is right.

After checking with [EMAIL PROTECTED] I get very quickly
attached answer.

Have a nice day

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Ask not for whom the telephone bell tolls ... if thou art in the
bathtub, it tolls for thee.


# To: Matej Cepl [EMAIL PROTECTED]
# Subject: Re: amsrefs -- \ocite doesn't work
# From: Michael John Downes [EMAIL PROTECTED]
# Date: 19 Feb 2002 13:54:19 -0500
# 
# Matej Cepl [EMAIL PROTECTED] writes:
# 
#  thank you for providing amsrefs package. Unfortunately, I have a
#  trouble to make it working properly. See attached example, where
#  \ocite obviously doesn't provide results which I hoped to get.
# 
# There was a bug when the previous cite key was the same as the next cite
# key. I posted version 1.18 of amsrefs.sty with this bug (and a couple of
# others) fixed, you can get a new distribution at
# 
#   ftp://ftp.ams.org/pub/tex/amsrefs.zip
# 
# Thank you for reporting this problem, it helps us to get the bugs fixed
# so everyone else will benefit too.
# 
# I would like to make a suggestion about the usage of \ocite in one
# instance:
# 
#  Based on the stage of formation, \ocite{mil99} have divided it ...
# 
# Because this is used as the subject of the sentence, rather than as an
# object, I would recommend rather writing the names explicitly, or at
# least using \citeauthor:
# 
#   Based on the stage of formation, Mil\'esi et al.\ \ycite{mil99}
#   have divided it ...
# 
# Or:
# 
#   Based on the stage of formation, \citeauthor{mil99} \ycite{mil99}
#   have divided it ...
# 
# Regards, Michael Downes
# [EMAIL PROTECTED]



Re: Inserting ps/pdf pages

2002-02-20 Thread Matej Cepl

On Wed, Feb 20, 2002 at 06:41:36AM +0100, Herbert Voss wrote:
 The problem is, that the two documents use completely
 different styles and I get a real mess when I try to redefine
 everything and insert the latex code of the second document
 
 -- http://www.lyx.org/help/pdf/pdf.php3#a5

With all due respect to Herbert, I am afraid, that he was
probably too laconic here. Let me slightly elaborate:

I believe, that the most simple solution is to create EPS from
the document to be included (-E option of dvips; but be aware,
that EPS cannot have more than one page!) and than include it
into the new document. Of course, in case of pdflatex, it is
necessary to include pdf file created by epstopdf.

Happy LyXing!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
[W]hat country can preserve its liberties, if its rulers are not
warned from time to time that [the] people preserve the spirit of
resistance? Let them take arms...The tree of liberty must be
refreshed from time to time, with the blood of patriots and
tyrants.
-- Thomas Jefferson, letter to Col. William S. Smith, 1787 




Re: Clean-up of the overfluous {}

2002-02-20 Thread Matej Cepl

On Mon, Feb 18, 2002 at 05:50:47PM -0500, Matej Cepl wrote:
 which avoids the problem. However, I would like to make script
 which would delete superfluous empty groups so as not to avoid
 proper kerning. I tried to insert this line in my script running
 latex, but I was not successful. Could you tell me how to do it,
 please?
 
 sed 's/\{}([^?!])``/\1``/' input.tex

So finally, I have found answer myself (with help of some good
people on other list). Better than sed is to use perl like this
(I run this script instead of {pdf}latex from LyX).

#!/bin/sh
#$Id: vlnlatex,v 1.4 2000/12/07 08:58:38 matej Exp $

if [[ $(basename $0) == pdfvlnlatex ]] ; then
PROG=pdflatex
else
PROG=latex
fi

BNAME=$(basename $1 .tex)

if [ -f $BNAME.tex ]; then
# LyX is slightly too active with protecting quotes
 perl -pe 's/([^?!]){}``/\1``/g' $BNAME.tex \
| vlna -s -v KkSsVvZzOoUuAI -f  $BNAME.ctex
 $PROG $BNAME.ctex
fi

Happy LyXing!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Some see private enterprise as a predatory target to be shot,
others as a cow to be milked, but few are those who see it as a
sturdy horse pulling the wagon.
-- Sir Winston Churchill




Re: accessing document metadata

2002-02-23 Thread Matej Cepl

On Thu, Feb 21, 2002 at 07:23:12PM +0100, Yannick Patois wrote:
 If you use RCS, I guess you can just put $Id:$ or whatever a
 the right place in your doc... But there are small problemes
 with that ($ is math mode, and you may have some characters
 (like _) that tex doesnt like very much...), in a \verb
 something, maybe ?

There is a package rcsinfo, but I have once seen really devilish
trick, which is so cruel, that I have to share it with you:

\newcommand{\RCS}{$ $Revision: 1.5 $ $}

and then use in the document:

\RCS

I do not know, though, whether empty mathematical group won't
make some damage to the beauty of your document.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
As with the Christian religion, the worst advertisement for
Socialism is its adherents.
-- George Orwell 




Re: s-hachek and other accents?

2002-02-26 Thread Matej Cepl

On Sat, Feb 23, 2002 at 02:58:41PM -0600, Peter Clark wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
   I'm having a bit of trouble with ERT: I want to write an s-hachek (the 
 hachek looks like a little v above the s) but \vs (with the \v in ERT) 
 produces the following error:
  Undefined control sequece.
   \vs

\v{s}

Mat\v{e}j

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Ask not for whom the telephone bell tolls ... if thou art in the
bathtub, it tolls for thee.




Re: Font substitution Type3 - Type1 was: printing resolution problem

2002-02-28 Thread Matej Cepl

On Thu, Feb 28, 2002 at 08:20:28PM +0100, Oliver Margraf wrote:
 in the meantime I found out, that you can force LyX to replace
 Type 3 fonts by Type 1 fonts (vector, PS-fonts). I also found
 out, that there's an option for creating PS with 'dvips -Pczm
 -Pamz', which shall replace the fonts. Unfortunately this
 doesn't seem to work (maybe because of Darwin - heard this one
 from a Linux user). Is there a way to configure Latex or
 pdflatex, that it replaces the fonts automatically (as
 a standard)

See my previous message on this. Try to use other fonts (in
Layout/Document) -- ae or pslatex.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
In those days spirits were brave, the stakes were high, men were
real men, women were real women and small furry creatures from
Alpha Centauri were real small furry creatures from Alpha
Centauri.
-- Douglas Adams




Re: printing esolution

2002-02-28 Thread Matej Cepl

On Thu, Feb 28, 2002 at 10:08:18AM +0100, Oliver Margraf wrote:
 Well, I tried this  and set the resolution in GhostScript options
 to 1200x1200, but it's still looking the same.
 Maybe there is a special config file? -  the man page of gs only tells 
 you how to use the gs command, but where you can handle the preferences.

Isn't it just standard Type1 question? What happens, when you use
font (in Layout/Document/Fonts) other than default (ae or
pslatex)?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
My point was simply that such tax proposals [for Pigovian taxes
compensating for the transaction costs] are the stuff that dreams
are made of. In my youth it was said, that what was too silly to
be said may be sung. In modern economics it may be put into
mathematics.
-- Ronald Coase
   Notes on the Problem of Social Cost




Re: template

2002-03-03 Thread Matej Cepl

On Sun, Mar 03, 2002 at 11:19:29AM -1000, Rodney Kanno wrote:
 Does anyone know if there is a document layout somewhere to write
 architectural specifications? I need to write architectural specifictions
 for one of my classes and would like to use lyx if there is a layout
 available.

Is there are LaTeX stylesheet available for that? If yes, than it
should be rather easy. Otherwise, buy a TeXbook (i.e., it is
pretty difficult, especially if you are beginner).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
DOS: n., A small annoying boot virus that causes random
spontaneous system crashes, usually just before saving a massive
project. Easily cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS.
-- David Vicker's .plan




booktabs

2002-03-03 Thread Matej Cepl

Hi,

just a question, whether there are plans to support booktabs
package in LyX? The package makes _much_ prettier tables and
implementation in LyX would need just an ability to distinguish
between three kinds of the \hline (\toprule, \midrule, and
\bottomrule). Unfortunately, I have not found a way, how to
insert different rules in table in LyX via ERT, so I can use
benefits of the package, only when working in plain LaTeX.

Any thoughts for ERT support?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The law, in its majestic equality, forbids the rich as well as
the poor to sleep under bridges, to beg in the streets, and to
steal bread.
-- Anatole France




Re: booktabs

2002-03-04 Thread Matej Cepl

On Mon, Mar 04, 2002 at 08:37:22AM +0100, Herbert Voss wrote:
 what about this?
 
 http://www.lyx.org/help/table/vline.php

Well, almost. See attached example -- I have to use multicolumn
(because of the last subheading) and of course latex hugely
complains, when it has \midrule in \multicolumn.

Another note, is that booktabs just cries for WYSIWYM solution:
user creates regular table with \hlines, and then when ``Use
booktabs'' option is checked, LyX translates the first \hline to
\toprule, the last one to \bottomrule and everything else to
\midrule or \cmidrule. That's WYSIWYM as I would like to have it.
Well, I know, maybe in 1.3.*. But, I suppose, that this paragraph
is not for you, Herbert, but rather for developers on this list
(yes, I know, I should file it on bugzilla; I will do,
sometimes).

Thanks anyway

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.
-- Matthew D. Fuller



#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass scrartcl
\begin_preamble
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}

\makeatletter

\usepackage{booktabs}

\deffootnote{1em}{1em}%
{\textsuperscript{\normalfont\thefootnotemark\ }}

% for use with PDFLaTeX   
\usepackage{ifpdf}
\ifpdf%
\DeclareGraphicsRule{*}{mps}{*}{}
\fi
\makeatother
\end_preamble
\options english
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\latex latex 

\backslash 
let
\backslash 
myLine
\newline 

\backslash 
renewcommand{
\backslash 
hline}{
\backslash 
bottomrule}%
\layout Standard


\begin_inset  Tabular
lyxtabular version=2 rows=17 columns=4
features rotate=false islongtable=false endhead=1 endfirsthead=1 endfoot=1 endlastfoot=1
column alignment=left valignment=top leftline=false rightline=false width= special=
column alignment=right valignment=top leftline=false rightline=false width= special=
column alignment=right valignment=top leftline=false rightline=false width= special=
column alignment=right valignment=top leftline=false rightline=false width= special=
row topline=false bottomline=false newpage=false
cell multicolumn=0 alignment=left valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard


\latex latex 
 
\backslash 
toprule
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 Q1
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 Q2
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 Q3
\end_inset 
/cell
/row
row topline=false bottomline=false newpage=false
cell multicolumn=1 alignment=left valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard


\latex latex 

\backslash 
midrule 
\series bold 
\latex default 
2000
\end_inset 
/cell
cell multicolumn=2 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell multicolumn=2 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell multicolumn=2 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

\end_inset 
/cell
/row
row topline=false bottomline=false newpage=false
cell multicolumn=0 alignment=left valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard


\latex latex 
 
\backslash 
midrule 
\latex default 
Total Operating Revenue 
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

Re: booktabs

2002-03-05 Thread Matej Cepl

On Tue, Mar 05, 2002 at 06:33:50PM -0300, Roberto Hernandez wrote:
 The documentation for the fancyhdr package has instructions for creating 
 book tabs. I haven't really used it, but I know it's there.
 
 [tito@localhost tito]$ locate fancyhdr.dvi
 /usr/share/texmf/doc/latex/fancyhdr/fancyhdr.dvi

I have no idea, what you mean, but we were talking about the
package booktabs, which is for creating better tables in LaTeX
(xdvi `locate booktabs.dvi`). I do not see any connection with
fancyhdr, but I may be wrong.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Microwave oven?  Whaddya mean, it's a microwave oven?  I've been
watching Channel 4 on the thing for two weeks.




Re: booktabs

2002-03-05 Thread Matej Cepl

On Tue, Mar 05, 2002 at 11:04:34PM +0200, Dekel Tsur wrote:
 Use the following hack:
 Delete the \midrule from the multicolumn cell.
 Now, go to the last cell in the row above the multicolumn, and
 write the following at the end of the cell in latex mode '\\
 \midrule %' The percent char is needed in order to comment out
 the \\ which is put by lyx in the latex file.
 
 You can use the same trick to enter \toprule (namely write '\\
 \midrule %' in the last cell of the table. Note that your
 current method is wrong).

You meant \bottomrule, didn't you? There is no problem with
inserting \toprule to the first cell of the table directly
(actually, I have no idea, how could one use your trick to insert
\toprule, because there is no cell preceding that line).

Nevertheless, thank you very much. It works like a charm.

Herbert, could you include this among the Tips, please?

Thanks to both of you

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Q: Is vi an easy editor to learn, is it intuitive?
A: Yes, some of us think so. But most people think that we are
   crazy.
-- vi FAQ




Re: booktabs

2002-03-06 Thread Matej Cepl

On Wed, Mar 06, 2002 at 07:13:09AM +0100, Herbert Voss wrote:
 before the table:
 \let\myLine\hline
 \let\hline\toprule

My point was, that with Dekel's trick, you don't have to do that
(see attachement, which compiles well on my computer).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Extremism in the defense of liberty is no vice; moderation in the
pursuit of justice is no virtue.
-- Barry Goldwater (actually written by Karl Hess)



#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass scrartcl
\begin_preamble
\usepackage{booktabs}
\end_preamble
\language english
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset  Tabular
lyxtabular version=2 rows=17 columns=4
features rotate=false islongtable=false endhead=1 endfirsthead=1 endfoot=1 endlastfoot=1
column alignment=left valignment=top leftline=false rightline=false width= special=
column alignment=right valignment=top leftline=false rightline=false width= special=
column alignment=right valignment=top leftline=false rightline=false width= special=
column alignment=right valignment=top leftline=false rightline=false width= special=
row topline=false bottomline=false newpage=false
cell multicolumn=0 alignment=left valignment=top topline=true bottomline=true leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard


\latex latex 

\backslash 
toprule 
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=true bottomline=true leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 Q1
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=true bottomline=true leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 Q2
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=true bottomline=true leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 Q3
\end_inset 
/cell
/row
row topline=false bottomline=false newpage=false
cell multicolumn=1 alignment=left valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard


\series bold 
2000
\end_inset 
/cell
cell multicolumn=2 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell multicolumn=2 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell multicolumn=2 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

\end_inset 
/cell
/row
row topline=false bottomline=false newpage=false
cell multicolumn=0 alignment=left valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 Total Operating Revenue 
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 $121,564,911 
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 $124,425,953 
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 $127,495,497 
\end_inset 
/cell
/row
row topline=false bottomline=false newpage=false
cell multicolumn=0 alignment=left valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 Operating Profit 
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

\layout Standard

 $7,504,165 
\end_inset 
/cell
cell multicolumn=0 alignment=right valignment=top topline=false bottomline=false leftline=false rightline=false rotate=false usebox=none width= special=
\begin_inset Text

Re: booktabs

2002-03-06 Thread Matej Cepl

On Wed, Mar 06, 2002 at 04:50:23PM +0100, Herbert Voss wrote:
 sure, but you said that toprule doesn't work with multicolumns
 as first row! Than you still need the above trick.

Maybe I was wrong. Let's close this discussion with saying, that
Dekel's trick works. Thanks to both of you!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The politician attempts to remedy the evil by increasing the very
thing that caused the evil in the first place: legal plunder.
-- Frederick Bastiat




Re: LyX is driving me crazy

2002-03-08 Thread Matej Cepl

On Fri, Mar 08, 2002 at 10:44:02AM +0200, Taimo Peelo wrote:
  because lyx has no idea what kind of packages you are
  using and what they are doing.
 
 I'm afraid i wasn't quite correct. There is no latex support for estonian,
 using texconfig to edit language.dat
 there is _no_ line about estonian to uncomment and in
 /usr/share/texmf/tex/generic/hyphen/ no estonian hyphenation file exists.

Take a look at CTAN (www.ctan.org), whether there is some
estonian hyphenation file. The files in babel directory are
useless for you (well, they are not, but they cannot make
hyphentation working and without that you have not the power of
TeX).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
understand, v.:
To reach a point, in your investigation of some subject,
at which you cease to examine what is really present, and
operate on the basis of your own internal model instead.




Re: A Newsgroup For LyX

2002-03-08 Thread Matej Cepl

On Fri, Mar 08, 2002 at 08:18:28AM -0300, Roberto Hernandez wrote:
 The only problem I'd have with a newsgroup is that I haven't found any 
 good servers that are free and allow posting. This might be OT, but if 
 you know of any, send them my way...

Ask your ISP, they usually (reluctantly) provide newsgroups.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The law, in its majestic equality, forbids the rich as well as
the poor to sleep under bridges, to beg in the streets, and to
steal bread.
-- Anatole France




Re: A Newsgroup For LyX

2002-03-08 Thread Matej Cepl

On Fri, Mar 08, 2002 at 03:01:14PM +0100, Zrubecz Laszlo wrote:
 Well, I'm prefer mailing list

There is one more vote for newsgroup. (Concerning the threading
-- use mutt, it has both threads in mails and supports newsgroups
reading).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 




Overall environment

2002-03-16 Thread Matej Cepl

Hi,

trying to create layout for the document class of the bulletin of
CSTUG (Czech TeX Users' Group), I have hit a problem. Every
article in LaTeX document provided by author (one file may
contain more articles; of course, the reason is, that whole
bulletin is than compiled to one) is enclosed (whole, even
\title, \author, and \maketitle) in special environment clanek
(which is ``article'' in Czech). Something like this:

\documentclass{article}

\usepackage{csbul} % style of the bulletin itself

\begin{document} \begin{clanek}

\title{something} \author{something}

\podpis{something} % ``podpis'' means ``signature'' and it is
 % used for the authors name 
and contact
 % info in the end of the 
article.

\maketitle

\section{...}

...

\end{clanek} \end{document}

I would like to make layout as seamless as possible (remember, it
is for introduction of LyX to {La}TeX community, so I would like
to avoid any ERT) and of course, I cannot change the style itself.

However, when browsing through Customization document, I was not
able to fingure out, how to do this. Any thoughts?

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
In those days spirits were brave, the stakes were high, men were
real men, women were real women and small furry creatures from
Alpha Centauri were real small furry creatures from Alpha
Centauri.
-- Douglas Adams




Re: Re: Dangerous BUG: Search/Replace

2002-03-20 Thread Matej Cepl

On Wed, Mar 20, 2002 at 10:36:03AM +0100, Guenter Milde wrote:
 but no key/key-combination starts a search :-(

What does Alt-F and Alt-B do? They work for me.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
I love deadlines. I like the whooshing sound they make as they
fly by.
-- Douglas Adams




Re: General typesetting question (slightly OT)

2002-03-29 Thread Matej Cepl

On Fri, Mar 29, 2002 at 02:00:45PM -0500, Nirmal Govind wrote:
 While still on the subject of fonts and typesetting, I have
 a slightly different question - I'm having trouble while
 printing my documents which are typeset in the default CMR
 fonts.. the normal text appears a bit light in the output on
 paper... I tried changing font sizes etc. but it still doesn't
 help.. any idea why this might be so? I thought it might be my
 printer (it's a Samsung ML-1210 Laser printer) but it prints
 other documents just fine (like say from MS Word.. I know some
 of you may object to my using this as a benchmark but...)..

I am not sure what is exactly your problem, but the fact is that
Computer Modern has much lighter apperance than most common
Times. Moreover, it is nice only when used with high-DPI printing
(600 dpi and more) otherwise its thin vertical lines are too
light. I am not saying that it is problem of Computer Modern (the
font was originally -- in 1977! -- designed for offset
typesetters with dpi 1200 and more), but it is certainly worthy
of consideration. However, when thinking about using some other
fonts, there are some caveats: most of all, there are no quality
free mathematical fonts which are nicely complementing to Times.
Therefore, when you are using a lot of mathematics, I still use
Computer Modern (and I have access to 1200 dpi laser printer in
the school), but I like more and more using free Lido font, which
is enhanced free for non-commercial use version of Times (see
http://www.cstug.cz/stormtype/slido.html).

Happy TeXing!

Matej Cepl

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Microwave oven?  Whaddya mean, it's a microwave oven?  I've been
watching Channel 4 on the thing for two weeks.




Re: fptex, win, lyx

2002-03-30 Thread Matej Cepl

On Sat, Mar 30, 2002 at 08:00:02PM +0100, Lars wrote:
 I have installed lyx + fptex on windows. When I try to call the dvi
 viewer Latex can't find setspace.sty. I found setspace.sty in the
 net, but where do i copy it in the fptex path ? Do I have to refresh
 the tex catalogue ?

I have mine in $TEXMF/tex/latex/misc/ . And yes, of
course, that you have to run mktexlsr (or texhash; I do not know,
which one of them is in fpTeX).

 Help very appreciated!

You're very welcome.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
I went to a Grateful Dead Concert and they played for SEVEN
hours.  Great song.
-- Fred Reuss




Re: capacity exeeded

2002-04-03 Thread Matej Cepl

On Wed, Apr 03, 2002 at 02:21:38PM +, Gunther Stahl wrote:
 Anybody seen this before? The LaTeX output says in one line:
 71451 string characters out of 71451
 
 I don't know what to do about it.  The whole thing works with
 regular book-class and pslatex.
 
 Is there a wizard somewhere to help me?

Yeah, I have met this before (actually, couple of times). The
problem is usually not in real exceeding of TeX capacity (usual
distributions are able to work with huge documents without
problems), but in some endless loop you have created for LaTeX or
missing right brace, which causes LaTeX to read as parametr of
a command whole rest of the document. Recheck all your
definitions in Layout/LaTeX preamble and any ERT you use.

Have a nice day

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Extremism in the defense of liberty is no vice; moderation in the
pursuit of justice is no virtue.
-- Barry Goldwater (actually written by Karl Hess)




WYSIWYM and line spacing

2002-04-03 Thread Matej Cepl

Hi,

just a question to developers: is it possible to switch off
displaying linespacing in LyX? I have to write a paper
double-spaced, but double-spacing is so awfull for authoring
a text. After all, I do not mean anything by double-spacing, so
why is it displayed in WYSIWYM editor at all?

Of course, I could cheat LyX to work as I would like it by
putting
\usepackage{setspace} \doublespacing
into preamble (which is, what I currently do), but why should be
linespacing be driven by the LaTeX setting in the first place?

Happy LyXing everybody!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Q: Is vi an easy editor to learn, is it intuitive?
A: Yes, some of us think so. But most people think that we are
   crazy.
-- vi FAQ




Re: Using \url with BibTeX

2002-04-07 Thread Matej Cepl

On Sat, Apr 06, 2002 at 11:49:49PM -0300, Roberto Hernandez wrote:
 I've been trying to include URLs in bibliography entries using
 \url{}, but I keep getting error messages. The problem is
 definitely related to the use of \url{}, because all goes well
 without it. I've also tried \url| | (instead of the {}), but
 that failed too.

Have you put '\usepackage{url}' in your Layout/LaTeX Preamble? It
is put there by LyX automagically, when Insert/URL is used, but
LyX has no way how to know that you use it in BibTeX.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
understand, v.:
To reach a point, in your investigation of some subject,
at which you cease to examine what is really present, and
operate on the basis of your own internal model instead.




Re: Compilation problems with the latest CVS

2002-04-08 Thread Matej Cepl

On Mon, Apr 08, 2002 at 07:10:49PM +0200, Yannick Patois wrote:
 Got this stranges things:
 On configure :
 sed: can't read ./config/Makefile.in: No such file or directory

My experience from another CVS compilation (elinks) is that you
should run ./autogen.sh before ./configure. But I may be wrong.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The difference between death and taxes is death doesn't get worse
every time Congress meets
-- Will Rogers




Re: Suppressing page numbering

2002-04-09 Thread Matej Cepl

On Tue, Apr 09, 2002 at 12:40:37AM -0600, Kent Kostuk wrote:
 I was just wondering if there is a better way to suppress the page
 numbering on a title page.
 
 I used
 
 \pagestyle{empty}
 
 on the page that I wanted to suppress the page number, and then used

\thispagestyle{empty} works only the one page. It may be better
for you.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
We are told that [St. Anthony] once fell into dejection, finding
uninterrupted contemplation above his strength; but was taught to
apply himself at intervals to manual labour by a vision of an
angel who appeared platting mats of palm-tree leaves, then rising
to pray, and after some time sitting down again to work; and who
at length said to him, Do thus, and thou shalt be saved.
-- Life of St. Anthony




Re: small fontsize in single spaced quotes

2002-04-10 Thread Matej Cepl

On Wed, Apr 10, 2002 at 12:32:06PM +0200, Herbert Voss wrote:
 does this not work?
   \begin{spacing}{1}\small ...

Maybe, \begin{spacing}{1}\begin{small} ... with \end{small} in
corresponding end of the environemnt position would be better in
terms of the maintance of the command.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The ratio of literacy to illiteracy is a constant, but nowadays
the illiterates can read.
-- Alberto Moravia




Re: Converting figures from EPS to PDF

2002-04-10 Thread Matej Cepl

On Wed, Apr 10, 2002 at 12:36:46PM +0200, Herbert Voss wrote:
  I have also tried using epstopdf, this gives a nicely bound figure (ie
  there is no white space around my figure) but the fonts also are bad on
  screen (not as bad as with convert though). I looked at the document
  info of the resulting PDF file and it says that type 3 fonts have been
  used. Is there a way of forcing type 1 fonts to be used.
 
 use the convert script tex2pdf from Steffen
 
 http://tex2pdf.berlios.de/

With all due respect to Herbert (and without knowing anything
about tex2pdf script), I need to concurr here: if the epstopdf is
not able to make PDF with Type1 fonts, it means to me, that these
are not in the original .eps file and there is probably no secure
way, how to fix it. You should probably check the original .eps
file (where does it come from?) that Type1/Type42 fonts are used
in it.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Microwave oven?  Whaddya mean, it's a microwave oven?  I've been
watching Channel 4 on the thing for two weeks.




Re: Re: International Phonetic Alphabet wit lyx

2002-04-10 Thread Matej Cepl

On Wed, Apr 10, 2002 at 09:30:13AM +0200, Guenter Milde wrote:
 On Tue, 9 Apr 2002 12:00:48 -0500 wrote Peter Clark [EMAIL PROTECTED]:
 
  If I knew an ounce of C++, I'd actually get started on this myself. 
  Alas, I'm still working on Python. :)
 
 One more reason for Python support in LyX. 

Hear, hear!!! (frenetic applause)

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The founding fathers tried to set up a judicial system where the
accused received a fair trial, not a system to insure an
acquittal on technicalities.
-- fortunes




Re: International Phonetic Alphabet wit lyx

2002-04-11 Thread Matej Cepl

On Thu, Apr 11, 2002 at 03:17:58PM +0200, Christian Beermann wrote:
 Thank you very much now I can start to work it was realy simple to
 install the IPA Package, one stupid newbie question: What do You mean
 with Evil Red Text

Ctrl-L marked text (direct LaTeX in LyX). ERT is very standard
shortcut on lyx-users list.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
understand, v.:
To reach a point, in your investigation of some subject,
at which you cease to examine what is really present, and
operate on the basis of your own internal model instead.




Re: hebrew in a german document

2002-04-12 Thread Matej Cepl

On Fri, Apr 12, 2002 at 05:52:48PM +0200, Nico Steffen wrote:
 Thank You for Your help. Now i have downloaded some
 shalom-files from ctan but i don't know, how to install?
 
 I downloaded shalom.tex, shalom.ps, ShalomOldStyle10.mf
 ShalomOldStyle10.300.pk... 
 
 Who can help me to install the shalom-package?  (sorry, i am
 a real stupid newbie)  

Take a look at http://www.ctan.org/installationadvice/.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The difference between death and taxes is death doesn't get worse
every time Congress meets
-- Will Rogers




Re: hebrew in a german document

2002-04-12 Thread Matej Cepl

On Fri, Apr 12, 2002 at 01:16:34PM -0400, Ronald Florence wrote:
 Shalom.sty and other Hebrew fonts which you can use with the
 package should be available from CTAN.

They are not -- take a look at
http://www.nevis.columbia.edu/~stephan/tex/ .

Matej Cepl

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
[W]hat country can preserve its liberties, if its rulers are not
warned from time to time that [the] people preserve the spirit of
resistance? Let them take arms...The tree of liberty must be
refreshed from time to time, with the blood of patriots and
tyrants.
-- Thomas Jefferson, letter to Col. William S. Smith, 1787 




Re: changing the default Date format

2002-04-15 Thread Matej Cepl

On Mon, Apr 15, 2002 at 03:18:02AM -0400, Nirmal Govind wrote:
 How do I  change the default format of the Date? Right now it says 15th 
 April 2002 but say I want it to be April 15, 2002 instead? I know I can 
 do it manually with \date{} but how do I change the default so that it 
 looks like this when I just say \today for instance..

Find defintion of \today in your particular Babel's language
definition file (I suppose, it is
$TEXMF/tex/generic/babel/english.ldf) and redefine it to your
likes. I guess, that it is sufficiently obvious what to do.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Extremism in the defense of liberty is no vice; moderation in the
pursuit of justice is no virtue.
-- Barry Goldwater (actually written by Karl Hess)




Re: Exporting to PDF

2002-04-16 Thread Matej Cepl

On Tue, Apr 16, 2002 at 12:27:24PM -0300, Roberto Hernandez wrote:
 
 What is your version of ghostscript ? You must use gs = 6.0
 
 That sounds like a problem. RedHat 7.1 comes with gs5.5. I need to get 
 around to compiling the source because there's no RPM for newer 
 versions. BTW, is AFPL Ghostscript OK? There's a RedHat RPM for AFPL gs7.04.

There is a newer version in binary RPMs (take a look at the
official GhostScript website at http://www.cs.wisc.edu/~ghost/).
At least I have it installed :-).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Of all tyrannies, a tyranny exercised for the good of its victims
may be the most oppressive. It may be better to live under robber
barons than under omnipotent moral busybodies. The robber baron's
cruelty may sometimes sleep, his cupidity may at some point be
satiated; but those who torment us for our own good will torment
us without end, for they do so with the approval of their
consciences.
-- C. S. Lewis




Re: Printing

2002-04-18 Thread Matej Cepl

On Sat, Apr 13, 2002 at 04:27:41PM -0400, jbw wrote:
 I've having a problem printing directly from Lyx.  I open a doc and select
 print from the menu and nothing happens.  I save out the doc as a *.ps file
 and do lpr *.ps and it prints with no problem.
 
 Anyone know why this is happening. I'm using lyx 1.1.6.4 on FreeBSD 4.5.

Try to run lyx from xterm and than look at stderr what is shown.
You can add some -dbf options to the lyx too to get more detailed
debugging information (see 'lyx -dbg' for a list of possible
options).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Everything you know is wrong. But some of it is a useful first
approximation.




Re: latex running in background?

2002-04-19 Thread Matej Cepl

On Fri, Apr 19, 2002 at 11:03:03AM +0200, Lars Gullik Bjønnes wrote:
 | Yannick THat's right that espacically when having to remake fonts,
 | Yannick this blocking is quite annoying.
 
 | But you do not have to remake fonts everytime, right? 
 
 | Another fix would be more psychological: just display the page numbers
 | in minibuffer as latex runs (and tell when it is remaking fonts).
 
 and this.

Do you plan to add also information about biggest overfull/underfull
(see my bug #254)?

Thanks

Matej



Re: no date

2002-04-19 Thread Matej Cepl

On Fri, Apr 19, 2002 at 06:48:43PM +0200, Christian Beermann wrote:
 Thank you very much for the quick answer do you know also a trick to 
 make the space between title and text smaller ? 

Search the archive of the list (www.lyx.org), I have posted complete
solution for this problem couple of weeks ago.

Matej



Re: latex running in background?

2002-04-22 Thread Matej Cepl

On Mon, Apr 22, 2002 at 12:11:36PM +0200, Jean-Marc Lasgouttes wrote:
 I think overfull/underfull should create error insets (or warning
 insets) in the text. So it would not be real-time parsing, but rather 
 new regexps added to the existing code.

Just for clarification: does it mean, that when (optional) switch
Control over/underfulls is ON, and there are some, LyX will cry
to me, that there are some over/underfull in document (as it does
now, when there are errors)? If not, than I would really ask for
the display of biggest over/underfull in status line after
compilation. If yes, than I am all set (ugly Mass. slang).

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Sometimes it is said that man cannot be trusted with the
government of himself. Can he, then, be trusted with the
government of others?
-- Thomas Jefferson, in his 1801 inaugural address




Re: Inserting gnutella tables inside LyX ?

2002-04-24 Thread Matej Cepl

On Wed, Apr 24, 2002 at 05:37:19PM +0200, Jean-Marc Lasgouttes wrote:
 I guess you mean gnumeric :)
 
 We have a bug open about importing such files
 http://bugzilla.lyx.org/show_bug.cgi?id=220
 
 However, the code produced by gnumeric is so ugly, that I cannot see
 how we could import and understand that.

Export to LaTeX2e produces ugly format, but it may be cleaned 
from all the stuff to get very plain LaTeX table. Unfortunately, 
I am not in my sed mood today, but it could be done.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The law, in its majestic equality, forbids the rich as well as
the poor to sleep under bridges, to beg in the streets, and to
steal bread.
-- Anatole France




Re: [newbie] International support

2002-04-24 Thread Matej Cepl

On Wed, Apr 24, 2002 at 09:42:41PM +0300, Razvan Sandu wrote:
 Objective: to use Lyx as a part of a mechanism for producing 
 documents, quickly exportable as .pdf, .ps and HTML files,
 *in Romanian language* (which uses the ISO 8859-2 set). So I try to use 
 SGML as the most universal language available. 

Being Czech (and thus using frequnetly ISO 8859-2 myself), I believe,
that using SGML when you are not sure is not the best thing to do. plain
LaTeX is perfectly capable to produces documents in good HTML, not
saying about PDF and PS which are always perfect (when LyX is setup
well). By using SGML you are creating just another level of complexity,
which leads to higher difficulty of operation and thus to unsatisfactory
results (maybe you don't know it, but SGML is translated in .fot format,
which is translated into a kind of LaTeX, which is then translated into
PS/PDF). LaTeX itself is perfectly capable produce perfect Eastern
European documents.

Conclusion: if you do not need SGML, then you probably do not want it.
If you really do need it, find some complex documents explaining how to
do it and learn it all hard way (i.e., first by creating documents in
plain text editor, converting them via JadeTeX to PS/PDF). Then add LyX
on top of that. I do not want to say, that LyX is useless for SGML - I
believe that it may greatly simplify production of documents even there.
But setting up whole machinery is not totally intuitive yet, and you
should learn a lot (maybe too much) before making it work. These are my
experiences accquired when trying to do it myself. Maybe, that in very
close future SGML (DocBook) will bury all LaTeX, but I am afraid, that
we are not there yet (and it is not problem of LyX, but in the
underdevelopment of SGML/XML capable tools). Which is nothing against
all good programmers, who are working (and probably using) support of
SGML in LyX, but it is sad statement about my experiences and current
situation.

Happy LyXing

Matej



Re: footnotes in tables

2002-04-27 Thread Matej Cepl

On Sat, Apr 27, 2002 at 04:23:57PM -1000, Rodney Kanno wrote:
 Is there anyway to get footnotes in tables?

You have to make it in two steps: first \footnotemark in the 
place in table, where you want the mark, and than after the end 
of table \footnotetext.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Economics is the only discipline where two people can win a Nobel
Prize for saying exactly the opposite thing!
-- Eamonn Butler of Adam Smith Institute
   on Nobel Prize awards for year 2001




Re: References in Table of Contents

2002-04-30 Thread Matej Cepl

On Tue, Apr 30, 2002 at 03:58:42PM +0200, Herbert Voss wrote:
 this is not the right way when you want to have
 a formatted entry in the toc. The ones for chapters
 are in bold and the others not.
 
 it's better to use \addcontentsline...

You are right, of course.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
I know of no country in which there is so little independence of
mind and real freedom of discussion as in America.
-- Alexis de Tocqueville




Re: repeating for every page? Or best alternative

2002-05-02 Thread Matej Cepl

On  2 May, Christopher M. Jones wrote:
 \begin{picture}(0,0) 
 \unitlength=1in
 \put(-.35,-7.25){\line(0,1){7.25}\hspace{1.05\textwidth}\line(0,1){7.25}}
 \end{picture}
 
 The effect this gives me should be repeated on every page. What
 is the best way to achieve this?

I suppose, that this should be some kind header, isn't it? Then,
why not just use \fancyhdr package (it has wonderfull
documentation, so you can made a really wild settings with that)?

Matej




Re: Some problems with lyx 1.1.6fix4 in math mode

2002-05-03 Thread Matej Cepl

On  3 May, Olivier Ripoll wrote:
 1- the brackett/parenthesis palette does not work.
 I know in previous times, left clicking on [ would select [ as
 left bracket, right clicking on } would select } as right
 bracket, but this does not work for me. Actually I cannot have
 any parenthesis apart from (), the default one. I have tried
 to use \{ directly in the math inset, it appears in red, but
 does not show in the output.
 
 2- crashed lyx with this palette
 When I pressed cancel on this palette (or close), LyX crashed

That's strange, both of these worked for me (LyX *fix4 on RedHat
7.0). BTW, I did not know about the first option (setting right
brace by right clicking). Thanks :-).
 
 I hope the 1.2 will be soon here, LyX is really great. I have
 already presented it to 2 collegues who have written their
 thesis with it, and were satisfied (I never heard them shout,
 while LaTeX and Word users are often when writing theirs).

I understand shouting (and crying) of Word users, but LyX use in
background just the same LaTeX as LyX. Why they cry?

Matej




Re: word count

2002-05-03 Thread Matej Cepl

On  3 May, Mark Hansel wrote:
 If you are using a *nix, you can strip all the lyx and latex
 lines from the file and pipe the text only to wc. The idea is
 not mine and appeared on this list about half a year ago. I
 have the command in a script that is sometimes useful.
 
 grep -v [\] $1|grep -v $L yx 1.1 |grep -v ^$
 
 If you understand this, you should be able to figure out what
 to do with it. Make sure to do the right thing with the $1
 (replace with file name or put it back into a script so the $1
 makes sense).
 
 If your are using windows, you have my pity.

There is a program detex, which does basically the same as above
oneliner (only in much more sophisticated manner), so you can do

detex docname.tex | wc -w

(yes, Virginia, both commands DO exist for both *nix and M$-*
systems).

Matej




Re: Caption and rotated table

2002-05-03 Thread Matej Cepl

On  3 May, Jan Warnking wrote:
 I have a table that is rotated by 90deg, and would like to
 rotate the caption, too and have it appear to the right of the
 table (under it if you turn the page to read the table). And
 since the table is just very large, but short, I would like to
 put two of these tables (with their captions) on one page. I
 figure that if I can display one correctly, the rest should be
 easy with minipages. Right now I have the two tables on one
 page, and the captions at the bottom of the page under each
 table (to the left of it if you turn the page). Since the
 tables do not have equal width, this looks awkward, apart from
 the fact that you can't read tables and captions at the same
 time.

There is a document ``Packages in graphics bundle'' (file
grfguide.ps in $TEXMF/doc/latex/graphics) which describes this
and many other issues realting to graphical stuff.

Matej




Re: r(t) with a dot in the top of the r

2002-05-03 Thread Matej Cepl

On  3 May, Fondos wrote:
 I would like to print the letter r(t) with a dot in the top
 of the r (for the usual meaning of derivative respect to
 time), but I can't  figure out how to do it using LyX. Is it
 possible?How?

\.{r}

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488




Re: word count

2002-05-03 Thread Matej Cepl

On  3 May, Steve Litt wrote:
 (yes, Virginia, both commands DO exist for both *nix and M$-*
 systems).
 
 Where would one get detex for Linux?

go to http://www.ctan.org and search for detex. You will get a
tarball, which you can then compile (it is really very simple).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488




Re: figures and enumerate environment

2002-05-06 Thread Matej Cepl

On  6 May, Osvaldo Fornaro wrote:
 I need to put somes floats in a enumerate environment, some
 like exercises and examples. Someone could remember me the
 name of the latex package to do this?

It sounds somehow strange and contradictory to me:

- floats are floats because they float
- all items of environment enumerate should be all in one place

Could you elaborate on your wish a little bit, please?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488




Re: *.lyx~ files

2002-05-07 Thread Matej Cepl

On  7 May, Nirmal Govind wrote:
 How do I get LyX to automatically delete any backup (*.lyx~)
 files when I close a document (after saving it)? I see that
 there's an option to not create backup files in lyxrc but I do
 want to have backup files (while I'm editing the document),
 only that I would prefer to have the backup deleted when I
 either close the saved document or close LyX. Any way to
 achieve this?

You probably cannot do it directly from LyX, but why not you run
lyx from script, which would delete backup file afterwards? I
mean some script like this:

#!/bin/sh
lyx $1
rm $1~

Happy LyXing!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The difference between death and taxes is death doesn't get worse
every time Congress meets
-- Will Rogers





Re: Search Path for dvips

2002-05-13 Thread Matej Cepl

On 13 May, Dave Tweten wrote:
 Initially quoting me, [EMAIL PROTECTED] said:
What can I do to make dvips find the .eps files on some LyX
search path that contains ~/.lyx/clipart/?
 
man kpsepath 
 
 I tried that.  It produced
 
   No manual entry for kpsepath

OK, it is my mistake, dvips does not seem to be able to find
pictures in search path. But (if the number of pictures is small
and there are always the same pictures), why not to make some
script like this which could replace latex in Edit/Configure
(where TeX-LaTeX command is defined):

#!/bin/sh
for img in (~/images/*.eps); do ln -sf $img . ; done
latex $1
rm -f *.eps

(of course you cannot have any .eps files in the actual directory
_before_)?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10,
Somerville, Ma 02143,
(617) 623-1488
 
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.
-- Matthew D. Fuller




Re: Search Path for dvips

2002-05-13 Thread Matej Cepl

On 13 May, To: [EMAIL PROTECTED] wrote:
 On 13 May, Dave Tweten wrote:
 Initially quoting me, [EMAIL PROTECTED] said:
What can I do to make dvips find the .eps files on some LyX
search path that contains ~/.lyx/clipart/?
 
man kpsepath 
 
 I tried that.  It produced
 
  No manual entry for kpsepath
 
 OK, it is my mistake, dvips does not seem to be able to find
 pictures in search path.

OK, this saying that it was mistake, was mistake itself :-)!!!

1) Try running

kpsepath pict

then put your pictures to any directory which is said by kpsepath
to be searched by kpsearch library (i.e., which has three /
characters in the end); I tried ~/.texmf/tex/generic.

2) It should be OK and I have successfully translated it with
LaTeX-dvips way, but pdflatex failed (it is apparently not able
to find images produced by METAPOST, which are not in local
directory).

Any other thoughts anyone?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10,
Somerville, Ma 02143,
(617) 623-1488
 





Re: Subtitle

2002-05-14 Thread Matej Cepl

On 15 May, Peter Prevos wrote:
 How can I have a subtitle in the article class. When I have two
 titles, only one gets printed.

Either use different class (one of many advantages of koma-script
classes is that it has both Subject and Subtitle paragraph
styles) or brutal solution is to put subtitle in the title
separate it by hard-enters (Ctrl-Enter in LyX) and make it
smaller by _brutal force_ (i.e., Layout/Character menu in LyX).

Is it what you want?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10,
Somerville, Ma 02143,
(617) 623-1488
 
Microwave oven?  Whaddya mean, it's a microwave oven?  I've been
watching Channel 4 on the thing for two weeks.




Re: spelling problem!

2002-05-17 Thread Matej Cepl

On 17 May, Angel Parra wrote:
   I have used lyx time ago, but now I can use all the features
 on my languaje (spanish) but not the epell check. It works
 with the correct dictionary, but in words like dia (the
 correct one is da) I get d'ia as option to replace, and
 it marks as wrong the correct words with characters like
 .

Edit/Prefrences/Lang Opt/Language/Use escape characters

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488
 
The ratio of literacy to illiteracy is a constant, but nowadays
the illiterates can read.
-- Alberto Moravia




Re: Search Path for dvips

2002-05-20 Thread Matej Cepl

On 18 May, Dave Tweten wrote:
then put your pictures to any directory which is said by
kpsepath to be searched by kpsearch library (i.e., which has
three / characters in the end);
 
 This suggests one way for LyX itself and for the Ports LyX
 installation to have avoided the problem, by making
 /usr/local/share/lyx/clipart and
 ~/.lyx/clipart be links to directories that are already on the
 correct Kpathsea search paths.

I do not know, why should this be done universally for LyX
itself. As I understand LyX it is not meant to be the tool for
the most stupidiest user (you know, where you find that), but
Unix is collection of tools which anyone can setup to his own
liking. For example, I do not want to have this done by deafult,
because I think that ~/.lyx/clipart has nothing to do with my
images which are somewhere else. On the other hand, you are of
course welcome to do it for yourself.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488
 
Q: Is vi an easy editor to learn, is it intuitive?
A: Yes, some of us think so. But most people think that we are
   crazy.
-- vi FAQ




Re: usepackage bookman for Euro

2002-05-24 Thread Matej Cepl

On 24 May, Peer FRANK wrote:
 So I put \usepackage{eurofont} and \usepackage{bookman} into
 the preamble. But what to do with bookman.sty ?
 Usage of \euro produces the attached error message.

You have not installed your euro font correctly. Try to reread
the documentation for it.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488
 
Economics is the only discipline where two people can win a Nobel
Prize for saying exactly the opposite thing!
-- Eamonn Butler of Adam Smith Institute
   on Nobel Prize awards for year 2001




Export to ASCII

2002-05-24 Thread Matej Cepl

What is the status of %subj%? Does anybody plan to improve it?

Matej
-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488
 
The politician attempts to remedy the evil by increasing the very
thing that caused the evil in the first place: legal plunder.
-- Frederick Bastiat




Shortcut for closing dialog box

2002-05-26 Thread Matej Cepl

I am not able to find a method to close dialog box like for
creating Note (from Insert/Note) or LaTeX preamble (from
Layout/LaTeX layout). I use cua.bind. Where could I find, what
the shortcut is?

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488
 
To err is human, to purr feline.




Re: No keyboard!

2002-05-30 Thread Matej Cepl

On 30 May, Renaud MICHEL wrote:
 I tried the precompiled rpm package, then I compiled it myself
 but when I try to type words in lyx I get nothing except the
 unknown function message in the status bar.
 What is weird is that 1.2.0pre4 worked fine.
 I have Mandrake 8.2 on an Athlon system ans I compiled with the
 gcc 2.96 provided with the distrib.

Try to run lyx from xterm (which is usually good idea, when
something goes wrong). If you will see, that you have some
undefined functions, than you have probably redefined you
{cua,emacs}.bind file in ~/.lyx/bind. Remade your changes to the
new .bind file from /usr/share/lyx. At least it worked for me
(and yes, it would be nice, if it was mentioned in the
announcement, that .bind files are incompatible).

Happy LyXing!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488
 
Opinions founded on prejudice are always sustained with the
greatest violence.
-- Hebrew Proverb




\citep default

2002-05-30 Thread Matej Cepl

Hi,

I like very much support for natbib in 1.2.0, but I have a
question. Is there any way how could I set use of \citep (instead
of \citet) as default?

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488
 
The difference between death and taxes is death doesn't get worse
every time Congress meets
-- Will Rogers




Re: [ANNOUNCE] LyX 1.2.0 is there!

2002-05-31 Thread Matej Cepl

On  1 Jun, Robin wrote:
 sometimes (found this out after I had to downgrade!).

Why did you do so?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488
 
Ask not for whom the telephone bell tolls ... if thou art in the
bathtub, it tolls for thee.




Re: Sans serif for complete document!

2002-06-03 Thread Matej Cepl

On  3 Jun, [EMAIL PROTECTED] wrote:
 However i somehow can't set my complete font to arial/sans
 serif, only the paragraphs. The date at the beginning and my
 page numbers still are in courier
 and i have to set each section to sans serif over and over
 again when writing.

Set Layout/Document/Fonts to default and then add to
Layout/Preamble these two lines:

\renewcommand{\sfdefault}{phv}
\renewcommand{\rmdefault}{\sfdefault}

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488
 
The politician attempts to remedy the evil by increasing the very
thing that caused the evil in the first place: legal plunder.
-- Frederick Bastiat




lyx 1.2.1 package for woody?

2002-09-07 Thread Matej Cepl

Does anybody know about %subj%?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Of all tyrannies, a tyranny exercised for the good of its victims
may be the most oppressive. It may be better to live under robber
barons than under omnipotent moral busybodies. The robber baron's
cruelty may sometimes sleep, his cupidity may at some point be
satiated; but those who torment us for our own good will torment
us without end, for they do so with the approval of their
consciences.
-- C. S. Lewis




lyx 1.2.1 package for woody?

2002-09-08 Thread Matej Cepl

Does anybody know about %subj%?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Of all tyrannies, a tyranny exercised for the good of its victims
may be the most oppressive. It may be better to live under robber
barons than under omnipotent moral busybodies. The robber baron's
cruelty may sometimes sleep, his cupidity may at some point be
satiated; but those who torment us for our own good will torment
us without end, for they do so with the approval of their
consciences.
-- C. S. Lewis




Re: Meaning of sp, bt, bp...

2002-09-10 Thread Matej Cepl

On Tue, Sep 10, 2002 at 06:44:14PM +0800, Hisyam Lee wrote:
 What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu that I
 find it under Doucment Layout/Separation/Default Skip. Actually, what I whan is
 a 2 lines spacing between paragraph.

First run on google gave me:
http://nwalsh.com/tex/texhelp/Plain.html. However, what you want
it \baselineskip (see info latex for more).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
A woman without a man is like a fish without a bicycle.
Therefore, a man without a woman is like a bicycle without
a fish.




Re: latex .aux files ?

2002-09-11 Thread Matej Cepl

On Wed, Sep 11, 2002 at 03:02:23PM +0200, db wrote:
 Where is the latex .aux file when I use Lyx export-latex ?
 
 I try to use pybcompact from pybliographer which is able to extract the 
 citations contained un a latex file into a new .bib file.

ls /tmp/lyxtmpdir*/lyxbuffer*/*.aux

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The politician attempts to remedy the evil by increasing the very
thing that caused the evil in the first place: legal plunder.
-- Frederick Bastiat




Re: bibstyle with last name in smallcaps

2002-09-11 Thread Matej Cepl

On Wed, Sep 11, 2002 at 04:20:14PM +0200, Nabil Hathout wrote:
 I am looking for a bibstyle with last name in smallcaps and
 firt name only capitalized.

I guess that one of the basic .bst files supplied with bibtex
should help you: I am not sure which one (using natbib and oxford
for my needs), but check acm.bst and siam.bst.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
See, when the GOVERNMENT spends money, it creates jobs; whereas
when the money is left in the hands of TAXPAYERS, God only knows
what they do with it. Bake it into pies, probably. Anything to
avoid creating jobs.
-- Dave Barry




Re: Importing HTML

2002-09-11 Thread Matej Cepl

On Wed, Sep 11, 2002 at 06:45:18PM -0400, Paul Tremblay wrote:
 However, these filters have disadvantages. The one that comes to mind is
 the inability to translate styles. Any text marked with a style in Word
 loses this marking when inported into LyX. This is a pretty big
 disadvantge. After all, LyX is a text processing system that does what
 you mean. Style sheets in Word are the best use of the philosophy of
 what you mean. They designate certain blocks of text and allow a user
 to fiddle with formatting later so you can concentrate on writing.

Shouldn't it be possible to translate styles to LaTeX
environments/commands (if necessarily ad hoc created in the
preamble of the translated document)?

Something like

\newenvironment{blocktext}{}{}

should be appropriate mask for the BlockText of Word, which could
be latter changed (in LyX) to make some meaningful change (if
necessary). And of course

\newcommand{\strong}[1]{\textbf{#1}}

could very mask ``a character style'' of Word.

 Writing a translator to convert LyX to XML should also be very easy,
 though I don't know when I'll have time to write one!

Good luck -- your project looks quite interesting!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
As with the Christian religion, the worst advertisement for
Socialism is its adherents.
-- George Orwell




Re: Disable indent

2002-09-12 Thread Matej Cepl

On Thu, Sep 12, 2002 at 05:53:55PM +, robin wrote:
 It doesn't need to be in the preamble, apparently, though I tend to put 
 all global settings there out of habit.  
 
 You can of course use any unit you like (em pt etc.).

It doesn't be there at all -- exactly same commands (except not
using 2mm, but \medskipamount, which is better IMHO) are included
into your document by Layout/Document switched to ``skip'' in the
Pargraph Division (or how it is called, unfortunately I have
a Czech translation of the dialog here).

Have a nice day,

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
In those days spirits were brave, the stakes were high, men were
real men, women were real women and small furry creatures from
Alpha Centauri were real small furry creatures from Alpha
Centauri.
-- Douglas Adams




<    1   2   3   4   5   6   7   8   9   10   >