Style/Grammar Checker (v0.3c) for the LyX GUI availiable.

2006-01-08 Thread John C. McCabe-Dansted
I have put up a new version (v0.3c) of a Perl script that provides Grammar 
Checking support within LyX's GUI. If you are interested in automatically 
checking your documents for various errors, see:
http://wiki.lyx.org/pmwiki.php/Tools/LyX-GrammarChecker

 Internally it checks for a dozen common errors in LyX documents, such as 
misuse of A vs An and forgetting to put a space after a math block. It can 
be configured to use JLanguageTool to provide full grammar checking from 
within LyX's Gui, if ChkTeX is installed it will also detect a variety of 
common TeX related mistakes in your document. Rather than complain each time 
it is too stupid to understand your grammar, it checks your text against ~400 
common errors each of which can be disabled by editing a text file.

It seems be quite simple to use under Linux and MacOSX. I haven't tested it 
under Windows but it should just work if you are using Cygwin. I'd be 
interested to know if it actually does works with Cygwin. If it doesn't just 
work, mail me with any errors or symptoms etc.

Also if anyone has knowledge of how Cygwin relates to the LyX project, I'd 
appreciate it if they filled out my stub at:
http://wiki.lyx.org/pmwiki.php/Windows/Cygwin?action=edit

-- 
John C. McCabe-Dansted
Masters Student


Re: Missing references bug: lyx not calling pdflatex again?

2006-01-08 Thread Georg Baum
Am Sonntag, 8. Januar 2006 03:22 schrieb Fernando Perez:
 This is a lyx bug, I'm pretty convinced.

I think so, too.

 I guess I should just take it up 
 on lyx-dev...

Please do, and enter it at http://bugzilla.lyx.org. It would be great if 
you could also attach an example document and create step-by-step 
instructions to reproduce the bug.


Georg



Re: help for lyx install

2006-01-08 Thread Jean-Marc Lasgouttes
 giacomo == giacomo coslovich [EMAIL PROTECTED] writes:

giacomo Hi, I need some help for installing Lyx 1.3.6 for Linux! I
giacomo have the Red Hat 9.B distribution and I've installed also
giacomo some packages of xfree, but lyx doesn't see my xfree library!
giacomo I've run configure -with-extra-lib=(Path of the libs) but it
giacomo doesn't work... Can you help me? 

First, did you really wanted to use xforms, or is it just because it
is the default? I would advise you to configure with
--with-frontend=qt.

If xforms is really what you want, then send your config.Log file so
that we can see what goes wrong.

JMarc


Re: bibliographies

2006-01-08 Thread John O'Gorman
On Sun, 2006-01-08 at 17:53, Stephen Harris wrote:
 - Original Message - 
 From: john [EMAIL PROTECTED]
 To: lyx-users@lists.lyx.org
 Sent: Saturday, January 07, 2006 6:55 PM
 Subject: Re: bibliographies
 
 
  Hi
  Does anyone have a computer bibliography or know where I can get one?
  I'd like all the classics: KR, Knuth, Lamport, Eric S Raymond, etc
  
  regards
  John O'Gorman
  
 
 http://www.computerhalloffame.org/inductees/2004/
 
 Perhaps you mean TeX hall of fame because 
 Lamport wouldn't make it as a classic name.
I think that you misunderstood what I was asking for.
But I looked at the site. Interesting eh! 
It has a very commercial bent - includes lots of founders of big
companies (yecht even Bill Gates) but ignores authors: luminaries such
as Larry Wall, Brian Kernighan, Guido van Rossum, James Gosling etc

What I really wanted was a file of bibtex or whatever entries (to save
me the effort of creating one myself! 

regards
John O'Gorman








 
 



[announce] seventh release of LyXWinInstaller

2006-01-08 Thread Uwe Stöhr

Hello LyXers,

I'm proud to present the new version 0.7 of the LyX installer for Windows.

You can download it from

https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=8585

More general informations about the installer can be found here:

http://wiki.lyx.org/Windows/LyXWinInstaller

Here's the changelog:
---
Version 0.7

- new polish translation of the installer (thanks to Thomasz Łuczak)
- new italian translation of the installer (thanks to Massimo Lucci)
- MiKTeX will now automatically install all packages needed by LyX
  during LyX's configuration (requires an internet connection)
- LaTeX class files that come with LyX and the LaTeX files needed for
  instant preview are now automatically installed when MiKTeX is used as
  LaTeX-distribution
- fix in the unistallation of GSview
- the TeXLive LaTeX-distribution is now recognized in all cases
- math fraktur characters are now correctly displayed in LyX
- the network version of the installer does now also check for installed
  LaTeX-distributions
- updated to LyX 1.3.7pre6
- updated qtwin library (flickering while editing text is now reduced)
  (thanks to Christian Ehrlicher)
- updated MiKTeX (thanks to Christian Schenk)
---

The MiKTeX developer was kind enough to prepare a special version of
MiKTeX 2.4. It is named basic-miktex and is the same as the 
small-miktex available at miktex.org but includes all patches and 
actualized packages from the last year. If you have MiKTeX already 
installed you can also get all updates and packages when you use 
MiKTeX's update wizard.


When you have an internet connection while running the installer, MiKTeX
will now install all packages needed by LyX. This needs some minutes but
assures that you can use all LyX features. You just need now for example
only to check the option Instant preview in LyX graphics preferences
to enable instant preview, nothing more!

The LaTeX classes that comes with LyX (cv, hollywood, broadway, etc.)
are now automatically registered to MiKTeX so that you can just start to
use the corresponding LyX example files.

So I hope the new installer version makes life easier.

The math-font package BaKoMa4LyX missed the file eufm10.ttf that is
needed to display fraktur characters. The new installer version installs
the font when you first deinstall LyX's math fonts via LyXWinInstaller's
uninstaller or manually. You can also download and install the font from:

ftp://ftp.dante.de/tex-archive/fonts/cm/ps-type1/bakoma/ttf/eufm10.ttf

Every annotation is welcome.

---
You can help to improve the installer by translating it. Currently it is
fully translated to:

- english
- french
- german
- hungarian
- italian
- polish
- slovak
- swedish
- turkish

It is partly translated to:

- spanish (5 untranslated messages)
- danish  (34 untranslated messages)
- dutch   (34 untranslated messages)

If you want to translate some messages then download this file:

http://download.berlios.de/lyxwininstall/LyXPackageScripts-0-7.rar

and edit a textfile language-name.nsh from the subdirectory
lyx_languages. If you want to translate to a new language, start with
the file english.nsh. Please send the modified files to a LyX list or
directly to me. (Please ask me if you need more infos or have questions.)

Thanks in advance
regards Uwe



Re: [announce] sixth release of LyXWinInstaller

2006-01-08 Thread Andre Poenitz
On Mon, Jan 02, 2006 at 02:24:58PM -0800, Stephen Harris wrote:
 Why doesn't English have the default of C:\Programs?
 Is it because C:\program files adheres to basic Windows guidelines?
 No, certainly not.
 Just because Word pioneered filenames with spaces doesn't
 mean that practice should be emulated by other editors, nor
 does Words ability to do this elevate the filename with spaces
 capability to a basic windows guideline.

It's not Word pioneering bad practices, it's about Microsoft setting
rules about what is acceptable in their world and what not. Like it or
not, they are entitled to do that.

There's a nice book on that. I put a copy of it between my desk and
monitor at work to make sure it does not crash. I forgot the title,
though, but could tell you on Tuesday if you want.

The possibly surprising part is that most things in there actually
make sense and lead to that 'smooth' user experience when switsching
between different applications under Windows (compared to the constand
retraining under *nix) 

 I've investigated this issue. I have not been able to find any
 reason for the adoption of path with spaces to make the
 Windows OS work better or work better with other programs.

People just like to type Phrases with Spaces instead
Phrases-with-hyphens_or_underscores.

It's a bit of 'making life simpler for the user' vs 'making life
simpler for the prorammer'.

Of course, in the *nix world most users are more or less programmers as
well so they tend to agree on the fact that life should be simple for
programmers as well.

 I think then that the default install of a path with spaces is not
 part of basic windows guidelines.

For certain countries it is. Most notably for GB and the US.

Andre'


copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Kevin Pfeiffer
Hi all,

I just had to change several subsections to subsubsections. There were 
not enough of these to bother switching to search-and-replace in my 
text editor, but enough to make the process in LyX tedious. While doing 
this it occurred to me that the MS Word Format Painter (copy/paste 
format paintbrush) feature would be useful in a case like this for 
doing such things in LyX. Might this be possible in the newer 1.4? (Or 
even in 1.3.5?)

-Kevin


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Rich Shepard

On Sun, 8 Jan 2006, Kevin Pfeiffer wrote:


I just had to change several subsections to subsubsections. There were not
enough of these to bother switching to search-and-replace in my text
editor, but enough to make the process in LyX tedious. While doing this it
occurred to me that the MS Word Format Painter (copy/paste format
paintbrush) feature would be useful in a case like this for doing such
things in LyX. Might this be possible in the newer 1.4? (Or even in 1.3.5?)


Kevin,

  Why not leave LyX trim, light, and fast and do more tedious editing
directly in the *.lyx file?

  I have a real peeve about those who want linux software (or any F/OSS
software) to work the way _anything_ from Redmond works. When Microsoft stuff
works, that is. Most of the DOS and Winduhs software sold by Microsoft is of
very poor quality. Just because most of the computer using world is used to
that way does not mean we should emulate it. Read Nick Petreley's
end-of-issue column Skin Cream Not Scum in the latest Linux Journal.
Unfortunately, it does not appear to be on-line.

  Let's do it better.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Paul A. Rubin

Rich Shepard wrote:

On Sun, 8 Jan 2006, Kevin Pfeiffer wrote:

I just had to change several subsections to subsubsections. There were 
not

enough of these to bother switching to search-and-replace in my text
editor, but enough to make the process in LyX tedious. While doing 
this it

occurred to me that the MS Word Format Painter (copy/paste format
paintbrush) feature would be useful in a case like this for doing such
things in LyX. Might this be possible in the newer 1.4? (Or even in 
1.3.5?)



Kevin,

  Why not leave LyX trim, light, and fast and do more tedious editing
directly in the *.lyx file?


Because it forces you to switch to a different application (and forces 
the user to know the syntax of LyX files)?  This looks like one of those 
things that differentiates power users from regular users.



  I have a real peeve about those who want linux software (or any F/OSS
software) to work the way _anything_ from Redmond works. When Microsoft 
stuff works, that is.


I'm sympathetic here.


Most of the DOS and Winduhs software sold by Microsoft is of
very poor quality.


Um, not sure about this.  Mind you, I don't use any M$ software I don't 
have to (meaning I use Excel when I teach and Word when I grade papers 
submitted as Word files).  I routinely annoy my MBA students (who tend 
to think all software comes from M$) by doing presentations with LyX and 
beamer and posting them as PDFs.  All that said, Microsoft apps have 
improved in recent years to the point of being at least average quality. 
 It's just that one tends to get miffed about their failings when one 
contemplates the price paid for them.  (I will say that M$ help files 
continue to be remarkably unhelpful, unless you need to have 
left-click explained to you.)



Just because most of the computer using world is used to
that way does not mean we should emulate it.


Quite true, but let's not carry that to an extreme.  M$ fairly 
consistently puts the exit command at the bottom of the File menu. 
Should LyX put it elsewhere just to spite Billionaire Bill?



Read Nick Petreley's
end-of-issue column Skin Cream Not Scum in the latest Linux Journal.
Unfortunately, it does not appear to be on-line.

  Let's do it better.


Always an admirable goal.

Like Kevin, I've encountered instances where I wanted to change the 
environment of several disconnected chunks of a document.  It would be 
nice if there was a way to select the new environment and then apply it 
to various paragraphs with a single click (right click, middle click, 
alt-click, whatever).  The same is true for character properties, 
particularly size in my case (in beamer I'm perpetually experimenting 
with how far tables have to be shrunk to fit on a slide).  I wouldn't 
say it was urgent, but I can't see any harm in it, and it would benefit 
some.


We could always claim that any semblance to M$'s format painter (which, 
incidentally, also exists in the WordPerfect suite) is purely coincidence.


