Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Steve Litt
Hi all,

I upgraded to Ubuntu 9, lyx 1.6.2 March 16 2009 that came with it. Now of my 
books stopped compiling. For one thing, the Memoir class, from which the 
storybook class was built, was butchered -- I had to download Memoir and 
compile it and texhash and then at least memoir (now called book (Memoir)) 
appeared..

But now, my storybook class doesn't show up in the LyX Doc Class dropdown. I 
went so far as to put it into ~/.lyx/layouts/storybook.layout (not as a 
symlink, but as an actual file), and simplified it to this:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{storybook}

Input stdclass.inc

Preamble

EndPreamble

Style MyTest
  CopyStyle  Chapter
End


Still, storybook didn't show up in Document Class dropdown.

Has something changed in layout handling in 1.62 (as opposed to my previous 
version, 1.56)? What can I do to get this to work? I've tried the stuff in 
http://www.troubleshooters.cxm/linux/lyx/surefire_layout.htm, which worked in 
1.56, but no joy.

In the long run, I think LyX instantiation must produce a log file so 
troubleshooting failure of layout-produced classes will not be such a black 
box. Since as far back as 2001, this has been a problem. The raindance 
necessary to cure it has changed with changing versions, but it has been and 
continues to be a problem when using layouts to make your own classes.

But for now, any ideas what I can do to narrow down this problem?

Thanks

SteveT


Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

I upgraded to Ubuntu 9, lyx 1.6.2 March 16 2009 that came with it. Now of my 
books stopped compiling. For one thing, the Memoir class, from which the 
storybook class was built, was butchered -- I had to download Memoir and 
compile it and texhash and then at least memoir (now called book (Memoir)) 
appeared..


But now, my storybook class doesn't show up in the LyX Doc Class dropdown. I 
went so far as to put it into ~/.lyx/layouts/storybook.layout (not as a 
symlink, but as an actual file), and simplified it to this:


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{storybook}

Input stdclass.inc

Preamble

EndPreamble

Style MyTest
  CopyStyle  Chapter
End


Still, storybook didn't show up in Document Class dropdown.



Steve,

I have the same setup (except the drop date for my copy of LyX is March 
14, not March 16).  I put your stripped layout file in ~/.lyx/layouts, 
reconfigured and restarted LyX, and it showed up on my class list.


You did reconfigure/restart LyX, right?  And is the ordinary book class 
on your dropdown list?  (LyX won't acknowledge storybook if book.cls is 
not available to it.)


/Paul



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Steve Litt
On Thursday 23 July 2009 10:33:22 Paul A. Rubin wrote:
 Steve Litt wrote:
  Hi all,
 
  I upgraded to Ubuntu 9, lyx 1.6.2 March 16 2009 that came with it. Now of
  my books stopped compiling. For one thing, the Memoir class, from which
  the storybook class was built, was butchered -- I had to download Memoir
  and compile it and texhash and then at least memoir (now called book
  (Memoir)) appeared..
 
  But now, my storybook class doesn't show up in the LyX Doc Class
  dropdown. I went so far as to put it into ~/.lyx/layouts/storybook.layout
  (not as a symlink, but as an actual file), and simplified it to this:
 
  #% Do not delete the line below; configure depends on this
  #  \DeclareLaTeXClass[book]{storybook}
 
  Input stdclass.inc
 
  Preamble
 
  EndPreamble
 
  Style MyTest
CopyStyle  Chapter
  End
 
 
  Still, storybook didn't show up in Document Class dropdown.

 Steve,

 I have the same setup (except the drop date for my copy of LyX is March
 14, not March 16).  I put your stripped layout file in ~/.lyx/layouts,
 reconfigured and restarted LyX, and it showed up on my class list.

 You did reconfigure/restart LyX, right?  

Oh dear lord! I did this, as is my habit:

/usr/share/lyx/configure.py

So just for fun, I did lyx-tools-reconfigure, quit, restart lyx, and now 
storybook showed up. Thanks for the reminder.

This brings up another problem. Without an automated way to reconfigure, 
debugging will take literallly two or three times longer. Can 
/usr/share/lyx/configure.py /usr/share/lyx/configure.py be modified to do 
exactly 
the same thing as lyx-tools-reconfigure, quit, restart lyx?

Also, I think it would be a great idea for LyX, on loading, to write to a log 
all info about discovered document classes. Every entry would have a 
timestamp. It might look something like this:

CHECKING SYSTEM WIDE DIRECTORIES FOR LAYOUTS
dir /usr/share/lyx/layouts/
/usr/share/lyx/layouts/seminar.layout: Loaded doc class 
seminar
/usr/share/lyx/layouts/siamltex.layout: Loaded doc class 
{article (SIAM)
/usr/share/lyx/layouts/sigplanconf.layout: FAILED to load doc 
class article 
(ACM SIGPLAN), reason
/path/to/other/systemwide/layouts
...
CHECKING CURRENT DIRECTORY
dir /d/at/books/stories
/d/at/books/stories/storybook.layout: Loaded doc class 
storybook
CHECKING PERSONAL LYX LAYOUT DIRECTORY
dir /home/slitt/.lyx/layouts
dir /home/slitt/.lyx/layouts/.layout: Loaded doc class 

dir /home/slitt/.lyx/layouts/ttotst.layout: Loaded doc class 
ttotst
dir /home/slitt/.lyx/layouts/storybook.layout: FAILED to load 
doc class 
storybook, class already loaded


That same log could be written by /usr/share/lyx/configure.py because I'm 
pretty sure that investigates all directories also.

With the log file in place, layout/class troubleshooting wouldn't be a black 
box -- we'd have  a diagnostic tool that could save the classmaker and/or 
author hours.

Thanks

STeveT



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Paul A. Rubin

Steve Litt wrote:



Oh dear lord! I did this, as is my habit:

/usr/share/lyx/configure.py

So just for fun, I did lyx-tools-reconfigure, quit, restart lyx, and now 
storybook showed up. Thanks for the reminder.


Hah!  And here I thought I was the only one on the list with memory 
lapses!  :-)


This brings up another problem. Without an automated way to reconfigure, 
debugging will take literallly two or three times longer. Can 
/usr/share/lyx/configure.py /usr/share/lyx/configure.py be modified to do exactly 
the same thing as lyx-tools-reconfigure, quit, restart lyx?


I don't have an answer to this, but since I just debugged some modules 
this morning, I may have something to point out.  Reconfiguring LyX is 
only necessary when you add a layout or module.  Once the layout/module 
file is there, you can edit it, and LyX only needs a restart (not a 
reconfigure) to pick up the changes.


Also, I think it would be a great idea for LyX, on loading, to write to a log 
all info about discovered document classes. Every entry would have a 
timestamp. It might look something like this:


