Re: Special superscript and subscript arrangements

1999-12-03 Thread Andre' Poenitz


If this lyx DTD is close to that used by TeX4ht, somebody else has done
the work already ;-)

Andre'


--
Andre' Poenitz .. [EMAIL PROTECTED]



Re: Special superscript and subscript arrangements

1999-12-03 Thread Andre' Poenitz

 directory src/kernel.  There's a very good design doc there also -- I
 think Asger has this on his web site as well.

I can't find the included .eps picture. ANy idea?

Andre'

PS: I am really sorry if I sounded too harsh (again) yesterday.

--
Andre' Poenitz .. [EMAIL PROTECTED]



Re: LaTeX to unicode translation table

1999-12-03 Thread Martin Norbäck

Fri Dec 03 1999, Miyata Shigeru -
 It seems BitStream corporation is no longer distributing the CyberBit
 font.  It is a complete Unicode 2.0 TrueType font except for 12,000
 Hangul Syllables and contains 26217 glyphs:

Well, I've got that font.  

However, running ttmkfdir (the one distributed with freetype-1.2) only
produces a lot of iso8859-* encodings and koi8 and ascii-0. No
iso10646-1 :(

Is there som way to persuade ttmkfdir to generate an iso-10646 variation
of a specific font? I don't want to load heaps of different encodings to
get the glyph I want.

Thanks,

Martin

-- 
[ http://www.dtek.chalmers.se/~d95mback/ ] [ PGP: 0x453504F1 ] [ UIN: 4439498 ]
Opinions expressed above are mine, and not those of my future employees.
  Skingra er! Det finns ingenting att förstå!

 PGP signature


Re: LaTeX to unicode translation table

1999-12-03 Thread Jules Bean

On 3 Dec 1999, Miyata Shigeru wrote:
 BTW be careful if you are to use fonts distributed by Microsoft.
 I'm not sure about the legal position of Microsoft US.  However,
 Microsoft Japan quite blatantly states in a  magazine interview
 that all the fonts shipped with Windows operating system, Microsoft
 applications for the said system, and those on the Web sites are
 licenced to be used only on Windows operating system.  And that
 it is a serious offence to the copyright law to use the fonts on
 other operating systems even if they are installed on the same
 hardware.

We certainly can't distribute it, so it's no good as the only solution.
Some people (e.g. me) don't have a copy of windows anywhere (and are proud
of it!).

Note incidentally that MS are lying (and I imagine they know they are).
Once they have given you permission to use it under windows on your
machine, 'fair use' almost certainly means that if you mount your FAT
drive under linux and teach your Xserver to see the fonts, you can use
them under linux. [*sigh* I am not a lawyer, that wasn't legal advice]

Jules
 
/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Re: Special superscript and subscript arrangements

1999-12-03 Thread Jules Bean

On Fri, 3 Dec 1999, Andre' Poenitz wrote:

 Andre'
 
 PS: I am really sorry if I sounded too harsh (again) yesterday.
 

Hey, if any of us bothered to take offence at mailing lists or usenet,
we'd have dropped of the net ages ago ;-)

/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Photo Float

1999-12-03 Thread Ben Cazzolato

Guys

I've just installed the photo float package and was wondering if there are any
plans to include the use of it in Lyx, ie  Insert  Float  Photo Float?

ftp://ftp.tex.ac.uk/tex-archive/help/Catalogue/entries/photo.html

Ben

 --
_

Ben Cazzolato

Fluid Dynamics and Acoustics Group
Institute of Sound and Vibration Research
University of Southampton,
Southampton, SO17 1BJ
UK

Email:  [EMAIL PROTECTED], or
[EMAIL PROTECTED], or
[EMAIL PROTECTED], or

Work:   +44 (0)1703 594 967
Fax:+44 (0)1703 593 190
Mobile: +44 (0)790 163 8826

Web Page : http://www.soton.ac.uk/~bscazz/
_



Re: Photo Float

1999-12-03 Thread Jean-Marc Lasgouttes

 "Ben" == Ben Cazzolato [EMAIL PROTECTED] writes:

Ben Guys I've just installed the photo float package and was
Ben wondering if there are any plans to include the use of it in Lyx,
Ben ie Insert  Float  Photo Float?

There are plans for making floats configurable from the .layout files.
Then it will be easy to add photo (whatever this is).

JMarc



Re: Lyx trouble with MikTeX

1999-12-03 Thread Jean-Marc Lasgouttes

 "Miyata" == Miyata Shigeru [EMAIL PROTECTED] writes:

Miyata Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:
 which displays ThisIsLaTeX2e if \documentclass is defined. What
 happens when you run this under miktex? Where does the output go?
 Maybe is it standard error instead of stdout?

Miyata I think the problem is somewhere else. At least the patch
Miyata below make lib/configure usable on OS/2. (Sorry, I have tested
Miyata this only with Web2c 7.2 for OS/2. emTeX has not yet been
Miyata tested.) Similar hack should be applied to RELYX_SEARCH_PROG
Miyata routine in lib/reLyX/ac*.m4 as well.

This indeed good. I'll commit this patch. However, why is it
necessary to keep the old IFS (which contain spaces) in the line
  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}$PATH_IFS"

I used:
  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"

Is that OK with you?

JMarc



SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jean-Marc Lasgouttes


Hello,

I have finally killed the SpaceLess(). In fact , it has been renamed
to MakeLatexName() and Buffer now has a new getLatexName() method
which returns the name of the .tex file (with .tex extension).

There were however a few places where spaceless was actually used to
avoid spaces. I replaced it by a new function QuoteName() which adds
single quotes around the argument:
aa  -  'aa'
JMarc's file-  'JMarc\'s file'

(now that I think if it, it probably breaks when a quote is already
backslashed %-|)

These quotes are of course not good for OS/2. So I'd be glad if an
alternative implementation could be given in this case. Otherwise,
I'll just make the function do nothing for OS/2.

What remains to do now is to find all cases where stringe file names
(containing spaces or quotes for example) create problems to programs
other that latex. I did a lot of experiments, but all is not done.

One question: when a command line in lyxrc contains $$FName, should we
provide the quotes automatically? This would force to rewrite some
definition which already have them, but it is maybe a good idea for
the long term anyway.

Thoughts?

JMarc



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Nils Jeppe

On 3 Dec 1999, Jean-Marc Lasgouttes wrote:

 One question: when a command line in lyxrc contains $$FName, should we
 provide the quotes automatically? This would force to rewrite some
 definition which already have them, but it is maybe a good idea for
 the long term anyway.
 Thoughts?

Sounds all reasonable. :)


-- 
  http://nils.jeppe.de/  -   Alternative email: [EMAIL PROTECTED]




Re: lyx-1.1.3 view ps/dvi bug (?)

1999-12-03 Thread Jean-Marc Lasgouttes

 "Jörg" == Jörg Ziefle [EMAIL PROTECTED] writes:

Jörg Hi there, I just tried the new lyx-1.1.3 and encountered
Jörg problems viewing my old lyx files, especially the big ones,
Jörg while the smaller ones do well (the files are all in the same
Jörg directory, so there is no permission problem):

Jörg This error message is shown after the invocation of File-View
Jörg dvi

Jörg file:praktikantenbericht.dvi: No such file or directory

Jörg and this one after File-View PostScript

Jörg This is dvips(k) 5.86 Copyright 1999 Radical Eye Software
Jörg (www.radicaleye.com) dvips: ! DVI file can't be opened.

Jörg I also tried not using my own lyxrc.

Jörg Did I totally oversee something obvious or did I discover a bug?

Does the file name really contain a column (:)? Does removing it help?

JMarc



Re: Diffs for modification to allow Fraktur and Blackboard Bold fonts

