Angus' fdesign -convert fix is buggy too....

2004-05-29 Thread Duncan Simpson
> --nextPart2143034.hU0dofkB2d > > Actually, once you've got your head around the fact that nobody is > there to hold your hand, it isn't too bad. The attached trial program > has been tested and is always safe. I'm going to commit this to > XForms cvs. > Unfrotunately Angus' fix is buggy too, be

Re: [Patch] cases environment requires amsmath

2003-03-07 Thread Duncan Simpson
The cases environment defined by the ams package clashes with the plain TeX \cases command due to the implementation of \begin in LaTeX. If the AMS version was the right thing then I could live with this--unfortunately the AMS cases environemnt is a plain in the butt to use. Instead of $f(x)=\cas

Re: queue

2003-02-21 Thread Duncan Simpson
The fact that queues do not have swap() methods, or fast reverse or merge methods, means I usually end up implementing my own versions---sometimes I use a special opeation so heavily it must be fast. word2x attatches one queue to the end of another queue very frequently, for example and has it's o

[PATVCHLET] Compile with g++ 3.3

2003-02-04 Thread Duncan Simpson
g++ 3.3 complains about passing insettext.C passing a non-lvalue to max. The following patch fixes this problem. Someone please apply. --- src/insets/insettext.C.dist Tue Feb 4 10:21:03 2003 +++ src/insets/insettext.C Tue Feb 4 10:25:08 2003 @@ -312,7 +312,9 @@ int InsetText::width(Bu

[PATCHLET] glibc 2.3.1 compile error fix

2003-02-03 Thread Duncan Simpson
The following patchlet fixes compiling with glibc 2.3.1 which dies because the strerror declaration in src/config.h fails to match that in string.h (which adds throw(); to the end and is therefore different). There is of course some impact on the configure script not included in the patchlet. AFAI

Re: Fwd: Re: [PATCH][RFC] Use locale codec for Qt key insert

2002-12-19 Thread Duncan Simpson
In glibc wchar_t is 32 bits. Windows wide characters are UCS-2 or were last time I ran into them. UTF8 is probably the right thing for storing the text in a file IMHO but there are other choices. But for GNU systems `wchar_t' is always 32 bits wide and, therefore, capable of representi

Re: Indenting left justified paragraphs

2002-12-03 Thread Duncan Simpson
> Dekel Tsur <[EMAIL PROTECTED]> writes: > > | On Wed, Nov 27, 2002 at 04:16:16PM +0100, Jean-Marc Lasgouttes wrote: > | > > | > Probably not. I guess it is a consequence of our changing from > | > \centering to center environments and friends. > | > | \begin{center} is bad as it adds space. > |

Re: autoconf-2.53

2002-11-20 Thread Duncan Simpson
There is a bug in the macro which tried to that but unfortunately left out the middle argument (which probably why it did not work). If autoheader is not noticing that then I think AH_TEMPLATE is the right thing (presumably as part of the macro, that happens irrespective of the result). I could g

Re: autoconf-2.53

2002-11-10 Thread Duncan Simpson
Some electrons claimed that Jean-Marc Lasgouttes write: > > Ben> 2) does not define HAVE_DECL_MKSTEMP, but my system has it. > > Lars, the LYX_DECL_HDR is broken: it does not create a define in > config.h. I do not know what to do about it, actually > > JMarc > Do you need some compile time sw

Re: Bug717. Mathed problem.

2002-11-10 Thread Duncan Simpson
On Mon, Nov 04, 2002 at 07:29:26PM +0200, Dekel Tsur wrote: > It shouldn't be much of problem. The solution is to do something similar > to what is done when pressing ctrl+b inside \mathbf inset: > When the user inserts any math element inside \textrm, > lyx should exit the \textrm inset if the cur

Re: eps->png->eps conversion

2002-10-09 Thread Duncan Simpson
If I understood it correctly last time I saw it epsi files are eps files with a comment that contans a bitmap representation of the image. Un*x systems usually have ghostscript and at least some programs that know one of the way to use it (xdvi knowns how to get ghostscript to render into a windo

Re: lyxpipe bug report WONTFIX?

2002-09-26 Thread Duncan Simpson
If LyX is following me and thinking that LyX should be using anonymous pipes (multiple, at least one for input and one for ouput) or a pair of connected sockets crreated by socketpair(2) for remote connections then it is much simpler. Neither pairs of pipes or pairs of connected sockets of neve

Re: New Xforms "Paragraph Layout" dialog. Comments?

2002-09-20 Thread Duncan Simpson
In addition to marking the default is there any good reason why a "default" button could not hiughlight the default options too, so if * is a selected option and o an selected one and the jsutificaion section reads o full (default) * left o center o right then pressing the default button

Re: LFUNs, insets and the outside world

2002-08-19 Thread Duncan Simpson
Do I understand the design? I think the design is that an event invokes the local inset's dispatch() function, which either handles it or passes it up to it's parent inset. If this is not the design dare I suggest this is what it should be? Things like end would work everywhere for free, presumab

Re: configure script needs "lXpm" for the Xforms check.

2002-08-12 Thread Duncan Simpson
Juergen Vigna wrote assert that > No as Albert Chin explained us recently it is an xforms bug. When > creating .a libraries they should contain all other needed libraries or > at least contain the dependencies on them when build. Stop right there. This would be a really *bad idea* in many inst

Re: configure script needs "lXpm" for the Xforms check.

2002-08-11 Thread Duncan Simpson
I get the feeling this is a library format issue: according to the libtool documentation some library formats can cope with dependencies, for example I can link an elf shared library with another one and it will automatcially pull in the shared library it depends upon. Some other format, for exa

Re: tabular woes

2002-08-02 Thread Duncan Simpson
Would it be relevent to mention that in TeX tabular and matricies *are* implemented using the same basic command, namely \halign? Matricies construct math boxes using a template contianing math shifts (aka $ signs) and tabular uses a template without math shifts. Plain TeX's \cases uses a templat

Re: "Counters" work

2002-07-16 Thread Duncan Simpson
> >One more suggestion: naked pointers are evil. Naked pointers in an STL >container are doubly evil. Wrap that pointer in a boost::shared_ptr. Memory >is automatically delete-d as the list goes out of scope. IMHO wasting cycles mainating reference counts when I know the lifetime of an item an

Re: \cases

2002-07-09 Thread Duncan Simpson
You need to be careful with \cases and quite a few other similar items. If you look at how \begin and \end work, \begin{foo} is equivilent to \foo and \end{foo} to \endfoo. If you do not load the appropiate ams style file then you get the plain TeX version of \cases (a macro based on a halign, se

Re: lyx-1.2.0/boost/boost/detail/limits.hpp and alpha

2002-06-13 Thread Duncan Simpson
> Hi, > just to include my favorite platform, alpha. You have to change the file > lyx-1.2.0/boost/boost/detail/limits.hpp > on line 43 to > #elif defined(__i386__) || defined(__alpha__) > And yes, the alpha is little endian. > > Surely a better fix would be to include endian.h, or if you are

Re: lyx-devel src/mathed/: ChangeLog math_hullinset.C

2002-06-04 Thread Duncan Simpson
How about Use AMS math: (*) automatic (recommended) ( )Yes ( )No and even perhaps Validate LaTeX: ( ) Automatic (*)Yes (recommended) ( )No where automatic would guess whether it could cope with the LaTeX/plain TeX and not validate it if saw something odd. This could just be a minimal scan

Re: Please test xforms 0.9999 with lyx 1.2.0cvs and 1.1.6fixcvs

2002-04-03 Thread Duncan Simpson
Building shared libraries is different on lots of platforms. There are quite a lot of things common to various platforms (compiling with -fPIC) and oodless of little differences. IMHO libtool is the right thing if you might want to build a shared library and, in my experience, libtool works well

Reading the emacs manual reveals all...

2002-03-21 Thread Duncan Simpson
Surely deleteing superflous spaces is just a matter of M-x delete-trailing-whitespace, which you learn about under the Display, Trailing whitespace. It operates in the whoole buffer so hit C-x n n (narrow to region) if you want to restrict it to an area of a buffer, and C-x n w (widen) when you w

Re: a thought on insets and buffers...

2002-03-15 Thread Duncan Simpson
Asger writes >A buffer should contain a number of buffer wide data. >This could be a list of bibliographic entries, or a list >of labels. This information naturally belongs in the buffer. Why? I fail to see the need, unless somewhere wants a list of references refered to in the buffer. I can n

Re: a symbol for ||| ... |||

2002-03-14 Thread Duncan Simpson
This a a *TeX question... and actually not too hard to answer The simplest \usepckage{zed-csp.sty} and then the symbol is \interleave (as you would expect if you know CSP). Expanding macros tells you \interleave is equivielent to \mathrel{\mathord{\mid}\mkern-2mu\mathord{\mid}\mkern-2mu\mathord{

Re: LyX Migration

2002-03-03 Thread Duncan Simpson
Hmmm... you could always use ERT for conditionals. Plain TeX has conditionals which shoud do what you need and there is a LaTeX package for those that want a slightly prettier version. The LaTeX package might not support the plain TeX magic documented in the rest of the message. \begin{Plain TeX

{PATCH} fix gcc 3.1 comnfigure problem

2002-02-24 Thread Duncan Simpson
gcc --version on most releases of gcc 3.1 generates spo,ething along the lines of: gcc (GCC) 3.1 20020118 (experimental) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS

What I need to compile lyx?

2002-02-02 Thread Duncan Simpson
gcc 3.1 compiles LyX fine modulo one detail---the last link step makes ld grow to a really vast size and _eventually_ die due to lack of memory. 64Mb of real memory+50Mb swap is enough for gcc, glibc (2.2.5), XFree86 and everything else IO have tired except lyx. I might try again once my box gets

Rename does *not* work across mount points

2002-02-02 Thread Duncan Simpson
More careful reading of the rename(2) man page reveals it does mention problems crossing mount points. The ERRORS section of the link rename(2) function includes EXDEV oldpath and newpath are not on the same filesystem. mv is smart enough to copy the file and delete the original if re

Re: Quick & dirty patch for tabular (i.e. wishes ;-) )

2002-01-25 Thread Duncan Simpson
> On Fri, 25 Jan 2002, Jürgen Vigna wrote: > - I don't know yet how to get a "justified" text in a cell, if it > is possible, and if there is one reason to do that ! This this probably easiest to do with plain TeX. For just one line try \hbox to {} and be sure to include some flexible g

Re: NO_PEXTRA_REALLY

2001-09-11 Thread Duncan Simpson
If you are going the ERT route, you might want to do the adjustments in a group instead and make the changes in a way that is limited to the group---easy if you use plain TeX. The lengths are plain TeX too... pure LaTeX users would proably do this with a list environment. Remember to ensure the p

Re: Bug list - Update

2001-09-10 Thread Duncan Simpson
> On Mon, 10 Sep 2001, Andre Poenitz wrote: > > But I am not fully convinced that minipages provide a proper solution for > indenting a paragraph by, e.g., 5cm. You would have to set the width of > the minipage to \textwidth-5cm and place a \hfill in front of the > minipage. I wonder if this is

Breaking ligatrues

2001-07-19 Thread Duncan Simpson
Breaking ligatures should be done with {}, \hbox{} or soemthing like that. Using an italic correction, \/, will do the *wrong thing* on slanted or italic words that are not split where you hide the ligature. In upright fonts allmost all the italic corrections are zero so you will not notice th

Re: \not

2001-07-12 Thread Duncan Simpson
I am pretty sure that either the TeXbook or Lesile Lamport's LaTeX users guide says \not is a slash with width 0 (and rather obviously ink outside it's official boundary). Whether that is the cleanest way to implement it in LyX is not a question I am qualified to comment on. -- Duncan (-: "s

Re: Attempting (and failing) to compile natbib branch

2001-05-29 Thread Duncan Simpson
> On Wed, 30 May 2001, Allan Rae wrote: > Actually we could perhaps provide a warning message like: > > Are you serious? GCC-2.96 is unofficial crap! > ... and the current version number the mainline gcc sources claim to be is 3,1. I use 3.1 regularly and have the CVS version of gcc 2

Re: "prime" mark for equations

2001-05-24 Thread Duncan Simpson
> hmm, yes it does. Yesterday it was causing errors, but it seemed > horribly confused in general. > Was this due to attemtoing constrcutions along the lines of x^2'', which probably makes TeX complain about a double subscript (in addition to presumably being the wrong thing, etc)? If you rea

File names with spaces in them...

2001-03-27 Thread Duncan Simpson
File nmes with spaces in them seem to turn up on a semi-regular basis, so I was wondering whether a patch that spotted them and applied catcode magic when they did appear would be in order. If so would a pure TeX solution. which would make hevay uise of \epandafter in addition to catcode magic

Math parser cleanup patch

2001-02-25 Thread Duncan Simpson
If nobody applied my previous patch, this one might be more tempting. The math_Parser code is a mess, and does not follow TeX anyway (which has the benefit of making the code simpler anyway). While it is buggy, for example only letter, category 11 to be precise, should quality for multiple cha

MathEd micro patch

2001-02-20 Thread Duncan Simpson
This patch replaces a couple of 255s with (N(yytext)-1), which keeps up with changes in the size of yytext. As a bonus it communicates with me what the significance of the value to me. The macro recogniser could still be improved (take 1 character and look for multiple character if the catcode

Re: 1.1.6fix1 (status update #2) / HP-UX

2001-02-01 Thread Duncan Simpson
Some local electrons alleged that Albert Chin-A-Young <[EMAIL PROTECTED]> said: <...lots snipped...> > Not all packages use their own vsnprintf() regardless of whether or > not the system has one. Lftp certainly does not. And, I don't think > Samba does either. Anyway, on HP-UX 10.20, patch PHCO_

Re: Feature request for 1.2

2001-01-29 Thread Duncan Simpson
OK, you need a float with some plain TeX inside it. I would suggest something along the lines of \hbox to {\hfil\brule width 0pt height h depth d} where h+d=.. The dimensions can be in any suported units, which include cm (centimeters), in (inches) and pt (points). Using a single rule for th

Re: lyx-1.16 on hpux

2001-01-19 Thread Duncan Simpson
You do not know that the test compiles without warnings. The test decides whether you have snprintf by attempting to link a small program conatining snprintf. In particular it can succeed even if the declaration is not in the header files the example #include's. The declarations in some of the

Re: Support for multline/align (patch)

2001-01-16 Thread Duncan Simpson
Some of my electrons alleged that Alejandro Aguilar Sierra typed: > = > I know nothing about the new mathed (which might actually works similar= ly = > to the way proposed below), but I wonder if it might be better to write= an > even newer mathed: the math inset will be a derived class of inse

Re: LyX still does not compile (workaround found, but bug real)

2000-12-07 Thread Duncan Simpson
Well, if you insit on using a single _ prefix you can get burned. It is knwon and systenm lbraries make hevay use of names starying with _ to avoid names in your programs. If you had used ObjectRec instead of _ObjectRec you would have avodied trouble. However there is more... X11/XInstric.h, a

Re: LyX still does not compile (workaround found, but bug real)

2000-12-07 Thread Duncan Simpson
In general it is *very dangeruous* to assume that this or that header is not included for any reason. The chance of this "non bug" ot breaking a {Open Mo, Mo,Less}tif port is at least 99.99% (my estimate is 120%). Anything that needs Xmu or Xt is probably fatal. If you are going to use X11 the

Re: Preferences->Colors

2000-12-01 Thread Duncan Simpson
If the code quoted is typical then it could all be replaced by XlookupColorn which returns the closest and exact colour XLookupColor(dipslay, colour map, colorname, exact_ef_retrurn, scrren_def_retrun) Returns: 0 on mailure, non zero on success .Possible errors are BadName (invalid colour)

Re: Preferences->Colors

2000-11-30 Thread Duncan Simpson
To paraphrase from Vchapter 7 of Xlib programming (page 193) it says Whe XAllocNamedColor, XlookupColor, XparseColor and XStoreNamedColor (or their device indepent analogues) and pased a colour string thyey attempt the following thins (and take the first that works) 1. Attempt to parse is as

Re: Quoting underscore in index entries

2000-11-28 Thread Duncan Simpson
> On Tue, Nov 28, 2000 at 10:30:34AM +0100, Rainer Dorsch wrote: > > > > Hi, > > > > I am not sure, if this is a known problem, but underscores in index entires > > have to be quoted, e.g. CVS_ROOT. Otherwise an error is thrown at the > > beginning of the document. > > > > This was quite conf

How you can do your own "external" code reviews

2000-11-27 Thread Duncan Simpson
I have just discovered a great way of doing code reviews and fereting out bugs, including well buried ones.q In fatc there are several ways, all of which tend to go together; just a write a clear and easy to read document explaning how to code works for those who do not know already. This wil

Re: Internal events

2000-11-22 Thread Duncan Simpson
> = > ## Main tread > For xforms we can use a filedescriptor driven message queue and bind > a callback that knows what to do with fl_add_io_callback. > = > Unfortunately is xforms not threadsafe so we must be very careful to > not use xforms functions in the thread. > = > For a fork/exec we

Re: Working on a Word to LyX importer

2000-09-29 Thread Duncan Simpson
word2x is designed to be retargetable, so adding another output format is not a major problem and neither is chaning or replacing it later. If you want to do the same in wv it is probably a lot harder (last time there is no clean separation between the front and back end in wv). If some C++ m

catcode magic for file anmes with space (Was: Re: working example)

2000-06-30 Thread Duncan Simpson
While routine use of catcode magic counts as brain damage, all spaces take is teeling TeX that space is a letter or other character. the scope of which can be bracketed by a group. For example one could write {\aftergroup\input\catcode` =12\aftergroup{File name with spaces}} which works becau