CHECKING SYSTEM WIDE DIRECTORIES FOR LAYOUTS
dir /usr/share/lyx/layouts/
/usr/share/lyx/layouts/seminar.layout: Loaded doc class 
seminar
/usr/share/lyx/layouts/siamltex.layout: Loaded doc class {article 
(SIAM)
		/usr/share/lyx/layouts/sigplanconf.layout: FAILED to load doc class article 
(ACM SIGPLAN), reason

/path/to/other/systemwide/layouts
...
CHECKING CURRENT DIRECTORY
dir /d/at/books/stories
/d/at/books/stories/storybook.layout: Loaded doc class 
storybook
CHECKING PERSONAL LYX LAYOUT DIRECTORY
dir /home/slitt/.lyx/layouts
dir /home/slitt/.lyx/layouts/.layout: Loaded doc class 

dir /home/slitt/.lyx/layouts/ttotst.layout: Loaded doc class 
ttotst
		dir /home/slitt/.lyx/layouts/storybook.layout: FAILED to load doc class 
storybook, class already loaded



That same log could be written by /usr/share/lyx/configure.py because I'm 
pretty sure that investigates all directories also.


With the log file in place, layout/class troubleshooting wouldn't be a black 
box -- we'd have  a diagnostic tool that could save the classmaker and/or 
author hours.




Not a bad idea IMHO.

/Paul



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread rgheck

On 07/23/2009 02:17 PM, Paul A. Rubin wrote:
Steve Litt wrote: This brings up another problem. Without an automated 
way to reconfigure, debugging will take literallly two or three times 
longer. Can /usr/share/lyx/configure.py /usr/share/lyx/configure.py be 
modified to do exactly the same thing as lyx-tools-reconfigure, 
quit, restart lyx?


It does, but it needs to be run from your user directory---or, better, 
from whichever directory you want it to dump its output into. This is 
because you might have more than one such directory.


I don't have an answer to this, but since I just debugged some modules 
this morning, I may have something to point out.  Reconfiguring LyX is 
only necessary when you add a layout or module.  Once the 
layout/module file is there, you can edit it, and LyX only needs a 
restart (not a reconfigure) to pick up the changes.


What's more, in 1.6, you don't even need a restart. (Yes, Steve, it was 
you who gave me the idea for this.)


WARNING: The following is intended ONLY for people willing to live with 
problems. DO NOT attempt to do what I am about to describe while 
actually working on documents. Do so ONLY when writing and debugging 
layouts. Use test documents for this purpose.


Entering layout-reload in the minibuffer will reload layout information.

WARNING: If your layout contains syntax errors, etc, this can lead to 
serious problems. LyX may abort loading your class and revert to the 
default. That is why you should NOT do this while editing real 
documents. DO NOT attempt to modify the default layout this way (that'd 
be article.layout).


Also, I think it would be a great idea for LyX, on loading, to write 
to a log all info about discovered document classes.


The file is called configure.log, and it's dumped into your user 
directory ($HOME/.lyx, normally). It is written whenever you reconfigure.


Richard



Hyphenation \ Margins

2009-07-23 Thread Marcelo Reis




Guys, I'm with a problem.
I can't Hyphenation the word HKEY_USERS\.DEFAULT, but when I put it
into LYX it beaks the DOCUMENT MARGIN:

See??
What would be the feasible solution???
THANKS
Marcelo




Re: Hyphenation \ Margins

2009-07-23 Thread Paul A. Rubin

Marcelo Reis wrote:

Guys, I'm with a problem.
I can't Hyphenation the word HKEY_USERS\.DEFAULT, but when I put it into 
LYX it beaks the DOCUMENT MARGIN:

Margin
See??
What would be the feasible solution???
THANKS
Marcelo


One possibility (if you want to keep the string together and are willing 
to chance funny spacing on the previous line) would be:


... [[\mbox{]]HKEY_USERS\.DEFAULT[[}]]

where [[...]] denotes an ERT inset.  An mbox cannot be split across lines.

/Paul



LyX 1.6.2 crashed

2009-07-23 Thread Steve Litt
Hi all,

I opened one of my docs in LyX, clicked document on the menu, and lyx 
terminated leaving the following on the terminal from which I ran LyX:

Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions 
in Help-Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted
sl...@mydesk:/d/at/books/vimfacts$

When I load this particular document, it actually aborts like this after about 
10 seconds, even if I click nothing.

Here's the LyX info:

LyX Version 1.6.2
(Saturday, March 14, 2009)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/

sl...@mydesk:/d/at/books/vimfacts$ uname -a
Linux mydesk 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 
i686 GNU/Linux
sl...@mydesk:/d/at/books/vimfacts$

sl...@mydesk:~$ ls -ldF /usr/share/tex*
drwxr-xr-x  3 root root 4096 2009-07-21 02:03 /usr/share/tex-common/
drwxr-xr-x  2 root root 4096 2009-07-21 02:06 /usr/share/texinfo/
drwxr-xr-x  2 root root 4096 2009-07-21 02:04 /usr/share/texlive-base/
drwxr-xr-x  2 root root 4096 2009-07-21 02:03 /usr/share/texlive-bin/
drwxr-xr-x  8 root root 4096 2009-07-21 02:04 /usr/share/texmf/
drwxr-xr-x 14 root root 4096 2009-07-21 02:04 /usr/share/texmf-texlive/
sl...@mydesk:~$

Is there  a workaround to this yet? Please tell me I don't have to compile a 
later LyX on my brand new Ubuntu distro :-(

SteveT


Re: LyX 1.6.2 crashed

2009-07-23 Thread Nikos Alexandris

Steve Litt wrote:

 I opened one of my docs in LyX, clicked document on the menu, and lyx 
 terminated...
...
 LyX Version 1.6.2
...

Hi Steve!

I am not really helping you but I remember experiencing some crasher
using LyX 1.6.2 under Ubuntu Jaunty. Since some weeks I use 1.6.3 [1]
and I didn't see any crashing yet. If you have no strong reasons to
stick with 1.6.2 you could try out 1.6.3.

All the best, Nikos
---

[1] grab a .deb package from
http://www.getdeb.net/search.php?keywords=lyx




Re: Sty to Layout problem

2009-07-23 Thread Luis F . Amorim França
Thanks Daniel!

I tried to create a document with a ERT like

\title(Paper Title)
\author{Luis}

but when I compile it, the document is empty. Trying to use the Lyx Title
and Author, I get this message:

 \author{Luis}\maketitle

 The control sequence at the end of the top line of your error message was
never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the
correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget
about whatever was undefined.

Am I doing something wrong?

Luis


2009/7/23 Daniel Lohmann daniel.lohm...@informatik.uni-erlangen.de

 Hi Luis,

 This may not be exactly the answer you are looking for :-)

 IMHO the front matter (the stuff that is rendered by \maketitle) is the
 most difficult part to get right into a LyX layout, especially with paper
 styles. Every paper style uses different concepts on how authors,
 institutions, multiple authors per institution, authors with multiple
 institutions,  thanks-titlenotes, and so on have to be specified. So even
 with the well-designed paper layout files that ship with LyX (LNCS, IEEE,
 ...) I usually end up using ERT in the front matter to get what I need.

 So if you are not going to write dozens of articles using that style, I
 would just not bother in getting everything right into the layout and use
 ERT in the paper to specify the front matter.


 Daniel


 On 23.07.2009, ad 01:43, Luis Amorim wrote:

  Hi,

 I'm trying to write an article at Lyx, but I had some problems when I
 tried
 to use a .layout I created from the .sty file provided by the
 conference. I've followed the Customization Instructions (5.2.3) but it

 doesn't work at Lyx, especially when I try to add a Title (it says is a
 \maketitle problem). Searching the mailing list I found someone who had
 almost the same problem, and added

 Style TitleERT
 InTitle 1

 End

 in the .layout to solve it. I tried to do that, but I still can't compile
 my
 files.

 I attached the .sty and .layout files, and a .tex which is an example of
 use.

 Thanks!

 Luis Amorim

 sbc-template.lyxsbc-template.stysbc-template.tex





Re: Sty to Layout problem

2009-07-23 Thread rgheck

On 07/23/2009 08:25 PM, Luis F. Amorim França wrote:

Thanks Daniel!

I tried to create a document with a ERT like

\title(Paper Title)
\author{Luis}

but when I compile it, the document is empty. Trying to use the Lyx Title
and Author, I get this message:

  \author{Luis}\maketitle

  The control sequence at the end of the top line of your error message was
never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the
correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget
about whatever was undefined.

Am I doing something wrong?

   
LyX thinks this is normal content, not something for before \maketitle. 
You need to put this in some kind of TitleERT environment, as mentioned 
before.


rh


Re: LyX 1.6.2 crashed

2009-07-23 Thread rgheck

On 07/23/2009 07:42 PM, Steve Litt wrote:

Hi all,

I opened one of my docs in LyX, clicked document on the menu, and lyx
terminated leaving the following on the terminal from which I ran LyX:

Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions
in Help-Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted
sl...@mydesk:/d/at/books/vimfacts$

When I load this particular document, it actually aborts like this after about
10 seconds, even if I click nothing.

   

You've probably moved the mouse, which causes a lot to happen.

Please send me the file. It'll take me a bit to get it: I'm flying 
tomorrow. But I'll have inet access when I get to where I'm going, viz:


http://maps.google.com/maps?f=dsource=s_dsaddr=daddr=%2B37%C2%B0+2%27+43.97%22,+-79%C2%B0+42%27+2.38%22+%2837.045547,+-79.700662%29hl=engeocode=mra=misll=37.059561,-79.737396sspn=0.513976,0.832901g=37.057533,-79.703178ie=UTF8ll=37.046306,-79.700661spn=0.032129,0.052056z=15

More or less. You're actually more likely to find me out in the lake! 
The real bummer is that there are these great cliffs across the way 
which we used to dive off, but now someone bought the land and they're 
closed


Richard



Here's the LyX info:

LyX Version 1.6.2
(Saturday, March 14, 2009)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/

sl...@mydesk:/d/at/books/vimfacts$ uname -a
Linux mydesk 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009
i686 GNU/Linux
sl...@mydesk:/d/at/books/vimfacts$

sl...@mydesk:~$ ls -ldF /usr/share/tex*
drwxr-xr-x  3 root root 4096 2009-07-21 02:03 /usr/share/tex-common/
drwxr-xr-x  2 root root 4096 2009-07-21 02:06 /usr/share/texinfo/
drwxr-xr-x  2 root root 4096 2009-07-21 02:04 /usr/share/texlive-base/
drwxr-xr-x  2 root root 4096 2009-07-21 02:03 /usr/share/texlive-bin/
drwxr-xr-x  8 root root 4096 2009-07-21 02:04 /usr/share/texmf/
drwxr-xr-x 14 root root 4096 2009-07-21 02:04 /usr/share/texmf-texlive/
sl...@mydesk:~$