1999-12-03 Thread Michael Meskes

On Fri, Dec 03, 1999 at 12:33:16AM +0100, Paul Seelig wrote:
 You must have completely lost your marbles sending out a 3.4MB file to a
 mailing list. Learn some basic netiquette please and upload such a file to
 the LyX FTP site next time.

Seems it's not usual.  Please remember that some of us pay for a slow modem
line before sending out such a huge patch again.

Michael
-- 
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz| Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: [EMAIL PROTECTED]   | Use PostgreSQL!



Re: Diffs for modification to allow Fraktur and Blackboard Bold fonts

1999-12-03 Thread Michael Meskes

On Thu, Dec 02, 1999 at 01:27:25PM -0500, Justin Smith wrote:
 Here they are. They were taken from the Dec 1 version of the  1.1.4cvs source:
 ...

Is it normal for this list to carry such huge patches? If so I'm going to
unsubscribe.

Michael
-- 
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz| Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: [EMAIL PROTECTED]   | Use PostgreSQL!



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jules Bean

On 3 Dec 1999, Jean-Marc Lasgouttes wrote:

 
 What remains to do now is to find all cases where stringe file names
 (containing spaces or quotes for example) create problems to programs
 other that latex. I did a lot of experiments, but all is not done.

Remember of course that such programs are broken.

Maybe jsut report a bug to the author (and documetn: XYZ feature won't
work if you have spaces in your file name, since ABC program doesn't like
them).

Jules
 
/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jean-Marc Lasgouttes

 "Jules" == Jules Bean [EMAIL PROTECTED] writes:

Jules On 3 Dec 1999, Jean-Marc Lasgouttes wrote:
  What remains to do now is to find all cases where stringe file
 names (containing spaces or quotes for example) create problems to
 programs other that latex. I did a lot of experiments, but all is
 not done.

Jules Remember of course that such programs are broken.

Jules Maybe jsut report a bug to the author (and documetn: XYZ
Jules feature won't work if you have spaces in your file name, since
Jules ABC program doesn't like them).

That's not exactly what I meant. I should have said: 
  What remains to do now is to find all cases where strange file
  names (containing spaces or quotes for example) create problems 
  _due_to_the_way_we_invoke_them_

What happens is that there are many places where QuoteName should be
invoked and is not. Finding them is not very difficult: create a file
with spaces and quotes in name, and see what happens when you try to
run latex, xdvi, gs, tth, fax stuff, etc.

JMarc



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

| There were however a few places where spaceless was actually used to
| avoid spaces. I replaced it by a new function QuoteName() which adds
| single quotes around the argument:
| aa-  'aa'
| JMarc's file  -  'JMarc\'s file'

Why not double quotes?

Lgb



Re: Diffs for modification to allow Fraktur and Blackboard Bold fonts

1999-12-03 Thread Lars Gullik Bjønnes

Michael Meskes [EMAIL PROTECTED] writes:

| On Thu, Dec 02, 1999 at 01:27:25PM -0500, Justin Smith wrote:
|  Here they are. They were taken from the Dec 1 version of the  1.1.4cvs source:
|  ...
| 
| Is it normal for this list to carry such huge patches? If so I'm going to
| unsubscribe.

I hope it won't happen again...

Lgb



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jean-Marc Lasgouttes

 "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:

Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: |
Lars There were however a few places where spaceless was actually
Lars used to | avoid spaces. I replaced it by a new function
Lars QuoteName() which adds | single quotes around the argument: | aa
Lars - 'aa' | JMarc's file - 'JMarc\'s file'

Lars Why not double quotes?

Because $ is not protected inside them. Single quotes are stricter. We
can change that, but will have to protect $ (and maybe others), then.

JMarc



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jules Bean

On 3 Dec 1999, Jean-Marc Lasgouttes wrote:

  "Jules" == Jules Bean [EMAIL PROTECTED] writes:
 
 Jules On 3 Dec 1999, Jean-Marc Lasgouttes wrote:
   What remains to do now is to find all cases where stringe file
  names (containing spaces or quotes for example) create problems to
  programs other that latex. I did a lot of experiments, but all is
  not done.
 
 Jules Remember of course that such programs are broken.
 
 Jules Maybe jsut report a bug to the author (and documetn: XYZ
 Jules feature won't work if you have spaces in your file name, since
 Jules ABC program doesn't like them).
 
 That's not exactly what I meant. I should have said: 
   What remains to do now is to find all cases where strange file
   names (containing spaces or quotes for example) create problems 
   _due_to_the_way_we_invoke_them_

Do you mean you're passing the arguments as one big string, not as
separate arguments?  This is dangerous, it relies on the quoting
characteristics of the user's SHELL.

It's better to use functions like execl or execv.

 
 What happens is that there are many places where QuoteName should be
 invoked and is not. Finding them is not very difficult: create a file
 with spaces and quotes in name, and see what happens when you try to
 run latex, xdvi, gs, tth, fax stuff, etc.

Indeed.

Jules

/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Re: Supporting new document classes

1999-12-03 Thread mressler


On Fri, 3 Dec 1999, Allan Rae wrote:
  Mike Allan - if you don't add this to the docs, I should have some
  Mike time next week to do it (finally). I've been meaning to do an
  Mike expanded "how to do your own layout" chapter for quite a while
  Mike ...
 
 I saw you added that the other day, JMarc, but haven't as yet managed to
 open the document to read it.  I'll integrate this over the weekend.  
 Mike, you can repair my handywork then -- how does that sound?

Sounds like a plan to me. That will give me time to clean up a few other
things first ...

Mike
[EMAIL PROTECTED]



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

| Lars Why not double quotes?
| 
| Because $ is not protected inside them.

In what context? (the shell?)

| Single quotes are stricter. We
| can change that, but will have to protect $ (and maybe others),
| then. 

If the shell "!" needs to be protected.

Lgb



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jean-Marc Lasgouttes

 "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:

Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: |
Lars Lars Why not double quotes? | | Because $ is not protected
Lars inside them.

Lars In what context? (the shell?)

Yes, most programs are called via the shell. tth, for example, needs 
redirection. Doing this without the shell is a pain.

Lars | Single quotes are stricter. We | can change that, but will
Lars have to protect $ (and maybe others), | then.

Lars If the shell "!" needs to be protected.

A "!" between 'quotes' is not a problem.

JMarc



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jean-Marc Lasgouttes

 "Jules" == Jules Bean [EMAIL PROTECTED] writes:

Jules Do you mean you're passing the arguments as one big string, not
Jules as separate arguments? This is dangerous, it relies on the
Jules quoting characteristics of the user's SHELL.

Well, we use system() and this invokes sh, right? So on unix, the
problems should be rare.

Jules It's better to use functions like execl or execv.

Yes, but some command lines are parameterized in lyxrc and some of
them need stuff like redirection.

JMarc



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jules Bean

On 3 Dec 1999, Jean-Marc Lasgouttes wrote:

  "Jules" == Jules Bean [EMAIL PROTECTED] writes:
 
 Jules Do you mean you're passing the arguments as one big string, not
 Jules as separate arguments? This is dangerous, it relies on the
 Jules quoting characteristics of the user's SHELL.
 
 Well, we use system() and this invokes sh, right? So on unix, the
 problems should be rare.

Yeah.  system() will be OK if you trust the /bin/sh to do what you expect
on all systems. However, it's really hard to quote things properly (and,
IIRC, it is sometimes not possible, with some versions of bourne shell, to
quote something correctly)

 
 Jules It's better to use functions like execl or execv.
 
 Yes, but some command lines are parameterized in lyxrc and some of
 them need stuff like redirection.

Redirection isn't too hard with fork() and exec().

Parameterised command lines shouldn't be a disaster, either.

Jules

/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jules Bean

On Fri, 3 Dec 1999, Jules Bean wrote:

 On 3 Dec 1999, Jean-Marc Lasgouttes wrote:
 
   "Jules" == Jules Bean [EMAIL PROTECTED] writes:
  
  Jules Do you mean you're passing the arguments as one big string, not
  Jules as separate arguments? This is dangerous, it relies on the
  Jules quoting characteristics of the user's SHELL.
  
  Well, we use system() and this invokes sh, right? So on unix, the
  problems should be rare.
 
 Yeah.  system() will be OK if you trust the /bin/sh to do what you expect
 on all systems. However, it's really hard to quote things properly (and,
 IIRC, it is sometimes not possible, with some versions of bourne shell, to
 quote something correctly)