Re: working example

2000-06-29 Thread Duncan Simpson
If LyX is going to detect and do special magic to deal with file names with natsty character like spaces in them, then the current suggestions are IMHO the wrong thing. File names with spaces, and practically anything else, can be made to work with catcode magic (see the TeXbook). While it wo

Compilation problem

2000-06-25 Thread Duncan Simpson
gcc 2.96 from CVS and glibc 2.1.2 compilation dies with math_defs.h:145: syntax error before `&' math_defs.h:234: `ostream' undeclared in namespace `std' math_defs.h:234: parse error before `,' math_defs.h:332: `ostream' undeclared in namespace `std' math_defs.h:332: parse error before `,' math

Re: list environment (Lars, please read)

2000-05-29 Thread Duncan Simpson
I emailed one of the major devleopers, not quite sur who, a lfew days back a proper solution based on the followiing fragment \long\def\hw#1{{\halign{% \hfil{\bf ##\unskip:\ }&\vtop{\parindent=0pt\hsize=\dimen0##\hfil\par}\cr% #1\crcr}}} \long\def\hl#1{% \dimen0=1000pt\setbox0=\vbox{\hw{#1}}% \

Majro font bug wirh XFree86 4.0 (gcc 2,.96, glibc 2.1.2, linux)

2000-05-17 Thread Duncan Simpson
Just tried the latets version of lyx from CVS with XFree86 4.0 non my two old SUN 16" monitor box (none of th available console modes give a working display, so there is no way I am going to recn#onfigure soon). It has no cracshed on me yet but IT seesm to think nil2 is an apropaite font (tor

Re: \SpecialChar

2000-05-01 Thread Duncan Simpson
I ssuppose it would be possible to have sme automatic portected space logic, provided it could be overidden. I personally like references like this[1], without spaces. (Various people what various different styles, so I think the hwole issue is a job for a macro or two). Some journals referen

Re: Bugs in the text inset

2000-04-25 Thread Duncan Simpson
gcc 2.96 has trouble with the test inset too. I am sure this is a bug but not sure what the correct fix actually is, as ignoring const is not nescarily safe. Could someone who knows the coed better determine whether a cast, prototype twiddle or massive code change is appropiate here? make[3]

1.1.5cvs incompatible with gcc 2.96

2000-03-13 Thread Duncan Simpson
LyX 1.1.5cvs prudces the followng message when compiled with the latest egcs/gcc 2.96 (which will be required on linux if LyX pulls out all the modern C++ stops). buffer.C:830:60: warning: #warning Verify that this else clause is still needed. (Lgb) buffer.C: In method `void Buffer::SimpleLin