Is there  a workaround to this yet? Please tell me I don't have to compile a
later LyX on my brand new Ubuntu distro :-(

SteveT
   




Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread rgheck

On 07/23/2009 07:11 PM, Steve Litt wrote:

Which of the following should be my current directory when I run
/usr/share/lyx/configure.py?

___/home/slitt/.lyx

   
That one: Your LyX user directory. My point was that configure.py does 
not attempt to figure out which directory that is: You might have lots 
of user directories, for different purposes. I have several: The one I 
actually use when I'm trying to do real work, and the ones I use when 
debugging branch, trunk, etc, etc.


What's more important is that, as Paul and I have in effect said, the 
reason it used to be important to you to be able to reconfigure from a 
script no longer holds, for the most part. Only when you CREATE a new 
layout or module do you need to reconfigure. The only thing 
reconfiguring does is allow LyX to recognize new modules and layouts. 
Changes you make to layouts have NEVER required a reconfigure: You need 
only restart, since LyX will re-read the layout file when it restarts. 
Changes to modules have NEVER required a restart: Just opening 
DocumentSettings and choosing OK (you may have to do something to 
enable that button) will force LyX to re-read the module file. And, as I 
said, in fact you don't even need to restart when you're editing 
*.layout files. Just run layout-reload from the mini-buffer---subject 
to the warnings given earlier.


So, to be clear; YOU NEVER NEED TO RECONFIGURE WHEN EDITING LAYOUTS. 
This was my special gift to you in the 1.6.x series.


rh



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Steve Litt
On Thursday 23 July 2009 15:05:08 rgheck wrote:
 On 07/23/2009 02:17 PM, Paul A. Rubin wrote:
  Steve Litt wrote: This brings up another problem. Without an automated
  way to reconfigure, debugging will take literallly two or three times
  longer. Can /usr/share/lyx/configure.py /usr/share/lyx/configure.py be
  modified to do exactly the same thing as lyx-tools-reconfigure,
  quit, restart lyx?

 It does, but it needs to be run from your user directory---or, better,
 from whichever directory you want it to dump its output into. This is
 because you might have more than one such directory.

Hi Richard,

I read the preceding sentence three times and still don't understand it. 
Because the preceding sentence is of vital importance to me, I'm going to ask 
specific questions for clarification...

My lyx doc is /d/at/books/stories/stories.lyx
My layout file is /home/slitt/.lyx/layouts/storybook.layout 

As far as I know, the output of my LyX document is dumped in the directory 
containing stories.lyx (/d/at/books/stories). The first step of my script uses 
lyx --export pdf or lyx  --export latex. Later parts of the script place the 
finished pdf in /d/at/books/pdf, but I don't think that's of interest.

Which of the following should be my current directory when I run 
/usr/share/lyx/configure.py?

___ /d/at/books/stories

___/d/at/books/pdf

___/home/slitt

___/home/slitt/.lyx

___/home/slitt/.lyx/layouts

___Other  _


Thanks

SteveT


need help using a meta font.

2009-07-23 Thread Todd Denniston
I found the kind of font I would like to use in d7seg [1], but I can't seem to 
 get the capbas set of files installed in a way that I can get lyx (or for 
all I know even TeX) to use it.


I got the zip from ctan[2]
I made ~/texmf/fonts/tfm/
unziped capbas to make ~/texmf/fonts/tfm/capbas/ [2.5]
ran texhash, which gave little output [3]
run (lyx) Tools - Reconfigure
shutdown lyx
lyx testfont.lyx
try (lyx) View - DVI
and get LaTeX Error: File `d7seg.sty' not found

OK, I agree the file does not exist... how do I get it?
I hope at worst it is some metafont incantation that must be done, because I 
obviously know nothing of how to create a style let alone one for a font.

and  don't even see one with
 find /usr/share/texmf/fonts/tfm/ -name *.sty
to copy and mess up.

or is it as simple as, fonts can ONLY be in /usr/share/texmf/fonts/ and not in 
~/texmf/fonts/ 


[1] http://www.tug.dk/FontCatalogue/dseg/
	Yes it's ugly, for normal reading, but that is what the operator will see on 
the 7 segment display that is in front of him/her. :)

[2] http://www.ctan.org/tex-archive/fonts/capbas/
[2.5]  also cp ~/texmf/fonts/tfm/capbas/* ~/texmf/fonts/
and ran texhash

[3] texhash
texhash: Updating /home/myhomedir/texmf/ls-R...
texhash: /usr/share/texmf: directory not writable. Skipping...
texhash: /usr/share/texmf-config: directory not writable. Skipping...
texhash: /usr/share/texmf-var: directory not writable. Skipping...
texhash: /var/lib/texmf/ls-R: no write permission. Skipping...
texhash: Done.


Note, I'll also take hints on how to actually use the font on just some 
selected text in an otherwise palatino document, after we can get LyX/LaTeX to 
recognize the new font.


Thanks.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


testfont.lyx
Description: application/lyx


Re: LyX 1.6.2 crashed

2009-07-23 Thread Steve Litt
On Thursday 23 July 2009 19:49:31 Nikos Alexandris wrote:
 Steve Litt wrote:
  I opened one of my docs in LyX, clicked document on the menu, and lyx
  terminated...

 ...

  LyX Version 1.6.2

 ...

 Hi Steve!

 I am not really helping you but I remember experiencing some crasher
 using LyX 1.6.2 under Ubuntu Jaunty. Since some weeks I use 1.6.3 [1]
 and I didn't see any crashing yet. If you have no strong reasons to
 stick with 1.6.2 you could try out 1.6.3.

 All the best, Nikos

Hi Nikos,

I'm new to Ubuntu. Is there a way I could, using Ubuntu's package manager, 
upgrade to 1.6.3 or better? I just want to avoid having to compile -- so far 
every single thing but djbdns, VimOutliner and UMENU were installed via the 
package manager, and I'd like to keep it that pure if possible.

Thanks

SteveT




Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Steve Litt
Hi all,

I upgraded to Ubuntu 9, lyx 1.6.2 March 16 2009 that came with it. Now of my 
books stopped compiling. For one thing, the Memoir class, from which the 
storybook class was built, was butchered -- I had to download Memoir and 
compile it and texhash and then at least memoir (now called book (Memoir)) 
appeared..

But now, my storybook class doesn't show up in the LyX Doc Class dropdown. I 
went so far as to put it into ~/.lyx/layouts/storybook.layout (not as a 
symlink, but as an actual file), and simplified it to this:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{storybook}

Input stdclass.inc

Preamble

EndPreamble

Style MyTest
  CopyStyle  Chapter
End


Still, storybook didn't show up in Document Class dropdown.

Has something changed in layout handling in 1.62 (as opposed to my previous 
version, 1.56)? What can I do to get this to work? I've tried the stuff in 
http://www.troubleshooters.cxm/linux/lyx/surefire_layout.htm, which worked in 
1.56, but no joy.

In the long run, I think LyX instantiation must produce a log file so 
troubleshooting failure of layout-produced classes will not be such a black 
box. Since as far back as 2001, this has been a problem. The raindance 
necessary to cure it has changed with changing versions, but it has been and 
continues to be a problem when using layouts to make your own classes.

But for now, any ideas what I can do to narrow down this problem?

Thanks

SteveT


Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

I upgraded to Ubuntu 9, lyx 1.6.2 March 16 2009 that came with it. Now of my 
books stopped compiling. For one thing, the Memoir class, from which the 
storybook class was built, was butchered -- I had to download Memoir and 
compile it and texhash and then at least memoir (now called book (Memoir)) 
appeared..


But now, my storybook class doesn't show up in the LyX Doc Class dropdown. I 
went so far as to put it into ~/.lyx/layouts/storybook.layout (not as a 
symlink, but as an actual file), and simplified it to this:


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{storybook}

Input stdclass.inc

Preamble

EndPreamble

Style MyTest
  CopyStyle  Chapter
End


Still, storybook didn't show up in Document Class dropdown.



Steve,

I have the same setup (except the drop date for my copy of LyX is March 
14, not March 16).  I put your stripped layout file in ~/.lyx/layouts, 
reconfigured and restarted LyX, and it showed up on my class list.


You did reconfigure/restart LyX, right?  And is the ordinary book class 
on your dropdown list?  (LyX won't acknowledge storybook if book.cls is 
not available to it.)


/Paul



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Steve Litt
On Thursday 23 July 2009 10:33:22 Paul A. Rubin wrote:
 Steve Litt wrote:
  Hi all,
 
  I upgraded to Ubuntu 9, lyx 1.6.2 March 16 2009 that came with it. Now of
  my books stopped compiling. For one thing, the Memoir class, from which
  the storybook class was built, was butchered -- I had to download Memoir
  and compile it and texhash and then at least memoir (now called book
  (Memoir)) appeared..
 
  But now, my storybook class doesn't show up in the LyX Doc Class
  dropdown. I went so far as to put it into ~/.lyx/layouts/storybook.layout
  (not as a symlink, but as an actual file), and simplified it to this:
 
  #% Do not delete the line below; configure depends on this
  #  \DeclareLaTeXClass[book]{storybook}
 
  Input stdclass.inc
 
  Preamble
 
  EndPreamble
 
  Style MyTest
CopyStyle  Chapter
  End
 
 
  Still, storybook didn't show up in Document Class dropdown.

 Steve,

 I have the same setup (except the drop date for my copy of LyX is March
 14, not March 16).  I put your stripped layout file in ~/.lyx/layouts,
 reconfigured and restarted LyX, and it showed up on my class list.

 You did reconfigure/restart LyX, right?  

Oh dear lord! I did this, as is my habit:

/usr/share/lyx/configure.py

So just for fun, I did lyx-tools-reconfigure, quit, restart lyx, and now 
storybook showed up. Thanks for the reminder.

This brings up another problem. Without an automated way to reconfigure, 
debugging will take literallly two or three times longer. Can 
/usr/share/lyx/configure.py /usr/share/lyx/configure.py be modified to do 
exactly 
the same thing as lyx-tools-reconfigure, quit, restart lyx?

Also, I think it would be a great idea for LyX, on loading, to write to a log 
all info about discovered document classes. Every entry would have a 
timestamp. It might look something like this:

CHECKING SYSTEM WIDE DIRECTORIES FOR LAYOUTS
dir /usr/share/lyx/layouts/
/usr/share/lyx/layouts/seminar.layout: Loaded doc class 
seminar
/usr/share/lyx/layouts/siamltex.layout: Loaded doc class 
{article (SIAM)
/usr/share/lyx/layouts/sigplanconf.layout: FAILED to load doc 
class article 
(ACM SIGPLAN), reason
/path/to/other/systemwide/layouts
...
CHECKING CURRENT DIRECTORY
dir /d/at/books/stories
/d/at/books/stories/storybook.layout: Loaded doc class 
storybook
CHECKING PERSONAL LYX LAYOUT DIRECTORY
dir /home/slitt/.lyx/layouts
dir /home/slitt/.lyx/layouts/.layout: Loaded doc class 

dir /home/slitt/.lyx/layouts/ttotst.layout: Loaded doc class 
ttotst
dir /home/slitt/.lyx/layouts/storybook.layout: FAILED to load 
doc class 
storybook, class already loaded


That same log could be written by /usr/share/lyx/configure.py because I'm 
pretty sure that investigates all directories also.

With the log file in place, layout/class troubleshooting wouldn't be a black 
box -- we'd have  a diagnostic tool that could save the classmaker and/or 
author hours.

Thanks

STeveT



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Paul A. Rubin

Steve Litt wrote:



Oh dear lord! I did this, as is my habit:

/usr/share/lyx/configure.py

So just for fun, I did lyx-tools-reconfigure, quit, restart lyx, and now 
storybook showed up. Thanks for the reminder.


Hah!  And here I thought I was the only one on the list with memory 
lapses!  :-)


This brings up another problem. Without an automated way to reconfigure, 
debugging will take literallly two or three times longer. Can 
/usr/share/lyx/configure.py /usr/share/lyx/configure.py be modified to do exactly 
the same thing as lyx-tools-reconfigure, quit, restart lyx?


I don't have an answer to this, but since I just debugged some modules 
this morning, I may have something to point out.  Reconfiguring LyX is 
only necessary when you add a layout or module.  Once the layout/module 
file is there, you can edit it, and LyX only needs a restart (not a 
reconfigure) to pick up the changes.


Also, I think it would be a great idea for LyX, on loading, to write to a log 
all info about discovered document classes. Every entry would have a 
timestamp. It might look something like this:


CHECKING SYSTEM WIDE DIRECTORIES FOR LAYOUTS
dir /usr/share/lyx/layouts/
/usr/share/lyx/layouts/seminar.layout: Loaded doc class 
seminar
/usr/share/lyx/layouts/siamltex.layout: Loaded doc class {article 
(SIAM)
		/usr/share/lyx/layouts/sigplanconf.layout: FAILED to load doc class article 
(ACM SIGPLAN), reason

/path/to/other/systemwide/layouts
...
CHECKING CURRENT DIRECTORY
dir /d/at/books/stories
/d/at/books/stories/storybook.layout: Loaded doc class 
storybook
CHECKING PERSONAL LYX LAYOUT DIRECTORY
dir /home/slitt/.lyx/layouts
dir /home/slitt/.lyx/layouts/.layout: Loaded doc class 

dir /home/slitt/.lyx/layouts/ttotst.layout: Loaded doc class 
ttotst
		dir /home/slitt/.lyx/layouts/storybook.layout: FAILED to load doc class 
storybook, class already loaded



That same log could be written by /usr/share/lyx/configure.py because I'm 
pretty sure that investigates all directories also.


With the log file in place, layout/class troubleshooting wouldn't be a black 
box -- we'd have  a diagnostic tool that could save the classmaker and/or 
author hours.




Not a bad idea IMHO.

/Paul



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread rgheck

On 07/23/2009 02:17 PM, Paul A. Rubin wrote:
Steve Litt wrote: This brings up another problem. Without an automated 
way to reconfigure, debugging will take literallly two or three times 
longer. Can /usr/share/lyx/configure.py /usr/share/lyx/configure.py be 
modified to do exactly the same thing as lyx-tools-reconfigure, 
quit, restart lyx?


It does, but it needs to be run from your user directory---or, better, 
from whichever directory you want it to dump its output into. This is 
because you might have more than one such directory.


I don't have an answer to this, but since I just debugged some modules 
this morning, I may have something to point out.  Reconfiguring LyX is 
only necessary when you add a layout or module.  Once the 
layout/module file is there, you can edit it, and LyX only needs a 
restart (not a reconfigure) to pick up the changes.


What's more, in 1.6, you don't even need a restart. (Yes, Steve, it was 
you who gave me the idea for this.)


WARNING: The following is intended ONLY for people willing to live with 
problems. DO NOT attempt to do what I am about to describe while 
actually working on documents. Do so ONLY when writing and debugging 
layouts. Use test documents for this purpose.


Entering layout-reload in the minibuffer will reload layout information.

WARNING: If your layout contains syntax errors, etc, this can lead to 
serious problems. LyX may abort loading your class and revert to the 
default. That is why you should NOT do this while editing real 
documents. DO NOT attempt to modify the default layout this way (that'd 
be article.layout).


Also, I think it would be a great idea for LyX, on loading, to write 
to a log all info about discovered document classes.


The file is called configure.log, and it's dumped into your user 
directory ($HOME/.lyx, normally). It is written whenever you reconfigure.


Richard



Hyphenation \ Margins

2009-07-23 Thread Marcelo Reis




Guys, I'm with a problem.
I can't Hyphenation the word HKEY_USERS\.DEFAULT, but when I put it
into LYX it beaks the DOCUMENT MARGIN:

See??
What would be the feasible solution???
THANKS
Marcelo




Re: Hyphenation \ Margins

2009-07-23 Thread Paul A. Rubin

Marcelo Reis wrote:

Guys, I'm with a problem.
I can't Hyphenation the word HKEY_USERS\.DEFAULT, but when I put it into 
LYX it beaks the DOCUMENT MARGIN:

Margin
See??
What would be the feasible solution???
THANKS
Marcelo


One possibility (if you want to keep the string together and are willing 
to chance funny spacing on the previous line) would be:


... [[\mbox{]]HKEY_USERS\.DEFAULT[[}]]

where [[...]] denotes an ERT inset.  An mbox cannot be split across lines.

/Paul



LyX 1.6.2 crashed

2009-07-23 Thread Steve Litt
Hi all,

I opened one of my docs in LyX, clicked document on the menu, and lyx 
terminated leaving the following on the terminal from which I ran LyX:

Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions 
in Help-Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted
sl...@mydesk:/d/at/books/vimfacts$

When I load this particular document, it actually aborts like this after about 
10 seconds, even if I click nothing.

Here's the LyX info:

LyX Version 1.6.2
(Saturday, March 14, 2009)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/

sl...@mydesk:/d/at/books/vimfacts$ uname -a
Linux mydesk 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 
i686 GNU/Linux
sl...@mydesk:/d/at/books/vimfacts$

sl...@mydesk:~$ ls -ldF /usr/share/tex*
drwxr-xr-x  3 root root 4096 2009-07-21 02:03 /usr/share/tex-common/
drwxr-xr-x  2 root root 4096 2009-07-21 02:06 /usr/share/texinfo/
drwxr-xr-x  2 root root 4096 2009-07-21 02:04 /usr/share/texlive-base/
drwxr-xr-x  2 root root 4096 2009-07-21 02:03 /usr/share/texlive-bin/
drwxr-xr-x  8 root root 4096 2009-07-21 02:04 /usr/share/texmf/
drwxr-xr-x 14 root root 4096 2009-07-21 02:04 /usr/share/texmf-texlive/
sl...@mydesk:~$

Is there  a workaround to this yet? Please tell me I don't have to compile a 
later LyX on my brand new Ubuntu distro :-(

SteveT


Re: LyX 1.6.2 crashed

2009-07-23 Thread Nikos Alexandris

Steve Litt wrote:

 I opened one of my docs in LyX, clicked document on the menu, and lyx 
 terminated...
...
 LyX Version 1.6.2
...

Hi Steve!

I am not really helping you but I remember experiencing some crasher
using LyX 1.6.2 under Ubuntu Jaunty. Since some weeks I use 1.6.3 [1]
and I didn't see any crashing yet. If you have no strong reasons to
stick with 1.6.2 you could try out 1.6.3.

All the best, Nikos
---

[1] grab a .deb package from
http://www.getdeb.net/search.php?keywords=lyx




Re: Sty to Layout problem

2009-07-23 Thread Luis F . Amorim França
Thanks Daniel!

I tried to create a document with a ERT like

\title(Paper Title)
\author{Luis}

but when I compile it, the document is empty. Trying to use the Lyx Title
and Author, I get this message:

 \author{Luis}\maketitle

 The control sequence at the end of the top line of your error message was
never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the
correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget
about whatever was undefined.

Am I doing something wrong?

Luis


2009/7/23 Daniel Lohmann daniel.lohm...@informatik.uni-erlangen.de

 Hi Luis,

 This may not be exactly the answer you are looking for :-)

 IMHO the front matter (the stuff that is rendered by \maketitle) is the
 most difficult part to get right into a LyX layout, especially with paper
 styles. Every paper style uses different concepts on how authors,
 institutions, multiple authors per institution, authors with multiple
 institutions,  thanks-titlenotes, and so on have to be specified. So even
 with the well-designed paper layout files that ship with LyX (LNCS, IEEE,
 ...) I usually end up using ERT in the front matter to get what I need.

 So if you are not going to write dozens of articles using that style, I
 would just not bother in getting everything right into the layout and use
 ERT in the paper to specify the front matter.


 Daniel


 On 23.07.2009, ad 01:43, Luis Amorim wrote:

  Hi,

 I'm trying to write an article at Lyx, but I had some problems when I
 tried
 to use a .layout I created from the .sty file provided by the
 conference. I've followed the Customization Instructions (5.2.3) but it

 doesn't work at Lyx, especially when I try to add a Title (it says is a
 \maketitle problem). Searching the mailing list I found someone who had
 almost the same problem, and added

 Style TitleERT
 InTitle 1

 End

 in the .layout to solve it. I tried to do that, but I still can't compile
 my
 files.

 I attached the .sty and .layout files, and a .tex which is an example of
 use.

 Thanks!

 Luis Amorim

 sbc-template.lyxsbc-template.stysbc-template.tex





Re: Sty to Layout problem

2009-07-23 Thread rgheck

On 07/23/2009 08:25 PM, Luis F. Amorim França wrote:

Thanks Daniel!

I tried to create a document with a ERT like

\title(Paper Title)
\author{Luis}

but when I compile it, the document is empty. Trying to use the Lyx Title
and Author, I get this message:

  \author{Luis}\maketitle

  The control sequence at the end of the top line of your error message was
never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the
correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget
about whatever was undefined.

Am I doing something wrong?

   
LyX thinks this is normal content, not something for before \maketitle. 
You need to put this in some kind of TitleERT environment, as mentioned 
before.


rh


Re: LyX 1.6.2 crashed

2009-07-23 Thread rgheck

On 07/23/2009 07:42 PM, Steve Litt wrote:

Hi all,

I opened one of my docs in LyX, clicked document on the menu, and lyx
terminated leaving the following on the terminal from which I ran LyX:

Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions
in Help-Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted
sl...@mydesk:/d/at/books/vimfacts$

When I load this particular document, it actually aborts like this after about
10 seconds, even if I click nothing.

   

You've probably moved the mouse, which causes a lot to happen.

Please send me the file. It'll take me a bit to get it: I'm flying 
tomorrow. But I'll have inet access when I get to where I'm going, viz:


http://maps.google.com/maps?f=dsource=s_dsaddr=daddr=%2B37%C2%B0+2%27+43.97%22,+-79%C2%B0+42%27+2.38%22+%2837.045547,+-79.700662%29hl=engeocode=mra=misll=37.059561,-79.737396sspn=0.513976,0.832901g=37.057533,-79.703178ie=UTF8ll=37.046306,-79.700661spn=0.032129,0.052056z=15

More or less. You're actually more likely to find me out in the lake! 
The real bummer is that there are these great cliffs across the way 
which we used to dive off, but now someone bought the land and they're 
closed


Richard



Here's the LyX info:

LyX Version 1.6.2
(Saturday, March 14, 2009)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/

sl...@mydesk:/d/at/books/vimfacts$ uname -a
Linux mydesk 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009
i686 GNU/Linux
sl...@mydesk:/d/at/books/vimfacts$

sl...@mydesk:~$ ls -ldF /usr/share/tex*
drwxr-xr-x  3 root root 4096 2009-07-21 02:03 /usr/share/tex-common/
drwxr-xr-x  2 root root 4096 2009-07-21 02:06 /usr/share/texinfo/
drwxr-xr-x  2 root root 4096 2009-07-21 02:04 /usr/share/texlive-base/
drwxr-xr-x  2 root root 4096 2009-07-21 02:03 /usr/share/texlive-bin/
drwxr-xr-x  8 root root 4096 2009-07-21 02:04 /usr/share/texmf/
drwxr-xr-x 14 root root 4096 2009-07-21 02:04 /usr/share/texmf-texlive/
sl...@mydesk:~$

Is there  a workaround to this yet? Please tell me I don't have to compile a
later LyX on my brand new Ubuntu distro :-(

SteveT
   




Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread rgheck

On 07/23/2009 07:11 PM, Steve Litt wrote:

Which of the following should be my current directory when I run
/usr/share/lyx/configure.py?

___/home/slitt/.lyx

   
That one: Your LyX user directory. My point was that configure.py does 
not attempt to figure out which directory that is: You might have lots 
of user directories, for different purposes. I have several: The one I 
actually use when I'm trying to do real work, and the ones I use when 
debugging branch, trunk, etc, etc.


What's more important is that, as Paul and I have in effect said, the 
reason it used to be important to you to be able to reconfigure from a 
script no longer holds, for the most part. Only when you CREATE a new 
layout or module do you need to reconfigure. The only thing 
reconfiguring does is allow LyX to recognize new modules and layouts. 
Changes you make to layouts have NEVER required a reconfigure: You need 
only restart, since LyX will re-read the layout file when it restarts. 
Changes to modules have NEVER required a restart: Just opening 
DocumentSettings and choosing OK (you may have to do something to 
enable that button) will force LyX to re-read the module file. And, as I 
said, in fact you don't even need to restart when you're editing 
*.layout files. Just run layout-reload from the mini-buffer---subject 
to the warnings given earlier.


So, to be clear; YOU NEVER NEED TO RECONFIGURE WHEN EDITING LAYOUTS. 
This was my special gift to you in the 1.6.x series.


rh



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Steve Litt
On Thursday 23 July 2009 15:05:08 rgheck wrote:
 On 07/23/2009 02:17 PM, Paul A. Rubin wrote:
  Steve Litt wrote: This brings up another problem. Without an automated
  way to reconfigure, debugging will take literallly two or three times
  longer. Can /usr/share/lyx/configure.py /usr/share/lyx/configure.py be
  modified to do exactly the same thing as lyx-tools-reconfigure,
  quit, restart lyx?

 It does, but it needs to be run from your user directory---or, better,
 from whichever directory you want it to dump its output into. This is
 because you might have more than one such directory.

Hi Richard,

I read the preceding sentence three times and still don't understand it. 
Because the preceding sentence is of vital importance to me, I'm going to ask 
specific questions for clarification...

My lyx doc is /d/at/books/stories/stories.lyx
My layout file is /home/slitt/.lyx/layouts/storybook.layout 

As far as I know, the output of my LyX document is dumped in the directory 
containing stories.lyx (/d/at/books/stories). The first step of my script uses 
lyx --export pdf or lyx  --export latex. Later parts of the script place the 
finished pdf in /d/at/books/pdf, but I don't think that's of interest.

Which of the following should be my current directory when I run 
/usr/share/lyx/configure.py?

___ /d/at/books/stories

___/d/at/books/pdf

___/home/slitt

___/home/slitt/.lyx

___/home/slitt/.lyx/layouts

___Other  _


Thanks

SteveT


need help using a meta font.

2009-07-23 Thread Todd Denniston
I found the kind of font I would like to use in d7seg [1], but I can't seem to 
 get the capbas set of files installed in a way that I can get lyx (or for 
all I know even TeX) to use it.


I got the zip from ctan[2]
I made ~/texmf/fonts/tfm/
unziped capbas to make ~/texmf/fonts/tfm/capbas/ [2.5]
ran texhash, which gave little output [3]
run (lyx) Tools - Reconfigure
shutdown lyx
lyx testfont.lyx
try (lyx) View - DVI
and get LaTeX Error: File `d7seg.sty' not found

OK, I agree the file does not exist... how do I get it?
I hope at worst it is some metafont incantation that must be done, because I 
obviously know nothing of how to create a style let alone one for a font.

and  don't even see one with
 find /usr/share/texmf/fonts/tfm/ -name *.sty
to copy and mess up.

or is it as simple as, fonts can ONLY be in /usr/share/texmf/fonts/ and not in 
~/texmf/fonts/ 


[1] http://www.tug.dk/FontCatalogue/dseg/
	Yes it's ugly, for normal reading, but that is what the operator will see on 
the 7 segment display that is in front of him/her. :)