E.g. you can't put ' inside a '-string:

sh-2.02$ echo 'as\'ds'


(it's waiting for the closing ')

Jules

/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



LyX net down

1999-12-03 Thread Lars Gullik Bjonnes


Something happened, and they shut off the net that the lyx machines resides on.
Might not be able to do something about this until over the weekend.

Bummer.

Lgb



Re: [seak.teng-fong@iname.com] Feedback from www.lyx.org

1999-12-03 Thread Duncan Simpson


OK, Try the following (including the spaces, which are required)

\def\ip2#1{{\catcode` =11\input{#1}\catcode` =10}}

and I think you will find that \ip2{foo bar baz.tex} will without any trouble. 
The best effect can be had by putting that definition in the preamble. The 
same approach can be applied to other characters, including ones with the top 
bit set (most of which are probably in category 15, so generate nasty 
messages). If Andre wants a c cedilla in his file name this approach should 
allow him to have it. \ip2 works by temporarily reclassifing space as a 
letter. [Reference: "The TeXbook" chapters 7 and 8]

It might also be profitable to chnage some of the top bit set character to 
active characters that are \def to appropiate bits of TeX.

Finally, although it is offtopic bit I thoght the french powers that be 
abolished cedillas?
-- 
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."




LyX 1.1.3 trace log - reproducible

1999-12-03 Thread Sasa Janiska

Hello dear Developers!

After finishing  one book (two editions - Croatian  English) with LyX
and taking advantage to mention LyX  LaTeX as tools for producing
layouts, I had a small pause.

Soon, I have to start with some new writing and today I downloaded new
1.1.3 version.

I just changed the strings in tex-accent.C to have capability to enter
diacritic marks which are disabled by default in LyX (like r underdot),
compiled the program and tried to see what's happening.

I have defined dead keys in Xmodmap and I use latin-2 encoding in my
documents (attached file croatian.kmap) plus sanskrit.bind (also
attached) to add feature for entering sanskrit diacritic marks.

Now I cannot see all of them on the screen although they appear in dvi
output. Problem is with "i macron".

More serious problem is crashing when trying to enter "C caron" (if I'm
correct) - standard character in latin-2 encoding.
The trace file is included. 
Sincerely,
Sasa
P.S. Keep up the beautiful work on LyX. It is really fantastic.




 Croatian specific characters

#
#
# Local Dead Keys.  The particular keysyms for dead keys were defined
# using xkeycaps.
#
#

# Bound to Mode_switch+`
\bind "~S-~C-~M-dead_acute"  "accent-acute"
# Bound to Mode_switch+~
\bind "~S-~C-~M-dead_tilde"  "accent-tilde"
# Bound to Mode_switch+Shift+-
\bind "~S-~C-~M-dead_macron"	"accent-macron"
# Bound to Mode_switch+Shift++'
\bind "~S-~C-~M-dead_belowdot"	"accent-underdot"
# Bound to Mode_switch+*
\bind "~S-~C-~M-abovedot"	"accent-dot"


Program received signal SIGSEGV, Segmentation fault.
lyxstring::lyxstring (this=0xb3f0, x=@0x0, pos=0, n=4294967295)
at lyxstring.C:434
434 Assert(pos = x.rep-sz); // STD!
(gdb) bt
#0  lyxstring::lyxstring (this=0xb3f0, x=@0x0, pos=0, n=4294967295)
at lyxstring.C:434
#1  0x80e8a4c in Trans::process (this=0x81894c0, c=-56, k=@0x81bc910)
at trans_decl.h:34
#2  0x80e98eb in TransManager::TranslateAndInsert (this=0x81bc910, c=-56,
text=0x82111f0) at trans_mgr.C:281
#3  0x80ae717 in LyXFunc::Dispatch (this=0x81bc790, ac=-1,
do_not_use_this_arg=0x820ca90 "È") at lyxfunc.C:2474
#4  0x80a8191 in LyXFunc::processKeyEvent (this=0x81bc790, ev=0x4008f2ec)
at lyxfunc.C:303
#5  0x8060885 in LyXView::KeyPressMask_raw_callback (fl=0x81b26f0,
xev=0x4008f2ec) at LyXView.C:351
#6  0x80608a0 in C_LyXView_KeyPressMask_raw_callback (fl=0x81b26f0,
xev=0x4008f2ec) at LyXView.C:358
#7  0x400483bf in pre_emptive_consumed () from /usr/X11R6/lib/libforms.so.0.88
#8  0x40047758 in do_interaction_step () from /usr/X11R6/lib/libforms.so.0.88  
#9  0x40047ee2 in fl_treat_interaction_events ()
   from /usr/X11R6/lib/libforms.so.0.88
#10 0x40047f1c in fl_check_forms () from /usr/X11R6/lib/libforms.so.0.88
#11 0x809b57d in LyXGUI::runTime (this=0x8198650) at lyx_gui.C:634
#12 0x809c6e4 in LyX::LyX (this=0xb84c, argc=0xb8f0, argv=0xb934)
at ../src/lyx_main.C:119
#13 0x80b8353 in main (argc=1, argv=0xb934) at ../src/main.C:43
(gdb)  



1.1.3 fi = £

1999-12-03 Thread Garst R. Reese

When I type an fi, ViewPostscript is showing the British Currency
symbol, £ no i. Hmm, this does not happen with default font or helvetica
or avant, but does happen with Times, Palatino, Newcentury and Bookman.
All with latin1 encoding, but switching to default does not help.
Weird eh?
Garst



Re: LyX net down

1999-12-03 Thread Lars Gullik Bjønnes

Lars Gullik Bjonnes [EMAIL PROTECTED] writes:

| Something happened, and they shut off the net that the lyx machines
| resides on. 
| Might not be able to do something about this until over the weekend.

Ok, we are living on leased time unil over the weekend...
(this has nothing to do with LyX.)

Lgb 



Re: 1.1.3 fi = £

1999-12-03 Thread Garst R. Reese

"Garst R. Reese" wrote:
 
 When I type an fi, ViewPostscript is showing the British Currency
 symbol, £ no i. Hmm, this does not happen with default font or helvetica
 or avant, but does happen with Times, Palatino, Newcentury and Bookman.
 All with latin1 encoding, but switching to default does not help.
 Weird eh?
 Garst
Sorry to follow my own post, but I just checked this 1.0.3 and 1.0.4,
which I know did not exhibit this problem. So, I think it is bleeding
edge gs5.98 causing this, or else t1lib-1.0.



Re: 1.1.3 fi = £

1999-12-03 Thread Lars Gullik Bjønnes

"Garst R. Reese" [EMAIL PROTECTED] writes:

| "Garst R. Reese" wrote:
|  
|  When I type an fi, ViewPostscript is showing the British Currency
|  symbol, £ no i. Hmm, this does not happen with default font or helvetica
|  or avant, but does happen with Times, Palatino, Newcentury and Bookman.
|  All with latin1 encoding, but switching to default does not help.
|  Weird eh?
|  Garst
| Sorry to follow my own post, but I just checked this 1.0.3 and 1.0.4,
| which I know did not exhibit this problem.

