Re: Rude awakening in 1.4.1

2006-06-29 Thread Georg Baum
Steve Litt wrote:

 Then I copied one of my books to junk.lyx, did a tools-reconfigure (it's
 not edit-reconfigure anymore), and got this error:
 
 
 Using the default document class, because class bliving is unknown.
 
 
 But in fact, I have a bliving.layout in the directory, and a symlink to it
 from /home/slitt/.lyx/layouts/bliving.layout. I'm logged in as slitt.
 
 So something's changed with layout files.

Yes and no. The format has changed, but LyX converts old files on the fly.
Your problem is that with specifying --with-version-suffix=-1.4qt you told
LyX to use /home/slitt/.lyx-1.4qt as personal directory. If it would use
the old one it would really screw up your old LyX.
Simply copy or link all custom layout files
to /home/slitt/.lyx-1.4qt/layouts, and it should work after a reconfigure.


Georg



lyx-1.4.1 to Mandriva 2006

2006-06-29 Thread icebna

Hi all :
Someone can say me, where can find the rpm lyx-1.4.1_qt to Mandriva 2006 
? I have attempt compiled, but don't start. Don't give nothing error, 
but don't start.

Miguel


Re: Rude awakening in 1.4.1

2006-06-29 Thread Jean-Marc Lasgouttes
 Georg == Georg Baum [EMAIL PROTECTED] writes:

 But in fact, I have a bliving.layout in the directory, and a
 symlink to it from /home/slitt/.lyx/layouts/bliving.layout. I'm
 logged in as slitt.

Georg  Simply copy or link all custom layout files to
Georg /home/slitt/.lyx-1.4qt/layouts, and it should work after a
Georg reconfigure.

Isn't it what steve is doing already? [it should also be done for .inc
files used by the layout, of course]

Steve, a ls -l /home/slitt/.lyx-1.4qt/layouts would help clarify :)

JMarc


Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-29 Thread Helge Hafting

Steve Litt wrote:

On Thursday 22 June 2006 07:22 am, Helge Hafting wrote:
  

Jeremy Wells wrote:


For some time I have been evaluating Lyx as an academic word
processor, but find it wanting in a few critical areas.

For instance, the stated goal of Lyx is to spend more time writing,
but less time on formatting. Based on my experience, however, and from
posts to this list, a great deal of time is spent inserting LaTeX tags
into documents.
  

It certainly seems like that, when reading this list.  For inserting latex
tags is the one operation that people really need help with.
The many people who just write and don't use latex tags, don't post much
questions either.



I think what most people need help with is creating layouts. Few people insert 
LaTeX inline into the document. There's a reason it's called EVIL Red Text.


  

In fact, my assessment is that more time is spent making Lyx work
properly than is spent in dealing with a traditional word-processing
environment, be it MS Word or OpenOffice. Moreover, a significant time
investment is required to research the format of the tag and where to
insert it, and then to debug the results. How does this save time?
  

You write lots of documents, all with different and very specific layout
needs?
Then you might need a writing tool more oriented towards layout tweaking.
Lyx may not be the tool if every new document needs a radically different
layout.



That isn't how it works for me. For me, LyX is good even if every book has a 
different layout file. Every one of my books has a different layout, because 
every one has a slightly different intended audience. Yet, every document is 
consistent *within itself*. If it takes 3 months to write a book and you need 
to spend 1 solid week making the layout, is that one week really all that 
significant

Sure, a book is big enough that you can justify spending quite some
time perfecting a custom layout.  After a while you get good at
it too, so it don't take so much time. A good thing with lyx is
that once you have perfected the layout, you can write another
chapter without any more tweaking. :-)

I can only guess that Jeremy writes shorter documents than your books,
all with different styles, seeing how he complains that layout tweaking
takes more time with lyx than other word processors.

Helge Hafting


Re: Typographical/graphical analysis of a document

2006-06-29 Thread Helge Hafting

Les Denham wrote:

On Thursday 22 June 2006 07:54, Martin A. Hansen wrote:Hello All,

[...]


The document contains several errors as far as I can tell: there is a white
space missing after (ii) and the vertical white space between 67. and 68.
institutions should not be there.  Furthermore, I am not sure I like the
choice of fonts (and the high number of fonts used). Finally, I have this
feeling that all blocks of text are aligned in an unpleasing way, but I
cannot say what exactly triggers this feeling. Perhaps somebody can?


I agree on all the points you have made.

One aspect which I find particularly offensive is the use of upper case where 
lower case would traditionally be used and lower case where upper case would 
traditionally be used.