autoconf macro to check compiler switches

2000-03-02 Thread Duncan Simpson
I have a macro that will test whether compilers like a given option. You might be better to probe for compiler options at configure time, which should take fewer updates and compiler specific knowledge. Use is moderately simple, an example is dps_CC_OPTION(warn,enable warnings, -Wall -full-wa

gui independence

2000-01-28 Thread Duncan Simpson
Do not hold your breath, since I need to get a PhD, but it occurs to me that GUI independence would be accelerated by having some common cases as re-usable widgets or something spiritually similar. How many boxes have a message and yes, no and cancel buttons? Would it not make sense to have a g

Re: Intuitive views of nesting -- conglomerate

1999-12-07 Thread Duncan Simpson
This almost sounds like emacs outline mode which, as far as I have read the manual, makes paragraph of lower section level than n invisible. You can expand everything, just individual sections and so forth. I guess apporpiate code hacks would allow lyx to do the same (replace the not shown par

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 ap

Re: Importing-exporting to M$ Word

1999-10-06 Thread Duncan Simpson
> On 1 Oct, Allan Rae wrote: > I understood you perfectly. I do think (hope) that XML will become a > standard, let us hope that that happens real soon. Until then, maybe > we could have a M$ Word importer/exporter. > Modulo some major limitations word2x, catdoc or MSWordview might do the j

word2x is looking for CVS hosting

1999-10-03 Thread Duncan Simpson
While it is not directly related to LyX yet, word2x is looking for CVS hosting and in the running to become LyX's M$ word import facility (it is not there quite yet, IMHO). Even if word starts using XML it will probably be littered with physical style stuff that needs rewriting as a proper str

Re: Importing-exporting to M$ Word

1999-09-20 Thread Duncan Simpson
word2x is so named because it is supposed easy to add other formats. One could add a LyX output end fairly easily and I will take responisbility for porting it to word2x 2.0 when that is ready. It would be enough of a feature to trigger a new release :-) I am not familar enough with .lyx forma

Warning! POSIX does not buy you much...

1999-09-06 Thread Duncan Simpson
According to my man page strcasecmp is conforming to BSD 4.3 (and all unicies I have seen so far, inclduign SunOS). AFAIK GNU libc 2.1 is conforming to ANSI and POSIX but also includes common extensions, like mmap, lstat, setrlimit, snprintf, select, fileno, *BSD sockets and whole bunch of oth

Re: M$ Word -> LyX (was Re: Hi and small scroll wheel patch (fwd)

1999-09-03 Thread Duncan Simpson
RTF is an excellent solution to the word to something else, inclyding LyX, problem. Not only does it support practically everything bar macro virii but it is also documented and reasonably sensible (quite a contrast with Word binary format, which is subject to NDAs and baroque to put it mildly

Re: M$ Word -> LyX

1999-08-24 Thread Duncan Simpson
Actually the latest version of word2x is 0.005. Asking for support for any previous version is a little futile---I only want to hear about bugs that I have not yet fixed. The website has moved to http://word2x.alcom.co.uk, so the changes are no www and a different ISP name (actually the same p

Re: M$ Word -> LyX

1999-08-22 Thread Duncan Simpson
word2x may be a better bet as it has structure extraction logic and has mutiple backends (so you could put a LyX backend on it). Minimal OLE support is likely to appear quite soon. The next major release of word2x will feature configurable, modular, structure grinding stages. If anyone wants t

Re: Custom pagesize printing bugs (was Re: statement paper quand

1999-08-19 Thread Duncan Simpson
Actually there is another problem that the patches so far do not fix: view ps will crop it to whatever it thinks the paper size actually is anyway and this is a gs feature :-) This got me and my print queue---gs thought US letter and depidated my A4 documents badly. The fix is to add -sPAPERSI

Re: [Duncan Simpson ] Re: 3026 public symbol exports in LyX global name space (wa: Re: LaTeX file handling)

1999-08-12 Thread Duncan Simpson
Arnd Hanses posted: > > Provided, box isn't too modern. New vendor patches (or new glibc) break > configure tests, 'till someone is so kind as to provide the fix (which > in turn breaks other tests, elsewhere, etc.) > Sort of strange... I have used linux since 0.99pl13, libc 4 (the old a.out

LaTeX style parser

1999-07-29 Thread Duncan Simpson
If it would help I am close to a LaTeX tokeniser close to the one described in the TeXbook (Knuth). I figured mathed need it and could send a copy to an interested developer for bug flattening and use elsewhere. It could surely squash problems with reading filenames wiht a few newliines and sp

Re: xforms bugs (was:Re: searchpath)

1999-07-21 Thread Duncan Simpson
If xforms bugs get too serious then I have some source code which means I could affect a fix. Distribution is a major problem---since source is not normally avialable patches are no good and I probably should not pass the source around in random directions. I would says lack of a source distri

Re: Proposal for new features

1999-07-19 Thread Duncan Simpson
This would be possible with a little bit of TeXnical magic which changes % into an active character and defines an appropiate macro. Any thought on what they should look like? It might take a little care to ensure it works absolutely as we would like but this should not be a major change to Ly

handling evil stuff in mathed (and simplifying the lexer too :-).

1999-06-12 Thread Duncan Simpson
mathed's lexer has some really stupid hacks in it. Following TeX on what is a macro makes the code *much* simpler and would eliminate even more if I could rebuild math_hash.C (the CVS sources seem to lack to input to gperf). All the change required is to put the first character after the \ in

mathed parse dies bigtime on esoteric stuff

1999-05-11 Thread Duncan Simpson
I am not sure whether this bug is a reLyX or mathed bug (argiably both I guess). mathed segfaults in mathed_parse when attempting t o cope with \begin_inset Formula \[ T'=\left( \vcenter{\hbox{ \valign{\vfil\hbox{\(\bsn#\)}\vfil&\vfil\hbox{\(\bsn#\)}&\vfil\hbox{\(\bsn#\)}\vfil\cr I_{k'} & M' &

Re: offtopic: convert word doc to latex

1999-01-17 Thread Duncan Simpson
If it is properly structured document and word 8/97 format then mswordview will produce a well structured HMTL version, which presumably will generate a nice LyX version via hmtl2latex and relyx. If these conditions do not aplly then it may be better to try mswordview's "competition" which do

Re: type of storeate for paragraph.

1999-01-03 Thread Duncan Simpson
Hmm... would it make sense to copy or otherwise arrange to have a paragraph subject to mangling in a larger buffer split into two pieces (before and after the cursor)? This is very efficient for insertations and deletions anywhere---all it takes is adjusting a pointer and nothing special appli