So you had the same problem with those?

| So, I think it is bleeding
| edge gs5.98 causing this, or else t1lib-1.0.

Are you using t1lib? how?

Lgb



Re: 1.1.3 fi = £

1999-12-03 Thread Garst R. Reese

"Lars Gullik Bjønnes" wrote:
 
 "Garst R. Reese" [EMAIL PROTECTED] writes:
 
 | "Garst R. Reese" wrote:
 | 
 |  When I type an fi, ViewPostscript is showing the British Currency
 |  symbol, £ no i. Hmm, this does not happen with default font or helvetica
 |  or avant, but does happen with Times, Palatino, Newcentury and Bookman.
 |  All with latin1 encoding, but switching to default does not help.
 |  Weird eh?
 |  Garst
 | Sorry to follow my own post, but I just checked this 1.0.3 and 1.0.4,
 | which I know did not exhibit this problem.
 
 So you had the same problem with those?
yes, but not before I "upgraded" other stuff. Now trying to backup and
see where/what went screwy.
 
 | So, I think it is bleeding
 | edge gs5.98 causing this, or else t1lib-1.0.
 
 Are you using t1lib? how?
good question. especially the how part. It is installed, but I am not
sure the config is correct, so I don't think it is doing anything. The
docs are lenghty, but obscure in places, like how to set up paths to the
afm fonts.
My guess is that it was a mistake to install ghostscript-fonts-std-6.00,
esp. since my backup fonts turned out to be on a busted SyQuest.
Downloading (slowly) the older fonts to check that out. I'll let you
know.
Garst
 
 Lgb



Mirror site in Italy isn't up to date

1999-12-03 Thread Seak, Teng-Fong

I just found that the mirror site in Italy isn't up to date at all.
Haven't tried the others yet.  How are mirror sites setup?  Manually or
using a programme (robot) doing automatic mirror (once a day or once a
week)?



Re: 1.1.3 fi = £ --problem found

1999-12-03 Thread Garst R. Reese

"Lars Gullik Bjønnes" wrote:
 
 "Garst R. Reese" [EMAIL PROTECTED] writes:
 
 | "Garst R. Reese" wrote:
 | 
 |  When I type an fi, ViewPostscript is showing the British Currency
 |  symbol, £ no i. Hmm, this does not happen with default font or helvetica
 |  or avant, but does happen with Times, Palatino, Newcentury and Bookman.
 |  All with latin1 encoding, but switching to default does not help.
 |  Weird eh?
 |  Garst
 | Sorry to follow my own post, but I just checked this 1.0.3 and 1.0.4,
 | which I know did not exhibit this problem.
 
 So you had the same problem with those?
 
 | So, I think it is bleeding
 | edge gs5.98 causing this, or else t1lib-1.0.



 Are you using t1lib? how?
 
 Lgb
Problem solved. I had uncommented the p lines below in my config.ps
So maybe it is a Type 1 font problem.
 
% This is for using BlueSky/AMS/YY Type 1 fonts. Change this for other
% Type 1 fonts.

% p +bsr.map
% p +bsr-interpolated.map
% p +hoekwater.map

Garst



Re: lyx-1.1.3 view ps/dvi bug (?)

1999-12-03 Thread Garst R. Reese

Jörg Ziefle wrote:
 
 Hi there,
 
 I just tried the new lyx-1.1.3 and encountered problems viewing my old lyx
 files, especially the big ones, while the smaller ones do well (the files
 are all in the same directory, so there is no permission problem):

Did you check the permission of the file itself?
ls -l filexxx



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jules Bean

On 3 Dec 1999, Lars Gullik Bjønnes wrote:

 Jules Bean [EMAIL PROTECTED] writes:
 
 | E.g. you can't put ' inside a '-string:
 | 
 | sh-2.02$ echo 'as\'ds'
 
 perhaps a reason to use "" instead

Perhaps.

But the escaping rules for "" are even more complex.  You have to escape,
backslashes, $, etc...

It's easier (IMO) to use the exec calls.

Jules

/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Re: Diffs for modification to allow Fraktur and Blackboard Bold fonts

1999-12-03 Thread miyata

[EMAIL PROTECTED] (Lars Gullik Bjønnes) wrote:

 I already have the xfonts in the texmf tree and we should leave them
 there.

Yes, I forget where I got it from but I have amsps-unix.tar.gz
887925 bytes.  Other CM fonts by BlueSky are available from
CTAN/fonts/cm/ps-type1/bluesky
On the other hand, I prefer BaKoMa fonts for their quality, although
LaTeX symbols and Cyrillic fonts are missing.  They are at
CTAN/fonts/cm/ps-type1/bakoma
If we are to use them, Only the pointer for availablity (URL) should
be enough.

 Some of the changes to the mathed code are so large that I want
 Alejandros opinion on them before doing anything.

I'm not Alejandro, but
 - \mathbb and \mathfrak are accessible only when one of ams class,
   amstex, or amsfonts package is loaded.  Similarly \mathscr requires
   eucal or euscript package.  Since the patch doesn't take care of
   class/packages loading, it will lead to LaTeX errors.
 - In LaTeX, text fonts selection and math fonts selection are treated
   in completely different fashions.  On the other hand, in LyX text
   fonts and math fonts use the same mechanism for loading, which has
   been working so far because we have so far used only the common
   subset of both.  Now the patch breaks the assumption.  You can see
   in Buffer::readLyXformat2() that if a user hacks lyx files with a
   text editor, s/he can display and emit \mathbb etc. in non-math
   environment, which eventually leads to LaTeX errors.  I know you
   should not edit lyx files with text editors, but IMHO the design
   of the font loader will be wrong if this patch is applied.
 - fonts.dir/fonts.scale files in xfonts.tar.gz explicitely prohibits
   X clients from accessing non ISO8859-1 characters in the fonts.
   Try
xfd -fn -bluesky-lasy-medium-r-normal--0-0-0-0-m-0-iso8859-1
   to see what I mean.  I don't see any rationals for such a deed.

Judging from these, the patch seems, at least to me, a temporary hack
rather than a solution for mathEd problems, which I do not want to be
included in LyX.

 Also for the fonts we can discuss how to get access to the ps fonts
 distributed with tetex in the  best way. It is possible that to use a
 font renderer like t1lib would be better than using the built-in
 renderer in X.

This needs a discussion.  If we use built-in renderers in a X client,
then we may get a better looking results such as anti-aliasing.
On the other hand, if we do not use the X renderer, we have to send
bitmaps to the X server, which might increase the network load.

Also I'd like to remind you that there are two kinds of DrawString
functions in the X.  XDrawString()/XDrawString16() are optimised
drawing function which use the default font of the target GC.  While,
XmbDrawString()/XwcDrawString() are virtual font mechanism in Xlib,
which send XSetFont() requests behind the scene at appropriate places.
The problem with the said virtual font mechanism is that it is entirely
based on the locale.  I'm not sure if it suits the purpose of mathEd
but I will try to write a locale definition for LaTeX math setting.
(The locale file parser in Xlib is far from robust, to say the least
and it may take a time to make it working.)

Regards,
SMiyata



Re: Special superscript and subscript arrangements

1999-12-03 Thread Andre' Poenitz


If this lyx DTD is close to that used by TeX4ht, somebody else has done
the work already ;-)

Andre'


--
Andre' Poenitz .. [EMAIL PROTECTED]



Re: Special superscript and subscript arrangements

1999-12-03 Thread Andre' Poenitz

> directory src/kernel.  There's a very good design doc there also -- I
> think Asger has this on his web site as well.

I can't find the included .eps picture. ANy idea?

Andre'

PS: I am really sorry if I sounded too harsh (again) yesterday.