[2] http://www.ctan.org/tex-archive/fonts/capbas/
[2.5]  also cp ~/texmf/fonts/tfm/capbas/* ~/texmf/fonts/
and ran texhash

[3] texhash
texhash: Updating /home/myhomedir/texmf/ls-R...
texhash: /usr/share/texmf: directory not writable. Skipping...
texhash: /usr/share/texmf-config: directory not writable. Skipping...
texhash: /usr/share/texmf-var: directory not writable. Skipping...
texhash: /var/lib/texmf/ls-R: no write permission. Skipping...
texhash: Done.


Note, I'll also take hints on how to actually use the font on just some 
selected text in an otherwise palatino document, after we can get LyX/LaTeX to 
recognize the new font.


Thanks.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


testfont.lyx
Description: application/lyx


Re: LyX 1.6.2 crashed

2009-07-23 Thread Steve Litt
On Thursday 23 July 2009 19:49:31 Nikos Alexandris wrote:
 Steve Litt wrote:
  I opened one of my docs in LyX, clicked document on the menu, and lyx
  terminated...

 ...

  LyX Version 1.6.2

 ...

 Hi Steve!

 I am not really helping you but I remember experiencing some crasher
 using LyX 1.6.2 under Ubuntu Jaunty. Since some weeks I use 1.6.3 [1]
 and I didn't see any crashing yet. If you have no strong reasons to
 stick with 1.6.2 you could try out 1.6.3.

 All the best, Nikos

Hi Nikos,

I'm new to Ubuntu. Is there a way I could, using Ubuntu's package manager, 
upgrade to 1.6.3 or better? I just want to avoid having to compile -- so far 
every single thing but djbdns, VimOutliner and UMENU were installed via the 
package manager, and I'd like to keep it that pure if possible.

Thanks

SteveT




Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Steve Litt
Hi all,

I upgraded to Ubuntu 9, lyx 1.6.2 March 16 2009 that came with it. Now of my 
books stopped compiling. For one thing, the Memoir class, from which the 
storybook class was built, was butchered -- I had to download Memoir and 
compile it and texhash and then at least memoir (now called book (Memoir)) 
appeared..

But now, my storybook class doesn't show up in the LyX Doc Class dropdown. I 
went so far as to put it into ~/.lyx/layouts/storybook.layout (not as a 
symlink, but as an actual file), and simplified it to this:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{storybook}

Input stdclass.inc

Preamble

EndPreamble

Style MyTest
  CopyStyle  Chapter
End


Still, storybook didn't show up in Document Class dropdown.

Has something changed in layout handling in 1.62 (as opposed to my previous 
version, 1.56)? What can I do to get this to work? I've tried the stuff in 
http://www.troubleshooters.cxm/linux/lyx/surefire_layout.htm, which worked in 
1.56, but no joy.

In the long run, I think LyX instantiation must produce a log file so 
troubleshooting failure of layout-produced classes will not be such a black 
box. Since as far back as 2001, this has been a problem. The raindance 
necessary to cure it has changed with changing versions, but it has been and 
continues to be a problem when using layouts to make your own classes.

But for now, any ideas what I can do to narrow down this problem?

Thanks

SteveT


Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

I upgraded to Ubuntu 9, lyx 1.6.2 March 16 2009 that came with it. Now of my 
books stopped compiling. For one thing, the Memoir class, from which the 
storybook class was built, was butchered -- I had to download Memoir and 
compile it and texhash and then at least memoir (now called book (Memoir)) 
appeared..


But now, my storybook class doesn't show up in the LyX Doc Class dropdown. I 
went so far as to put it into ~/.lyx/layouts/storybook.layout (not as a 
symlink, but as an actual file), and simplified it to this:


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{storybook}

Input stdclass.inc

Preamble

EndPreamble

Style MyTest
  CopyStyle  Chapter
End


Still, storybook didn't show up in Document Class dropdown.



Steve,

I have the same setup (except the drop date for my copy of LyX is March 
14, not March 16).  I put your stripped layout file in ~/.lyx/layouts, 
reconfigured and restarted LyX, and it showed up on my class list.


You did reconfigure/restart LyX, right?  And is the ordinary book class 
on your dropdown list?  (LyX won't acknowledge storybook if book.cls is 
not available to it.)


/Paul



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Steve Litt
On Thursday 23 July 2009 10:33:22 Paul A. Rubin wrote:
> Steve Litt wrote:
> > Hi all,
> >
> > I upgraded to Ubuntu 9, lyx 1.6.2 March 16 2009 that came with it. Now of
> > my books stopped compiling. For one thing, the Memoir class, from which
> > the storybook class was built, was butchered -- I had to download Memoir
> > and compile it and texhash and then at least memoir (now called book
> > (Memoir)) appeared..
> >
> > But now, my storybook class doesn't show up in the LyX Doc Class
> > dropdown. I went so far as to put it into ~/.lyx/layouts/storybook.layout
> > (not as a symlink, but as an actual file), and simplified it to this:
> >
> > #% Do not delete the line below; configure depends on this
> > #  \DeclareLaTeXClass[book]{storybook}
> >
> > Input stdclass.inc
> >
> > Preamble
> >
> > EndPreamble
> >
> > Style MyTest
> >   CopyStyle  Chapter
> > End
> >
> >
> > Still, storybook didn't show up in Document Class dropdown.
>
> Steve,
>
> I have the same setup (except the drop date for my copy of LyX is March
> 14, not March 16).  I put your stripped layout file in ~/.lyx/layouts,
> reconfigured and restarted LyX, and it showed up on my class list.
>
> You did reconfigure/restart LyX, right?  

Oh dear lord! I did this, as is my habit:

/usr/share/lyx/configure.py

So just for fun, I did lyx->tools->reconfigure, quit, restart lyx, and now 
storybook showed up. Thanks for the reminder.

This brings up another problem. Without an automated way to reconfigure, 
debugging will take literallly two or three times longer. Can 
/usr/share/lyx/configure.py /usr/share/lyx/configure.py be modified to do 
exactly 
the same thing as lyx->tools->reconfigure, quit, restart lyx?

Also, I think it would be a great idea for LyX, on loading, to write to a log 
all info about discovered document classes. Every entry would have a 
timestamp. It might look something like this:

CHECKING SYSTEM WIDE DIRECTORIES FOR LAYOUTS
dir /usr/share/lyx/layouts/
/usr/share/lyx/layouts/seminar.layout: Loaded doc class 
"seminar"
/usr/share/lyx/layouts/siamltex.layout: Loaded doc class 
"{article (SIAM)"
/usr/share/lyx/layouts/sigplanconf.layout: FAILED to load doc 
class "article 
(ACM SIGPLAN)", reason
/path/to/other/systemwide/layouts
...
CHECKING CURRENT DIRECTORY
dir /d/at/books/stories
/d/at/books/stories/storybook.layout: Loaded doc class 
"storybook"
CHECKING PERSONAL LYX LAYOUT DIRECTORY
dir /home/slitt/.lyx/layouts
dir /home/slitt/.lyx/layouts/.layout: Loaded doc class 
""
dir /home/slitt/.lyx/layouts/ttotst.layout: Loaded doc class 
"ttotst"
dir /home/slitt/.lyx/layouts/storybook.layout: FAILED to load 
doc class 
"storybook", class already loaded


That same log could be written by /usr/share/lyx/configure.py because I'm 
pretty sure that investigates all directories also.

With the log file in place, layout/class troubleshooting wouldn't be a black 
box -- we'd have  a diagnostic tool that could save the classmaker and/or 
author hours.

Thanks

STeveT



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Paul A. Rubin

Steve Litt wrote:



Oh dear lord! I did this, as is my habit:

/usr/share/lyx/configure.py

So just for fun, I did lyx->tools->reconfigure, quit, restart lyx, and now 
storybook showed up. Thanks for the reminder.


Hah!  And here I thought I was the only one on the list with memory 
lapses!  :-)


This brings up another problem. Without an automated way to reconfigure, 
debugging will take literallly two or three times longer. Can 
/usr/share/lyx/configure.py /usr/share/lyx/configure.py be modified to do exactly 
the same thing as lyx->tools->reconfigure, quit, restart lyx?


I don't have an answer to this, but since I just debugged some modules 
this morning, I may have something to point out.  Reconfiguring LyX is 
only necessary when you add a layout or module.  Once the layout/module 
file is there, you can edit it, and LyX only needs a restart (not a 
reconfigure) to pick up the changes.


Also, I think it would be a great idea for LyX, on loading, to write to a log 
all info about discovered document classes. Every entry would have a 
timestamp. It might look something like this:


CHECKING SYSTEM WIDE DIRECTORIES FOR LAYOUTS
dir /usr/share/lyx/layouts/
/usr/share/lyx/layouts/seminar.layout: Loaded doc class 
"seminar"
/usr/share/lyx/layouts/siamltex.layout: Loaded doc class "{article 
(SIAM)"
		/usr/share/lyx/layouts/sigplanconf.layout: FAILED to load doc class "article 
(ACM SIGPLAN)", reason

/path/to/other/systemwide/layouts
...
CHECKING CURRENT DIRECTORY
dir /d/at/books/stories
/d/at/books/stories/storybook.layout: Loaded doc class 
"storybook"
CHECKING PERSONAL LYX LAYOUT DIRECTORY
dir /home/slitt/.lyx/layouts
dir /home/slitt/.lyx/layouts/.layout: Loaded doc class 
""
dir /home/slitt/.lyx/layouts/ttotst.layout: Loaded doc class 
"ttotst"
		dir /home/slitt/.lyx/layouts/storybook.layout: FAILED to load doc class 
"storybook", class already loaded



That same log could be written by /usr/share/lyx/configure.py because I'm 
pretty sure that investigates all directories also.


With the log file in place, layout/class troubleshooting wouldn't be a black 
box -- we'd have  a diagnostic tool that could save the classmaker and/or 
author hours.




Not a bad idea IMHO.

/Paul



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread rgheck

On 07/23/2009 02:17 PM, Paul A. Rubin wrote:
Steve Litt wrote: This brings up another problem. Without an automated 
way to reconfigure, debugging will take literallly two or three times 
longer. Can /usr/share/lyx/configure.py /usr/share/lyx/configure.py be 
modified to do exactly the same thing as lyx->tools->reconfigure, 
quit, restart lyx?


It does, but it needs to be run from your user directory---or, better, 
from whichever directory you want it to dump its output into. This is 
because you might have more than one such directory.


I don't have an answer to this, but since I just debugged some modules 
this morning, I may have something to point out.  Reconfiguring LyX is 
only necessary when you add a layout or module.  Once the 
layout/module file is there, you can edit it, and LyX only needs a 
restart (not a reconfigure) to pick up the changes.


What's more, in 1.6, you don't even need a restart. (Yes, Steve, it was 
you who gave me the idea for this.)


WARNING: The following is intended ONLY for people willing to live with 
problems. DO NOT attempt to do what I am about to describe while 
actually working on documents. Do so ONLY when writing and debugging 
layouts. Use test documents for this purpose.


Entering "layout-reload" in the minibuffer will reload layout information.

WARNING: If your layout contains syntax errors, etc, this can lead to 
serious problems. LyX may abort loading your class and revert to the 
default. That is why you should NOT do this while editing real 
documents. DO NOT attempt to modify the default layout this way (that'd 
be article.layout).


Also, I think it would be a great idea for LyX, on loading, to write 
to a log all info about discovered document classes.


The file is called configure.log, and it's dumped into your user 
directory ($HOME/.lyx, normally). It is written whenever you reconfigure.


Richard



Hyphenation \ Margins

2009-07-23 Thread Marcelo Reis




Guys, I'm with a problem.
I can't Hyphenation the word HKEY_USERS\.DEFAULT, but when I put it
into LYX it beaks the DOCUMENT MARGIN:

See??
What would be the feasible solution???
THANKS
Marcelo




Re: Hyphenation \ Margins

2009-07-23 Thread Paul A. Rubin

Marcelo Reis wrote:

Guys, I'm with a problem.
I can't Hyphenation the word HKEY_USERS\.DEFAULT, but when I put it into 
LYX it beaks the DOCUMENT MARGIN:

Margin
See??
What would be the feasible solution???
THANKS
Marcelo


One possibility (if you want to keep the string together and are willing 
to chance funny spacing on the previous line) would be:


... [[\mbox{]]HKEY_USERS\.DEFAULT[[}]]

where [[...]] denotes an ERT inset.  An mbox cannot be split across lines.

/Paul



LyX 1.6.2 crashed

2009-07-23 Thread Steve Litt
Hi all,

I opened one of my docs in LyX, clicked "document" on the menu, and lyx 
terminated leaving the following on the terminal from which I ran LyX:

Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions 
in Help->Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted
sl...@mydesk:/d/at/books/vimfacts$

When I load this particular document, it actually aborts like this after about 
10 seconds, even if I click nothing.

Here's the LyX info:

LyX Version 1.6.2
(Saturday, March 14, 2009)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/

sl...@mydesk:/d/at/books/vimfacts$ uname -a
Linux mydesk 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 
i686 GNU/Linux
sl...@mydesk:/d/at/books/vimfacts$

sl...@mydesk:~$ ls -ldF /usr/share/tex*
drwxr-xr-x  3 root root 4096 2009-07-21 02:03 /usr/share/tex-common/
drwxr-xr-x  2 root root 4096 2009-07-21 02:06 /usr/share/texinfo/
drwxr-xr-x  2 root root 4096 2009-07-21 02:04 /usr/share/texlive-base/
drwxr-xr-x  2 root root 4096 2009-07-21 02:03 /usr/share/texlive-bin/
drwxr-xr-x  8 root root 4096 2009-07-21 02:04 /usr/share/texmf/
drwxr-xr-x 14 root root 4096 2009-07-21 02:04 /usr/share/texmf-texlive/
sl...@mydesk:~$

Is there  a workaround to this yet? Please tell me I don't have to compile a 
later LyX on my brand new Ubuntu distro :-(

SteveT


Re: LyX 1.6.2 crashed

2009-07-23 Thread Nikos Alexandris

Steve Litt wrote:

> I opened one of my docs in LyX, clicked "document" on the menu, and lyx 
> terminated...
...
> LyX Version 1.6.2
...

Hi Steve!

I am not really helping you but I remember experiencing some crasher
using LyX 1.6.2 under Ubuntu Jaunty. Since some weeks I use 1.6.3 [1]
and I didn't see any crashing yet. If you have no strong reasons to
stick with 1.6.2 you could try out 1.6.3.

All the best, Nikos
---

[1] grab a .deb package from
http://www.getdeb.net/search.php?keywords=lyx




Re: Sty to Layout problem

2009-07-23 Thread Luis F . Amorim França
Thanks Daniel!

I tried to create a document with a ERT like

\title(Paper Title)
\author{Luis}

but when I compile it, the document is empty. Trying to use the Lyx Title
and Author, I get this message:

 \author{Luis}\maketitle

 The control sequence at the end of the top line of your error message was
never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the
correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget
about whatever was undefined.

Am I doing something wrong?

Luis


2009/7/23 Daniel Lohmann 

> Hi Luis,
>
> This may not be exactly the answer you are looking for :-)
>
> IMHO the front matter (the stuff that is rendered by \maketitle) is the
> most difficult part to get right into a LyX layout, especially with paper
> styles. Every paper style uses different concepts on how authors,
> institutions, multiple authors per institution, authors with multiple
> institutions,  "thanks"-titlenotes, and so on have to be specified. So even
> with the well-designed paper layout files that ship with LyX (LNCS, IEEE,
> ...) I usually end up using ERT in the front matter to get what I need.
>
> So if you are not going to write dozens of articles using that style, I
> would just not bother in getting everything right into the layout and use
> ERT in the paper to specify the front matter.
>
>
> Daniel
>
>
> On 23.07.2009, ad 01:43, Luis Amorim wrote:
>
>  Hi,
>>
>> I'm trying to write an article at Lyx, but I had some problems when I
>> tried
>> to use a .layout I created from the .sty file provided by the
>> conference. I've followed the Customization Instructions (5.2.3) but it
>>
>> doesn't work at Lyx, especially when I try to add a Title (it says is a
>> \maketitle problem). Searching the mailing list I found someone who had
>> almost the same problem, and added
>>
>> Style TitleERT
>> InTitle 1
>>
>> End
>>
>> in the .layout to solve it. I tried to do that, but I still can't compile
>> my
>> files.
>>
>> I attached the .sty and .layout files, and a .tex which is an example of
>> use.
>>
>> Thanks!
>>
>> Luis Amorim
>>
>> 
>>
>
>


Re: Sty to Layout problem

2009-07-23 Thread rgheck

On 07/23/2009 08:25 PM, Luis F. Amorim França wrote:

Thanks Daniel!

I tried to create a document with a ERT like

\title(Paper Title)
\author{Luis}

but when I compile it, the document is empty. Trying to use the Lyx Title
and Author, I get this message:

  \author{Luis}\maketitle

  The control sequence at the end of the top line of your error message was
never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the
correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget
about whatever was undefined.

Am I doing something wrong?

   
LyX thinks this is normal content, not something for before \maketitle. 
You need to put this in some kind of TitleERT environment, as mentioned 
before.


rh


Re: LyX 1.6.2 crashed

2009-07-23 Thread rgheck

On 07/23/2009 07:42 PM, Steve Litt wrote:

Hi all,

I opened one of my docs in LyX, clicked "document" on the menu, and lyx
terminated leaving the following on the terminal from which I ran LyX:

Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.
Warning: Malformed LyX document: show_label missing in CharStyle.

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions
in Help->Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted
sl...@mydesk:/d/at/books/vimfacts$

When I load this particular document, it actually aborts like this after about
10 seconds, even if I click nothing.

   

You've probably moved the mouse, which causes a lot to happen.

Please send me the file. It'll take me a bit to get it: I'm flying 
tomorrow. But I'll have inet access when I get to where I'm going, viz:


http://maps.google.com/maps?f=d=s_d==%2B37%C2%B0+2%27+43.97%22,+-79%C2%B0+42%27+2.38%22+%2837.045547,+-79.700662%29=en==mi=37.059561,-79.737396=0.513976,0.832901=37.057533,-79.703178=UTF8=37.046306,-79.700661=0.032129,0.052056=15

More or less. You're actually more likely to find me out in the lake! 
The real bummer is that there are these great cliffs across the way 
which we used to dive off, but now someone bought the land and they're 
closed


Richard



Here's the LyX info:

LyX Version 1.6.2
(Saturday, March 14, 2009)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/

sl...@mydesk:/d/at/books/vimfacts$ uname -a
Linux mydesk 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009
i686 GNU/Linux
sl...@mydesk:/d/at/books/vimfacts$

sl...@mydesk:~$ ls -ldF /usr/share/tex*
drwxr-xr-x  3 root root 4096 2009-07-21 02:03 /usr/share/tex-common/
drwxr-xr-x  2 root root 4096 2009-07-21 02:06 /usr/share/texinfo/
drwxr-xr-x  2 root root 4096 2009-07-21 02:04 /usr/share/texlive-base/
drwxr-xr-x  2 root root 4096 2009-07-21 02:03 /usr/share/texlive-bin/
drwxr-xr-x  8 root root 4096 2009-07-21 02:04 /usr/share/texmf/
drwxr-xr-x 14 root root 4096 2009-07-21 02:04 /usr/share/texmf-texlive/
sl...@mydesk:~$

Is there  a workaround to this yet? Please tell me I don't have to compile a
later LyX on my brand new Ubuntu distro :-(

SteveT
   




Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread rgheck

On 07/23/2009 07:11 PM, Steve Litt wrote:

Which of the following should be my current directory when I run
/usr/share/lyx/configure.py?

___/home/slitt/.lyx

   
That one: Your LyX user directory. My point was that configure.py does 
not attempt to figure out which directory that is: You might have lots 
of user directories, for different purposes. I have several: The one I 
actually use when I'm trying to do real work, and the ones I use when 
debugging branch, trunk, etc, etc.


What's more important is that, as Paul and I have in effect said, the 
reason it used to be important to you to be able to reconfigure from a 
script no longer holds, for the most part. Only when you CREATE a new 
layout or module do you need to reconfigure. The only thing 
reconfiguring does is allow LyX to recognize new modules and layouts. 
Changes you make to layouts have NEVER required a reconfigure: You need 
only restart, since LyX will re-read the layout file when it restarts. 
Changes to modules have NEVER required a restart: Just opening 
Document>Settings and choosing "OK" (you may have to do something to 
enable that button) will force LyX to re-read the module file. And, as I 
said, in fact you don't even need to restart when you're editing 
*.layout files. Just run "layout-reload" from the mini-buffer---subject 
to the warnings given earlier.


So, to be clear; YOU NEVER NEED TO RECONFIGURE WHEN EDITING LAYOUTS. 
This was my special gift to you in the 1.6.x series.


rh



Re: Class defined in layout doesn't show up in Document Class dropdown

2009-07-23 Thread Steve Litt
On Thursday 23 July 2009 15:05:08 rgheck wrote:
> On 07/23/2009 02:17 PM, Paul A. Rubin wrote:
> > Steve Litt wrote: This brings up another problem. Without an automated
> > way to reconfigure, debugging will take literallly two or three times
> > longer. Can /usr/share/lyx/configure.py /usr/share/lyx/configure.py be
> > modified to do exactly the same thing as lyx->tools->reconfigure,
> > quit, restart lyx?
>
> It does, but it needs to be run from your user directory---or, better,
> from whichever directory you want it to dump its output into. This is
> because you might have more than one such directory.

Hi Richard,

I read the preceding sentence three times and still don't understand it. 
Because the preceding sentence is of vital importance to me, I'm going to ask 
specific questions for clarification...

My lyx doc is /d/at/books/stories/stories.lyx
My layout file is /home/slitt/.lyx/layouts/storybook.layout 

As far as I know, the output of my LyX document is dumped in the directory 
containing stories.lyx (/d/at/books/stories). The first step of my script uses 
lyx --export pdf or lyx  --export latex. Later parts of the script place the 
finished pdf in /d/at/books/pdf, but I don't think that's of interest.

Which of the following should be my current directory when I run 
/usr/share/lyx/configure.py?

___ /d/at/books/stories

___/d/at/books/pdf

___/home/slitt

___/home/slitt/.lyx

___/home/slitt/.lyx/layouts

___Other  _


Thanks

SteveT


need help using a meta font.

2009-07-23 Thread Todd Denniston
I found the kind of font I would like to use in d7seg [1], but I can't seem to 
 get the capbas set of files installed in a way that I can get lyx (or for 
all I know even TeX) to use it.


I got the zip from ctan[2]
I made ~/texmf/fonts/tfm/
unziped capbas to make ~/texmf/fonts/tfm/capbas/ [2.5]
ran texhash, which gave little output [3]
run (lyx) Tools -> Reconfigure
shutdown lyx
lyx testfont.lyx
try (lyx) View -> DVI
and get "LaTeX Error: File `d7seg.sty' not found"

OK, I agree the file does not exist... how do I get it?
I hope at worst it is some metafont incantation that must be done, because I 
obviously know nothing of how to create a style let alone one for a font.

and  don't even see one with
 find /usr/share/texmf/fonts/tfm/ -name "*.sty"
to copy and mess up.

or is it as simple as, fonts can ONLY be in /usr/share/texmf/fonts/ and not in 
~/texmf/fonts/ 


[1] http://www.tug.dk/FontCatalogue/dseg/
	Yes it's ugly, for normal reading, but that is what the operator will see on 
the 7 segment display that is in front of him/her. :)

[2] http://www.ctan.org/tex-archive/fonts/capbas/
[2.5]  also cp ~/texmf/fonts/tfm/capbas/* ~/texmf/fonts/
and ran texhash

[3] texhash
texhash: Updating /home/myhomedir/texmf/ls-R...
texhash: /usr/share/texmf: directory not writable. Skipping...
texhash: /usr/share/texmf-config: directory not writable. Skipping...
texhash: /usr/share/texmf-var: directory not writable. Skipping...
texhash: /var/lib/texmf/ls-R: no write permission. Skipping...
texhash: Done.


Note, I'll also take hints on how to actually use the font on just some 
selected text in an otherwise palatino document, after we can get LyX/LaTeX to 
recognize the new font.


Thanks.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


testfont.lyx
Description: application/lyx


Re: LyX 1.6.2 crashed

2009-07-23 Thread Steve Litt
On Thursday 23 July 2009 19:49:31 Nikos Alexandris wrote:
> Steve Litt wrote:
> > I opened one of my docs in LyX, clicked "document" on the menu, and lyx
> > terminated...
>
> ...
>
> > LyX Version 1.6.2
>
> ...
>
> Hi Steve!
>
> I am not really helping you but I remember experiencing some crasher
> using LyX 1.6.2 under Ubuntu Jaunty. Since some weeks I use 1.6.3 [1]
> and I didn't see any crashing yet. If you have no strong reasons to
> stick with 1.6.2 you could try out 1.6.3.
>
> All the best, Nikos

Hi Nikos,

I'm new to Ubuntu. Is there a way I could, using Ubuntu's package manager, 
upgrade to 1.6.3 or better? I just want to avoid having to compile -- so far 
every single thing but djbdns, VimOutliner and UMENU were installed via the 
package manager, and I'd like to keep it that pure if possible.

Thanks

SteveT