The general feeling of unpleasing alignment is, in my opinion, due to three 
features: justification is by varying word spacing only; kerning is not used 
(look at the spacing of V in the last word of the title); and a sans serif 
font (Officina Sans-Book I'd guess, from the fonts listed by Adobe Reader) is 
used for the bulk of the document, made worse by putting the first page in 
bold.  There's a reason why most printed blocks of text have used a serif 
font for the last three centuries or more: it's easier to read.
  

Also, there is no hyphenation.  This shouldn't happen too often,
but the occational hyphenated word will help prevent the
sometimes excessive variation in interword spacing that we
see here. (See first and last line of point (3) for example.)

Another way of getting nicer interword spacing is to vary the
font width ever so slightly. Lyx will do this too, if the microtype
package is used.

Helge Hafting




Re: Centering image on Lyx 1.4.1

2006-06-29 Thread Helge Hafting

Isaac Pante wrote:

Hello everybody!

I know you have already answered at this question, but all the answers 
didn't worked for me. I'm trying to center a PDF image in my document. 
I made a floatting box, and tried to change the paragraph alignement 
setting to center. But Lyx won't do it.

Lyx can center images within the margins, assuming you set up
the centering _inside_ that floating box.  (Don't turn on
centering before making the float.  Instead, put the cursor
next to the image inside the float and apply centering.)


What is very strange is the fact that the legend is perfectly 
centered, but not the image. I also tried with a BMP image, but with 
the same result. Here is what I get:

http://isaacpante.net/problem.png

As others have pointed out already, the image is too large. Therefore it
doesn't get centered.  There is no space left, so it  is aligned with the
left margin and breaks through the right one. (Centering is
done by distributing leftover space on both sides of the image,
in this case there were no leftover space.)

It is possible to use latex commands to achieve centering in such a
way that the image breaks equally much through the left and the right
margin.  But do you really want that?  It tends to be ugly.

What I do, is to resize such big images so they fit perfectly between
the margins. This is easy in lyx, click on the image to get the
graphichs dialog, and change the output width to 100 line%.
That way, the width of the image will be exactly the width of the line,
and it will be beautifully flush with both margins.  No ugly breaking
through either margin, and perfectly centered too of course.

Helge Hafting


Problem with JabRef on MacOSX

2006-06-29 Thread Isaac Pante

Hello everybody!

I'm trying to import an item of my Jabref bibliography with Lyx 1.4.1  
but it doesn't work.
I went on the wiki to found informations and saw that I had to change  
the path of the pipes in JabRef and in Lyx.
So I wrote /Applications/LyX.app/Contents/Resources/lyxpipe in each  
one but without success.


What am I doing wrong?

Thanks for every answer!

Isaac Pante





Re: Numbered vs. Unnumbered Sectioning

2006-06-29 Thread Helge Hafting

Rich Shepard wrote:

  Why is it that numbered sectioning commands appear both in a
ToC and on the fancy headers, but their unnumbered versions don't? I know
this is a LaTeX action, but I'm wondering why it's this way.


That's the way the standard latex classes are!  Only the numbered types
get in the TOC and the running headers. The numbers may be
turned off though.
  I can see unnumbered sections in the frontmatter of a book or 
report, but
to not have headers with the sectioning titles? And articles -- at 
least in
the science fields in which I am most familiar -- have sections, but 
they're

not numbered. Yet the running heads reflect the page's section.

Go into Document-settings-NumberingTOC.

You have two sliders there.  One decides to what level your
sectioning appear in the TOC.  The other decides to what level
your sectioning is numbered.  Either slider affect only the numbered
types (I.e. section,subsection,..., not section*,subsection*,...)

So, you can have unnumbered sectioning by moving the numbering
slider all the way to the left.  Use the unstarred forms of
section,subsection,... which now will be unnumbered, but they will still
appear in the TOC and the running headers.

The starred forms are always unnumbered, and are meant for use
when you want some unnumbered headings in an otherwise
numbered document. Apparently, Lamport decided such headings
was not important enough to get in the TOC.

If you have a document with numbered sections and want an unnumbered
section to appear in your TOC  running headers, use the Addsec
type instead of section*.  This one is only available in
the koma-script classes.

Alternatively, if you can't use koma-script, use latex commands
like \addcontentsline and \leftmark or \rightmark to force
the unnumbered section name into TOC and running header.

Helge Hafting


Re: Hyphenation depends on formatting?

2006-06-29 Thread Helge Hafting

Reinhard Mayr aka Czerwinski wrote:

Hello,

there is a strange situation with hyphenation that seems to depend on 
my current formatting. The line I wrote is


---
Resulting genotype YRM5: natNT2::PADH-DON1-3mCherry::kanMX6, 
PADH-meGFP::URA3

---

where PADH both times is written with ADH as subscript, therefore 
these 3 letters are in a math box.


When the text is written in upright characters, all is fine. Due to 
nomenclature rules the text has to be italic -- and now the 
hyphenation does not work and the line does not break.


Can anybody please tell me why this is and how to cope with the 
situation?

Well, the italic font does usually not have exactly the same width as
the upright font, so of course it may hyphenate differently from upright 
text.


Switching between italic and upright also inserts italic corrections which
makes for even more difference.

Usually, italic text hyphenates fine, but possibly differently from 
upright text.

(Try it with some paragraphs containing long normal english words.)

Your text have almost no normal words, that may very well cause a
failure to hypenate in some cases.  Bad luck - it worked for upright
but not for the slightly different italic.  I don't think tex will bother
with a hyphen if it doesn't think the result will be any good anyway.

So, with such lines full of very long non-word strings, the solution is
to break the line manually. If you have thousands of such lines and
really need automatic hyphenation, consider creating a custom
hyphenation for the language in use here.

Latex support hyphenation for many languages, but language
hyphenation rules don't work very well with non-word strings.

Helge Hafting


Re: htlatex html conversion best methods

2006-06-29 Thread Helge Hafting

Steve Harris wrote:


Well, both Ares and me use default configurations and my htlatex
process produces good quality images but his doesn't and they
display differently to me than the ones I produce.

Maybe you have a better set of fonts?

Helge Hafting


Re: Problem with aspell and accent's

2006-06-29 Thread Helge Hafting

Gustavo Felisberto wrote:

As can be seen here: http://omploader.org/file/lyx-aspell-pt.png
Lyx and aspell are not workin ok together in words with accents (
portuguese in my case ).

If i start lyx with LC_ALL=C lyx all works ok, but from what i found in the 
wiki this should no longer happen.
  

This is indeed a language problem.  I get the same with norwegian, because
my system is set up to use LANG=nb_NO.UTF-8 and lyx
does not yet support UTF-8.

My solution is to use LANG=nb_NO or LANG=nb_NO.ISO8859-1
when running lyx.  That way, the menus etc. in lyx is still in norwegian,
and there is no problem with non-ascii stuff in the spellchecker either.

I am sure you can do a very similar trick using portuguese language
codes instead of norwegian.

If you don't want to type the portuguese equivalent of
LANG=nb_NO ; lyx
everytime you need to run lyx, then modify your menu system
to run the above command, or make a wrapper script.

A wrapper script can be made like this:
Log in as root, then give these commands:
cd /usr/local/bin  (or /usr/bin if that is where your lyx lives)
mv lyx lyx.real (the lyx application gets a new name)
echo 'LANG=nb_NO;lyx.real $*'  lyx
chmod oug+x lyx


Now lyx is a script that sets the language code, and then runs
lyx.real which is the new name for the lyx application.


Helge Hafting


Change the Chapter font and spacing

2006-06-29 Thread Luqman H

hi,

i'm using report (koma-script) doc class,
i want to change the chapter font to the same font
as report doc class.
and also i want to decrease the spacing before
and after the chapter is written..
how to do that ?

thanks...


export latex error

2006-06-29 Thread Helmut Hauser
Hi everybody,

I just noticed a weird behaviour of Lyx 1.4.1 (running
on Fedora).

If I try to export the file as LaTeX it offers me to
export it to somefigure.eps and asks me if I will
overwrite it. 
somefigure.eps is a figure (in .eps format) I am using
in my Lyx file and which is in the same directory. My
lyxfile.tex doesn't exist yet.

I just wanted to ask if somebody has encountered the
problem too and maybe has to offer a solution.
Otherwise I will report it as a bug.

Thanks a lot,
- helmut






___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


LyX 1.4.1: crash while opening certain file

2006-06-29 Thread Lorenzo Paulatto
I have attached a minimal file example that crashes lyx 1.4.1 when
opened. I hope you can fix it soon.

Bye and many thanks for your software!

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)

 

 

 --

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f

 

 Sponsor:

 TLC Ricerca Consulenti. Settore Telefonia Fissa. Provvigioni a vita sulla 
propria clientela. Entra in www.tlctel.com 

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5385d=29-6

newfile1.lyx
Description: application/lyx


Re: Change the Chapter font and spacing

2006-06-29 Thread Richard Heck

have a look at the titlesec package.

Luqman H wrote:
 hi,

 i'm using report (koma-script) doc class,
 i want to change the chapter font to the same font
 as report doc class.
 and also i want to decrease the spacing before
 and after the chapter is written..
 how to do that ?

 thanks...



Re: LyX 1.4.1: crash while opening certain file

2006-06-29 Thread Jean-Marc Lasgouttes
 Lorenzo == Lorenzo Paulatto [EMAIL PROTECTED] writes:

Lorenzo I have attached a minimal file example that crashes lyx 1.4.1
Lorenzo when opened. I hope you can fix it soon.

This is a bug related with italian documents. It will be fixed in
1.4.2.

JMarc


Re: Rude awakening in 1.4.1

2006-06-29 Thread Steve Litt
On Thursday 29 June 2006 02:34 am, Georg Baum wrote:
 Steve Litt wrote:
  Then I copied one of my books to junk.lyx, did a tools-reconfigure (it's
  not edit-reconfigure anymore), and got this error:
 
  
  Using the default document class, because class bliving is unknown.
  
 
  But in fact, I have a bliving.layout in the directory, and a symlink to
  it from /home/slitt/.lyx/layouts/bliving.layout. I'm logged in as slitt.
 
  So something's changed with layout files.

 Yes and no. The format has changed, but LyX converts old files on the fly.
 Your problem is that with specifying --with-version-suffix=-1.4qt you told
 LyX to use /home/slitt/.lyx-1.4qt as personal directory. If it would use
 the old one it would really screw up your old LyX.
 Simply copy or link all custom layout files
 to /home/slitt/.lyx-1.4qt/layouts, and it should work after a reconfigure.

Thanks Georg, it worked!

Turns out when I compiled lyx-1.4qt, it created /home/slitt/.lyx-1.4qt, but of 
course did not copy my current .layout files 
to /home/slitt/.lyx-1.4q/layouts/, so I did that copy myself, reconfigured 
LyX 1.4.1, and it worked perfectly.

So far I have not seen any serious performance problem with it, although I've 
done only the most rudimentary of testing. If anyone needs info from me to 
figure out why my Qt based LyX moves fast and others move slow, please let me 
know.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Navigation wierd in 1.4.1

2006-06-29 Thread Steve Litt
Hi all,

I just compiled 1.4.1 and tested it against a junk copy of my partially 
completed book, and when I use navigation it lists hundreds of things, some 
of which have a little triangle meaning go down a level,a nd some of which 
don't. My old 1.3.5 simply drilled down one level at a time, and was much 
less confusing. How can I set LyX so it does navigation like 1.3.x, and 
drills down a level at a time.

Thanks

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Character styles in 1.4.1

2006-06-29 Thread Steve Litt
Well, I could RTFM, but I bet a lot of people want to know the same thing, so 
I'll just be lazy and ask. How does one create a character style in 1.4.1, 
and how does one invoke that character style on some highlighted text?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: Character styles in 1.4.1