--
Andre' Poenitz .. [EMAIL PROTECTED]



Re: LaTeX to unicode translation table

1999-12-03 Thread Martin Norbäck

Fri Dec 03 1999, Miyata Shigeru ->
> It seems BitStream corporation is no longer distributing the CyberBit
> font.  It is a complete Unicode 2.0 TrueType font except for 12,000
> Hangul Syllables and contains 26217 glyphs:

Well, I've got that font.  

However, running ttmkfdir (the one distributed with freetype-1.2) only
produces a lot of iso8859-* encodings and koi8 and ascii-0. No
iso10646-1 :(

Is there som way to persuade ttmkfdir to generate an iso-10646 variation
of a specific font? I don't want to load heaps of different encodings to
get the glyph I want.

Thanks,

Martin

-- 
[ http://www.dtek.chalmers.se/~d95mback/ ] [ PGP: 0x453504F1 ] [ UIN: 4439498 ]
Opinions expressed above are mine, and not those of my future employees.
  Skingra er! Det finns ingenting att förstå!

 PGP signature


Re: LaTeX to unicode translation table

1999-12-03 Thread Jules Bean

On 3 Dec 1999, Miyata Shigeru wrote:
> BTW be careful if you are to use fonts distributed by Microsoft.
> I'm not sure about the legal position of Microsoft US.  However,
> Microsoft Japan quite blatantly states in a  magazine interview
> that all the fonts shipped with Windows operating system, Microsoft
> applications for the said system, and those on the Web sites are
> licenced to be used only on Windows operating system.  And that
> it is a serious offence to the copyright law to use the fonts on
> other operating systems even if they are installed on the same
> hardware.

We certainly can't distribute it, so it's no good as the only solution.
Some people (e.g. me) don't have a copy of windows anywhere (and are proud
of it!).

Note incidentally that MS are lying (and I imagine they know they are).
Once they have given you permission to use it under windows on your
machine, 'fair use' almost certainly means that if you mount your FAT
drive under linux and teach your Xserver to see the fonts, you can use
them under linux. [*sigh* I am not a lawyer, that wasn't legal advice]

Jules
 
/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Re: Special superscript and subscript arrangements

1999-12-03 Thread Jules Bean

On Fri, 3 Dec 1999, Andre' Poenitz wrote:

> Andre'
> 
> PS: I am really sorry if I sounded too harsh (again) yesterday.
> 

Hey, if any of us bothered to take offence at mailing lists or usenet,
we'd have dropped of the net ages ago ;-)

/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Photo Float

1999-12-03 Thread Ben Cazzolato

Guys

I've just installed the photo float package and was wondering if there are any
plans to include the use of it in Lyx, ie  Insert > Float > Photo Float?

ftp://ftp.tex.ac.uk/tex-archive/help/Catalogue/entries/photo.html

Ben

 --
_

Ben Cazzolato

Fluid Dynamics and Acoustics Group
Institute of Sound and Vibration Research
University of Southampton,
Southampton, SO17 1BJ
UK

Email:  [EMAIL PROTECTED], or
[EMAIL PROTECTED], or
[EMAIL PROTECTED], or

Work:   +44 (0)1703 594 967
Fax:+44 (0)1703 593 190
Mobile: +44 (0)790 163 8826

Web Page : http://www.soton.ac.uk/~bscazz/
_



Re: Photo Float

1999-12-03 Thread Jean-Marc Lasgouttes

> "Ben" == Ben Cazzolato <[EMAIL PROTECTED]> writes:

Ben> Guys I've just installed the photo float package and was
Ben> wondering if there are any plans to include the use of it in Lyx,
Ben> ie Insert > Float > Photo Float?

There are plans for making floats configurable from the .layout files.
Then it will be easy to add photo (whatever this is).

JMarc



Re: Lyx trouble with MikTeX

1999-12-03 Thread Jean-Marc Lasgouttes

> "Miyata" == Miyata Shigeru <[EMAIL PROTECTED]> writes:

Miyata> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:
>> which displays ThisIsLaTeX2e if \documentclass is defined. What
>> happens when you run this under miktex? Where does the output go?
>> Maybe is it standard error instead of stdout?

Miyata> I think the problem is somewhere else. At least the patch
Miyata> below make lib/configure usable on OS/2. (Sorry, I have tested
Miyata> this only with Web2c 7.2 for OS/2. emTeX has not yet been
Miyata> tested.) Similar hack should be applied to RELYX_SEARCH_PROG
Miyata> routine in lib/reLyX/ac*.m4 as well.

This indeed good. I'll commit this patch. However, why is it
necessary to keep the old IFS (which contain spaces) in the line
  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}$PATH_IFS"

I used:
  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"

Is that OK with you?

JMarc



SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jean-Marc Lasgouttes


Hello,

I have finally killed the SpaceLess(). In fact , it has been renamed
to MakeLatexName() and Buffer now has a new getLatexName() method
which returns the name of the .tex file (with .tex extension).

There were however a few places where spaceless was actually used to
avoid spaces. I replaced it by a new function QuoteName() which adds
single quotes around the argument:
aa  ->  'aa'
JMarc's file->  'JMarc\'s file'

(now that I think if it, it probably breaks when a quote is already
backslashed %-|)

These quotes are of course not good for OS/2. So I'd be glad if an
alternative implementation could be given in this case. Otherwise,
I'll just make the function do nothing for OS/2.

What remains to do now is to find all cases where stringe file names
(containing spaces or quotes for example) create problems to programs
other that latex. I did a lot of experiments, but all is not done.

One question: when a command line in lyxrc contains $$FName, should we
provide the quotes automatically? This would force to rewrite some
definition which already have them, but it is maybe a good idea for
the long term anyway.

Thoughts?

JMarc



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Nils Jeppe

On 3 Dec 1999, Jean-Marc Lasgouttes wrote:

> One question: when a command line in lyxrc contains $$FName, should we
> provide the quotes automatically? This would force to rewrite some
> definition which already have them, but it is maybe a good idea for
> the long term anyway.
> Thoughts?

Sounds all reasonable. :)


-- 
  http://nils.jeppe.de/  -   Alternative email: [EMAIL PROTECTED]




Re: lyx-1.1.3 view ps/dvi bug (?)

1999-12-03 Thread Jean-Marc Lasgouttes

> "Jörg" == Jörg Ziefle <[EMAIL PROTECTED]> writes:

Jörg> Hi there, I just tried the new lyx-1.1.3 and encountered
Jörg> problems viewing my old lyx files, especially the big ones,
Jörg> while the smaller ones do well (the files are all in the same
Jörg> directory, so there is no permission problem):

Jörg> This error message is shown after the invocation of File->View
Jörg> dvi

Jörg> file:praktikantenbericht.dvi: No such file or directory

Jörg> and this one after File->View PostScript

Jörg> This is dvips(k) 5.86 Copyright 1999 Radical Eye Software
Jörg> (www.radicaleye.com) dvips: ! DVI file can't be opened.

Jörg> I also tried not using my own lyxrc.

Jörg> Did I totally oversee something obvious or did I discover a bug?

Does the file name really contain a column (:)? Does removing it help?

JMarc



Re: Diffs for modification to allow Fraktur and Blackboard Bold fonts

1999-12-03 Thread Michael Meskes

On Fri, Dec 03, 1999 at 12:33:16AM +0100, Paul Seelig wrote:
> You must have completely lost your marbles sending out a 3.4MB file to a
> mailing list. Learn some basic netiquette please and upload such a file to
> the LyX FTP site next time.

Seems it's not usual.  Please remember that some of us pay for a slow modem
line before sending out such a huge patch again.

Michael
-- 
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz| Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: [EMAIL PROTECTED]   | Use PostgreSQL!