/Paul
we return you now to our regularly schedule program of Paul demonizing 
everyone in Redmond




Re: copying and pasting a LyX environment? (like Open Office's Format Paintbrush)

2006-01-08 Thread Kevin Pfeiffer
Rich Shepard writes:
Why not leave LyX trim, light, and fast and do more tedious
 editing directly in the *.lyx file?

From my original post:
  There
  were not enough of these to bother switching to search-and-replace
  in my text editor,

I have a real peeve about those who want linux software (or any
 F/OSS software) to work the way _anything_ from Redmond works.

Sorry, should have known better. Scratch MS Word Format Painter from 
my original post and replace with Open Office's Format Paintbrush.

  Just because most of the
 computer using world is used to that way does not mean we should
 emulate it. 

True. Just because some feature is being used by most of the 
computer-using world makes it neither good _nor_ bad (unless we are 
talking about standards development).

To follow up on my original post, when modifying parameters via the 
Character and Paragraph menus I can already effectively do format 
painting: I set the menu to remain on top of all other windows, make 
my changes, then click Apply each time. This does the same thing as a 
Format Paintbrush. But I don't see how to do this with the LyX 
environments (section, chapter, paragraph, etc.), at least not in 
1.3.5.

-Kevin


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


figures in a table

2006-01-08 Thread Ray Henry


I'm creating a 10x10 table.  The first column is filled with small 
images. It is set to zero width.  The other columns are all set to fixed 
width and have text wrapped.  When the the image is inserted it creates 
space at the top of the row and pushes down the text in the other 
cells.  The images are sized to fit inside a cell without creating 
additional space.  What can I do to minimize the affect of inserting 
these images.


Rayh




Re: Missing references bug: lyx not calling pdflatex again?

2006-01-08 Thread Fernando Perez
Georg Baum wrote:

 Am Sonntag, 8. Januar 2006 03:22 schrieb Fernando Perez:
 This is a lyx bug, I'm pretty convinced.
 
 I think so, too.
 
 I guess I should just take it up
 on lyx-dev...
 
 Please do, and enter it at http://bugzilla.lyx.org. It would be great if
 you could also attach an example document and create step-by-step
 instructions to reproduce the bug.

OK, I will.  I'm not sure I'll be able to post a document, as it's very on
and off (the current one where I see it is too big and I can't make it
public).  I'll try though, and at least I'll explain it well.
 
Thanks.

Cheers,

f



Re: LyX 1.4.0pre3 on MacOSX - first impressions

2006-01-08 Thread Bennett Helm

On Jan 7, 2006, at 5:37 AM, Anders Ekberg wrote:


Looking at how some other applications have solved this:

- Microsoft puts the Microsoft Word.app and a Templates-folder as  
separate entities in the directory in /Applications/Microsoft  
Office 2004/  The same approach is used by AppleWorks.


- Apple's Pages put its templates in /Applications/iWork/Pages.app/ 
Contents/Resources/English.lproj/Templates/ (below they have two  
folders named ISO and Traditional with sub-folders for the templates).


In all of these cases, templates are selected through a pop-up menu  
and not a New... or Open... dialogue.


Notice that LyX's New from Template ... feature is most similar to  
Word's Open a copy feature (from within the Open dialog): any file  
can be a template, not just specially formatted/saved documents.  
For this reason, I think it makes sense to access them from a dialog  
similar to the open dialog, though perhaps the differences between  
the Open ... and Open from Template ... dialogs should be clearer  
in the dialogs themselves.


(In all of the cases, you store your created templates using a  
standard save dialogue. There may be a dedicated folder for  
personal templates (either in ~/Library/Application Support/ 
Program_Directory [used by Pages] or in /Applications/ 
Program_Directory/Templates/ [used by MS Office] (where the Save...  
dialogue is initially directed and I assume the program looks for  
user-defined templates), but you are basically free to choose  
whichever location you like for the templates.)


If a pop-up menu is difficult to implement, the MS Office version  
is probably easiest to adopt (though the risk is that since the  
templates are easily accessible they may be tinkered with, cf  
Bennett's remark above)


Perhaps the best way to solve the problem is by AbiWords approach,  
which is similar to what Pages uses (templates stored in the  
Application bundle and user-defined templates in the ~/ 
LibraryApplication Support/Program_Directory). The difference is  
that they use a list dialogue instead of a pop-up menu (i.e. you  
select your template from a list of available templates and click  
OK). Since AbiWord is OpenSource I guess it would be possible to  
study the code or ask the developers how this was implemented.


But note that this would not allow me to open just any file as a  
template.


It could be noted that with the current version it is possible to  
access the templates using the Apple+Shift+G short-cut and type in  
the path to the templates. However this is of-course not a user- 
friendly solution...


Agreed.

The next problem with the templates is that once you manage to open  
them you get (for some) a missing TeX-class error and have to go  
through the procedure outlined in http://wiki.lyx.org/pmwiki.php/ 
FAQ/MacInstall It would make the application much more user- 
friendly if the needed .cls-files are copied directly at  
installation if this is possible.


That would be easy to do in the installer script, though the risk  
would be that users have made modifications to the .cls files and the  
installer would overwrite them. Perhaps I'll find time to update the  
installer to provide a bit more user interaction when such issues  
crop up. Failing that, I could install the files if they're absent  
and otherwise not.


Bennett


Re: [announce] sixth release of LyXWinInstaller

2006-01-08 Thread Stephen Harris


- Original Message - 
From: Andre Poenitz [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: Michael Gerz [EMAIL PROTECTED]; Bo Peng 
[EMAIL PROTECTED]; lyx-users@lists.lyx.org; lyx-devel@lists.lyx.org

Sent: Sunday, January 08, 2006 12:00 PM
Subject: Re: [announce] sixth release of LyXWinInstaller



On Mon, Jan 02, 2006 at 02:24:58PM -0800, Stephen Harris wrote:

Why doesn't English have the default of C:\Programs?
Is it because C:\program files adheres to basic Windows guidelines?
No, certainly not.
Just because Word pioneered filenames with spaces doesn't
mean that practice should be emulated by other editors, nor
does Words ability to do this elevate the filename with spaces
capability to a basic windows guideline.


It's not Word pioneering bad practices, it's about Microsoft setting
rules about what is acceptable in their world and what not. Like it or
not, they are entitled to do that.



I agree with you, It's not Word pioneering bad practices and
that is not the point I made, so this part of your response is off
target. Nor is my point about the advantages of having Word
tied into Internet Explorer, Outlook or Excel. Nor is my point
about other Microsoft owned programs or other commercial
programs that are originally designed to work under Windows.

My point _is_ that programs that are ported to Windows should
adhere to Windows habits unless that causes a problem. But if
this habit causes a problem, and correcting a particular problem
like paths with spaces, to paths with no spaces fixes the problem,
and does not create a problem with Windows, then use the
standard workaround, which is paths with no spaces. Windows
does not consider a filename to be equivalent to a directory path.
I used Word as an analogy, other ported word processors don't
need to emulate filenames with spaces::LyX and its helper programs don't 
need to emulate C:\program files\xxx

LyX itself doesn't have a problem with filenames with spaces.

Your claim that installing LyX to C:\program files\Lyx is a good
idea because they have decided to install other programs to
C:\program files is simply false. It is not part of their world
nor does it benefit the interoperability of programs running under
the Windows OS. It does precisely the opposite. LaTex is a
major part of LyX productivity and it should *not* be installed
to C:\program files\texmf or C:\program files\miktex\texmf



There's a nice book on that. I put a copy of it between my desk and
monitor at work to make sure it does not crash. I forgot the title,
though, but could tell you on Tuesday if you want.



Yes, if it has a bearing on the actual benefit of installing LyX and
other ported *nix programs to C:\program files or other directories
because it improves operation of the programs. IOW, the book
needs to explain why C:\program files is a better choice than the
intuitve C:\programs in terms of the system working better. As it
stands now, that decision was a marketing decision, because the
choice causes problem with porting programs to Windows which Microsoft 
doesn't gather revenue from. I'm sick of that ludicrous
misnomer, guideline being applied to a proprietary money-making scheme 
which does nothing to benefit the operation of LyXhelpers.



The possibly surprising part is that most things in there actually
make sense and lead to that 'smooth' user experience when switsching
between different applications under Windows (compared to the constand
retraining under *nix)



There is some interoperability due to vbscript. That doesn't require
a path with spaces. Protext and Win32 do not default to a path with spaces 
such as C:\program files. The recommended Miktex (Latex

LyX install for windows) has instructions that it is not recommended
to Miktex to a directory with spaces.

The default install directory says C:\texmf
the user just has to hit OK, that is their habit
and so mentioning retraining is a red herring.
The going gets rough only if the user decides to
be clever, do more work, and change the default
install to C:\program files\texmf which contains
the .bst files under bibtex.

This is the issue I'm addressing in this thread which has done
quite a bit of wandering. If you download a .bst file from the
internet, put it into the C:\texmf\bibtex\bst folder
run miktex options refresh, Lyx reconfigure and rescan, it works.

If you download a .bst file from the internet and put it into
C:\My research papers along with research.lyx it doesn't
work, not because of some alleged problem that reflects to
C:\My Documents, but for the same reason C:\program files\texmf
doesn't work. It has nothing to do with retraining.

I think the question is whether Lyx should follow the usual Windows
Latex program guidelines of using an installation directory which
has no spaces in its path and provokes no problems or -- decide
to use a deleterious Windows installation of a directory with a space.

The problem with fixing Lyx/Miktex so that it does windows 

Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Stephen Harris


- Original Message - 
From: Rich Shepard [EMAIL PROTECTED]

To: Kevin Pfeiffer [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Sunday, January 08, 2006 3:19 PM
Subject: Re: copying and pasting a LyX environment? (like Word's Format 
Painter)




  I have a real peeve about those who want linux software (or any F/OSS
software) to work the way _anything_ from Redmond works. When Microsoft 
stuff
works, that is. Most of the DOS and Winduhs software sold by Microsoft is 
of
very poor quality. Just because most of the computer using world is used 
to

that way does not mean we should emulate it. Read Nick Petreley's
end-of-issue column Skin Cream Not Scum in the latest Linux Journal.
Unfortunately, it does not appear to be on-line.

  Let's do it better.

Rich



I'm especially against emulating some practice that breaks the
functionality of LyX and its helpers and then relies on MS
jargon to justify lots of work to descend to the emulation. So
I have no problem with emulating File because that benefits
all computer users with a reasonable standard and doesn't
require extra learning. Some of these Linux programs take a
lot of work to install with dependencies and dependencies of
dependencies and then incompatible gcc version changes and
library versionchanges and so on. The central authority of MS
has advantages for the user except that MS tries to extend this
influence into monopolistic profiteering practices. I resent
describing these greedy tactics as basic windows guidelines.
Otherwise fairly competent thinkers seem overcome by the
mind-ray that Petreley talks about below:

http://www.infoworld.com/articles/op/xml/01/06/18/010618oppetreley.html

One of my favorite scenes in the movie Ghostbusters II takes place during 
the taping of a TV show, World of the Psychic, with Dr. Peter Venkman. 
During the show, a guest named Elaine reveals how she found out the date for 
the end of the world, As I told my husband: It was in the Paramus Holiday 
Inn. I was having a drink at the bar, alone, and this alien approached me. 
He started talking to me, he bought me a drink, and then I think he must 
have used some kind of a ray or a mind-control device because he forced me 
to follow him to his room; and that's where he told me about the end of the 
world. Bill Murray replies incredulously, So your alien had a room at the 
Holiday Inn in Paramus?


As humorous as that may appear, I have come to the conclusion that one of 
two things must be true: Either Microsoft has a mind-control device similar 
to the one mentioned above, or some members of the mainstream media are as 
gullible as Elaine. I can think of no other explanation why people are 
reacting so differently to Microsoft's .NET than they did to IBM, Oracle, 
and Sun's promotion of NC (network computing) a few years back.


Regards,
Stephen





Re: figures in a table

2006-01-08 Thread Helge Hafting

Ray Henry wrote:



I'm creating a 10x10 table.  The first column is filled with small 
images. It is set to zero width.  The other columns are all set to 
fixed width and have text wrapped.  When the the image is inserted it 
creates space at the top of the row and pushes down the text in the 
other cells.  The images are sized to fit inside a cell without 
creating additional space.  What can I do to minimize the affect of 
inserting these images.


Is the problem that the row gets taller when you insert the image?

In that case, the image is too tall.  Not all the height of a table row
is available for use, some of it is supposed to be white space above
and below the text.  So inserting an image taller than the font height
will make the row taller, even if the image might fit between the
tabular lines.  This because latex thinks you want a certain amount
of white space above and below - but perhaps you don't in this case.

One way of fixing this might be to use the \raisebox latex command.
It is normally used to move stuff up or down, but it may also
be used for lying to latex about the height of its contents.
So it can be used to tell latex that no, this picture has no
height at all so no need to extend this row.

Use two tex boxes, one in front of your image and one immediately after it.
In the first one, type:
\raisebox{0mm}[0mm]0mm[]{
In the second box, type:
}
The second tex box merely ends the raisebox command, that's why
it only contain an ending brace.  Put your image between these two
tex boxes.

Helge Hafting


Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Helge Hafting

Kevin Pfeiffer wrote:


Hi all,

I just had to change several subsections to subsubsections. There were 
not enough of these to bother switching to search-and-replace in my 
text editor, but enough to make the process in LyX tedious. While doing 
this it occurred to me that the MS Word Format Painter (copy/paste 
format paintbrush) feature would be useful in a case like this for 
doing such things in LyX. Might this be possible in the newer 1.4? (Or 
even in 1.3.5?)
 


I know of no such feature in the upcoming 1.4.

I don't know how this format painter works, but here is something
I imagine could be useful:

* Mark the part of the document to be changed - possibly all
* Use a menu (or keypress) to change heading level up or down,
  similiar to how we already can change the environment depth.

Such an action should have no effect on non-heading environments,
but change all headings up or down one level.  I.e. sections becomes
subsections, subsections becomes subsubsections and so on.

This could be very useful when one have a document with sections
(and subsections) and then find that it must be part of
something bigger, so the entire document have to become
a section of the bigger entity. 


This should be easy enough to implement - lyx already know
which environments are heading-type environments, you
see that in the navigate menu.  Of course there is the
question of what to do about headings that cannot be
changed - there is no heading below subparagraph or
above part, so structural information will be lost if the
user tries to change one of those.

Helge Hafting



Style/Grammar Checker (v0.3c) for the LyX GUI availiable.

2006-01-08 Thread John C. McCabe-Dansted
I have put up a new version (v0.3c) of a Perl script that provides Grammar 
Checking support within LyX's GUI. If you are interested in automatically 
checking your documents for various errors, see:
http://wiki.lyx.org/pmwiki.php/Tools/LyX-GrammarChecker

 Internally it checks for a dozen common errors in LyX documents, such as 
misuse of A vs An and forgetting to put a space after a math block. It can 
be configured to use JLanguageTool to provide full grammar checking from 
within LyX's Gui, if ChkTeX is installed it will also detect a variety of 
common TeX related mistakes in your document. Rather than complain each time 
it is too stupid to understand your grammar, it checks your text against ~400 
common errors each of which can be disabled by editing a text file.

It seems be quite simple to use under Linux and MacOSX. I haven't tested it 
under Windows but it should just work if you are using Cygwin. I'd be 
interested to know if it actually does works with Cygwin. If it doesn't just 
work, mail me with any errors or symptoms etc.

Also if anyone has knowledge of how Cygwin relates to the LyX project, I'd 
appreciate it if they filled out my stub at:
http://wiki.lyx.org/pmwiki.php/Windows/Cygwin?action=edit

-- 
John C. McCabe-Dansted
Masters Student


Re: Missing references bug: lyx not calling pdflatex again?

2006-01-08 Thread Georg Baum
Am Sonntag, 8. Januar 2006 03:22 schrieb Fernando Perez:
 This is a lyx bug, I'm pretty convinced.

I think so, too.

 I guess I should just take it up 
 on lyx-dev...

Please do, and enter it at http://bugzilla.lyx.org. It would be great if 
you could also attach an example document and create step-by-step 
instructions to reproduce the bug.


Georg



Re: help for lyx install

2006-01-08 Thread Jean-Marc Lasgouttes
 giacomo == giacomo coslovich [EMAIL PROTECTED] writes:

giacomo Hi, I need some help for installing Lyx 1.3.6 for Linux! I
giacomo have the Red Hat 9.B distribution and I've installed also
giacomo some packages of xfree, but lyx doesn't see my xfree library!
giacomo I've run configure -with-extra-lib=(Path of the libs) but it
giacomo doesn't work... Can you help me? 

First, did you really wanted to use xforms, or is it just because it
is the default? I would advise you to configure with
--with-frontend=qt.

If xforms is really what you want, then send your config.Log file so
that we can see what goes wrong.

JMarc


Re: bibliographies

2006-01-08 Thread John O'Gorman
On Sun, 2006-01-08 at 17:53, Stephen Harris wrote:
 - Original Message - 
 From: john [EMAIL PROTECTED]
 To: lyx-users@lists.lyx.org
 Sent: Saturday, January 07, 2006 6:55 PM
 Subject: Re: bibliographies
 
 
  Hi
  Does anyone have a computer bibliography or know where I can get one?
  I'd like all the classics: KR, Knuth, Lamport, Eric S Raymond, etc
  
  regards
  John O'Gorman
  
 
 http://www.computerhalloffame.org/inductees/2004/
 
 Perhaps you mean TeX hall of fame because 
 Lamport wouldn't make it as a classic name.
I think that you misunderstood what I was asking for.
But I looked at the site. Interesting eh! 
It has a very commercial bent - includes lots of founders of big
companies (yecht even Bill Gates) but ignores authors: luminaries such
as Larry Wall, Brian Kernighan, Guido van Rossum, James Gosling etc

What I really wanted was a file of bibtex or whatever entries (to save
me the effort of creating one myself! 

regards
John O'Gorman








 
 



[announce] seventh release of LyXWinInstaller

2006-01-08 Thread Uwe Stöhr

Hello LyXers,

I'm proud to present the new version 0.7 of the LyX installer for Windows.

You can download it from

https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=8585

More general informations about the installer can be found here:

http://wiki.lyx.org/Windows/LyXWinInstaller

Here's the changelog:
---
Version 0.7

- new polish translation of the installer (thanks to Thomasz Łuczak)
- new italian translation of the installer (thanks to Massimo Lucci)
- MiKTeX will now automatically install all packages needed by LyX
  during LyX's configuration (requires an internet connection)
- LaTeX class files that come with LyX and the LaTeX files needed for
  instant preview are now automatically installed when MiKTeX is used as
  LaTeX-distribution
- fix in the unistallation of GSview
- the TeXLive LaTeX-distribution is now recognized in all cases
- math fraktur characters are now correctly displayed in LyX
- the network version of the installer does now also check for installed
  LaTeX-distributions
- updated to LyX 1.3.7pre6
- updated qtwin library (flickering while editing text is now reduced)
  (thanks to Christian Ehrlicher)
- updated MiKTeX (thanks to Christian Schenk)
---

The MiKTeX developer was kind enough to prepare a special version of
MiKTeX 2.4. It is named basic-miktex and is the same as the 
small-miktex available at miktex.org but includes all patches and 
actualized packages from the last year. If you have MiKTeX already 
installed you can also get all updates and packages when you use 
MiKTeX's update wizard.


When you have an internet connection while running the installer, MiKTeX
will now install all packages needed by LyX. This needs some minutes but
assures that you can use all LyX features. You just need now for example
only to check the option Instant preview in LyX graphics preferences
to enable instant preview, nothing more!

The LaTeX classes that comes with LyX (cv, hollywood, broadway, etc.)
are now automatically registered to MiKTeX so that you can just start to
use the corresponding LyX example files.

So I hope the new installer version makes life easier.

The math-font package BaKoMa4LyX missed the file eufm10.ttf that is
needed to display fraktur characters. The new installer version installs
the font when you first deinstall LyX's math fonts via LyXWinInstaller's
uninstaller or manually. You can also download and install the font from:

ftp://ftp.dante.de/tex-archive/fonts/cm/ps-type1/bakoma/ttf/eufm10.ttf

Every annotation is welcome.

---
You can help to improve the installer by translating it. Currently it is
fully translated to:

- english
- french
- german
- hungarian
- italian
- polish
- slovak
- swedish
- turkish

It is partly translated to:

- spanish (5 untranslated messages)
- danish  (34 untranslated messages)
- dutch   (34 untranslated messages)

If you want to translate some messages then download this file:

http://download.berlios.de/lyxwininstall/LyXPackageScripts-0-7.rar

and edit a textfile language-name.nsh from the subdirectory
lyx_languages. If you want to translate to a new language, start with
the file english.nsh. Please send the modified files to a LyX list or
directly to me. (Please ask me if you need more infos or have questions.)

Thanks in advance
regards Uwe



Re: [announce] sixth release of LyXWinInstaller

2006-01-08 Thread Andre Poenitz
On Mon, Jan 02, 2006 at 02:24:58PM -0800, Stephen Harris wrote:
 Why doesn't English have the default of C:\Programs?
 Is it because C:\program files adheres to basic Windows guidelines?
 No, certainly not.
 Just because Word pioneered filenames with spaces doesn't
 mean that practice should be emulated by other editors, nor
 does Words ability to do this elevate the filename with spaces
 capability to a basic windows guideline.

It's not Word pioneering bad practices, it's about Microsoft setting
rules about what is acceptable in their world and what not. Like it or
not, they are entitled to do that.

There's a nice book on that. I put a copy of it between my desk and
monitor at work to make sure it does not crash. I forgot the title,
though, but could tell you on Tuesday if you want.

The possibly surprising part is that most things in there actually
make sense and lead to that 'smooth' user experience when switsching
between different applications under Windows (compared to the constand
retraining under *nix) 

 I've investigated this issue. I have not been able to find any
 reason for the adoption of path with spaces to make the
 Windows OS work better or work better with other programs.

People just like to type Phrases with Spaces instead
Phrases-with-hyphens_or_underscores.

It's a bit of 'making life simpler for the user' vs 'making life
simpler for the prorammer'.

Of course, in the *nix world most users are more or less programmers as
well so they tend to agree on the fact that life should be simple for
programmers as well.

 I think then that the default install of a path with spaces is not
 part of basic windows guidelines.

For certain countries it is. Most notably for GB and the US.

Andre'


copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Kevin Pfeiffer
Hi all,

I just had to change several subsections to subsubsections. There were 
not enough of these to bother switching to search-and-replace in my 
text editor, but enough to make the process in LyX tedious. While doing 
this it occurred to me that the MS Word Format Painter (copy/paste 
format paintbrush) feature would be useful in a case like this for 
doing such things in LyX. Might this be possible in the newer 1.4? (Or 
even in 1.3.5?)

-Kevin


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Rich Shepard

On Sun, 8 Jan 2006, Kevin Pfeiffer wrote:


I just had to change several subsections to subsubsections. There were not
enough of these to bother switching to search-and-replace in my text
editor, but enough to make the process in LyX tedious. While doing this it
occurred to me that the MS Word Format Painter (copy/paste format
paintbrush) feature would be useful in a case like this for doing such
things in LyX. Might this be possible in the newer 1.4? (Or even in 1.3.5?)


Kevin,

  Why not leave LyX trim, light, and fast and do more tedious editing
directly in the *.lyx file?

  I have a real peeve about those who want linux software (or any F/OSS
software) to work the way _anything_ from Redmond works. When Microsoft stuff
works, that is. Most of the DOS and Winduhs software sold by Microsoft is of
very poor quality. Just because most of the computer using world is used to
that way does not mean we should emulate it. Read Nick Petreley's
end-of-issue column Skin Cream Not Scum in the latest Linux Journal.
Unfortunately, it does not appear to be on-line.

  Let's do it better.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Paul A. Rubin

Rich Shepard wrote:

On Sun, 8 Jan 2006, Kevin Pfeiffer wrote:

I just had to change several subsections to subsubsections. There were 
not

enough of these to bother switching to search-and-replace in my text
editor, but enough to make the process in LyX tedious. While doing 
this it

occurred to me that the MS Word Format Painter (copy/paste format
paintbrush) feature would be useful in a case like this for doing such
things in LyX. Might this be possible in the newer 1.4? (Or even in 
1.3.5?)



Kevin,

  Why not leave LyX trim, light, and fast and do more tedious editing
directly in the *.lyx file?


Because it forces you to switch to a different application (and forces 
the user to know the syntax of LyX files)?  This looks like one of those 
things that differentiates power users from regular users.



  I have a real peeve about those who want linux software (or any F/OSS
software) to work the way _anything_ from Redmond works. When Microsoft 
stuff works, that is.


I'm sympathetic here.


Most of the DOS and Winduhs software sold by Microsoft is of
very poor quality.


Um, not sure about this.  Mind you, I don't use any M$ software I don't 
have to (meaning I use Excel when I teach and Word when I grade papers 
submitted as Word files).  I routinely annoy my MBA students (who tend 
to think all software comes from M$) by doing presentations with LyX and 
beamer and posting them as PDFs.  All that said, Microsoft apps have 
improved in recent years to the point of being at least average quality. 
 It's just that one tends to get miffed about their failings when one 
contemplates the price paid for them.  (I will say that M$ help files 
continue to be remarkably unhelpful, unless you need to have 
left-click explained to you.)



Just because most of the computer using world is used to
that way does not mean we should emulate it.


Quite true, but let's not carry that to an extreme.  M$ fairly 
consistently puts the exit command at the bottom of the File menu. 
Should LyX put it elsewhere just to spite Billionaire Bill?



Read Nick Petreley's
end-of-issue column Skin Cream Not Scum in the latest Linux Journal.
Unfortunately, it does not appear to be on-line.

  Let's do it better.


Always an admirable goal.

Like Kevin, I've encountered instances where I wanted to change the 
environment of several disconnected chunks of a document.  It would be 
nice if there was a way to select the new environment and then apply it 
to various paragraphs with a single click (right click, middle click, 
alt-click, whatever).  The same is true for character properties, 
particularly size in my case (in beamer I'm perpetually experimenting 
with how far tables have to be shrunk to fit on a slide).  I wouldn't 
say it was urgent, but I can't see any harm in it, and it would benefit 
some.


We could always claim that any semblance to M$'s format painter (which, 
incidentally, also exists in the WordPerfect suite) is purely coincidence.


/Paul
we return you now to our regularly schedule program of Paul demonizing 
everyone in Redmond




Re: copying and pasting a LyX environment? (like Open Office's Format Paintbrush)

2006-01-08 Thread Kevin Pfeiffer
Rich Shepard writes:
Why not leave LyX trim, light, and fast and do more tedious
 editing directly in the *.lyx file?

From my original post:
  There
  were not enough of these to bother switching to search-and-replace
  in my text editor,

I have a real peeve about those who want linux software (or any
 F/OSS software) to work the way _anything_ from Redmond works.

Sorry, should have known better. Scratch MS Word Format Painter from 
my original post and replace with Open Office's Format Paintbrush.

  Just because most of the
 computer using world is used to that way does not mean we should
 emulate it. 

True. Just because some feature is being used by most of the 
computer-using world makes it neither good _nor_ bad (unless we are 
talking about standards development).

To follow up on my original post, when modifying parameters via the 
Character and Paragraph menus I can already effectively do format 
painting: I set the menu to remain on top of all other windows, make 
my changes, then click Apply each time. This does the same thing as a 
Format Paintbrush. But I don't see how to do this with the LyX 
environments (section, chapter, paragraph, etc.), at least not in 
1.3.5.

-Kevin


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


figures in a table

2006-01-08 Thread Ray Henry


I'm creating a 10x10 table.  The first column is filled with small 
images. It is set to zero width.  The other columns are all set to fixed 
width and have text wrapped.  When the the image is inserted it creates 
space at the top of the row and pushes down the text in the other 
cells.  The images are sized to fit inside a cell without creating 
additional space.  What can I do to minimize the affect of inserting 
these images.


Rayh




Re: Missing references bug: lyx not calling pdflatex again?

2006-01-08 Thread Fernando Perez
Georg Baum wrote:

 Am Sonntag, 8. Januar 2006 03:22 schrieb Fernando Perez:
 This is a lyx bug, I'm pretty convinced.
 
 I think so, too.
 
 I guess I should just take it up
 on lyx-dev...
 
 Please do, and enter it at http://bugzilla.lyx.org. It would be great if
 you could also attach an example document and create step-by-step
 instructions to reproduce the bug.

OK, I will.  I'm not sure I'll be able to post a document, as it's very on
and off (the current one where I see it is too big and I can't make it
public).  I'll try though, and at least I'll explain it well.
 
Thanks.

Cheers,

f



Re: LyX 1.4.0pre3 on MacOSX - first impressions

2006-01-08 Thread Bennett Helm

On Jan 7, 2006, at 5:37 AM, Anders Ekberg wrote:


Looking at how some other applications have solved this:

- Microsoft puts the Microsoft Word.app and a Templates-folder as  
separate entities in the directory in /Applications/Microsoft  
Office 2004/  The same approach is used by AppleWorks.


- Apple's Pages put its templates in /Applications/iWork/Pages.app/ 
Contents/Resources/English.lproj/Templates/ (below they have two  
folders named ISO and Traditional with sub-folders for the templates).


In all of these cases, templates are selected through a pop-up menu  
and not a New... or Open... dialogue.


Notice that LyX's New from Template ... feature is most similar to  
Word's Open a copy feature (from within the Open dialog): any file  
can be a template, not just specially formatted/saved documents.  
For this reason, I think it makes sense to access them from a dialog  
similar to the open dialog, though perhaps the differences between  
the Open ... and Open from Template ... dialogs should be clearer  
in the dialogs themselves.


(In all of the cases, you store your created templates using a  
standard save dialogue. There may be a dedicated folder for  
personal templates (either in ~/Library/Application Support/ 
Program_Directory [used by Pages] or in /Applications/ 
Program_Directory/Templates/ [used by MS Office] (where the Save...  
dialogue is initially directed and I assume the program looks for  
user-defined templates), but you are basically free to choose  
whichever location you like for the templates.)


If a pop-up menu is difficult to implement, the MS Office version  
is probably easiest to adopt (though the risk is that since the  
templates are easily accessible they may be tinkered with, cf  
Bennett's remark above)


Perhaps the best way to solve the problem is by AbiWords approach,  
which is similar to what Pages uses (templates stored in the  
Application bundle and user-defined templates in the ~/ 
LibraryApplication Support/Program_Directory). The difference is  
that they use a list dialogue instead of a pop-up menu (i.e. you  
select your template from a list of available templates and click  
OK). Since AbiWord is OpenSource I guess it would be possible to  
study the code or ask the developers how this was implemented.


But note that this would not allow me to open just any file as a  
template.


It could be noted that with the current version it is possible to  
access the templates using the Apple+Shift+G short-cut and type in  
the path to the templates. However this is of-course not a user- 
friendly solution...


Agreed.

The next problem with the templates is that once you manage to open  
them you get (for some) a missing TeX-class error and have to go  
through the procedure outlined in http://wiki.lyx.org/pmwiki.php/ 
FAQ/MacInstall It would make the application much more user- 
friendly if the needed .cls-files are copied directly at  
installation if this is possible.


That would be easy to do in the installer script, though the risk  
would be that users have made modifications to the .cls files and the  
installer would overwrite them. Perhaps I'll find time to update the  
installer to provide a bit more user interaction when such issues  
crop up. Failing that, I could install the files if they're absent  
and otherwise not.


Bennett


Re: [announce] sixth release of LyXWinInstaller

2006-01-08 Thread Stephen Harris


- Original Message - 
From: Andre Poenitz [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: Michael Gerz [EMAIL PROTECTED]; Bo Peng 
[EMAIL PROTECTED]; lyx-users@lists.lyx.org; lyx-devel@lists.lyx.org

Sent: Sunday, January 08, 2006 12:00 PM
Subject: Re: [announce] sixth release of LyXWinInstaller



On Mon, Jan 02, 2006 at 02:24:58PM -0800, Stephen Harris wrote:

Why doesn't English have the default of C:\Programs?
Is it because C:\program files adheres to basic Windows guidelines?
No, certainly not.
Just because Word pioneered filenames with spaces doesn't
mean that practice should be emulated by other editors, nor
does Words ability to do this elevate the filename with spaces
capability to a basic windows guideline.


It's not Word pioneering bad practices, it's about Microsoft setting
rules about what is acceptable in their world and what not. Like it or
not, they are entitled to do that.



I agree with you, It's not Word pioneering bad practices and
that is not the point I made, so this part of your response is off
target. Nor is my point about the advantages of having Word
tied into Internet Explorer, Outlook or Excel. Nor is my point
about other Microsoft owned programs or other commercial
programs that are originally designed to work under Windows.

My point _is_ that programs that are ported to Windows should
adhere to Windows habits unless that causes a problem. But if
this habit causes a problem, and correcting a particular problem
like paths with spaces, to paths with no spaces fixes the problem,
and does not create a problem with Windows, then use the
standard workaround, which is paths with no spaces. Windows
does not consider a filename to be equivalent to a directory path.
I used Word as an analogy, other ported word processors don't
need to emulate filenames with spaces::LyX and its helper programs don't 
need to emulate C:\program files\xxx

LyX itself doesn't have a problem with filenames with spaces.

Your claim that installing LyX to C:\program files\Lyx is a good
idea because they have decided to install other programs to
C:\program files is simply false. It is not part of their world
nor does it benefit the interoperability of programs running under
the Windows OS. It does precisely the opposite. LaTex is a
major part of LyX productivity and it should *not* be installed
to C:\program files\texmf or C:\program files\miktex\texmf



There's a nice book on that. I put a copy of it between my desk and
monitor at work to make sure it does not crash. I forgot the title,
though, but could tell you on Tuesday if you want.



Yes, if it has a bearing on the actual benefit of installing LyX and
other ported *nix programs to C:\program files or other directories
because it improves operation of the programs. IOW, the book
needs to explain why C:\program files is a better choice than the
intuitve C:\programs in terms of the system working better. As it
stands now, that decision was a marketing decision, because the
choice causes problem with porting programs to Windows which Microsoft 
doesn't gather revenue from. I'm sick of that ludicrous
misnomer, guideline being applied to a proprietary money-making scheme 
which does nothing to benefit the operation of LyXhelpers.



The possibly surprising part is that most things in there actually
make sense and lead to that 'smooth' user experience when switsching
between different applications under Windows (compared to the constand
retraining under *nix)



There is some interoperability due to vbscript. That doesn't require
a path with spaces. Protext and Win32 do not default to a path with spaces 
such as C:\program files. The recommended Miktex (Latex

LyX install for windows) has instructions that it is not recommended
to Miktex to a directory with spaces.

The default install directory says C:\texmf
the user just has to hit OK, that is their habit
and so mentioning retraining is a red herring.
The going gets rough only if the user decides to
be clever, do more work, and change the default
install to C:\program files\texmf which contains
the .bst files under bibtex.

This is the issue I'm addressing in this thread which has done
quite a bit of wandering. If you download a .bst file from the
internet, put it into the C:\texmf\bibtex\bst folder
run miktex options refresh, Lyx reconfigure and rescan, it works.

If you download a .bst file from the internet and put it into
C:\My research papers along with research.lyx it doesn't
work, not because of some alleged problem that reflects to
C:\My Documents, but for the same reason C:\program files\texmf
doesn't work. It has nothing to do with retraining.

I think the question is whether Lyx should follow the usual Windows
Latex program guidelines of using an installation directory which
has no spaces in its path and provokes no problems or -- decide
to use a deleterious Windows installation of a directory with a space.

The problem with fixing Lyx/Miktex so that it does windows 

Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Stephen Harris


- Original Message - 
From: Rich Shepard [EMAIL PROTECTED]

To: Kevin Pfeiffer [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Sunday, January 08, 2006 3:19 PM
Subject: Re: copying and pasting a LyX environment? (like Word's Format 
Painter)




  I have a real peeve about those who want linux software (or any F/OSS
software) to work the way _anything_ from Redmond works. When Microsoft 
stuff
works, that is. Most of the DOS and Winduhs software sold by Microsoft is 
of
very poor quality. Just because most of the computer using world is used 
to

that way does not mean we should emulate it. Read Nick Petreley's
end-of-issue column Skin Cream Not Scum in the latest Linux Journal.
Unfortunately, it does not appear to be on-line.

  Let's do it better.

Rich



I'm especially against emulating some practice that breaks the
functionality of LyX and its helpers and then relies on MS
jargon to justify lots of work to descend to the emulation. So
I have no problem with emulating File because that benefits
all computer users with a reasonable standard and doesn't
require extra learning. Some of these Linux programs take a
lot of work to install with dependencies and dependencies of
dependencies and then incompatible gcc version changes and
library versionchanges and so on. The central authority of MS
has advantages for the user except that MS tries to extend this
influence into monopolistic profiteering practices. I resent
describing these greedy tactics as basic windows guidelines.
Otherwise fairly competent thinkers seem overcome by the
mind-ray that Petreley talks about below:

http://www.infoworld.com/articles/op/xml/01/06/18/010618oppetreley.html

One of my favorite scenes in the movie Ghostbusters II takes place during 
the taping of a TV show, World of the Psychic, with Dr. Peter Venkman. 
During the show, a guest named Elaine reveals how she found out the date for 
the end of the world, As I told my husband: It was in the Paramus Holiday 
Inn. I was having a drink at the bar, alone, and this alien approached me. 
He started talking to me, he bought me a drink, and then I think he must 
have used some kind of a ray or a mind-control device because he forced me 
to follow him to his room; and that's where he told me about the end of the 
world. Bill Murray replies incredulously, So your alien had a room at the 
Holiday Inn in Paramus?


As humorous as that may appear, I have come to the conclusion that one of 
two things must be true: Either Microsoft has a mind-control device similar 
to the one mentioned above, or some members of the mainstream media are as 
gullible as Elaine. I can think of no other explanation why people are 
reacting so differently to Microsoft's .NET than they did to IBM, Oracle, 
and Sun's promotion of NC (network computing) a few years back.


Regards,
Stephen





Re: figures in a table

2006-01-08 Thread Helge Hafting

Ray Henry wrote:



I'm creating a 10x10 table.  The first column is filled with small 
images. It is set to zero width.  The other columns are all set to 
fixed width and have text wrapped.  When the the image is inserted it 
creates space at the top of the row and pushes down the text in the 
other cells.  The images are sized to fit inside a cell without 
creating additional space.  What can I do to minimize the affect of 
inserting these images.


Is the problem that the row gets taller when you insert the image?

In that case, the image is too tall.  Not all the height of a table row
is available for use, some of it is supposed to be white space above
and below the text.  So inserting an image taller than the font height
will make the row taller, even if the image might fit between the
tabular lines.  This because latex thinks you want a certain amount
of white space above and below - but perhaps you don't in this case.

One way of fixing this might be to use the \raisebox latex command.
It is normally used to move stuff up or down, but it may also
be used for lying to latex about the height of its contents.
So it can be used to tell latex that no, this picture has no
height at all so no need to extend this row.

Use two tex boxes, one in front of your image and one immediately after it.
In the first one, type:
\raisebox{0mm}[0mm]0mm[]{
In the second box, type:
}
The second tex box merely ends the raisebox command, that's why
it only contain an ending brace.  Put your image between these two
tex boxes.

Helge Hafting


Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Helge Hafting

Kevin Pfeiffer wrote:


Hi all,

I just had to change several subsections to subsubsections. There were 
not enough of these to bother switching to search-and-replace in my 
text editor, but enough to make the process in LyX tedious. While doing 
this it occurred to me that the MS Word Format Painter (copy/paste 
format paintbrush) feature would be useful in a case like this for 
doing such things in LyX. Might this be possible in the newer 1.4? (Or 
even in 1.3.5?)
 


I know of no such feature in the upcoming 1.4.

I don't know how this format painter works, but here is something
I imagine could be useful:

* Mark the part of the document to be changed - possibly all
* Use a menu (or keypress) to change heading level up or down,
  similiar to how we already can change the environment depth.

Such an action should have no effect on non-heading environments,
but change all headings up or down one level.  I.e. sections becomes
subsections, subsections becomes subsubsections and so on.

This could be very useful when one have a document with sections
(and subsections) and then find that it must be part of
something bigger, so the entire document have to become
a section of the bigger entity. 


This should be easy enough to implement - lyx already know
which environments are heading-type environments, you
see that in the navigate menu.  Of course there is the
question of what to do about headings that cannot be
changed - there is no heading below subparagraph or
above part, so structural information will be lost if the
user tries to change one of those.

Helge Hafting



Style/Grammar Checker (v0.3c) for the LyX GUI availiable.

2006-01-08 Thread John C. McCabe-Dansted
I have put up a new version (v0.3c) of a Perl script that provides Grammar 
Checking support within LyX's GUI. If you are interested in automatically 
checking your documents for various errors, see:
http://wiki.lyx.org/pmwiki.php/Tools/LyX-GrammarChecker

 Internally it checks for a dozen common errors in LyX documents, such as 
misuse of "A vs An" and forgetting to put a space after a math block. It can 
be configured to use JLanguageTool to provide full grammar checking from 
within LyX's Gui, if ChkTeX is installed it will also detect a variety of 
common TeX related mistakes in your document. Rather than complain each time 
it is too stupid to understand your grammar, it checks your text against ~400 
common errors each of which can be disabled by editing a text file.

It seems be quite simple to use under Linux and MacOSX. I haven't tested it 
under Windows but it should "just work" if you are using Cygwin. I'd be 
interested to know if it actually does works with Cygwin. If it doesn't "just 
work", mail me with any errors or symptoms etc.

Also if anyone has knowledge of how Cygwin relates to the LyX project, I'd 
appreciate it if they filled out my stub at:
http://wiki.lyx.org/pmwiki.php/Windows/Cygwin?action=edit

-- 
John C. McCabe-Dansted
Masters Student


Re: Missing references bug: lyx not calling pdflatex again?

2006-01-08 Thread Georg Baum
Am Sonntag, 8. Januar 2006 03:22 schrieb Fernando Perez:
> This is a lyx bug, I'm pretty convinced.

I think so, too.

> I guess I should just take it up 
> on lyx-dev...

Please do, and enter it at http://bugzilla.lyx.org. It would be great if 
you could also attach an example document and create step-by-step 
instructions to reproduce the bug.


Georg



Re: help for lyx install

2006-01-08 Thread Jean-Marc Lasgouttes
> "giacomo" == giacomo coslovich <[EMAIL PROTECTED]> writes:

giacomo> Hi, I need some help for installing Lyx 1.3.6 for Linux! I
giacomo> have the Red Hat 9.B distribution and I've installed also
giacomo> some packages of xfree, but lyx doesn't see my xfree library!
giacomo> I've run configure -with-extra-lib=(Path of the libs) but it
giacomo> doesn't work... Can you help me? 

First, did you really wanted to use xforms, or is it just because it
is the default? I would advise you to configure with
--with-frontend=qt.

If xforms is really what you want, then send your config.Log file so
that we can see what goes wrong.

JMarc


Re: bibliographies

2006-01-08 Thread John O'Gorman
On Sun, 2006-01-08 at 17:53, Stephen Harris wrote:
> - Original Message - 
> From: "john" <[EMAIL PROTECTED]>
> To: 
> Sent: Saturday, January 07, 2006 6:55 PM
> Subject: Re: bibliographies
> 
> 
> > Hi
> > Does anyone have a computer bibliography or know where I can get one?
> > I'd like all the classics: K, Knuth, Lamport, Eric S Raymond, etc
> > 
> > regards
> > John O'Gorman
> > 
> 
> http://www.computerhalloffame.org/inductees/2004/
> 
> Perhaps you mean TeX hall of fame because 
> Lamport wouldn't make it as a classic name.
I think that you misunderstood what I was asking for.
But I looked at the site. Interesting eh! 
It has a very commercial bent - includes lots of founders of big
companies (yecht even Bill Gates) but ignores authors: luminaries such
as Larry Wall, Brian Kernighan, Guido van Rossum, James Gosling etc

What I really wanted was a file of bibtex or whatever entries (to save
me the effort of creating one myself! 

regards
John O'Gorman








> 
> 



[announce] seventh release of LyXWinInstaller

2006-01-08 Thread Uwe Stöhr

Hello LyXers,

I'm proud to present the new version 0.7 of the LyX installer for Windows.

You can download it from

https://developer.berlios.de/project/showfiles.php?group_id=5117_id=8585

More general informations about the installer can be found here:

http://wiki.lyx.org/Windows/LyXWinInstaller

Here's the changelog:
---
Version 0.7

- new polish translation of the installer (thanks to Thomasz Łuczak)
- new italian translation of the installer (thanks to Massimo Lucci)
- MiKTeX will now automatically install all packages needed by LyX
  during LyX's configuration (requires an internet connection)
- LaTeX class files that come with LyX and the LaTeX files needed for
  instant preview are now automatically installed when MiKTeX is used as
  LaTeX-distribution
- fix in the unistallation of GSview
- the TeXLive LaTeX-distribution is now recognized in all cases
- math fraktur characters are now correctly displayed in LyX
- the network version of the installer does now also check for installed
  LaTeX-distributions
- updated to LyX 1.3.7pre6
- updated qtwin library (flickering while editing text is now reduced)
  (thanks to Christian Ehrlicher)
- updated MiKTeX (thanks to Christian Schenk)
---

The MiKTeX developer was kind enough to prepare a special version of
MiKTeX 2.4. It is named "basic-miktex" and is the same as the 
"small-miktex" available at miktex.org but includes all patches and 
actualized packages from the last year. If you have MiKTeX already 
installed you can also get all updates and packages when you use 
MiKTeX's update wizard.


When you have an internet connection while running the installer, MiKTeX
will now install all packages needed by LyX. This needs some minutes but
assures that you can use all LyX features. You just need now for example
only to check the option "Instant preview" in LyX graphics preferences
to enable instant preview, nothing more!

The LaTeX classes that comes with LyX (cv, hollywood, broadway, etc.)
are now automatically registered to MiKTeX so that you can just start to
use the corresponding LyX example files.

So I hope the new installer version makes life easier.

The math-font package "BaKoMa4LyX" missed the file eufm10.ttf that is
needed to display fraktur characters. The new installer version installs
the font when you first deinstall LyX's math fonts via LyXWinInstaller's
uninstaller or manually. You can also download and install the font from:

ftp://ftp.dante.de/tex-archive/fonts/cm/ps-type1/bakoma/ttf/eufm10.ttf

Every annotation is welcome.

---
You can help to improve the installer by translating it. Currently it is
fully translated to:

- english
- french
- german
- hungarian
- italian
- polish
- slovak
- swedish
- turkish

It is partly translated to:

- spanish (5 untranslated messages)
- danish  (34 untranslated messages)
- dutch   (34 untranslated messages)

If you want to translate some messages then download this file:

http://download.berlios.de/lyxwininstall/LyXPackageScripts-0-7.rar

and edit a textfile ".nsh" from the subdirectory
"lyx_languages". If you want to translate to a new language, start with
the file "english.nsh". Please send the modified files to a LyX list or
directly to me. (Please ask me if you need more infos or have questions.)

Thanks in advance
regards Uwe



Re: [announce] sixth release of LyXWinInstaller

2006-01-08 Thread Andre Poenitz
On Mon, Jan 02, 2006 at 02:24:58PM -0800, Stephen Harris wrote:
> Why doesn't English have the default of C:\Programs?
> Is it because C:\program files adheres to basic Windows guidelines?
> No, certainly not.
> Just because Word pioneered filenames with spaces doesn't
> mean that practice should be emulated by other editors, nor
> does Words ability to do this elevate the filename with spaces
> capability to a "basic windows guideline".

It's not Word pioneering bad practices, it's about Microsoft setting
rules about what is acceptable in their world and what not. Like it or
not, they are entitled to do that.

There's a nice book on that. I put a copy of it between my desk and
monitor at work to make sure it does not crash. I forgot the title,
though, but could tell you on Tuesday if you want.

The possibly surprising part is that most things in there actually
make sense and lead to that 'smooth' user experience when switsching
between different applications under Windows (compared to the constand
retraining under *nix) 

> I've investigated this issue. I have not been able to find any
> reason for the adoption of path with spaces to make the
> Windows OS work better or work better with other programs.

People just like to type Phrases with Spaces instead
Phrases-with-hyphens_or_underscores.

It's a bit of 'making life simpler for the user' vs 'making life
simpler for the prorammer'.

Of course, in the *nix world most users are more or less programmers as
well so they tend to agree on the fact that life should be simple for
programmers as well.

> I think then that the default install of a path with spaces is not
> part of basic windows guidelines.

For certain countries it is. Most notably for GB and the US.

Andre'


copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Kevin Pfeiffer
Hi all,

I just had to change several subsections to subsubsections. There were 
not enough of these to bother switching to search-and-replace in my 
text editor, but enough to make the process in LyX tedious. While doing 
this it occurred to me that the MS Word Format Painter (copy/paste 
format paintbrush) feature would be useful in a case like this for 
doing such things in LyX. Might this be possible in the newer 1.4? (Or 
even in 1.3.5?)

-Kevin


-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Rich Shepard

On Sun, 8 Jan 2006, Kevin Pfeiffer wrote:


I just had to change several subsections to subsubsections. There were not
enough of these to bother switching to search-and-replace in my text
editor, but enough to make the process in LyX tedious. While doing this it
occurred to me that the MS Word Format Painter (copy/paste format
paintbrush) feature would be useful in a case like this for doing such
things in LyX. Might this be possible in the newer 1.4? (Or even in 1.3.5?)


Kevin,

  Why not leave LyX trim, light, and fast and do more tedious editing
directly in the *.lyx file?

  I have a real peeve about those who want linux software (or any F/OSS
software) to work the way _anything_ from Redmond works. When Microsoft stuff
works, that is. Most of the DOS and Winduhs software sold by Microsoft is of
very poor quality. Just because most of the computer using world is used to
that way does not mean we should emulate it. Read Nick Petreley's
end-of-issue column "Skin Cream Not Scum" in the latest Linux Journal.
Unfortunately, it does not appear to be on-line.

  Let's do it better.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Paul A. Rubin

Rich Shepard wrote:

On Sun, 8 Jan 2006, Kevin Pfeiffer wrote:

I just had to change several subsections to subsubsections. There were 
not

enough of these to bother switching to search-and-replace in my text
editor, but enough to make the process in LyX tedious. While doing 
this it

occurred to me that the MS Word Format Painter (copy/paste format
paintbrush) feature would be useful in a case like this for doing such
things in LyX. Might this be possible in the newer 1.4? (Or even in 
1.3.5?)



Kevin,

  Why not leave LyX trim, light, and fast and do more tedious editing
directly in the *.lyx file?


Because it forces you to switch to a different application (and forces 
the user to know the syntax of LyX files)?  This looks like one of those 
things that differentiates "power users" from regular users.



  I have a real peeve about those who want linux software (or any F/OSS
software) to work the way _anything_ from Redmond works. When Microsoft 
stuff works, that is.


I'm sympathetic here.


Most of the DOS and Winduhs software sold by Microsoft is of
very poor quality.


Um, not sure about this.  Mind you, I don't use any M$ software I don't 
have to (meaning I use Excel when I teach and Word when I grade papers 
submitted as Word files).  I routinely annoy my MBA students (who tend 
to think all software comes from M$) by doing presentations with LyX and 
beamer and posting them as PDFs.  All that said, Microsoft apps have 
improved in recent years to the point of being at least average quality. 
 It's just that one tends to get miffed about their failings when one 
contemplates the price paid for them.  (I will say that M$ help files 
continue to be remarkably unhelpful, unless you need to have 
"left-click" explained to you.)



Just because most of the computer using world is used to
that way does not mean we should emulate it.


Quite true, but let's not carry that to an extreme.  M$ fairly 
consistently puts the exit command at the bottom of the File menu. 
Should LyX put it elsewhere just to spite Billionaire Bill?



Read Nick Petreley's
end-of-issue column "Skin Cream Not Scum" in the latest Linux Journal.
Unfortunately, it does not appear to be on-line.

  Let's do it better.


Always an admirable goal.

Like Kevin, I've encountered instances where I wanted to change the 
environment of several disconnected chunks of a document.  It would be 
nice if there was a way to select the new environment and then apply it 
to various paragraphs with a single click (right click, middle click, 
alt-click, whatever).  The same is true for character properties, 
particularly size in my case (in beamer I'm perpetually experimenting 
with how far tables have to be shrunk to fit on a slide).  I wouldn't 
say it was urgent, but I can't see any harm in it, and it would benefit 
some.


We could always claim that any semblance to M$'s format painter (which, 
incidentally, also exists in the WordPerfect suite) is purely coincidence.


/Paul
everyone in Redmond>




Re: copying and pasting a LyX environment? (like Open Office's Format Paintbrush)

2006-01-08 Thread Kevin Pfeiffer
Rich Shepard writes:
>Why not leave LyX trim, light, and fast and do more tedious
> editing directly in the *.lyx file?

From my original post:
> > There
> > were not enough of these to bother switching to search-and-replace
> > in my text editor,

>I have a real peeve about those who want linux software (or any
> F/OSS software) to work the way _anything_ from Redmond works.

Sorry, should have known better. Scratch "MS Word Format Painter" from 
my original post and replace with "Open Office's Format Paintbrush."

>  Just because most of the
> computer using world is used to that way does not mean we should
> emulate it. 

True. Just because some feature is being used by "most of the 
computer-using world" makes it neither good _nor_ bad (unless we are 
talking about standards development).

To follow up on my original post, when modifying parameters via the 
Character and Paragraph menus I can already effectively do "format 
painting": I set the menu to remain on top of all other windows, make 
my changes, then click "Apply" each time. This does the same thing as a 
Format Paintbrush. But I don't see how to do this with the LyX 
environments (section, chapter, paragraph, etc.), at least not in 
1.3.5.

-Kevin


-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


figures in a table

2006-01-08 Thread Ray Henry


I'm creating a 10x10 table.  The first column is filled with small 
images. It is set to zero width.  The other columns are all set to fixed 
width and have text wrapped.  When the the image is inserted it creates 
space at the top of the row and pushes down the text in the other 
cells.  The images are sized to fit inside a cell without creating 
additional space.  What can I do to minimize the affect of inserting 
these images.


Rayh




Re: Missing references bug: lyx not calling pdflatex again?

2006-01-08 Thread Fernando Perez
Georg Baum wrote:

> Am Sonntag, 8. Januar 2006 03:22 schrieb Fernando Perez:
>> This is a lyx bug, I'm pretty convinced.
> 
> I think so, too.
> 
>> I guess I should just take it up
>> on lyx-dev...
> 
> Please do, and enter it at http://bugzilla.lyx.org. It would be great if
> you could also attach an example document and create step-by-step
> instructions to reproduce the bug.

OK, I will.  I'm not sure I'll be able to post a document, as it's very on
and off (the current one where I see it is too big and I can't make it
public).  I'll try though, and at least I'll explain it well.
 
Thanks.

Cheers,

f



Re: LyX 1.4.0pre3 on MacOSX - first impressions

2006-01-08 Thread Bennett Helm

On Jan 7, 2006, at 5:37 AM, Anders Ekberg wrote:


Looking at how some other applications have solved this:

- Microsoft puts the Microsoft Word.app and a Templates-folder as  
separate entities in the directory in /Applications/Microsoft  
Office 2004/  The same approach is used by AppleWorks.


- Apple's Pages put its templates in /Applications/iWork/Pages.app/ 
Contents/Resources/English.lproj/Templates/ (below they have two  
folders named ISO and Traditional with sub-folders for the templates).


In all of these cases, templates are selected through a pop-up menu  
and not a New... or Open... dialogue.


Notice that LyX's "New from Template ..." feature is most similar to  
Word's "Open a copy" feature (from within the Open dialog): any file  
can be a "template", not just specially formatted/saved documents.  
For this reason, I think it makes sense to access them from a dialog  
similar to the open dialog, though perhaps the differences between  
the "Open ..." and "Open from Template ..." dialogs should be clearer  
in the dialogs themselves.


(In all of the cases, you store your created templates using a  
standard save dialogue. There may be a dedicated folder for  
personal templates (either in ~/Library/Application Support/ 
Program_Directory [used by Pages] or in /Applications/ 
Program_Directory/Templates/ [used by MS Office] (where the Save...  
dialogue is initially directed and I assume the program looks for  
user-defined templates), but you are basically free to choose  
whichever location you like for the templates.)


If a pop-up menu is difficult to implement, the MS Office version  
is probably easiest to adopt (though the risk is that since the  
templates are easily accessible they may be tinkered with, cf  
Bennett's remark above)


Perhaps the best way to solve the problem is by AbiWords approach,  
which is similar to what Pages uses (templates stored in the  
Application bundle and user-defined templates in the ~/ 
LibraryApplication Support/Program_Directory). The difference is  
that they use a "list dialogue" instead of a pop-up menu (i.e. you  
select your template from a list of available templates and click  
OK). Since AbiWord is OpenSource I guess it would be possible to  
study the code or ask the developers how this was implemented.


But note that this would not allow me to open just any file as a  
"template".


It could be noted that with the current version it is possible to  
access the templates using the Apple+Shift+G short-cut and type in  
the path to the templates. However this is of-course not a user- 
friendly solution...


Agreed.

The next problem with the templates is that once you manage to open  
them you get (for some) a "missing TeX-class" error and have to go  
through the procedure outlined in http://wiki.lyx.org/pmwiki.php/ 
FAQ/MacInstall It would make the application much more user- 
friendly if the needed .cls-files are copied directly at  
installation if this is possible.


That would be easy to do in the installer script, though the risk  
would be that users have made modifications to the .cls files and the  
installer would overwrite them. Perhaps I'll find time to update the  
installer to provide a bit more user interaction when such issues  
crop up. Failing that, I could install the files if they're absent  
and otherwise not.


Bennett


Re: [announce] sixth release of LyXWinInstaller

2006-01-08 Thread Stephen Harris


- Original Message - 
From: "Andre Poenitz" <[EMAIL PROTECTED]>

To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: "Michael Gerz" <[EMAIL PROTECTED]>; "Bo Peng" 
<[EMAIL PROTECTED]>; ; 

Sent: Sunday, January 08, 2006 12:00 PM
Subject: Re: [announce] sixth release of LyXWinInstaller



On Mon, Jan 02, 2006 at 02:24:58PM -0800, Stephen Harris wrote:

Why doesn't English have the default of C:\Programs?
Is it because C:\program files adheres to basic Windows guidelines?
No, certainly not.
Just because Word pioneered filenames with spaces doesn't
mean that practice should be emulated by other editors, nor
does Words ability to do this elevate the filename with spaces
capability to a "basic windows guideline".


It's not Word pioneering bad practices, it's about Microsoft setting
rules about what is acceptable in their world and what not. Like it or
not, they are entitled to do that.



I agree with you, "It's not Word pioneering bad practices" and
that is not the point I made, so this part of your response is off
target. Nor is my point about the advantages of having Word
tied into Internet Explorer, Outlook or Excel. Nor is my point
about other Microsoft owned programs or other commercial
programs that are originally designed to work under Windows.

My point _is_ that programs that are ported to Windows should
adhere to Windows habits unless that causes a problem. But if
this habit causes a problem, and correcting a particular problem
like paths with spaces, to paths with no spaces fixes the problem,
and does not create a problem with Windows, then use the
standard workaround, which is paths with no spaces. Windows
does not consider a filename to be equivalent to a directory path.
I used Word as an analogy, other ported word processors don't
need to emulate filenames with spaces::LyX and its helper programs don't 
need to emulate C:\program files\xxx

LyX itself doesn't have a problem with filenames with spaces.

Your claim that installing LyX to C:\program files\Lyx is a good
idea because they have decided to install other programs to
C:\program files is simply false. It is not part of "their world"
nor does it benefit the interoperability of programs running under
the Windows OS. It does precisely the opposite. LaTex is a
major part of LyX productivity and it should *not* be installed
to C:\program files\texmf or C:\program files\miktex\texmf



There's a nice book on that. I put a copy of it between my desk and
monitor at work to make sure it does not crash. I forgot the title,
though, but could tell you on Tuesday if you want.



Yes, if it has a bearing on the actual benefit of installing LyX and
other ported *nix programs to C:\program files or other directories
because it improves operation of the programs. IOW, the book
needs to explain why C:\program files is a better choice than the
intuitve C:\programs in terms of the system working better. As it
stands now, that decision was a marketing decision, because the
choice causes problem with porting programs to Windows which Microsoft 
doesn't gather revenue from. I'm sick of that ludicrous
misnomer, "guideline" being applied to a proprietary money-making scheme 
which does nothing to benefit the operation of LyX



The possibly surprising part is that most things in there actually
make sense and lead to that 'smooth' user experience when switsching
between different applications under Windows (compared to the constand
retraining under *nix)



There is some interoperability due to vbscript. That doesn't require
a path with spaces. Protext and Win32 do not default to a path with spaces 
such as C:\program files. The recommended Miktex (Latex

LyX install for windows) has instructions that it is not recommended
to Miktex to a directory with spaces.

The default install directory says C:\texmf
the user just has to hit OK, that is their habit
and so mentioning "retraining" is a red herring.
The going gets rough only if the user decides to
be clever, do more work, and change the default
install to C:\program files\texmf which contains
the .bst files under bibtex.

This is the issue I'm addressing in this thread which has done
quite a bit of wandering. If you download a .bst file from the
internet, put it into the C:\texmf\bibtex\bst folder
run miktex options refresh, Lyx reconfigure and rescan, it works.

If you download a .bst file from the internet and put it into
C:\My research papers along with research.lyx it doesn't
work, not because of some alleged problem that reflects to
C:\My Documents, but for the same reason C:\program files\texmf
doesn't work. It has nothing to do with retraining.

I think the question is whether Lyx should follow the usual Windows
Latex program guidelines of using an installation directory which
has no spaces in its path and provokes no problems or -- decide
to use a deleterious Windows installation of a directory with a space.

The problem with fixing Lyx/Miktex so that 

Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Stephen Harris


- Original Message - 
From: "Rich Shepard" <[EMAIL PROTECTED]>

To: "Kevin Pfeiffer" <[EMAIL PROTECTED]>
Cc: 
Sent: Sunday, January 08, 2006 3:19 PM
Subject: Re: copying and pasting a LyX environment? (like Word's Format 
Painter)




  I have a real peeve about those who want linux software (or any F/OSS
software) to work the way _anything_ from Redmond works. When Microsoft 
stuff
works, that is. Most of the DOS and Winduhs software sold by Microsoft is 
of
very poor quality. Just because most of the computer using world is used 
to

that way does not mean we should emulate it. Read Nick Petreley's
end-of-issue column "Skin Cream Not Scum" in the latest Linux Journal.
Unfortunately, it does not appear to be on-line.

  Let's do it better.

Rich



I'm especially against emulating some practice that breaks the
functionality of LyX and its helpers and then relies on MS
jargon to justify lots of work to descend to the emulation. So
I have no problem with emulating "File" because that benefits
all computer users with a reasonable standard and doesn't
require extra learning. Some of these Linux programs take a
lot of work to install with dependencies and dependencies of
dependencies and then incompatible gcc version changes and
library versionchanges and so on. The central authority of MS
has advantages for the user except that MS tries to extend this
influence into monopolistic profiteering practices. I resent
describing these greedy tactics as "basic windows guidelines".
Otherwise fairly competent thinkers seem overcome by the
mind-ray that Petreley talks about below:

http://www.infoworld.com/articles/op/xml/01/06/18/010618oppetreley.html

"One of my favorite scenes in the movie Ghostbusters II takes place during 
the taping of a TV show, "World of the Psychic, with Dr. Peter Venkman." 
During the show, a guest named Elaine reveals how she found out the date for 
the end of the world, "As I told my husband: It was in the Paramus Holiday 
Inn. I was having a drink at the bar, alone, and this alien approached me. 
He started talking to me, he bought me a drink, and then I think he must 
have used some kind of a ray or a mind-control device because he forced me 
to follow him to his room; and that's where he told me about the end of the 
world." Bill Murray replies incredulously, "So your alien had a room at the 
Holiday Inn in Paramus?"


As humorous as that may appear, I have come to the conclusion that one of 
two things must be true: Either Microsoft has a mind-control device similar 
to the one mentioned above, or some members of the mainstream media are as 
gullible as Elaine. I can think of no other explanation why people are 
reacting so differently to Microsoft's .NET than they did to IBM, Oracle, 
and Sun's promotion of NC (network computing) a few years back."


Regards,
Stephen





Re: figures in a table

2006-01-08 Thread Helge Hafting

Ray Henry wrote:



I'm creating a 10x10 table.  The first column is filled with small 
images. It is set to zero width.  The other columns are all set to 
fixed width and have text wrapped.  When the the image is inserted it 
creates space at the top of the row and pushes down the text in the 
other cells.  The images are sized to fit inside a cell without 
creating additional space.  What can I do to minimize the affect of 
inserting these images.


Is the problem that the row gets taller when you insert the image?

In that case, the image is too tall.  Not all the height of a table row
is "available for use", some of it is supposed to be white space above
and below the text.  So inserting an image taller than the font height
will make the row taller, even if the image might fit between the
tabular lines.  This because latex thinks you want a certain amount
of white space above and below - but perhaps you don't in this case.

One way of fixing this might be to use the \raisebox latex command.
It is normally used to move stuff up or down, but it may also
be used for "lying" to latex about the height of its contents.
So it can be used to tell latex that "no, this picture has no
height at all so no need to extend this row."

Use two tex boxes, one in front of your image and one immediately after it.
In the first one, type:
\raisebox{0mm}[0mm]0mm[]{
In the second box, type:
}
The second tex box merely ends the raisebox command, that's why
it only contain an ending brace.  Put your image between these two
tex boxes.

Helge Hafting


Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-08 Thread Helge Hafting

Kevin Pfeiffer wrote:


Hi all,

I just had to change several subsections to subsubsections. There were 
not enough of these to bother switching to search-and-replace in my 
text editor, but enough to make the process in LyX tedious. While doing 
this it occurred to me that the MS Word Format Painter (copy/paste 
format paintbrush) feature would be useful in a case like this for 
doing such things in LyX. Might this be possible in the newer 1.4? (Or 
even in 1.3.5?)
 


I know of no such feature in the upcoming 1.4.

I don't know how this "format painter" works, but here is something
I imagine could be useful:

* Mark the part of the document to be changed - possibly all
* Use a menu (or keypress) to change "heading level" up or down,
  similiar to how we already can change the "environment depth".

Such an action should have no effect on non-heading environments,
but change all headings up or down one level.  I.e. sections becomes
subsections, subsections becomes subsubsections and so on.

This could be very useful when one have a document with sections
(and subsections) and then find that it must be part of
something bigger, so the entire document have to become
a section of the bigger entity. 


This should be easy enough to implement - lyx already know
which environments are "heading-type" environments, you
see that in the "navigate" menu.  Of course there is the
question of what to do about headings that cannot be
changed - there is no heading below s"ubparagraph" or
above "part", so structural information will be lost if the
user tries to change one of those.

Helge Hafting