2006-06-29 Thread Juergen Spitzmueller
Steve Litt wrote:
 Well, I could RTFM, but I bet a lot of people want to know the same thing,
 so I'll just be lazy and ask. How does one create a character style in
 1.4.1, and how does one invoke that character style on some highlighted
 text?

There's no UI for it yet, so you have to define them manually in the layout 
file. An example definition is this:

CharStyle Versal
LatexType Command
LatexName versal
LabelFont
  Family  Roman
  Color   blue
EndFont
Preamble
[EMAIL PROTECTED]
\usepackage{soul}
}{}
[EMAIL PROTECTED]
\DeclareRobustCommand*\versal[1]{%
\MakeUppercase{\scalefont{.92}\null{\caps{#1}}}%
}
}{}
EndPreamble
End

This can be copied into any *.layout file, or better make a mycharstyles.inc, 
and include them in the layout files with
Input mycharstyles.inc

The character styles will then be selectable from the menu.

HTH,
Jürgen


Re: bibtex on windows

2006-06-29 Thread Juergen Spitzmueller
bigot wrote:
 When I try to include a bibtex reference (insert/liststoc/bibtex) the
 computer start looking for something on the disk. When the all disk is
 scaned the bibtex windows appears (20 minutes later). and the same when
 closing the window...

 Does anyone has an idea ? thanks

The shell scripts which are used to generate the lists of bibliography 
databases and style files do not work on windows.

Currently, they are being replaced by python scripts, which will fix the 
problem. However, I fear this will not make it into the next release, but 
probably into 1.4.3.

Jürgen


Re: lyx-1.4.1 to Mandriva 2006

2006-06-29 Thread Paul Smith

On 6/29/06, icebna [EMAIL PROTECTED] wrote:

Someone can say me, where can find the rpm lyx-1.4.1_qt to Mandriva 2006
? I have attempt compiled, but don't start. Don't give nothing error,
but don't start.


Maybe, this is the appropriate time to migrate to Fedora Core. You
will always have available the recentest version of LyX and of very
many others programs.

Paul


Re: lyx-1.4.1 to Mandriva 2006

2006-06-29 Thread Steve Litt
On Thursday 29 June 2006 04:49 pm, Paul Smith wrote:
 On 6/29/06, icebna [EMAIL PROTECTED] wrote:
  Someone can say me, where can find the rpm lyx-1.4.1_qt to Mandriva 2006
  ? I have attempt compiled, but don't start. Don't give nothing error,
  but don't start.

 Maybe, this is the appropriate time to migrate to Fedora Core. You
 will always have available the recentest version of LyX and of very
 many others programs.

 Paul

I just installed on Mandriva 2006 with ./configure;make;make install. The 
process was very easy, and I didn't get any dependency problems. If you like 
Mandriva 2006 (I've been a Mandrake Man since 2000), this might be an 
excellent way to do it, especially because you can retain your old LyX 1.3.5 
that came with Mandriva 2006.

Let me tell you how I did it...

tar xzvf lyx-1.4.1.tar.gz
cd lyx-1.4.1
./configure --with-version-suffix=-1.4.1qt --with-frontend=qt
make
su
make install
exit
cp ~/.lyx/layouts/* ~/.lyx-1.4.1qt/layouts/
lyx-1.4.1qt
#tools-reconfigure
cp mybook.lyx test.lyx
lyx-1.4.1qt   test.lyx

If you have the performance problems reported by some people, you can compile 
it with xforms. Do the same thing as above, except everywhere change qt to 
xforms. This will create a lyx-1.4.1xforms to coexist with your lyx-1.4.1qt 
and lyx.

If you have performance problems, please report it to the list. Then you and I 
can compare everything and find out why you have performance problems and I 
don't, and in doing so, perhaps you and I could help the developers nail this 
elusive bug.

HTH

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Float:Fig Won't Close

2006-06-29 Thread Rich Shepard

  I've been having problems with the grey boxes for floats and footnotes in
1.4.1. I try to block the box to move it and it opens. It takes several tries
-- and some creative cursing -- before I can accomplish the task.

  Now, I've inserted a .pdf image in a figure float, and I cannot close the
float window at all. Every time I click on the grey box the cursor jumps
somewhere (I no longer see it), and the display moves to show the area below
the figure.

  Is it me or something with the new version?

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Wiki: Blocking has been activated for 'ringtone' and 'insurance'

2006-06-29 Thread christian . ridderstrom
There has been several cases of spamming on the wiki regarding ringtones 
and car insurances, so I've activated a recipe that blocks any post (i.e. 
additions to a page) that contain either 'ringtone' or 'insurance'. This 
should prevent the spam from actually being added to any of our wiki 
pages.


The list of words that are blocked is actually controlled by this wiki 
page


http://wiki.lyx.org/Site/Blocklist

so if necessary, you can change these settings. Be careful of what you do 
however...



I'm off on vacation now, so I hope this will take care of the spam problem 
for now.


Happy summer to everyone!
/Christian

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

Widows and Orphans

2006-06-29 Thread Rich Shepard

  I have a widow line: the last line of a paragraph that is the first line on
the following page; it's actually the last line of the report chapter, which
makes it look worse.

  I _thought_ there was a macro to extend the page, but I cannot find a
reference to it. Nothing in TLC2 that helps. Google found a page from Purdue
University (where all the chickens go before the end up in the supermarket)
that suggested using \widowpenalty=450. I put that in the preamble, but
there's no joy yet.

  Please pass me a clue stick on how to fix this. It does come up now and
then and I do need to take care of the instances.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Rude awakening in 1.4.1

2006-06-29 Thread Georg Baum
Steve Litt wrote:

 Then I copied one of my books to junk.lyx, did a tools-reconfigure (it's
 not edit-reconfigure anymore), and got this error:
 
 
 Using the default document class, because class bliving is unknown.
 
 
 But in fact, I have a bliving.layout in the directory, and a symlink to it
 from /home/slitt/.lyx/layouts/bliving.layout. I'm logged in as slitt.
 
 So something's changed with layout files.

Yes and no. The format has changed, but LyX converts old files on the fly.
Your problem is that with specifying --with-version-suffix=-1.4qt you told
LyX to use /home/slitt/.lyx-1.4qt as personal directory. If it would use
the old one it would really screw up your old LyX.
Simply copy or link all custom layout files
to /home/slitt/.lyx-1.4qt/layouts, and it should work after a reconfigure.


Georg



lyx-1.4.1 to Mandriva 2006

2006-06-29 Thread icebna

Hi all :
Someone can say me, where can find the rpm lyx-1.4.1_qt to Mandriva 2006 
? I have attempt compiled, but don't start. Don't give nothing error, 
but don't start.

Miguel


Re: Rude awakening in 1.4.1

2006-06-29 Thread Jean-Marc Lasgouttes
 Georg == Georg Baum [EMAIL PROTECTED] writes:

 But in fact, I have a bliving.layout in the directory, and a
 symlink to it from /home/slitt/.lyx/layouts/bliving.layout. I'm
 logged in as slitt.

Georg  Simply copy or link all custom layout files to
Georg /home/slitt/.lyx-1.4qt/layouts, and it should work after a
Georg reconfigure.

Isn't it what steve is doing already? [it should also be done for .inc
files used by the layout, of course]

Steve, a ls -l /home/slitt/.lyx-1.4qt/layouts would help clarify :)

JMarc


Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-29 Thread Helge Hafting

Steve Litt wrote:

On Thursday 22 June 2006 07:22 am, Helge Hafting wrote:
  

Jeremy Wells wrote:


For some time I have been evaluating Lyx as an academic word
processor, but find it wanting in a few critical areas.

For instance, the stated goal of Lyx is to spend more time writing,
but less time on formatting. Based on my experience, however, and from
posts to this list, a great deal of time is spent inserting LaTeX tags
into documents.
  

It certainly seems like that, when reading this list.  For inserting latex
tags is the one operation that people really need help with.
The many people who just write and don't use latex tags, don't post much
questions either.



I think what most people need help with is creating layouts. Few people insert 
LaTeX inline into the document. There's a reason it's called EVIL Red Text.


  

In fact, my assessment is that more time is spent making Lyx work
properly than is spent in dealing with a traditional word-processing
environment, be it MS Word or OpenOffice. Moreover, a significant time
investment is required to research the format of the tag and where to
insert it, and then to debug the results. How does this save time?
  

You write lots of documents, all with different and very specific layout
needs?
Then you might need a writing tool more oriented towards layout tweaking.
Lyx may not be the tool if every new document needs a radically different
layout.



That isn't how it works for me. For me, LyX is good even if every book has a 
different layout file. Every one of my books has a different layout, because 
every one has a slightly different intended audience. Yet, every document is 
consistent *within itself*. If it takes 3 months to write a book and you need 
to spend 1 solid week making the layout, is that one week really all that 
significant

Sure, a book is big enough that you can justify spending quite some
time perfecting a custom layout.  After a while you get good at
it too, so it don't take so much time. A good thing with lyx is
that once you have perfected the layout, you can write another
chapter without any more tweaking. :-)

I can only guess that Jeremy writes shorter documents than your books,
all with different styles, seeing how he complains that layout tweaking
takes more time with lyx than other word processors.

Helge Hafting


Re: Typographical/graphical analysis of a document

2006-06-29 Thread Helge Hafting

Les Denham wrote:

On Thursday 22 June 2006 07:54, Martin A. Hansen wrote:Hello All,

[...]


The document contains several errors as far as I can tell: there is a white
space missing after (ii) and the vertical white space between 67. and 68.
institutions should not be there.  Furthermore, I am not sure I like the
choice of fonts (and the high number of fonts used). Finally, I have this
feeling that all blocks of text are aligned in an unpleasing way, but I
cannot say what exactly triggers this feeling. Perhaps somebody can?


I agree on all the points you have made.

One aspect which I find particularly offensive is the use of upper case where 
lower case would traditionally be used and lower case where upper case would 
traditionally be used.


The general feeling of unpleasing alignment is, in my opinion, due to three 
features: justification is by varying word spacing only; kerning is not used 
(look at the spacing of V in the last word of the title); and a sans serif 
font (Officina Sans-Book I'd guess, from the fonts listed by Adobe Reader) is 
used for the bulk of the document, made worse by putting the first page in 
bold.  There's a reason why most printed blocks of text have used a serif 
font for the last three centuries or more: it's easier to read.
  

Also, there is no hyphenation.  This shouldn't happen too often,
but the occational hyphenated word will help prevent the
sometimes excessive variation in interword spacing that we
see here. (See first and last line of point (3) for example.)

Another way of getting nicer interword spacing is to vary the
font width ever so slightly. Lyx will do this too, if the microtype
package is used.

Helge Hafting




Re: Centering image on Lyx 1.4.1

2006-06-29 Thread Helge Hafting

Isaac Pante wrote:

Hello everybody!

I know you have already answered at this question, but all the answers 
didn't worked for me. I'm trying to center a PDF image in my document. 
I made a floatting box, and tried to change the paragraph alignement 
setting to center. But Lyx won't do it.

Lyx can center images within the margins, assuming you set up
the centering _inside_ that floating box.  (Don't turn on
centering before making the float.  Instead, put the cursor
next to the image inside the float and apply centering.)


What is very strange is the fact that the legend is perfectly 
centered, but not the image. I also tried with a BMP image, but with 
the same result. Here is what I get:

http://isaacpante.net/problem.png

As others have pointed out already, the image is too large. Therefore it
doesn't get centered.  There is no space left, so it  is aligned with the
left margin and breaks through the right one. (Centering is
done by distributing leftover space on both sides of the image,
in this case there were no leftover space.)

It is possible to use latex commands to achieve centering in such a
way that the image breaks equally much through the left and the right
margin.  But do you really want that?  It tends to be ugly.

What I do, is to resize such big images so they fit perfectly between
the margins. This is easy in lyx, click on the image to get the
graphichs dialog, and change the output width to 100 line%.
That way, the width of the image will be exactly the width of the line,
and it will be beautifully flush with both margins.  No ugly breaking
through either margin, and perfectly centered too of course.

Helge Hafting


Problem with JabRef on MacOSX

2006-06-29 Thread Isaac Pante

Hello everybody!

I'm trying to import an item of my Jabref bibliography with Lyx 1.4.1  
but it doesn't work.
I went on the wiki to found informations and saw that I had to change  
the path of the pipes in JabRef and in Lyx.
So I wrote /Applications/LyX.app/Contents/Resources/lyxpipe in each  
one but without success.


What am I doing wrong?

Thanks for every answer!

Isaac Pante





Re: Numbered vs. Unnumbered Sectioning

2006-06-29 Thread Helge Hafting

Rich Shepard wrote:

  Why is it that numbered sectioning commands appear both in a
ToC and on the fancy headers, but their unnumbered versions don't? I know
this is a LaTeX action, but I'm wondering why it's this way.


That's the way the standard latex classes are!  Only the numbered types
get in the TOC and the running headers. The numbers may be
turned off though.
  I can see unnumbered sections in the frontmatter of a book or 
report, but
to not have headers with the sectioning titles? And articles -- at 
least in
the science fields in which I am most familiar -- have sections, but 
they're

not numbered. Yet the running heads reflect the page's section.

Go into Document-settings-NumberingTOC.

You have two sliders there.  One decides to what level your
sectioning appear in the TOC.  The other decides to what level
your sectioning is numbered.  Either slider affect only the numbered
types (I.e. section,subsection,..., not section*,subsection*,...)

So, you can have unnumbered sectioning by moving the numbering
slider all the way to the left.  Use the unstarred forms of
section,subsection,... which now will be unnumbered, but they will still
appear in the TOC and the running headers.

The starred forms are always unnumbered, and are meant for use
when you want some unnumbered headings in an otherwise
numbered document. Apparently, Lamport decided such headings
was not important enough to get in the TOC.

If you have a document with numbered sections and want an unnumbered
section to appear in your TOC  running headers, use the Addsec
type instead of section*.  This one is only available in
the koma-script classes.

Alternatively, if you can't use koma-script, use latex commands
like \addcontentsline and \leftmark or \rightmark to force
the unnumbered section name into TOC and running header.

Helge Hafting


Re: Hyphenation depends on formatting?

2006-06-29 Thread Helge Hafting

Reinhard Mayr aka Czerwinski wrote:

Hello,

there is a strange situation with hyphenation that seems to depend on 
my current formatting. The line I wrote is


---
Resulting genotype YRM5: natNT2::PADH-DON1-3mCherry::kanMX6, 
PADH-meGFP::URA3

---

where PADH both times is written with ADH as subscript, therefore 
these 3 letters are in a math box.


When the text is written in upright characters, all is fine. Due to 
nomenclature rules the text has to be italic -- and now the 
hyphenation does not work and the line does not break.


Can anybody please tell me why this is and how to cope with the 
situation?

Well, the italic font does usually not have exactly the same width as
the upright font, so of course it may hyphenate differently from upright 
text.


Switching between italic and upright also inserts italic corrections which
makes for even more difference.

Usually, italic text hyphenates fine, but possibly differently from 
upright text.

(Try it with some paragraphs containing long normal english words.)

Your text have almost no normal words, that may very well cause a
failure to hypenate in some cases.  Bad luck - it worked for upright
but not for the slightly different italic.  I don't think tex will bother
with a hyphen if it doesn't think the result will be any good anyway.

So, with such lines full of very long non-word strings, the solution is
to break the line manually. If you have thousands of such lines and
really need automatic hyphenation, consider creating a custom
hyphenation for the language in use here.

Latex support hyphenation for many languages, but language
hyphenation rules don't work very well with non-word strings.

Helge Hafting


Re: htlatex html conversion best methods

2006-06-29 Thread Helge Hafting

Steve Harris wrote:


Well, both Ares and me use default configurations and my htlatex
process produces good quality images but his doesn't and they
display differently to me than the ones I produce.

Maybe you have a better set of fonts?

Helge Hafting


Re: Problem with aspell and accent's

2006-06-29 Thread Helge Hafting

Gustavo Felisberto wrote:

As can be seen here: http://omploader.org/file/lyx-aspell-pt.png
Lyx and aspell are not workin ok together in words with accents (
portuguese in my case ).

If i start lyx with LC_ALL=C lyx all works ok, but from what i found in the 
wiki this should no longer happen.
  

This is indeed a language problem.  I get the same with norwegian, because
my system is set up to use LANG=nb_NO.UTF-8 and lyx
does not yet support UTF-8.

My solution is to use LANG=nb_NO or LANG=nb_NO.ISO8859-1
when running lyx.  That way, the menus etc. in lyx is still in norwegian,
and there is no problem with non-ascii stuff in the spellchecker either.

I am sure you can do a very similar trick using portuguese language
codes instead of norwegian.

If you don't want to type the portuguese equivalent of
LANG=nb_NO ; lyx
everytime you need to run lyx, then modify your menu system
to run the above command, or make a wrapper script.

A wrapper script can be made like this:
Log in as root, then give these commands:
cd /usr/local/bin  (or /usr/bin if that is where your lyx lives)
mv lyx lyx.real (the lyx application gets a new name)
echo 'LANG=nb_NO;lyx.real $*'  lyx
chmod oug+x lyx


Now lyx is a script that sets the language code, and then runs
lyx.real which is the new name for the lyx application.


Helge Hafting


Change the Chapter font and spacing

2006-06-29 Thread Luqman H

hi,

i'm using report (koma-script) doc class,
i want to change the chapter font to the same font
as report doc class.
and also i want to decrease the spacing before
and after the chapter is written..
how to do that ?

thanks...


export latex error

2006-06-29 Thread Helmut Hauser
Hi everybody,

I just noticed a weird behaviour of Lyx 1.4.1 (running
on Fedora).

If I try to export the file as LaTeX it offers me to
export it to somefigure.eps and asks me if I will
overwrite it. 
somefigure.eps is a figure (in .eps format) I am using
in my Lyx file and which is in the same directory. My
lyxfile.tex doesn't exist yet.

I just wanted to ask if somebody has encountered the
problem too and maybe has to offer a solution.
Otherwise I will report it as a bug.

Thanks a lot,
- helmut






___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


LyX 1.4.1: crash while opening certain file

2006-06-29 Thread Lorenzo Paulatto
I have attached a minimal file example that crashes lyx 1.4.1 when
opened. I hope you can fix it soon.

Bye and many thanks for your software!

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)

 

 

 --

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f

 

 Sponsor:

 TLC Ricerca Consulenti. Settore Telefonia Fissa. Provvigioni a vita sulla 
propria clientela. Entra in www.tlctel.com 

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5385d=29-6

newfile1.lyx
Description: application/lyx


Re: Change the Chapter font and spacing

2006-06-29 Thread Richard Heck

have a look at the titlesec package.

Luqman H wrote:
 hi,

 i'm using report (koma-script) doc class,
 i want to change the chapter font to the same font
 as report doc class.
 and also i want to decrease the spacing before
 and after the chapter is written..
 how to do that ?

 thanks...



Re: LyX 1.4.1: crash while opening certain file

2006-06-29 Thread Jean-Marc Lasgouttes
 Lorenzo == Lorenzo Paulatto [EMAIL PROTECTED] writes:

Lorenzo I have attached a minimal file example that crashes lyx 1.4.1
Lorenzo when opened. I hope you can fix it soon.

This is a bug related with italian documents. It will be fixed in
1.4.2.

JMarc


Re: Rude awakening in 1.4.1

2006-06-29 Thread Steve Litt
On Thursday 29 June 2006 02:34 am, Georg Baum wrote:
 Steve Litt wrote:
  Then I copied one of my books to junk.lyx, did a tools-reconfigure (it's
  not edit-reconfigure anymore), and got this error:
 
  
  Using the default document class, because class bliving is unknown.
  
 
  But in fact, I have a bliving.layout in the directory, and a symlink to
  it from /home/slitt/.lyx/layouts/bliving.layout. I'm logged in as slitt.
 
  So something's changed with layout files.

 Yes and no. The format has changed, but LyX converts old files on the fly.
 Your problem is that with specifying --with-version-suffix=-1.4qt you told
 LyX to use /home/slitt/.lyx-1.4qt as personal directory. If it would use
 the old one it would really screw up your old LyX.
 Simply copy or link all custom layout files
 to /home/slitt/.lyx-1.4qt/layouts, and it should work after a reconfigure.

Thanks Georg, it worked!

Turns out when I compiled lyx-1.4qt, it created /home/slitt/.lyx-1.4qt, but of 
course did not copy my current .layout files 
to /home/slitt/.lyx-1.4q/layouts/, so I did that copy myself, reconfigured 
LyX 1.4.1, and it worked perfectly.

So far I have not seen any serious performance problem with it, although I've 
done only the most rudimentary of testing. If anyone needs info from me to 
figure out why my Qt based LyX moves fast and others move slow, please let me 
know.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Navigation wierd in 1.4.1

2006-06-29 Thread Steve Litt
Hi all,

I just compiled 1.4.1 and tested it against a junk copy of my partially 
completed book, and when I use navigation it lists hundreds of things, some 
of which have a little triangle meaning go down a level,a nd some of which 
don't. My old 1.3.5 simply drilled down one level at a time, and was much 
less confusing. How can I set LyX so it does navigation like 1.3.x, and 
drills down a level at a time.

Thanks

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Character styles in 1.4.1

2006-06-29 Thread Steve Litt
Well, I could RTFM, but I bet a lot of people want to know the same thing, so 
I'll just be lazy and ask. How does one create a character style in 1.4.1, 
and how does one invoke that character style on some highlighted text?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: Character styles in 1.4.1

2006-06-29 Thread Juergen Spitzmueller
Steve Litt wrote:
 Well, I could RTFM, but I bet a lot of people want to know the same thing,
 so I'll just be lazy and ask. How does one create a character style in
 1.4.1, and how does one invoke that character style on some highlighted
 text?

There's no UI for it yet, so you have to define them manually in the layout 
file. An example definition is this:

CharStyle Versal
LatexType Command
LatexName versal
LabelFont
  Family  Roman
  Color   blue
EndFont
Preamble
[EMAIL PROTECTED]
\usepackage{soul}
}{}
[EMAIL PROTECTED]
\DeclareRobustCommand*\versal[1]{%
\MakeUppercase{\scalefont{.92}\null{\caps{#1}}}%
}
}{}
EndPreamble
End

This can be copied into any *.layout file, or better make a mycharstyles.inc, 
and include them in the layout files with
Input mycharstyles.inc

The character styles will then be selectable from the menu.

HTH,
Jürgen


Re: bibtex on windows

2006-06-29 Thread Juergen Spitzmueller
bigot wrote:
 When I try to include a bibtex reference (insert/liststoc/bibtex) the
 computer start looking for something on the disk. When the all disk is
 scaned the bibtex windows appears (20 minutes later). and the same when
 closing the window...

 Does anyone has an idea ? thanks

The shell scripts which are used to generate the lists of bibliography 
databases and style files do not work on windows.

Currently, they are being replaced by python scripts, which will fix the 
problem. However, I fear this will not make it into the next release, but 
probably into 1.4.3.

Jürgen


Re: lyx-1.4.1 to Mandriva 2006

2006-06-29 Thread Paul Smith

On 6/29/06, icebna [EMAIL PROTECTED] wrote:

Someone can say me, where can find the rpm lyx-1.4.1_qt to Mandriva 2006
? I have attempt compiled, but don't start. Don't give nothing error,
but don't start.


Maybe, this is the appropriate time to migrate to Fedora Core. You
will always have available the recentest version of LyX and of very
many others programs.

Paul


Re: lyx-1.4.1 to Mandriva 2006

2006-06-29 Thread Steve Litt
On Thursday 29 June 2006 04:49 pm, Paul Smith wrote:
 On 6/29/06, icebna [EMAIL PROTECTED] wrote:
  Someone can say me, where can find the rpm lyx-1.4.1_qt to Mandriva 2006
  ? I have attempt compiled, but don't start. Don't give nothing error,
  but don't start.

 Maybe, this is the appropriate time to migrate to Fedora Core. You
 will always have available the recentest version of LyX and of very
 many others programs.

 Paul

I just installed on Mandriva 2006 with ./configure;make;make install. The 
process was very easy, and I didn't get any dependency problems. If you like 
Mandriva 2006 (I've been a Mandrake Man since 2000), this might be an 
excellent way to do it, especially because you can retain your old LyX 1.3.5 
that came with Mandriva 2006.

Let me tell you how I did it...

tar xzvf lyx-1.4.1.tar.gz
cd lyx-1.4.1
./configure --with-version-suffix=-1.4.1qt --with-frontend=qt
make
su
make install
exit
cp ~/.lyx/layouts/* ~/.lyx-1.4.1qt/layouts/
lyx-1.4.1qt
#tools-reconfigure
cp mybook.lyx test.lyx
lyx-1.4.1qt   test.lyx

If you have the performance problems reported by some people, you can compile 
it with xforms. Do the same thing as above, except everywhere change qt to 
xforms. This will create a lyx-1.4.1xforms to coexist with your lyx-1.4.1qt 
and lyx.

If you have performance problems, please report it to the list. Then you and I 
can compare everything and find out why you have performance problems and I 
don't, and in doing so, perhaps you and I could help the developers nail this 
elusive bug.

HTH

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Float:Fig Won't Close

2006-06-29 Thread Rich Shepard

  I've been having problems with the grey boxes for floats and footnotes in
1.4.1. I try to block the box to move it and it opens. It takes several tries
-- and some creative cursing -- before I can accomplish the task.

  Now, I've inserted a .pdf image in a figure float, and I cannot close the
float window at all. Every time I click on the grey box the cursor jumps
somewhere (I no longer see it), and the display moves to show the area below
the figure.

  Is it me or something with the new version?

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Wiki: Blocking has been activated for 'ringtone' and 'insurance'

2006-06-29 Thread christian . ridderstrom
There has been several cases of spamming on the wiki regarding ringtones 
and car insurances, so I've activated a recipe that blocks any post (i.e. 
additions to a page) that contain either 'ringtone' or 'insurance'. This 
should prevent the spam from actually being added to any of our wiki 
pages.


The list of words that are blocked is actually controlled by this wiki 
page


http://wiki.lyx.org/Site/Blocklist

so if necessary, you can change these settings. Be careful of what you do 
however...



I'm off on vacation now, so I hope this will take care of the spam problem 
for now.


Happy summer to everyone!
/Christian

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

Widows and Orphans

2006-06-29 Thread Rich Shepard

  I have a widow line: the last line of a paragraph that is the first line on
the following page; it's actually the last line of the report chapter, which
makes it look worse.

  I _thought_ there was a macro to extend the page, but I cannot find a
reference to it. Nothing in TLC2 that helps. Google found a page from Purdue
University (where all the chickens go before the end up in the supermarket)
that suggested using \widowpenalty=450. I put that in the preamble, but
there's no joy yet.

  Please pass me a clue stick on how to fix this. It does come up now and
then and I do need to take care of the instances.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Rude awakening in 1.4.1

2006-06-29 Thread Georg Baum
Steve Litt wrote:

> Then I copied one of my books to junk.lyx, did a tools->reconfigure (it's
> not edit->reconfigure anymore), and got this error:
> 
> 
> Using the default document class, because class bliving is unknown.
> 
> 
> But in fact, I have a bliving.layout in the directory, and a symlink to it
> from /home/slitt/.lyx/layouts/bliving.layout. I'm logged in as slitt.
> 
> So something's changed with layout files.

Yes and no. The format has changed, but LyX converts old files on the fly.
Your problem is that with specifying --with-version-suffix=-1.4qt you told
LyX to use /home/slitt/.lyx-1.4qt as personal directory. If it would use
the old one it would really screw up your old LyX.
Simply copy or link all custom layout files
to /home/slitt/.lyx-1.4qt/layouts, and it should work after a reconfigure.


Georg



lyx-1.4.1 to Mandriva 2006

2006-06-29 Thread icebna

Hi all :
Someone can say me, where can find the rpm lyx-1.4.1_qt to Mandriva 2006 
? I have attempt compiled, but don't start. Don't give nothing error, 
but don't start.

Miguel


Re: Rude awakening in 1.4.1

2006-06-29 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

>> But in fact, I have a bliving.layout in the directory, and a
>> symlink to it from /home/slitt/.lyx/layouts/bliving.layout. I'm
>> logged in as slitt.

Georg>  Simply copy or link all custom layout files to
Georg> /home/slitt/.lyx-1.4qt/layouts, and it should work after a
Georg> reconfigure.

Isn't it what steve is doing already? [it should also be done for .inc
files used by the layout, of course]

Steve, a "ls -l /home/slitt/.lyx-1.4qt/layouts" would help clarify :)

JMarc


Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-29 Thread Helge Hafting

Steve Litt wrote:

On Thursday 22 June 2006 07:22 am, Helge Hafting wrote:
  

Jeremy Wells wrote:


For some time I have been evaluating Lyx as an academic word
processor, but find it wanting in a few critical areas.

For instance, the stated goal of Lyx is to spend more time writing,
but less time on formatting. Based on my experience, however, and from
posts to this list, a great deal of time is spent inserting LaTeX tags
into documents.
  

It certainly seems like that, when reading this list.  For inserting latex
tags is the one operation that people really need help with.
The many people who just write and don't use latex tags, don't post much
questions either.



I think what most people need help with is creating layouts. Few people insert 
LaTeX inline into the document. There's a reason it's called EVIL Red Text.


  

In fact, my assessment is that more time is spent making Lyx work
properly than is spent in dealing with a traditional word-processing
environment, be it MS Word or OpenOffice. Moreover, a significant time
investment is required to research the format of the tag and where to
insert it, and then to debug the results. How does this save time?
  

You write lots of documents, all with different and very specific layout
needs?
Then you might need a writing tool more oriented towards layout tweaking.
Lyx may not be the tool if every new document needs a radically different
layout.



That isn't how it works for me. For me, LyX is good even if every book has a 
different layout file. Every one of my books has a different layout, because 
every one has a slightly different intended audience. Yet, every document is 
consistent *within itself*. If it takes 3 months to write a book and you need 
to spend 1 solid week making the layout, is that one week really all that 
significant

Sure, a book is big enough that you can justify spending quite some
time perfecting a custom layout.  After a while you get good at
it too, so it don't take so much time. A good thing with lyx is
that once you have perfected the layout, you can write another
chapter without any more tweaking. :-)

I can only guess that Jeremy writes shorter documents than your books,
all with different styles, seeing how he complains that layout tweaking
takes more time with lyx than other word processors.

Helge Hafting


Re: Typographical/graphical analysis of a document

2006-06-29 Thread Helge Hafting

Les Denham wrote:

On Thursday 22 June 2006 07:54, Martin A. Hansen wrote:Hello All,

[...]


The document contains several errors as far as I can tell: there is a white
space missing after (ii) and the vertical white space between 67. and 68.
institutions should not be there.  Furthermore, I am not sure I like the
choice of fonts (and the high number of fonts used). Finally, I have this
feeling that all blocks of text are aligned in an unpleasing way, but I
cannot say what exactly triggers this feeling. Perhaps somebody can?


I agree on all the points you have made.

One aspect which I find particularly offensive is the use of upper case where 
lower case would traditionally be used and lower case where upper case would 
traditionally be used.


The general feeling of unpleasing alignment is, in my opinion, due to three 
features: justification is by varying word spacing only; kerning is not used 
(look at the spacing of "V" in the last word of the title); and a sans serif 
font (Officina Sans-Book I'd guess, from the fonts listed by Adobe Reader) is 
used for the bulk of the document, made worse by putting the first page in 
bold.  There's a reason why most printed blocks of text have used a serif 
font for the last three centuries or more: it's easier to read.
  

Also, there is no hyphenation.  This shouldn't happen too often,
but the occational hyphenated word will help prevent the
sometimes excessive variation in interword spacing that we
see here. (See first and last line of point (3) for example.)

Another way of getting nicer interword spacing is to vary the
font width ever so slightly. Lyx will do this too, if the microtype
package is used.

Helge Hafting




Re: Centering image on Lyx 1.4.1

2006-06-29 Thread Helge Hafting

Isaac Pante wrote:

Hello everybody!

I know you have already answered at this question, but all the answers 
didn't worked for me. I'm trying to center a PDF image in my document. 
I made a floatting box, and tried to change the "paragraph" alignement 
setting to "center". But Lyx won't do it.

Lyx can center images within the margins, assuming you set up
the centering _inside_ that floating box.  (Don't turn on
centering before making the float.  Instead, put the cursor
next to the image inside the float and apply centering.)


What is very strange is the fact that the legend is perfectly 
centered, but not the image. I also tried with a BMP image, but with 
the same result. Here is what I get:

http://isaacpante.net/problem.png

As others have pointed out already, the image is too large. Therefore it
doesn't get centered.  There is no space left, so it  is aligned with the
left margin and breaks through the right one. (Centering is
done by distributing leftover space on both sides of the image,
in this case there were no leftover space.)

It is possible to use latex commands to achieve "centering" in such a
way that the image breaks equally much through the left and the right
margin.  But do you really want that?  It tends to be ugly.

What I do, is to resize such big images so they fit perfectly between
the margins. This is easy in lyx, click on the image to get the
graphichs dialog, and change the output width to 100 line%.
That way, the width of the image will be exactly the width of the line,
and it will be beautifully flush with both margins.  No ugly breaking
through either margin, and perfectly centered too of course.

Helge Hafting


Problem with JabRef on MacOSX

2006-06-29 Thread Isaac Pante

Hello everybody!

I'm trying to import an item of my Jabref bibliography with Lyx 1.4.1  
but it doesn't work.
I went on the wiki to found informations and saw that I had to change  
the path of the pipes in JabRef and in Lyx.
So I wrote "/Applications/LyX.app/Contents/Resources/lyxpipe" in each  
one but without success.


What am I doing wrong?

Thanks for every answer!

Isaac Pante





Re: Numbered vs. Unnumbered Sectioning

2006-06-29 Thread Helge Hafting

Rich Shepard wrote:

  Why is it that numbered sectioning commands appear both in a
ToC and on the fancy headers, but their unnumbered versions don't? I know
this is a LaTeX action, but I'm wondering why it's this way.


That's the way the standard latex classes are!  Only the numbered types
get in the TOC and the running headers. The numbers may be
turned off though.
  I can see unnumbered sections in the frontmatter of a book or 
report, but
to not have headers with the sectioning titles? And articles -- at 
least in
the science fields in which I am most familiar -- have sections, but 
they're

not numbered. Yet the running heads reflect the page's section.

Go into Document->settings->Numbering

You have two sliders there.  One decides to what level your
sectioning appear in the TOC.  The other decides to what level
your sectioning is numbered.  Either slider affect only the "numbered"
types (I.e. section,subsection,..., not section*,subsection*,...)

So, you can have unnumbered sectioning by moving the "numbering"
slider all the way to the left.  Use the unstarred forms of
section,subsection,... which now will be unnumbered, but they will still
appear in the TOC and the running headers.

The starred forms are always unnumbered, and are meant for use
when you want some unnumbered headings in an otherwise
numbered document. Apparently, Lamport decided such headings
was not important enough to get in the TOC.

If you have a document with numbered sections and want an unnumbered
section to appear in your TOC & running headers, use the "Addsec"
type instead of "section*".  This one is only available in
the koma-script classes.

Alternatively, if you can't use koma-script, use latex commands
like \addcontentsline and \leftmark or \rightmark to force
the unnumbered section name into TOC and running header.

Helge Hafting


Re: Hyphenation depends on formatting?

2006-06-29 Thread Helge Hafting

Reinhard Mayr aka Czerwinski wrote:

Hello,

there is a strange situation with hyphenation that seems to depend on 
my current formatting. The line I wrote is


---
Resulting genotype YRM5: natNT2::PADH-DON1-3mCherry::kanMX6, 
PADH-meGFP::URA3

---

where "PADH" both times is written with ADH as subscript, therefore 
these 3 letters are in a math box.


When the text is written in upright characters, all is fine. Due to 
nomenclature rules the text has to be italic -- and now the 
hyphenation does not work and the line does not break.


Can anybody please tell me why this is and how to cope with the 
situation?

Well, the italic font does usually not have exactly the same width as
the upright font, so of course it may hyphenate differently from upright 
text.


Switching between italic and upright also inserts italic corrections which
makes for even more difference.

Usually, italic text hyphenates fine, but possibly differently from 
upright text.

(Try it with some paragraphs containing long normal english words.)

Your text have almost no normal words, that may very well cause a
failure to hypenate in some cases.  Bad luck - it worked for upright
but not for the slightly different italic.  I don't think tex will bother
with a hyphen if it doesn't think the result will be any good anyway.

So, with such lines full of very long non-word strings, the solution is
to break the line manually. If you have thousands of such lines and
really need automatic hyphenation, consider creating a custom
hyphenation for the "language" in use here.

Latex support hyphenation for many languages, but language
hyphenation rules don't work very well with non-word strings.

Helge Hafting


Re: htlatex html conversion best methods

2006-06-29 Thread Helge Hafting

Steve Harris wrote:


Well, both Ares and me use default configurations and my htlatex
process produces good quality images but his doesn't and they
display differently to me than the ones I produce.

Maybe you have a better set of fonts?

Helge Hafting


Re: Problem with aspell and accent's

2006-06-29 Thread Helge Hafting

Gustavo Felisberto wrote:

As can be seen here: http://omploader.org/file/lyx-aspell-pt.png
Lyx and aspell are not workin ok together in words with accents (
portuguese in my case ).

If i start lyx with LC_ALL=C lyx all works ok, but from what i found in the 
wiki this should no longer happen.
  

This is indeed a language problem.  I get the same with norwegian, because
my system is set up to use LANG=nb_NO.UTF-8 and lyx
does not yet support UTF-8.

My solution is to use LANG=nb_NO or LANG=nb_NO.ISO8859-1
when running lyx.  That way, the menus etc. in lyx is still in norwegian,
and there is no problem with non-ascii stuff in the spellchecker either.

I am sure you can do a very similar trick using portuguese language
codes instead of norwegian.

If you don't want to type the portuguese equivalent of
LANG=nb_NO ; lyx
everytime you need to run lyx, then modify your menu system
to run the above command, or make a wrapper script.

A wrapper script can be made like this:
Log in as root, then give these commands:
cd /usr/local/bin  (or /usr/bin if that is where your lyx lives)
mv lyx lyx.real (the lyx application gets a new name)
echo 'LANG=nb_NO;lyx.real $*' > lyx
chmod oug+x lyx


Now "lyx" is a script that sets the language code, and then runs
lyx.real which is the new name for the lyx application.


Helge Hafting


Change the Chapter font and spacing

2006-06-29 Thread Luqman H

hi,

i'm using report (koma-script) doc class,
i want to change the chapter font to the same font
as report doc class.
and also i want to decrease the spacing before
and after the chapter is written..
how to do that ?

thanks...


export latex error

2006-06-29 Thread Helmut Hauser
Hi everybody,

I just noticed a weird behaviour of Lyx 1.4.1 (running
on Fedora).

If I try to export the file as LaTeX it offers me to
export it to "somefigure.eps" and asks me if I will
overwrite it. 
somefigure.eps is a figure (in .eps format) I am using
in my Lyx file and which is in the same directory. My
lyxfile.tex doesn't exist yet.

I just wanted to ask if somebody has encountered the
problem too and maybe has to offer a solution.
Otherwise I will report it as a bug.

Thanks a lot,
- helmut






___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


LyX 1.4.1: crash while opening certain file

2006-06-29 Thread Lorenzo Paulatto
I have attached a minimal file example that crashes lyx 1.4.1 when
opened. I hope you can fix it soon.

Bye and many thanks for your software!

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)

 

 

 --

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f

 

 Sponsor:

 TLC Ricerca Consulenti. Settore Telefonia Fissa. Provvigioni "a vita" sulla 
propria clientela. Entra in www.tlctel.com 

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5385=29-6

newfile1.lyx
Description: application/lyx


Re: Change the Chapter font and spacing

2006-06-29 Thread Richard Heck

have a look at the titlesec package.

Luqman H wrote:
> hi,
>
> i'm using report (koma-script) doc class,
> i want to change the chapter font to the same font
> as report doc class.
> and also i want to decrease the spacing before
> and after the chapter is written..
> how to do that ?
>
> thanks...



Re: LyX 1.4.1: crash while opening certain file

2006-06-29 Thread Jean-Marc Lasgouttes
> "Lorenzo" == Lorenzo Paulatto <[EMAIL PROTECTED]> writes:

Lorenzo> I have attached a minimal file example that crashes lyx 1.4.1
Lorenzo> when opened. I hope you can fix it soon.

This is a bug related with italian documents. It will be fixed in
1.4.2.

JMarc


Re: Rude awakening in 1.4.1

2006-06-29 Thread Steve Litt
On Thursday 29 June 2006 02:34 am, Georg Baum wrote:
> Steve Litt wrote:
> > Then I copied one of my books to junk.lyx, did a tools->reconfigure (it's
> > not edit->reconfigure anymore), and got this error:
> >
> > 
> > Using the default document class, because class bliving is unknown.
> > 
> >
> > But in fact, I have a bliving.layout in the directory, and a symlink to
> > it from /home/slitt/.lyx/layouts/bliving.layout. I'm logged in as slitt.
> >
> > So something's changed with layout files.
>
> Yes and no. The format has changed, but LyX converts old files on the fly.
> Your problem is that with specifying --with-version-suffix=-1.4qt you told
> LyX to use /home/slitt/.lyx-1.4qt as personal directory. If it would use
> the old one it would really screw up your old LyX.
> Simply copy or link all custom layout files
> to /home/slitt/.lyx-1.4qt/layouts, and it should work after a reconfigure.

Thanks Georg, it worked!

Turns out when I compiled lyx-1.4qt, it created /home/slitt/.lyx-1.4qt, but of 
course did not copy my current .layout files 
to /home/slitt/.lyx-1.4q/layouts/, so I did that copy myself, reconfigured 
LyX 1.4.1, and it worked perfectly.

So far I have not seen any serious performance problem with it, although I've 
done only the most rudimentary of testing. If anyone needs info from me to 
figure out why my Qt based LyX moves fast and others move slow, please let me 
know.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Navigation wierd in 1.4.1

2006-06-29 Thread Steve Litt
Hi all,

I just compiled 1.4.1 and tested it against a junk copy of my partially 
completed book, and when I use navigation it lists hundreds of things, some 
of which have a little triangle meaning go down a level,a nd some of which 
don't. My old 1.3.5 simply "drilled down" one level at a time, and was much 
less confusing. How can I set LyX so it does navigation like 1.3.x, and 
"drills down" a level at a time.

Thanks

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Character styles in 1.4.1

2006-06-29 Thread Steve Litt
Well, I could RTFM, but I bet a lot of people want to know the same thing, so 
I'll just be lazy and ask. How does one create a character style in 1.4.1, 
and how does one invoke that character style on some highlighted text?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: Character styles in 1.4.1

2006-06-29 Thread Juergen Spitzmueller
Steve Litt wrote:
> Well, I could RTFM, but I bet a lot of people want to know the same thing,
> so I'll just be lazy and ask. How does one create a character style in
> 1.4.1, and how does one invoke that character style on some highlighted
> text?

There's no UI for it yet, so you have to define them manually in the layout 
file. An example definition is this:

CharStyle Versal
LatexType Command
LatexName versal
LabelFont
  Family  Roman
  Color   blue
EndFont
Preamble
[EMAIL PROTECTED]
\usepackage{soul}
}{}
[EMAIL PROTECTED]
\DeclareRobustCommand*\versal[1]{%
\MakeUppercase{\scalefont{.92}\null{\caps{#1}}}%
}
}{}
EndPreamble
End

This can be copied into any *.layout file, or better make a mycharstyles.inc, 
and include them in the layout files with
Input mycharstyles.inc

The character styles will then be selectable from the menu.

HTH,
Jürgen


Re: bibtex on windows

2006-06-29 Thread Juergen Spitzmueller
bigot wrote:
> When I try to include a bibtex reference (insert/lists/bibtex) the
> computer start looking for something on the disk. When the all disk is
> scaned the bibtex windows appears (20 minutes later). and the same when
> closing the window...
>
> Does anyone has an idea ? thanks

The shell scripts which are used to generate the lists of bibliography 
databases and style files do not work on windows.

Currently, they are being replaced by python scripts, which will fix the 
problem. However, I fear this will not make it into the next release, but 
probably into 1.4.3.

Jürgen


Re: lyx-1.4.1 to Mandriva 2006

2006-06-29 Thread Paul Smith

On 6/29/06, icebna <[EMAIL PROTECTED]> wrote:

Someone can say me, where can find the rpm lyx-1.4.1_qt to Mandriva 2006
? I have attempt compiled, but don't start. Don't give nothing error,
but don't start.


Maybe, this is the appropriate time to migrate to Fedora Core. You
will always have available the recentest version of LyX and of very
many others programs.

Paul


Re: lyx-1.4.1 to Mandriva 2006

2006-06-29 Thread Steve Litt
On Thursday 29 June 2006 04:49 pm, Paul Smith wrote:
> On 6/29/06, icebna <[EMAIL PROTECTED]> wrote:
> > Someone can say me, where can find the rpm lyx-1.4.1_qt to Mandriva 2006
> > ? I have attempt compiled, but don't start. Don't give nothing error,
> > but don't start.
>
> Maybe, this is the appropriate time to migrate to Fedora Core. You
> will always have available the recentest version of LyX and of very
> many others programs.
>
> Paul

I just installed on Mandriva 2006 with ./configure;make;make install. The 
process was very easy, and I didn't get any dependency problems. If you like 
Mandriva 2006 (I've been a Mandrake Man since 2000), this might be an 
excellent way to do it, especially because you can retain your old LyX 1.3.5 
that came with Mandriva 2006.

Let me tell you how I did it...

tar xzvf lyx-1.4.1.tar.gz
cd lyx-1.4.1
./configure --with-version-suffix=-1.4.1qt --with-frontend=qt
make
su
make install
exit
cp ~/.lyx/layouts/* ~/.lyx-1.4.1qt/layouts/
lyx-1.4.1qt
#tools->reconfigure
cp mybook.lyx test.lyx
lyx-1.4.1qt   test.lyx

If you have the performance problems reported by some people, you can compile 
it with xforms. Do the same thing as above, except everywhere change qt to 
xforms. This will create a lyx-1.4.1xforms to coexist with your lyx-1.4.1qt 
and lyx.

If you have performance problems, please report it to the list. Then you and I 
can compare everything and find out why you have performance problems and I 
don't, and in doing so, perhaps you and I could help the developers nail this 
elusive bug.

HTH

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Float:Fig Won't Close

2006-06-29 Thread Rich Shepard

  I've been having problems with the grey boxes for floats and footnotes in
1.4.1. I try to block the box to move it and it opens. It takes several tries
-- and some creative cursing -- before I can accomplish the task.

  Now, I've inserted a .pdf image in a figure float, and I cannot close the
float window at all. Every time I click on the grey box the cursor jumps
somewhere (I no longer see it), and the display moves to show the area below
the figure.

  Is it me or something with the new version?

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Wiki: Blocking has been activated for 'ringtone' and 'insurance'

2006-06-29 Thread christian . ridderstrom
There has been several cases of spamming on the wiki regarding ringtones 
and car insurances, so I've activated a recipe that blocks any post (i.e. 
additions to a page) that contain either 'ringtone' or 'insurance'. This 
should prevent the spam from actually being added to any of our wiki 
pages.


The list of words that are blocked is actually controlled by this wiki 
page


http://wiki.lyx.org/Site/Blocklist

so if necessary, you can change these settings. Be careful of what you do 
however...



I'm off on vacation now, so I hope this will take care of the spam problem 
for now.


Happy summer to everyone!
/Christian

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

Widows and Orphans

2006-06-29 Thread Rich Shepard

  I have a widow line: the last line of a paragraph that is the first line on
the following page; it's actually the last line of the report chapter, which
makes it look worse.

  I _thought_ there was a macro to extend the page, but I cannot find a
reference to it. Nothing in TLC2 that helps. Google found a page from Purdue
University (where all the chickens go before the end up in the supermarket)
that suggested using \widowpenalty=450. I put that in the preamble, but
there's no joy yet.

  Please pass me a clue stick on how to fix this. It does come up now and
then and I do need to take care of the instances.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863