Re: Diffs for modification to allow Fraktur and Blackboard Bold fonts

1999-12-03 Thread Michael Meskes

On Thu, Dec 02, 1999 at 01:27:25PM -0500, Justin Smith wrote:
> Here they are. They were taken from the Dec 1 version of the  1.1.4cvs source:
> ...

Is it normal for this list to carry such huge patches? If so I'm going to
unsubscribe.

Michael
-- 
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz| Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: [EMAIL PROTECTED]   | Use PostgreSQL!



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jules Bean

On 3 Dec 1999, Jean-Marc Lasgouttes wrote:

> 
> What remains to do now is to find all cases where stringe file names
> (containing spaces or quotes for example) create problems to programs
> other that latex. I did a lot of experiments, but all is not done.

Remember of course that such programs are broken.

Maybe jsut report a bug to the author (and documetn: XYZ feature won't
work if you have spaces in your file name, since ABC program doesn't like
them).

Jules
 
/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jean-Marc Lasgouttes

> "Jules" == Jules Bean <[EMAIL PROTECTED]> writes:

Jules> On 3 Dec 1999, Jean-Marc Lasgouttes wrote:
>>  What remains to do now is to find all cases where stringe file
>> names (containing spaces or quotes for example) create problems to
>> programs other that latex. I did a lot of experiments, but all is
>> not done.

Jules> Remember of course that such programs are broken.

Jules> Maybe jsut report a bug to the author (and documetn: XYZ
Jules> feature won't work if you have spaces in your file name, since
Jules> ABC program doesn't like them).

That's not exactly what I meant. I should have said: 
  What remains to do now is to find all cases where strange file
  names (containing spaces or quotes for example) create problems 
  _due_to_the_way_we_invoke_them_

What happens is that there are many places where QuoteName should be
invoked and is not. Finding them is not very difficult: create a file
with spaces and quotes in name, and see what happens when you try to
run latex, xdvi, gs, tth, fax stuff, etc.

JMarc



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| There were however a few places where spaceless was actually used to
| avoid spaces. I replaced it by a new function QuoteName() which adds
| single quotes around the argument:
| aa->  'aa'
| JMarc's file  ->  'JMarc\'s file'

Why not double quotes?

Lgb



Re: Diffs for modification to allow Fraktur and Blackboard Bold fonts

1999-12-03 Thread Lars Gullik Bjønnes

Michael Meskes <[EMAIL PROTECTED]> writes:

| On Thu, Dec 02, 1999 at 01:27:25PM -0500, Justin Smith wrote:
| > Here they are. They were taken from the Dec 1 version of the  1.1.4cvs source:
| > ...
| 
| Is it normal for this list to carry such huge patches? If so I'm going to
| unsubscribe.

I hope it won't happen again...

Lgb



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jean-Marc Lasgouttes

> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: |
Lars> There were however a few places where spaceless was actually
Lars> used to | avoid spaces. I replaced it by a new function
Lars> QuoteName() which adds | single quotes around the argument: | aa
Lars> -> 'aa' | JMarc's file -> 'JMarc\'s file'

Lars> Why not double quotes?

Because $ is not protected inside them. Single quotes are stricter. We
can change that, but will have to protect $ (and maybe others), then.

JMarc



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jules Bean

On 3 Dec 1999, Jean-Marc Lasgouttes wrote:

> > "Jules" == Jules Bean <[EMAIL PROTECTED]> writes:
> 
> Jules> On 3 Dec 1999, Jean-Marc Lasgouttes wrote:
> >>  What remains to do now is to find all cases where stringe file
> >> names (containing spaces or quotes for example) create problems to
> >> programs other that latex. I did a lot of experiments, but all is
> >> not done.
> 
> Jules> Remember of course that such programs are broken.
> 
> Jules> Maybe jsut report a bug to the author (and documetn: XYZ
> Jules> feature won't work if you have spaces in your file name, since
> Jules> ABC program doesn't like them).
> 
> That's not exactly what I meant. I should have said: 
>   What remains to do now is to find all cases where strange file
>   names (containing spaces or quotes for example) create problems 
>   _due_to_the_way_we_invoke_them_

Do you mean you're passing the arguments as one big string, not as
separate arguments?  This is dangerous, it relies on the quoting
characteristics of the user's SHELL.

It's better to use functions like execl or execv.

> 
> What happens is that there are many places where QuoteName should be
> invoked and is not. Finding them is not very difficult: create a file
> with spaces and quotes in name, and see what happens when you try to
> run latex, xdvi, gs, tth, fax stuff, etc.

Indeed.

Jules

/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Re: Supporting new document classes

1999-12-03 Thread mressler


On Fri, 3 Dec 1999, Allan Rae wrote:
> > Mike> Allan - if you don't add this to the docs, I should have some
> > Mike> time next week to do it (finally). I've been meaning to do an
> > Mike> expanded "how to do your own layout" chapter for quite a while
> > Mike> ...
> 
> I saw you added that the other day, JMarc, but haven't as yet managed to
> open the document to read it.  I'll integrate this over the weekend.  
> Mike, you can repair my handywork then -- how does that sound?

Sounds like a plan to me. That will give me time to clean up a few other
things first ...

Mike
[EMAIL PROTECTED]



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| Lars> Why not double quotes?
| 
| Because $ is not protected inside them.

In what context? (the shell?)

| Single quotes are stricter. We
| can change that, but will have to protect $ (and maybe others),
| then. 

If the shell "!" needs to be protected.

Lgb



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jean-Marc Lasgouttes

> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: |
Lars> Lars> Why not double quotes? | | Because $ is not protected
Lars> inside them.

Lars> In what context? (the shell?)

Yes, most programs are called via the shell. tth, for example, needs >
redirection. Doing this without the shell is a pain.

Lars> | Single quotes are stricter. We | can change that, but will
Lars> have to protect $ (and maybe others), | then.

Lars> If the shell "!" needs to be protected.

A "!" between 'quotes' is not a problem.

JMarc



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jean-Marc Lasgouttes

> "Jules" == Jules Bean <[EMAIL PROTECTED]> writes:

Jules> Do you mean you're passing the arguments as one big string, not
Jules> as separate arguments? This is dangerous, it relies on the
Jules> quoting characteristics of the user's SHELL.

Well, we use system() and this invokes sh, right? So on unix, the
problems should be rare.

Jules> It's better to use functions like execl or execv.

Yes, but some command lines are parameterized in lyxrc and some of
them need stuff like redirection.

JMarc



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jules Bean

On 3 Dec 1999, Jean-Marc Lasgouttes wrote:

> > "Jules" == Jules Bean <[EMAIL PROTECTED]> writes:
> 
> Jules> Do you mean you're passing the arguments as one big string, not
> Jules> as separate arguments? This is dangerous, it relies on the
> Jules> quoting characteristics of the user's SHELL.
> 
> Well, we use system() and this invokes sh, right? So on unix, the
> problems should be rare.

Yeah.  system() will be OK if you trust the /bin/sh to do what you expect
on all systems. However, it's really hard to quote things properly (and,
IIRC, it is sometimes not possible, with some versions of bourne shell, to
quote something correctly)

> 
> Jules> It's better to use functions like execl or execv.
> 
> Yes, but some command lines are parameterized in lyxrc and some of
> them need stuff like redirection.

Redirection isn't too hard with fork() and exec().

Parameterised command lines shouldn't be a disaster, either.

Jules

/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jules Bean

On Fri, 3 Dec 1999, Jules Bean wrote:

> On 3 Dec 1999, Jean-Marc Lasgouttes wrote:
> 
> > > "Jules" == Jules Bean <[EMAIL PROTECTED]> writes:
> > 
> > Jules> Do you mean you're passing the arguments as one big string, not
> > Jules> as separate arguments? This is dangerous, it relies on the
> > Jules> quoting characteristics of the user's SHELL.
> > 
> > Well, we use system() and this invokes sh, right? So on unix, the
> > problems should be rare.
> 
> Yeah.  system() will be OK if you trust the /bin/sh to do what you expect
> on all systems. However, it's really hard to quote things properly (and,
> IIRC, it is sometimes not possible, with some versions of bourne shell, to
> quote something correctly)

E.g. you can't put ' inside a '-string:

sh-2.02$ echo 'as\'ds'
>

(it's waiting for the closing ')

Jules

/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



LyX net down

1999-12-03 Thread Lars Gullik Bjonnes


Something happened, and they shut off the net that the lyx machines resides on.
Might not be able to do something about this until over the weekend.

Bummer.

Lgb



Re: [seak.teng-fong@iname.com] Feedback from www.lyx.org

1999-12-03 Thread Duncan Simpson


OK, Try the following (including the spaces, which are required)

\def\ip2#1{{\catcode` =11\input{#1}\catcode` =10}}

and I think you will find that \ip2{foo bar baz.tex} will without any trouble. 
The best effect can be had by putting that definition in the preamble. The 
same approach can be applied to other characters, including ones with the top 
bit set (most of which are probably in category 15, so generate nasty 
messages). If Andre wants a c cedilla in his file name this approach should 
allow him to have it. \ip2 works by temporarily reclassifing space as a 
letter. [Reference: "The TeXbook" chapters 7 and 8]

It might also be profitable to chnage some of the top bit set character to 
active characters that are \def to appropiate bits of TeX.

Finally, although it is offtopic bit I thoght the french powers that be 
abolished cedillas?
-- 
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."




LyX 1.1.3 trace log - reproducible

1999-12-03 Thread Sasa Janiska

Hello dear Developers!

After finishing  one book (two editions - Croatian & English) with LyX
and taking advantage to mention LyX & LaTeX as tools for producing
layouts, I had a small pause.

Soon, I have to start with some new writing and today I downloaded new
1.1.3 version.

I just changed the strings in tex-accent.C to have capability to enter
diacritic marks which are disabled by default in LyX (like r underdot),
compiled the program and tried to see what's happening.

I have defined dead keys in Xmodmap and I use latin-2 encoding in my
documents (attached file croatian.kmap) plus sanskrit.bind (also
attached) to add feature for entering sanskrit diacritic marks.

Now I cannot see all of them on the screen although they appear in dvi
output. Problem is with "i macron".

More serious problem is crashing when trying to enter "C caron" (if I'm
correct) - standard character in latin-2 encoding.
The trace file is included. 
Sincerely,
Sasa
P.S. Keep up the beautiful work on LyX. It is really fantastic.




 Croatian specific characters

#
#
# Local Dead Keys.  The particular keysyms for dead keys were defined
# using xkeycaps.
#
#

# Bound to Mode_switch+`
\bind "~S-~C-~M-dead_acute"  "accent-acute"
# Bound to Mode_switch+~
\bind "~S-~C-~M-dead_tilde"  "accent-tilde"
# Bound to Mode_switch+Shift+-
\bind "~S-~C-~M-dead_macron"	"accent-macron"
# Bound to Mode_switch+Shift++'
\bind "~S-~C-~M-dead_belowdot"	"accent-underdot"
# Bound to Mode_switch+*
\bind "~S-~C-~M-abovedot"	"accent-dot"


Program received signal SIGSEGV, Segmentation fault.
lyxstring::lyxstring (this=0xb3f0, x=@0x0, pos=0, n=4294967295)
at lyxstring.C:434
434 Assert(pos <= x.rep->sz); // STD!
(gdb) bt
#0  lyxstring::lyxstring (this=0xb3f0, x=@0x0, pos=0, n=4294967295)
at lyxstring.C:434
#1  0x80e8a4c in Trans::process (this=0x81894c0, c=-56, k=@0x81bc910)
at trans_decl.h:34
#2  0x80e98eb in TransManager::TranslateAndInsert (this=0x81bc910, c=-56,
text=0x82111f0) at trans_mgr.C:281
#3  0x80ae717 in LyXFunc::Dispatch (this=0x81bc790, ac=-1,
do_not_use_this_arg=0x820ca90 "È") at lyxfunc.C:2474
#4  0x80a8191 in LyXFunc::processKeyEvent (this=0x81bc790, ev=0x4008f2ec)
at lyxfunc.C:303
#5  0x8060885 in LyXView::KeyPressMask_raw_callback (fl=0x81b26f0,
xev=0x4008f2ec) at LyXView.C:351
#6  0x80608a0 in C_LyXView_KeyPressMask_raw_callback (fl=0x81b26f0,
xev=0x4008f2ec) at LyXView.C:358
#7  0x400483bf in pre_emptive_consumed () from /usr/X11R6/lib/libforms.so.0.88
#8  0x40047758 in do_interaction_step () from /usr/X11R6/lib/libforms.so.0.88  
#9  0x40047ee2 in fl_treat_interaction_events ()
   from /usr/X11R6/lib/libforms.so.0.88
#10 0x40047f1c in fl_check_forms () from /usr/X11R6/lib/libforms.so.0.88
#11 0x809b57d in LyXGUI::runTime (this=0x8198650) at lyx_gui.C:634
#12 0x809c6e4 in LyX::LyX (this=0xb84c, argc=0xb8f0, argv=0xb934)
at ../src/lyx_main.C:119
#13 0x80b8353 in main (argc=1, argv=0xb934) at ../src/main.C:43
(gdb)  



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Lars Gullik Bjønnes

Jules Bean <[EMAIL PROTECTED]> writes:

| E.g. you can't put ' inside a '-string:
| 
| sh-2.02$ echo 'as\'ds'

perhaps a reason to use "" instead

Lgb



1.1.3 fi = £

1999-12-03 Thread Garst R. Reese

When I type an fi, ViewPostscript is showing the British Currency
symbol, £ no i. Hmm, this does not happen with default font or helvetica
or avant, but does happen with Times, Palatino, Newcentury and Bookman.
All with latin1 encoding, but switching to default does not help.
Weird eh?
Garst



Re: LyX net down

1999-12-03 Thread Lars Gullik Bjønnes

Lars Gullik Bjonnes <[EMAIL PROTECTED]> writes:

| Something happened, and they shut off the net that the lyx machines
| resides on. 
| Might not be able to do something about this until over the weekend.

Ok, we are living on leased time unil over the weekend...
(this has nothing to do with LyX.)

Lgb 



Re: 1.1.3 fi = £

1999-12-03 Thread Garst R. Reese

"Garst R. Reese" wrote:
> 
> When I type an fi, ViewPostscript is showing the British Currency
> symbol, £ no i. Hmm, this does not happen with default font or helvetica
> or avant, but does happen with Times, Palatino, Newcentury and Bookman.
> All with latin1 encoding, but switching to default does not help.
> Weird eh?
> Garst
Sorry to follow my own post, but I just checked this 1.0.3 and 1.0.4,
which I know did not exhibit this problem. So, I think it is bleeding
edge gs5.98 causing this, or else t1lib-1.0.



Re: 1.1.3 fi = £

1999-12-03 Thread Lars Gullik Bjønnes

"Garst R. Reese" <[EMAIL PROTECTED]> writes:

| "Garst R. Reese" wrote:
| > 
| > When I type an fi, ViewPostscript is showing the British Currency
| > symbol, £ no i. Hmm, this does not happen with default font or helvetica
| > or avant, but does happen with Times, Palatino, Newcentury and Bookman.
| > All with latin1 encoding, but switching to default does not help.
| > Weird eh?
| > Garst
| Sorry to follow my own post, but I just checked this 1.0.3 and 1.0.4,
| which I know did not exhibit this problem.

So you had the same problem with those?

| So, I think it is bleeding
| edge gs5.98 causing this, or else t1lib-1.0.

Are you using t1lib? how?

Lgb



Re: 1.1.3 fi = £

1999-12-03 Thread Garst R. Reese

"Lars Gullik Bjønnes" wrote:
> 
> "Garst R. Reese" <[EMAIL PROTECTED]> writes:
> 
> | "Garst R. Reese" wrote:
> | >
> | > When I type an fi, ViewPostscript is showing the British Currency
> | > symbol, £ no i. Hmm, this does not happen with default font or helvetica
> | > or avant, but does happen with Times, Palatino, Newcentury and Bookman.
> | > All with latin1 encoding, but switching to default does not help.
> | > Weird eh?
> | > Garst
> | Sorry to follow my own post, but I just checked this 1.0.3 and 1.0.4,
> | which I know did not exhibit this problem.
> 
> So you had the same problem with those?
yes, but not before I "upgraded" other stuff. Now trying to backup and
see where/what went screwy.
> 
> | So, I think it is bleeding
> | edge gs5.98 causing this, or else t1lib-1.0.
> 
> Are you using t1lib? how?
good question. especially the how part. It is installed, but I am not
sure the config is correct, so I don't think it is doing anything. The
docs are lenghty, but obscure in places, like how to set up paths to the
afm fonts.
My guess is that it was a mistake to install ghostscript-fonts-std-6.00,
esp. since my backup fonts turned out to be on a busted SyQuest.
Downloading (slowly) the older fonts to check that out. I'll let you
know.
Garst
> 
> Lgb



Mirror site in Italy isn't up to date

1999-12-03 Thread Seak, Teng-Fong

I just found that the mirror site in Italy isn't up to date at all.
Haven't tried the others yet.  How are mirror sites setup?  Manually or
using a programme (robot) doing automatic mirror (once a day or once a
week)?



Re: 1.1.3 fi = £ --problem found

1999-12-03 Thread Garst R. Reese

"Lars Gullik Bjønnes" wrote:
> 
> "Garst R. Reese" <[EMAIL PROTECTED]> writes:
> 
> | "Garst R. Reese" wrote:
> | >
> | > When I type an fi, ViewPostscript is showing the British Currency
> | > symbol, £ no i. Hmm, this does not happen with default font or helvetica
> | > or avant, but does happen with Times, Palatino, Newcentury and Bookman.
> | > All with latin1 encoding, but switching to default does not help.
> | > Weird eh?
> | > Garst
> | Sorry to follow my own post, but I just checked this 1.0.3 and 1.0.4,
> | which I know did not exhibit this problem.
> 
> So you had the same problem with those?
> 
> | So, I think it is bleeding
> | edge gs5.98 causing this, or else t1lib-1.0.



> Are you using t1lib? how?
> 
> Lgb
Problem solved. I had uncommented the p lines below in my config.ps
So maybe it is a Type 1 font problem.
 
% This is for using BlueSky/AMS/Y Type 1 fonts. Change this for other
% Type 1 fonts.

% p +bsr.map
% p +bsr-interpolated.map
% p +hoekwater.map

Garst



Re: lyx-1.1.3 view ps/dvi bug (?)

1999-12-03 Thread Garst R. Reese

Jörg Ziefle wrote:
> 
> Hi there,
> 
> I just tried the new lyx-1.1.3 and encountered problems viewing my old lyx
> files, especially the big ones, while the smaller ones do well (the files
> are all in the same directory, so there is no permission problem):

Did you check the permission of the file itself?
ls -l filexxx



Re: SpaceLess() function is dead :) [Arnd and SMiyata, please read]

1999-12-03 Thread Jules Bean

On 3 Dec 1999, Lars Gullik Bjønnes wrote:

> Jules Bean <[EMAIL PROTECTED]> writes:
> 
> | E.g. you can't put ' inside a '-string:
> | 
> | sh-2.02$ echo 'as\'ds'
> 
> perhaps a reason to use "" instead

Perhaps.

But the escaping rules for "" are even more complex.  You have to escape,
backslashes, $, etc...

It's easier (IMO) to use the exec calls.

Jules

/+---+-\
|  Jelibean aka  | [EMAIL PROTECTED] |  6 Evelyn Rd|
|  Jules aka | [EMAIL PROTECTED]  |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]|  TW9 2TF *UK*   |
++---+-+
|  War doesn't demonstrate who's right... just who's left. |
|  When privacy is outlawed... only the outlaws have privacy.  |
\--/



Re: Diffs for modification to allow Fraktur and Blackboard Bold fonts

1999-12-03 Thread miyata

[EMAIL PROTECTED] (Lars Gullik Bjønnes) wrote:

> I already have the xfonts in the texmf tree and we should leave them
> there.

Yes, I forget where I got it from but I have amsps-unix.tar.gz
887925 bytes.  Other CM fonts by BlueSky are available from
CTAN/fonts/cm/ps-type1/bluesky
On the other hand, I prefer BaKoMa fonts for their quality, although
LaTeX symbols and Cyrillic fonts are missing.  They are at
CTAN/fonts/cm/ps-type1/bakoma
If we are to use them, Only the pointer for availablity (URL) should
be enough.

> Some of the changes to the mathed code are so large that I want
> Alejandros opinion on them before doing anything.

I'm not Alejandro, but
 - \mathbb and \mathfrak are accessible only when one of ams class,
   amstex, or amsfonts package is loaded.  Similarly \mathscr requires
   eucal or euscript package.  Since the patch doesn't take care of
   class/packages loading, it will lead to LaTeX errors.
 - In LaTeX, text fonts selection and math fonts selection are treated
   in completely different fashions.  On the other hand, in LyX text
   fonts and math fonts use the same mechanism for loading, which has
   been working so far because we have so far used only the common
   subset of both.  Now the patch breaks the assumption.  You can see
   in Buffer::readLyXformat2() that if a user hacks lyx files with a
   text editor, s/he can display and emit \mathbb etc. in non-math
   environment, which eventually leads to LaTeX errors.  I know you
   should not edit lyx files with text editors, but IMHO the design
   of the font loader will be wrong if this patch is applied.
 - fonts.dir/fonts.scale files in xfonts.tar.gz explicitely prohibits
   X clients from accessing non ISO8859-1 characters in the fonts.
   Try
xfd -fn -bluesky-lasy-medium-r-normal--0-0-0-0-m-0-iso8859-1
   to see what I mean.  I don't see any rationals for such a deed.

Judging from these, the patch seems, at least to me, a temporary hack
rather than a solution for mathEd problems, which I do not want to be
included in LyX.

> Also for the fonts we can discuss how to get access to the ps fonts
> distributed with tetex in the  best way. It is possible that to use a
> font renderer like t1lib would be better than using the built-in
> renderer in X.

This needs a discussion.  If we use built-in renderers in a X client,
then we may get a better looking results such as anti-aliasing.
On the other hand, if we do not use the X renderer, we have to send
bitmaps to the X server, which might increase the network load.

Also I'd like to remind you that there are two kinds of DrawString
functions in the X.  XDrawString()/XDrawString16() are optimised
drawing function which use the default font of the target GC.  While,
XmbDrawString()/XwcDrawString() are virtual font mechanism in Xlib,
which send XSetFont() requests behind the scene at appropriate places.
The problem with the said virtual font mechanism is that it is entirely
based on the locale.  I'm not sure if it suits the purpose of mathEd
but I will try to write a locale definition for LaTeX math setting.
(The locale file parser in Xlib is far from robust, to say the least
and it may take a time to make it working.)

Regards,
SMiyata