Re: Slow, lacking scroll and cursor (LyX 2 -- Ubuntu 11.04)

2011-06-08 Thread Andre Poenitz
On Wed, Jun 08, 2011 at 09:01:35PM +0200, Stephan Witt wrote:
> This is what I had expected. 
> It looks like the drawing operations send to the X-Server are too expensive.
> Unfortunately I don't have a "modern" Linux desktop system at hand.
> I'm using OpenSuSE 11.2 and a somewhat outdated Qt-Library.

The magic incantation to solve this problem is:

git clone git://gitorious.org/qt/qt.git
cd qt
./configure -prefix `pwd`
make

[or alternatively, ./configure && make && sudo make install]

Andre' 


Re: Latex - absolute beginners

2011-04-20 Thread Andre Poenitz
On Thu, Apr 21, 2011 at 01:21:45AM +0200, Marc Wijnand wrote:
> Hi
> 
> I am trying to learn how to make a document with Latex. I am working on Mac 
> OS X and I installed MacTex and LyX.
> I just typed
> 
>   \documentclass{document}
>   
>   \begin{document}
>   Hello world!
>   \end{document}
> 
> but when trying to make a pdf, I get this error message:


> 
> What did I do wrong?

Just type

Hello world!

and make a pdf from it.

Andre'



Re: how to stop annoying screen jumps?

2011-02-08 Thread Andre Poenitz
On Wed, Feb 09, 2011 at 12:17:07AM +0100, Vincent van Ravesteijn wrote:
> 
> >>Ah yes, Qt4 issues again. Any thoughts of using a different graphic
> >>library in the future?
> >xforms was being discussed lately.
> >
> >Andre'
> 
> Interesting. Could you tell a bit more about xforms ?

Super cool cross-platform toolkit. Runs on several version of Unix, even
in parallel, with multiple users logged in, on Fridays. Also available
on Mac using darwin ports, and probably even on properly configured
Windows machines (i.e. with X server running)

Comes with a feature rich gui designer called 'fdesign' and incredible
unicode support. Lightweight by design, robust, mature, and easily 
maintainable by core LyX contributors.

Oh, and it uses git: git clone git://git.savannah.nongnu.org/xforms.git 

Andre'


Re: how to stop annoying screen jumps?

2011-02-08 Thread Andre Poenitz
On Tue, Feb 08, 2011 at 04:42:24PM -0500, Steve Litt wrote:
> On Tuesday 08 February 2011 16:02:08 Liviu Andronic wrote:
> > On Tue, Feb 8, 2011 at 9:49 PM, John  wrote:
> > > Hello: I use Lyx 1.6.5 and Ubuntu 10.04. Lyx works fine, but if I
> > > am editing, then click the pdf icon to view the pdf output, then
> > > click back on the Lyx text to make a change, all too often the
> > > screen wildly jumps to some other part of the document.
> > 
> > There are known incompatibilities between the LyX and Qt versions
> > shipped in 10.04. Try [1][2].  Liviu
> 
> Ah yes, Qt4 issues again. Any thoughts of using a different graphic
> library in the future?

xforms was being discussed lately.

Andre'


Re: LyX does not insert & when inserting a "Split" environment

2010-05-18 Thread Andre Poenitz
On Tue, May 18, 2010 at 05:36:32PM +0200, Pavel Sanda wrote:
> Paul A. Rubin wrote:
> > It is now (#6700).  Do I get any sort of prize for entering a ticket that 
> > hits a century mark?  ;-)
> 
> i will buy you a beer if you come to the next devel meeting :)

There haven't been any meetings for a while...

Andre'


Re: LyZ: LyX plugin for Zotero

2009-12-28 Thread Andre Poenitz
On Tue, Dec 29, 2009 at 07:21:19AM +1100, Typhoon wrote:
> On Mon, 28 Dec 2009 13:49:12 -0500
> rgheck  wrote:
> > The term "bibliography" can mean a few different things. One thing it 
> > can mean is just a reference list, and that's what it means in LyX
> > and LaTeX, though you can add non-cited sources to the bibliography
> > if you wish. It can also mean something like a collection of sources
> > on some topic, such as when I tell a student, "Compile a bibliography
> > on Descartes's version of the ontological argument".
> 
> Such cruelty should be reported to the authorities :-).

He typed that sentence in an email, that's good enough as a report to the
authorities nowadays...

Andre'


Re: strange compiler error

2009-12-26 Thread Andre Poenitz
On Sat, Dec 26, 2009 at 03:09:53PM +0100, bb wrote:
> I compiled lyx about a dozen times in the last month and did not have  
> any problem beside the usual missing packages. I run lyx on a 64 bit  
> ubuntu 9.10, debian and others. I downloaded from the lyx homepage. As I  
> tried to compile today on an ubuntu 9.10 running on an amd, I got some  
> problems, some data here:

Do you have a C++ compiler installed? What say 'apt-get install g++'?

Andre'


Re: LyX Server on XP?

2009-12-11 Thread Andre Poenitz
On Fri, Dec 11, 2009 at 10:34:10AM +, Ken wrote:
> There have been some edits to the wiki at the bottom of the page which
> are very good.  But perhaps some of the rest of the page needs a bit
> of reworking.
> 
> Some general comments:
> (1) Using LyXServer "On Windows" is at the bottom of the page whereas
> using it in UNIX or OS/2 is at the top.

Maybe that's because Windows users tend to read from bottom to top
whereas *nix folks read from top to bottom. (And write mail accordingly...)

SCNR, it's Friday after all.

Andre'


Re: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2009-11-24 Thread Andre Poenitz
On Tue, Nov 24, 2009 at 11:39:42AM +, Liviu Andronic wrote:
> Hello
> 
> On Mon, Nov 23, 2009 at 9:34 PM, rgheck  wrote:
> > On 11/23/2009 02:05 PM, Liviu Andronic wrote:
> >> If I am not mistaking, symbolic calculations can be performed in LyX
> >> via maxima, octave, etc.
> >>
> > I don't know how current the support is, but yes, there are routines in
> > mathed that support exporting to these sorts of formats: Mathematica, too.
> > So some work may need to be done, but we don't see a lot of requests for
> > this kind of thing. I haven't seen anyone working on it since I've been
> > involved in LyX.
> >
> One of the reasons for so few requests could be that the nifty feature
> is so well hidden. Other than not being mentioned on the features page
> [1], I couldn't find info on CAS (maxima and the likes) in any of the
> possible documentation files, from Introduction through Math. Even the
> feature-poll page contains a non-greened-out request for CAS [2]. In
> the GUI, it is not much simpler. After having written a math
> expression (say, 'x+x'), right-clicking on the math env will not show
> anything CAS-related, while the math toolbars do not propose anything
> obvious.
> 
> Thus, to discover the CAS support in LyX a user would need to go the
> sometimes improbable way of writing in math env and, while there,
> accessing the Edit > Math > Use CAS menu. Of course, an alternative
> path would be Google.

The current CAS support in LyX is a toy, no more. Really. There is not
enough flesh to justify documentation. It would not take lot of effort
to make it work considerably better, but seemingly there was not enough
interest in the last six or eight years to make that happen.

Andre'


Re: Unsubscribe info

2009-11-14 Thread Andre Poenitz
On Sat, Nov 14, 2009 at 01:51:41PM -0500, John Culleton wrote:
> The web site says:
> 
> 4.4 I can't unsubscribe
> In every message you get from the LyX mailing lists, there will be 
> a line in the message header that looks like this: 
>  List-Unsubscribe: 
>  
> This will remind you how to unsubscribe, so that you don't have to 
> mail the mailing list asking how to do so. 
> ---
> However with a normal header setting on kmail that header never 
> appears.  So as I depart let me suggest that the text on the web 
> site needs correction. That line appears only if you set the folder 
> to "full headers." I only do that on rare occasions for debugging 
> purposes.

Filtering out headers is done by your client, defined by your settings,
and not under the control of the sender of the mail.
 
> Other listserves put the unsubscribe info in the trailer.  That 
> makes more sense. 

I understand that this might be helpful for some people. But so would
be a description how to handle fork and knife, too ;-}

Andre'


Re: importing 0.12

2009-10-23 Thread Andre Poenitz
On Fri, Oct 23, 2009 at 07:12:06PM +0200, Pol wrote:
> I would import an old 0.12 lyx file into 1.4.5
> Any suitable script?

lyx2lyx?

Andre'


Re: LyX & ".doc"

2009-09-19 Thread Andre Poenitz
On Sat, Sep 19, 2009 at 03:07:00AM -0700, 0 wrote:
> Can I 
> 
> a) save
> b) export
> c) edit
> 
> a document in MS Word (.doc) format in LyX?

No.

Andre'


Re: [Survey] Explicit subject tag on this list

2009-09-17 Thread Andre Poenitz
On Thu, Sep 17, 2009 at 03:09:58PM +0200, Manveru wrote:
> > I created a survey about explicit subject tagging:
> > http://surveys.polldaddy.com/s/F47471D51261D0F9/
> >
> > Feel welcome to fill the answers. Please do not reply to this message.
> >
> > --
> > Manveru
> > jabber: manv...@manveru.pl
> > gg: 1624001
> >   http://www.manveru.pl
> >
> 
>  Q.1 Do you want explicit mark in subject line?  [image: More Details]
> 
> 
> Answer Count
> 
>  No, I do not want explicit mark in subject line.   24 (67%)
> 
>  Yes, I want explicit mark in subject line.   10 (28%)
> 
>  I do not have opinion about this.   2 (6%)
> 
>  People who answered question:
>   *36* (100%)
> Not a lot of people answered this survey.

That's not really surprising for a page that needs creating an account.
I am even surprised that 36 people voted...

Andre'


Re: [Lyx] explicit mail subject

2009-09-03 Thread Andre Poenitz
On Wed, Sep 02, 2009 at 04:13:14PM +0200, Manveru wrote:
> 2009/9/2 Murray Eisenberg :
> > I agree with the O.P. on this. This is something that, surely, is easily
> > fixed at the server end, so that each message going out from the server has,
> > say, "[LyX]" prepended to the subject.
> 
> There is many voices in favour of such feature. But not a lot of
> people vote against.

I my case mainly because I don't want to waste time to re-iterate
old discussions, twice a year...

I have 42 characters for the subject, given that most messages are
marked with (at least one) 'Re: ', a '[LyX] ' prefix eats 15% of
the available space, for useless 'information'.

Andre'


Re: Maximum Font Size

2009-08-21 Thread Andre Poenitz
On Thu, Aug 20, 2009 at 05:01:20PM -0500, Les Denham wrote:
> On Thursday 20 August 2009 02:38:08 pm José Matos wrote:
> > On Thursday 20 August 2009 16:09:21 Steve Litt wrote:
> > > Unless of course you have a 64 bit computer.
> >
> > And the data type used is long. For most of the 64-bit linux the memory
> > layout is LP-64 that means that only long and pointer are 64 bits wide.
> >
> > In case anyone wonders wikipedia has an interesting starting point to read
> > about this:
> > http://en.wikipedia.org/wiki/LP64
> >
> > > SteveT
> 
> So the real question is whether the variable used for the font size is short 
> (16 bits in all common models), int (16 bits in LP32, 32 bits in ILP32 and 
> LP64, and 64 bits in ILP64) or long (32 bits in LP32, 64 bits in LP64 and 
> ILP64).  I have no idea where to look in the source code for this.  It's 
> probably buried in TeX somewhere, but TeX is written in WEB, which in turn is 
> written in either Pascal or C -- I'm not sure.

TeX's integer arithmetic is on all platforms exactly the same (something
hand-made fixed point) That's by design to ensure the same output no
matter where the program runs.

Andre'


Re: unable to run lyx 1.6.2 and 1.6.3 due to undefined symbol: _Z13qFlagLocationPKc

2009-08-12 Thread Andre Poenitz
On Wed, Aug 12, 2009 at 10:16:41PM +0200, zweetsmoel wrote:
> only another error message...
> src/lyx: symbol lookup error: src/lyx: undefined symbol:
> _ZN8QPainter10drawPixmapERK7QPointFRK7QPixmap
> 
> ok, this is definitely a qt error. even qtconfig won't launch, it
> gotta be qt related. but what exactly?

Something with your installation. Really.

> i tried removing &
> re-installing all qt packages and many others; and i wasn't able to
> find duplicate qt libs, but i'm not really an expert in libs and devs.

Andre'

PS:

> too bad, that's gonna be a CV made with ms-office. yak... ;-)

Plain LaTeX works for CVs - possibly even better than LyX as that's one
of the rare cases where "finger painting" is acceptable. And it would
yield the same bonus point in an application as using LyX would...


Re: unable to run lyx 1.6.2 and 1.6.3 due to undefined symbol: _Z13qFlagLocationPKc

2009-08-12 Thread Andre Poenitz
On Wed, Aug 12, 2009 at 09:15:17PM +0200, zweetsmoel wrote:
> On Wed, Aug 12, 2009 at 8:40 PM, Andre
> Poenitz wrote:
> > On Wed, Aug 12, 2009 at 08:21:00PM +0200, zweetsmoel wrote:
> >> Hello,
> >>
> >> it always happens when you need the bloody thing ;-)
> >>
> >> i urgently need to edit and render my CV with lyx. unfortunately lyx
> >> gives the following error when starting:  symbol lookup error:
> >> src/lyx: undefined symbol: _Z13qFlagLocationPKc
> >>
> >> i tried re-installing lyx 1.6.2, re-installing Qt, i even build 1.6.3
> >> from source,... but nothing helps :\  googling did not save my day, so
> >> i'm asking here, because i'm stuck. please any suggestions? my
> >> guess this is Qt related, but i have not a single clue how to fix that
> >>
> >> running on ubuntu 9.04, with qt 4.5 (i think)
> >
> > The LyX your are trying to start wants to use an older version of Qt
> > than the one that was used when LyX was compiled.
> >
> > This may e.g. happen when you use a self-compiled recent version of Qt
> > to build LyX and on startup it picks up the older system version.
> > Setting LD_LIBRARY_PATH apropriately helps in those cases.
> >
> > Andre'
> 
> 
> i've build 1.6.1, but exactly the same error :\ ...
> 
> andre, thx for the suggestions, but i did not compile Qt myself. it's
> the standard ubuntu qt libs.

I am reasonably sure that the scenario you describe cannot occur
with only a single version of Qt on your system.

If you only used only packages form your distribution the only
explanation I have is that the development package you use (i.e.
libqt4-dev) does not match the installed libraries. Either there's
a difference in version of both, or you use the development package
with a set of defines that's incompatible with the the installed
version.

The latter seems actually be rather likely as qFlagLocation is
only used if QT_NO_DEBUG is _not_ set, i.e. you use the Qt in
"debug" mode. The system Qt is most likely not in debug mode. 

If this is the reason you need to make sure that QT_NO_DEBUG is
defined when you compile LyX. I have no idea how Ubuntu packages
the Qt development package, but I guess configuring LyX with
"CXXFLAGS=-DQT_NO_DEBUG ./configure" or similar might help.

Andre'

PS:

> could you please elaborate on how to use 'setting LD_LIBRARY_PATH'?
> i'm not sure that i understand what you mean.

That's only relevant for the case where you have multiple versions
of Qt on your system, so let's ignore this for now.


Re: unable to run lyx 1.6.2 and 1.6.3 due to undefined symbol: _Z13qFlagLocationPKc

2009-08-12 Thread Andre Poenitz
On Wed, Aug 12, 2009 at 08:21:00PM +0200, zweetsmoel wrote:
> Hello,
> 
> it always happens when you need the bloody thing ;-)
> 
> i urgently need to edit and render my CV with lyx. unfortunately lyx
> gives the following error when starting:  symbol lookup error:
> src/lyx: undefined symbol: _Z13qFlagLocationPKc
> 
> i tried re-installing lyx 1.6.2, re-installing Qt, i even build 1.6.3
> from source,... but nothing helps :\  googling did not save my day, so
> i'm asking here, because i'm stuck. please any suggestions? my
> guess this is Qt related, but i have not a single clue how to fix that
> 
> running on ubuntu 9.04, with qt 4.5 (i think)

The LyX your are trying to start wants to use an older version of Qt
than the one that was used when LyX was compiled.

This may e.g. happen when you use a self-compiled recent version of Qt
to build LyX and on startup it picks up the older system version. 
Setting LD_LIBRARY_PATH apropriately helps in those cases.

Andre'


Re: Re: AW: Yap: Inverse dvi search

2009-08-04 Thread Andre Poenitz
On Tue, Aug 04, 2009 at 01:12:06PM +0200, Enrico Forestieri wrote:
> On Tue, Aug 04, 2009 at 12:41:48PM +0200, Vincent van Ravesteijn - TNW wrote:
> 
> >  
> > >Jannick Asmus writes:
> > >
> > >> Is there any chance that this feature is included in the Windows 
> > >> installers in the future?
> > >
> > >You can always hope that someone contributes the necessary code.
> > 
> > Enrico, 
> > 
> > Do you have an idea how to do this ? I've some experience with DDE, but
> > I'm not sure whether that's what we want.
> 
> LyX uses two mechanisms for IPC. One of them is a named pipe, and currently
> the code for dealing with named pipes only takes into account the *nix
> implementation (which is what cygwin uses). However, named pipes also
> exist on Windows, but thy are implemented differently. I am not familiar
> with the Windows way, but I think that the necessary info can be found here:
> http://msdn.microsoft.com/en-us/library/aa365590(VS.85).aspx
> 
> The other mechanism is a unix domain socket, which has no equivalent on
> Windows. However, given that cygwin can also emulate that, it should be
> possible to use this kind of IPC, too. Cygwin is open source, so if one
> is sufficiently motivated, he could look at those sources for borrowing
> the necessary code.
> 
> Maybe other native means could be used, but I am a *nix fellow and don't
> know Windows well enough to judge.

QLocalSocket (http://doc.trolltech.com/4.5/qlocalsocket.html) comes to
mind. Saves headaches.

Andre'


Re: Re: Continuous spelling checker

2009-07-20 Thread Andre Poenitz
On Mon, Jul 20, 2009 at 04:32:01PM +0200, Vincent van Ravesteijn - TNW wrote:
>  
> > Ah you guys makes fun when I am off for holidays? Bad boys!
> 
> And the worst is: the one that was having fun, is gone for holiday too .

That's fun at its finest...

Andre'


Re: Fehler beim Öffne n einer lyx Datei

2009-06-20 Thread Andre Poenitz
On Sat, Jun 20, 2009 at 07:27:25AM +0200, Florian Rubach wrote:
> Uwe Stöhr schrieb:
>> Konstantin Porzig schrieb:
>>
>>> ich schreibe derzeit meine Bachelorarbeit und habe nun das Problem,  
>>> dass die
>>> LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
>>> erscheint folgende Fehlermeldung:
>>>
>>> "D:/.../main_go.lyx"ist kein lesbares Lyx-Dokument."
>>
>> (The list language is English, I'm therefore replying in English.)
>>
>> Your file is no textfile but consists of binary code. It can therefore  
>> not be repaired. LyX files are textfiles as you can see when you open  
>> LyX files with a text editors. I don't know how this could have  
>> happened but are sure that LyX is not to blame here since LyX is not  
>> able to create binary output.
>
> Maybe he did enable compression for his document? I dont't know, but  
> compressed Lyx-Documents look quite binary to me...

No, it was a *.lyx file that was completely filled by NUL characters
and a backup file that was partially ok and ended with a block of
NUL chars, too, both together in a .rar archive.

So that was not "compression of the document", but "compression for
transport", and that's completely fine in my opinion.

Andre'


Re: Messed up page numbers - help please

2009-05-12 Thread Andre Poenitz
On Wed, May 13, 2009 at 12:18:30AM +0200, Luca De Marini wrote:
> Hallo everyone, in my girlfriend's thesis, Lyx is making up a little
> disaster.. page numbers are on the bottom of the page some times and on top
> right on other pages, apparently randomly... why? It never happened to me
> (I'm talking about the output pdf file of course, setted the doc to be a
> book). Can anyone help please? I just need every page number to be on the
> top right of the page.

Even on pages starting a chapter in a book or such?

Andre'


Re: environment

2009-04-16 Thread Andre Poenitz
On Thu, Apr 16, 2009 at 12:19:55PM -0400, rgheck wrote:
> Justin Carrera wrote:
>> Was LyX used to create this document on your site?  
>> http://www.lyx.org/images/meeting2008.png
>>
> No, I think that was done with some sort of mind-mapping software.

And it looks like there were way more people leaving than arriving...

Andre'


Re: LyX Forum?

2009-03-31 Thread Andre Poenitz
On Tue, Mar 31, 2009 at 07:08:23AM +0200, Nikos Alexandris wrote:
> On Mon, 2009-03-30 at 23:05 -0400, Steve Litt wrote:
> > On Monday 30 March 2009 08:38:21 pm Nikos Alexandris wrote:
> > 
> > > when it's not required. In addition, it's not possible to mark
> > > ML-threads as SOLVED. The latter is, in my humble opinion, a big
> > > drawback.
> > 
> > When I ask a question and then either am giving an answer or figure
> > one out, I reply one more time to the thread and append  to
> > the subject. That's a pretty commonly known technique recommended by
> > ESR:
> > 
> > http://www.catb.org/~esr/faqs/smart-questions.html#followup
> > 
> > But all too few people choose to use it.
> > 
> > SteveT
> 
> Thanks Steve. I didn't know it works like that.
> 
> Don't you really start a new thread by changing the subject? I this is
> the case, the information is still not organised/concentrated in one
> place as it should be.

Everything, including all grouping is done on client side. So it is your
choice (of a mail client and/or configuration) whether a changed subject
is shown as a new thread.

Andre'


Re: LyX Forum?

2009-03-31 Thread Andre Poenitz
On Tue, Mar 31, 2009 at 02:38:21AM +0200, Nikos Alexandris wrote:
> One thing that is not that good in MLs are LONG threads as the current
> one. It's hard to follow sometimes and people tend to post irrelevant
> stuff on a ML-thread or change the subject of it so a new thread starts
> when it's not required.

Sound like a deficiency in your mail client. Having a certain Subject
is not a criteria for being a thread, that's what Message-Id and
References are made for.

With mailing lists, the client have all the power to filter, sort,
whatever. With forums, you are at the mercy of the forum admin. If he
deeems sorting unimportant, well, then you can't sort. Period.

> In addition, it's not possible to mark ML-threads as SOLVED. The
> latter is, in my humble opinion, a big drawback.

Again, a deficiency in the mail client you use. (Esc t D in mutt e.g.)

> Fora require more energy to maintain but provide means to organize
> information better.

On the contrary. In a forum you are bound to use whatever the forum
provides, and you have to change habits if you go to another forum.

With mails, you can decide what client to use, and there are dozens if
not hundreds of them. And they will behave on every mailing list the
same.

> Of course, the LyX-wiki is very good which fulfills
> most of what the ML doesn't satisfy.
> 
> That said, I think a ML + Wiki are enough. Without the wiki, the forum
> would be a "must-have".

We survived more than a decade without wiki and forum rather well.
(And lucky us got a wiki, not a forum later ;-})

All in all I have the impression that Forums are hyped nowadays because
people lost the ability to choose (and configure...) mail clients or
live in a "the net is a browser world".

When I think about it, I might have lost that ability, too. But I keep
copying my mail client setup to new machines ;-)

Andre'


Re: LyX Forum?

2009-03-29 Thread Andre Poenitz
On Sun, Mar 29, 2009 at 08:34:14PM +0200, Christian Ridderström wrote:
> [...] Seriously though, why is a "forum" different from a list?

The problem seems to be that he uses a web interface to read a mails.
Of course, with such a background, a well-organized forum _is_ an
advantage. Like using a bike instead of walking. But then, steam
engines have been invented more than twenty years ago ;-}

Andre'


Re: LyX Forum?

2009-03-29 Thread Andre Poenitz
On Sun, Mar 29, 2009 at 04:56:18PM +, Piero Faustini wrote:
> Uwe Stöhr  writes:
> > Why is it hard to use? You sing the mailing list and then get the
> > emails as described here:
> > http://www.lyx.org/MailingLists The whole list is archived at
> > various websites.
> 
> How many people use mailing lists? How many use forums? Say 1 lister
> every 20 forumers? Say 1 to 10 (and I'm fair)?

Numbers alone do not matter much in such cases. Some things simply
do not scale linearily.

And - I'd expect an average LaTeX user to be able to handle e-mail...

> It's not me who says lists are difficoult, it's people. I never used
> lists before knowing LyX.

Other people used mailing lists before web forums had been in use.

For me, a mailing list (or "real" news) has two major advantages: I can
search and filter for any criteria I want to, and I can use the text
editor I like. Both is usually not (painlessly) possible with a web
interface. 

> They always had, because
> they are very, VERY simple. Lists are not that simple, comparing to
> forums (unless you care about cookies, which 99% of people don't).

Simple is good, as long as it does the job. But not often for more than that.

> Everything has its thumb up and down. I believe you that with lists
> you can do many things which a forum can't. But that's not the point.

That's exactly the point ;-} 

I can scan a dozen mailing lists easily on a daily base. I would not do
the same for web forums.

> Lists are difficoult to use comparing to their advantages, so they are
> for PRO users, almost always have been, and in future I guess they
> will be ONLY for pro. Their worst difficoulty is to LEARN how it works
> (I spent some days puzzling and puzzling and sending messages to wrong
> addresses till I went to GMANE and used its forum-like interface)

So you found a solution that fits your need. Good.

Andre'
 


Re: How to use German capital sharp s (U+1E9E)?

2009-03-28 Thread Andre Poenitz
On Sat, Mar 28, 2009 at 10:59:34AM +0100, Tao Cumplido wrote:
> > The Linux Libertine font has a capital sharp s.
> 
> That's the font I'm using.
> 
> > I don't know for what purpose you need a capital ß, but in german
> > ortography, the ß becomes SS when writing capitalized.
> 
> I don't know yet whether I am gonna need it or not, but I'd like to
> know if it's possible before I start getting into Lyx seriously.

It is possible as Juergen wrote, but I question the approach you use
to check whether some piece of software suits your purposes.

Capital ß is as much part of Real Life as is World Peace.

> Why does with Latex everything have to be so complicated? :/

Partially because TeX is a horrible language, and partially because
it tends to lead to pagmatic solution (as opposed to "Ivory Tower
style" solutions) ;-}

Andre'
 


Re: Does LyX 1.6.2 work with Qt 4.4.3?

2009-03-27 Thread Andre Poenitz
On Fri, Mar 27, 2009 at 07:57:24PM +0100, Sergio Padrino wrote:
> Hi
> 
> I use ArchLinux, KDE 4.2.1 and Qt 4.4.3 and when I try to run LyX 1.6.2, I
> get the next message:
>   lyx: symbol lookup error: lyx: undefined symbol: _Z13qFlagLocationPKc
> 
> If I upgrade Qt to 4.5 it works right, if I downgrade LyX to 1.6.1 it works
> right, but LyX 1.6.2 + Qt 4.4.3 doesn't work.
> 
> Summary:
> 
> LyX 1.6.2 + Qt 4.4.3 = lyx: undefined symbol: _Z13qFlagLocationPKc

Is this LyX compiled against 4.4.3 and does it really pick up the
4.4.3 libs? 

Try  ldd .lyx  and//or run  LD_LIBRARY_PATH=$QTDIR/lib ./lyx  
(with a suitable QTDIR).

> LyX 1.6.1 + Qt 4.4.3 = OK
> LyX 1.6.2 + Qt 4.5 = OK
> 
> Is this a LyX problem or may be a problem of my distribution?

Smells like a setup problem...

Andre'


Re: How to use German capital sharp s (U+1E9E)?

2009-03-27 Thread Andre Poenitz
On Fri, Mar 27, 2009 at 05:15:14PM +0100, Jürgen Spitzmüller wrote:
> Tao Cumplido wrote:
> > When I try to print the German capital sharp s I get this error:
> > 'Some characters of your document are probably not representable in the
> > chosen encoding. Changing the document encoding to utf8 could help.'
> >
> > So, I changed the encoding to utf8 and get the following:
> > 'Package inputenc Error: Unicode char \u8ẞ not setup for use with LaTeX.'
> 
> I don't think that there is any LaTeX package that supports this character 
> (neither a font that includes it). After all, this was only recently added to 
> the unicode standard.

I am a bit surprised that it is standardized at all. So far I have
considered any use of "sharp s" in a capitalized word as error...

Andre'


Re: Lyx + maple

2009-03-02 Thread Andre Poenitz
On Mon, Mar 02, 2009 at 11:53:48AM -0500, ignacio martinez wrote:
> Hi,
> I have Lyx and maple installed in my ubuntu. But lyx does not know that i
> have maple. If i go to "use computer algebra system" i cant click on maple.

You won't have much fun with it anyway as the functionality is...
"not exactly overwhelming".

Having said that, it should pick up maple if a binary (or script)
called 'maple' is in your $PATH.

Andre'


Re: some questions on page numbering (pages BEFORE chapter 1)

2009-02-05 Thread Andre Poenitz
On Thu, Feb 05, 2009 at 09:54:40AM -0500, Joe(theWordy)Philbrook wrote:
> It would appear that on Feb 4, David Mertens did say:
> > Oops.  I only sent this to Joe.  Resending to LyX list.
> 
> I had wondered about that extra copy... Probably my fault. I keep
> forgetting which mailing lists need me to NOT include "me" on the Reply-To:
> and which ones rewrite it to point at the list. 

Which is the only sensible and safe behaviour  ;-)

Andre'



Re: serious problems with LyX (semi-fatal crashes)

2009-02-01 Thread Andre Poenitz
On Sun, Feb 01, 2009 at 11:56:17AM -0600, Stefano Franchi wrote:
> Hi All,
> 
> I have been experiencing some serious problems with LyX lately, after
> my upgrade to 1.6.x. This is what happens:
> 
> 1. I am happily typing away when suddenly there is no ouptu on the
> screen any  longer.  2. However, LyX is  not completely crashed. I can
> still issue control commands. In particular, I can save my work with
> Ctrl-S, and quit with Ctrl-Q.  3. The interface, however, is
> completely unresponsive: the various panes are not updated, scrolling
> does not work, etc. As expected, if I change to a different workspace
> and come back, Lyx's windows is not refreshed and becomes blank.
> 
> 
> As I said, the behavior is not *that* annoying, since no work gets
> lost.  However, it seems rather serious and happens repeatedly.  I
> have experienced it intermittently for several weeks now---a few times
> a week on average. But I cannot reproduce it consistently. Is this a
> known bug? If not, anby suggestion on what I could do in order to pin
> it down?
> 
> I am on Linux/Kubuntu (Kde 4.2), running LyX 1.6.1

Is this reproducible on an other window manager?

Last time I had a look at KDE 4.2 I encountered massive redrawing
problems (with other applications). And that was less than a week ago.

Andre'


Re: Lyx, version clash

2009-01-03 Thread Andre Poenitz
On Sat, Jan 03, 2009 at 09:02:59PM +0530, Frederick Noronha [फ़रेदरिक नोरोनया] 
wrote:
> Is there some way I could open a Lyx 1.6.X file with Lyx 1.5.X?
> 
> Am collaborating with the remote editor, and we have different versions of
> Lyx. I can't upgrade Lyx on my Ubuntu system for some reason. FN
> -- 

As a general rule, at the time some LyX version 1.x.0 is released there
is also a release of some 1.(x-1).y that is capable of reading files
of files from 1.x.z for all z.

x=6 and y=7 answers your question ;-)

Andre'


Re: Question on section - properties in the menu bar

2009-01-01 Thread Andre Poenitz
On Thu, Jan 01, 2009 at 10:03:12PM +0100, Dieter Jurzitza wrote:
> Dear listmembers,
> well, obviously my C-programming capabilities were sufficient, though. My 
> first attempt of using "fprintf("%s\n", name1); ended with an "invalid 
> machinecode" message - but patching the debugging-cout messagestring resulted 
> in success.

fprintf has the signature

   int fprintf(FILE *stream, const char *format, ...);

i.e. you are passing the format string as FILE pointer.


> --- src/frontends/qt4/GuiApplication.cpp.original 2008-11-29 
> 15:16:00.0 +0100
> +++ src/frontends/qt4/GuiApplication.cpp  2009-01-01 21:56:46.0 
> +0100
> @@ -342,7 +342,11 @@
>   if (res.exists(name2))
>   return path + name2;
>  
> - LYXERR(Debug::GUI, "Cannot find icon for command \""
> + LYXERR(Debug::GUI, "Cannot find icon with filename "
> +<< "\"" << name1 << "\""
> +<< " or filename "
> +<< "\"" << name2 << "\"" 
> +<< " for command "
>  << lyxaction.getActionName(f.action)
>  << '(' << to_utf8(f.argument()) << ")\"");
>  
> --- stdtoolbars.inc.original  2008-12-20 20:01:06.0 +0100
> +++ stdtoolbars.inc   2009-01-01 21:37:59.0 +0100
> @@ -110,6 +110,11 @@
>   Item "Text style" "dialog-show character"
>   Item "Paragraph settings" "layout-paragraph"
>   Item "Thesaurus" "thesaurus-entry"
> +Separator
> +Item "Align justified" "paragraph-params \align block"
> +Item "Align left" "paragraph-params \align left"
> +Item "Align center" "paragraph-params \align center"
> +Item "Align right" "paragraph-params \align right"
>   End
>   
>   Toolbar "table" "Table"

I think first one can/should be applied.

Andre'



Re: whitespace improvement

2008-12-26 Thread Andre Poenitz
On Fri, Dec 26, 2008 at 06:14:26PM +0100, Jan Engelhardt wrote:
> 
> On Friday 2008-12-26 12:35, bb wrote:
> >
> > I think, that under all normal circumstances any punctuation mark MUST
> > be followed by a whitespace and I think it would be a good idea to let
> > that check
> 
> But there should be no whitespace in, e.g., "e.g." and abbreviations
> like T.L.A.P.D. (knowingly that they are often written as TLAPD anyway).
> 
> No, I think the user needs to take care of it because no program
> can automatically decide whether it is T.L.A.P.D. or T. L. A. P. D.

Indeed.

Every such "clever doing of this or that" is bound to break sooner
rather than later. So it's usually not desirable form a user's point
of view. Not to mention the code complication that it makes it 
undesirable from a developer's point of view...

Andre' 


Re: Computer Algebra System

2008-12-13 Thread Andre Poenitz
On Sat, Dec 13, 2008 at 06:23:23PM +0200, Amir Rachum wrote:
> Hello,
> I'm trying to use the option "Use Computer Algebra System" under the Edit
> menu. I did have partial success using Maxima, but it only works when the
> expression I want to calculate is in it's own math box. I want it to
> calculate the latest part of my math calculations. like
> a = b*c = 6*7
> but when I use maxima on the former line, I get
> a = a
> as it only reacts to the first part of the equation.

Yes, the "Use Computer Algebra System" feature is rather simplistic.
Having said that, 'a = b*c = 6*7' does not appear to be valid
Maxima input.
 
> Besides solving this problem, is there anywhere a documentation of this
> option, anywhere?

It's not documented, and it is basically not useful for anything but
very simple expression evalutiaon.

Andre'


Re: version management under windows

2008-12-08 Thread Andre Poenitz
On Mon, Dec 08, 2008 at 08:37:51AM +0100, Abdelrazak Younes wrote:
>> Pavel Sanda updating the VCS stuff for 1.6 so that it will use cvs, 
>> svn, or git.
>
> I don't think Pavel put git support in... But I seem to remember he has  
> it on a private _git_ branch ;-)

Incidentally, would switching to git help in any way to decrease the
requirements we would have for a web-hosting solution?

Andre'

[PS: By now, git confuses me so much that it must be some incredible
worthy piece of software...]

[PPS:
> AFAIR, TortoiseSVN and command-line 'svn' client are fully interoperable.

That's what it looked like last year at least. But I dropped that habit ;-)]



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-12-04 Thread Andre Poenitz
On Thu, Dec 04, 2008 at 06:20:40PM -0500, Michael Wojcik wrote:
> This has gone on far too long, and I'm not really interested in
> arguing the point.

When I am not really interested in arguing a point anymore, I just
stop doing it. I don't consider that a bad habit.

> [...]
> So, for the record:   
> 16-bit Windows applications continued to run unchanged under Windows 3.0.

Except for the ones that did not get enough main memory anymore thanks
to the fatter system. Those simply would refuse to work...

> [Win 1.0 - 3.0]
> >  So, at best, that's a
> > period of 4.5 years of "API stability". That's close to a joke,
> > especially when taking into account that < 3.11 was not usable for any
> > reasonable practical purpose...
> 
> Tell that to the hundreds of customers we sold development tools for
> Windows 2.0.

First, this leaves a few more developers whom you did _not_ sell your
development tools. Second, selling someone a brush and a few buckets of
paint does not necessarily mean that the house he's living in is in good
shape. Etc. Anyway. That's subjective.
 
> > [...] X11R3: End of 88, X11R4: End of 89.
> 
> And clients continued to work. And they still work, under X11R5. New
> releases came out and API compatibility was maintained.

And still a lot of user code broke. Wasn't it even Motif++ that
barely survived the jump from R3 to R4? [And where is it nowadays?]

> Which was my point.

And my point was that maintaining compatibility is possible, if the
feature set is pretty much frozen and all new development is done
in some kind of add-on.

And even then it's not _easily_ possible.

Remember the time when suddenly no Turbo Pascal program could start
on new machines because the time calibration loop was executed too
quickly causing a division by zero? Luckily people could use hex
editors back then ;-}
 
> > Pretty much around 1990 supposedly the last person died that used plain X.
> 
> What's "plain X"? Everyone always ran windows managers on top of X11.
> That's part of the architecture.

"Plain X" as in "Xlib", possibly with Xt. In contrast to, say, Athena,
Motif, Gtk or whatever toolkit of the day - with way shorter life cycles
than the "basic library".

> > [...]
> > Spring (?) 2001 - January 2002.
> 
> I don't know what those dates are supposed to refer to. BSD 4.3 was
> released in 1986. BSD 4.4 in 1994.

I already admitted that I indeed mixed up the BSD factions here. So
you are right. _Something_ was factual incorrect.

Andre'


Re: can jabref work with Lyx together in windows XP?

2008-12-04 Thread Andre Poenitz
On Thu, Dec 04, 2008 at 03:52:02PM +0100, Dominik Waßenhoven wrote:
> asm23 wrote:
> 
> > I found one message that said " lyxpipe is not support in windows" really?
> 
> Yes.

What would jabref like to use to talk to other applications. We could
use windows sockets...

Andre'


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2008 at 07:10:55PM +0100, Joachim Kreimer-de Fries wrote:
>
> Am 02.12.2008 um 14:45 schrieb Jürgen Spitzmüller:
>> lyx --version gives some relevant informations.
>
> Sorry, - because it might be once important, not because of "fast typing 
> - ...slowly" -
> I only get the response:
>
> localhost:/applications joachim$ lyx -version
> -bash: lyx: command not found
>
> Or are you speaking of another kind of "console" and which one?

That's the correct console. Now you just need to find the LyX binary.

If you are already in the right directory, use ./lyx  to start it.

Andre'
>


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2008 at 04:25:09PM +0100, Jean-Marc Lasgouttes wrote:
> Abdelrazak Younes <[EMAIL PROTECTED]> writes:
> > Which version of Qt? Are you using a precompiled package or did you
> > compile by yourself? Maybe the package was compiled with stdlib-debug?
> 
> Note that all the load is in the X server. I would be surprised to see
> that it is a consequence of using stdlib-debug.

Also, since the problem scales with the window size it sounds drawing
related...

Andre'


Re: autocomplete question

2008-11-30 Thread Andre Poenitz
On Sun, Nov 30, 2008 at 10:50:48AM +, Paul Smith wrote:
> >> Ideally, of course, autocompletion should work already with the first
> >> keystroke in a document and produce ready-to-submit papers.
> >>
> >> Of course, that still leaves the author at the mercy of the (mostly)
> >> human reviewers...
> >
> > Ideally, of course, we would like to have less ironic and more
> > constructive LyX developers...
> 
> The idea of using machine learning algorithms to the problem of
> ranking text autocomplete suggestions is not, in fact, new; it has
> been applied to determine the suggestions of urls for Firefox/Mozilla:
> 
> http://www.mozilla.org/projects/ml/autocomplete/

The "bugzilla example" they cite as bad case of conventional
autocompletion can probably be handled well by "conventional
autocompletion plus wildcards". To get to the sixth completion
there one would e.g. type

 b, u, g, *, 9

I am not sure about the general merits of machine learning in such
an environtment, though, especially if the input comes from several
users. We all know about the possible outcomes when asking Aunt Google
for LaTeX ;-)

Andre'


Re: autocomplete question

2008-11-30 Thread Andre Poenitz
On Sat, Nov 29, 2008 at 10:56:05PM +, Paul Smith wrote:
> > [...]
> > I really value having the autocompletion feature in LyX. I hope it can get
> > an improved memory!
> 
> Perhaps, prediction algorithms from Artificial Intelligence could help
> with ranking the autocompletion suggestions.

Ideally, of course, autocompletion should work already with the first
keystroke in a document and produce ready-to-submit papers.

Of course, that still leaves the author at the mercy of the (mostly)
human reviewers...

Andre'


Re: Fast typing - LyX follows slowly only

2008-11-28 Thread Andre Poenitz
On Fri, Nov 28, 2008 at 05:55:40PM +0100, [EMAIL PROTECTED] wrote:
> Hello,
> 
> For a long time I valued LyX for its swiftness when typing. 
> Something changed recently, however and I do not
> have an idea what is causing this.
> 
> When I type the letters only show up slowly on the screen. This makes
> working with LyX really cumbersome.
> 
> I assumed this could have something to do with "Auto Completion". But
> nothing changed when I switched this feature of.
> 
> Version: LyX 1.6.0 (7 November 2008) - compiled binary on Ubuntu 8.10
> 
> Any ideas?

Have you any kind of preview switched on? Math, Source Code?

Andre'


Re: navigating to a graphic float

2008-11-26 Thread Andre Poenitz
On Wed, Nov 26, 2008 at 09:22:55PM +0100, Konrad Hofbauer wrote:
> Guenter Milde wrote:
>> ... It is a real show-stopper for
>> my thesis work.
>
> Are you looking for excuses?
>
> /Konrad
> ... also just writing on his thesis. ;-)

But looking for excuses does not really help beyond seven years or so...

Andre'


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-24 Thread Andre Poenitz
On Sun, Nov 23, 2008 at 11:21:27AM -0500, Michael Wojcik wrote:
> Andre Poenitz wrote:
> > On Tue, Nov 18, 2008 at 03:42:52PM -0500, Michael Wojcik wrote:
> >> Andre Poenitz wrote:
> >>> On Mon, Nov 17, 2008 at 11:07:05AM -0500, Paul A. Rubin wrote:
> >> I've worked on many projects that maintained backward compatibility
> >> with new releases of the API, and seen a great many more.
> > 
> > Just for my curiosity: Which projects, which scope? 
> 
> Hmm. Off the top of my head, in roughly chronological order:
> 
> - Various IBM internal-only projects, such as the E editor.
>
> - Early versions of Windows. The Windows 1.x to Windows 2.0 and
> Windows/286 transition maintained compatibility in the Windows API;
> Windows 1.x applications ran unchanged in the 2.0 family.

Windows 2.0 was released pretty exactly two years after 1.0, Windows 3.0
completely broke the API 2 1/2 years later.  So, at best, that's a
period of 4.5 years of "API stability". That's close to a joke,
especially when taking into account that < 3.11 was not usable for any
reasonable practical purpose...

> - X11R3. The X11 API was layered correctly: as long as the server
> follows the protocol spec, it doesn't matter what it does under the
> covers. I added support for new hardware to the ddx layer; wrote new
> window managers with completely different look-and-feel from the
> standard ones; added extensions to X11 itself. None of that interfered
> with existing clients one bit.

X11R3: End of 88, X11R4: End of 89.

In any case, this is a nice example for something that is "finished" at
some point of time. Nobody changed 7 bit ASCII for a while for that
matter. If a feature set is closed at some point of time it is easy to
"outsource" the problems to "extensions" and "toolkits".

Pretty much around 1990 supposedly the last person died that used plain X.
[No, that was not me *cough*]  SCNR ;-)

> - The 4.3 BSD kernel. Extended multihead support in the console driver
> and wrote some drivers for new hardware. Enhanced the shared memory
> kernel option. Nothing that didn't want to use the new features needed
> to be recompiled.

Spring (?) 2001 - January 2002.

I can't/won't comment on the others.

> Maintaining backward compatibility simply is not that hard.

We are _not_ talking about _two_ years here. I can maintain compatibility
over two years by simply ignoring advancements in the outside world for
that long and release "incompatible version x+1" after that.

> > I am still pretty convinced that "compatibility" and "progress" are
> > fairly incompatible notions when it comes to the development of _usable_
> > libraries.
> 
> And I'll say that my experience as a professional software developer
> for 20 years, and as a hobbyist for a number of years prior to that,
> shows me otherwise.

Fine. My experience so far shows that one has a choice between
stagnation and breaking compatibility. And making that choice is 
neither obvious nor easy.

> > you try to provide everything and the kitchen sink, and end up with
> > design and implementation decisions that need to be re-evaluated from
> > time to time in the presence of new environments. Java and Python, or
> > anything including a "GUI" comes to mind.
> 
> I'll offer X11 as a counterexample.

X11 has certainly its merits and is time proven. Still it puts a lot of
burden on the application developer, or, at the very least, on the
toolkit developer. Lots of the initial design decisions that do not
scale well into the 21st century are only bearable because of the
"outsourcing" mentioned above. Plain X11 does _not_ come with kitchen
sinks.
 
> >> And in this case, we're talking C and C++ runtimes, which should
> >> conform to the ISO standard anyway.
> > 
> > Ah... should they conform to the Standard or should they be compatible to
> > older versions?
> 
> To the standard.

That rules out fixing bugs, and it also breaks compatibility. I do not
say that's a bad choice - in fact that's what I'd do in most cases - but
it is incompatible with your statement that maintaining compatibility is
possible _and easy_.

> > What is supposed to happen if an existing version does
> > _not_ conform to the Standard?
> 
> Since the standards attempt to codify existing practice, that rarely
> happens.

Hear, hear.

How come ISO 14882 codifies "export" for templates when not a single 
compiler was able to handle that in 1998 (and for a few years after
that)?

Apart from that the point is not how often it happens but that it
happens at all. You just admit that it happens.

> The only case that comes

Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-24 Thread Andre Poenitz
On Sun, Nov 23, 2008 at 10:26:30AM -0500, Michael Wojcik wrote:
> Jean-Marc Lasgouttes wrote:
> >> Completely infeasible on Windows. The loss of shared text would make
> >> the working set of the typical application mix grossly exceed even the
> >> absurd amounts of RAM available in typical machines today. The disk
> >> space problem would be even worse.
> > 
> > I meant just for application which feel that they have to distribute
> > their own version-of-the-day
> > of whatever.dll. There is no reason to do it everywhere of course.
> 
> Still not feasible, unfortunately, because that includes everything
> linked with any of the Microsoft C/C++ runtime DLLs.

*cough*

We were _not_ talking about statically linking _everything_. We were
talking about things like Qt which are not a typical part of a Windows
system.

> This is the central problem: if you build an application that uses
> anything in the MS C/C++ library (Microsoft combines the C and C++
> standard libraries into a single DLL), which means pretty much
> anything built with a Microsoft C or C++ compiler, or with the
> Microsoft Platform SDK, you'll link against some specific version of
> one or more of the MSVC DLLs. You don't have much choice about which
> version you get - it depends on what version of the compiler or SDK
> you have installed, and what updates have been applied to it.
> [...] [...] [...]

You are fighting windmills.

Andre'


Re: Alignment of Numbers

2008-11-21 Thread Andre Poenitz
On Fri, Nov 21, 2008 at 04:55:25PM -, Kavetsos, Georgios wrote:
> Dear all,
> 
> This might seem an easy question, but I am new to Lyx and LaTeX in general.
> I have a table and want the numbers to be aligned at the full-stop. Having a 
> minus sign in front of the number distorts the alignment.
> eg:
> 
> 0.043
> -0.274
> 1.429
> 
> Any suggestions?

The good old LaTeX way is to use two column separated by a literal dot:

[EMAIL PROTECTED] 
1&2\\
3434&3234
\end{tabular}

To make this work in LyX, use   [EMAIL PROTECTED]   as "LaTeX argument" in the
table settings dialog create on right-click _on the first_ column
of the table.

Andre'

PS: Did I ever mention the table dialog is a mess UI-wise?


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Tue, Nov 18, 2008 at 11:43:34PM +0100, Pavel Sanda wrote:
> > PPS: I cut a few smileys from the mail to avoid the embarassing ranking
> > in the 1.7 smiley-per-mail statistics.
> 
> feel free to uncover yourself, users list is not evaluated...

Nobody expected the Spanish Inquisition...

Andre'


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Tue, Nov 18, 2008 at 03:47:45PM -0500, Michael Wojcik wrote:
> Jean-Marc Lasgouttes wrote:
> > 
> > What's wrong with static linking? At least it goes away when the
> > application goes away.
> 
> Completely infeasible on Windows. The loss of shared text would make
> the working set of the typical application mix grossly exceed even the
> absurd amounts of RAM available in typical machines today. The disk
> space problem would be even worse. Many people have done
> back-of-the-envelope calculations to demonstrate this; I think I did
> some myself, in a post to alt.folklore.computers some time back.

I only trust statistics I rigged  myself.

Some time back I was disputing the sheer possibility to catch a virus
using email. Still ... "environments" ... came up that made _not catching
one_ an art...  So "things done a while back" do not count in IT.

Mac OS X pretty much shows that _not_ sharing shared libraries on an
application level is a feasible approach to DLL hell. 

> It's a lousy idea in any case, as anyone who remembers compiling all
> of BSD 4.2 to switch from local-files resolution to DNS remembers.
> Dynamic linking lets you fix the bug or add the feature in one place.

So why go from  libstdc++.so.5  to  libstdc++.so.6  at all, if 
incompatible changes can be, as you seem to say, avoided?

> We can't have millions of Windows users downloading a refresh of the
> entire OS every time a bug is fixed in one of the prominent DLLs.
> 
> Dynamic linking is a good thing. It's worked very well on a number of
> OSes.

Examples?

> It would work on Windows if Microsoft could figure out 1) how to
> version properly, and 2) how to maintain backward compatibility. And
> it's not like those are unsolved problems.

I am happy to have learned now that these problems are solved.

Now the only thing I miss is a Star Gate taking me to that
parallel universe.

Andre'

PS: And don't get me wrong: I am painfully aware of what "insufficient"
hardware means nowadays, and to my best knowledge I am usually not
trying to defend any decision by MS...

PPS: I cut a few smileys from the mail to avoid the embarassing ranking
in the 1.7 smiley-per-mail statistics.



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Tue, Nov 18, 2008 at 03:42:52PM -0500, Michael Wojcik wrote:
> Andre Poenitz wrote:
> > On Mon, Nov 17, 2008 at 11:07:05AM -0500, Paul A. Rubin wrote:
> >> I wonder if disk manufacturers are paying M$ to do this?  I've got about  
> >> 54MB of crap in %windir%\winsxs, with multiple versions of each set of  
> >> files.  Presumably there's no way for Windoze to know that something  
> >> depending on an older version can use the newer version, so old versions  
> >> never go away. 
> > 
> > In fact that's actually the most sensible behaviour since there are only
> > very few cases where a new version indeed can replace an older one
> > without any existing or imagined problem.
> 
> I respectfully disagree.

No need to show some special respect here. I believe I can stand ordinary
disagreement rather well.

> I've worked on many projects that maintained backward compatibility
> with new releases of the API, and seen a great many more.

Just for my curiosity: Which projects, which scope? 

I am still pretty convinced that "compatibility" and "progress" are
fairly incompatible notions when it comes to the development of _usable_
libraries.

Guaranteeing the behaviour of only a very limited set of property gives
you the opportunity of changing/improving implementations, but reduces
the utility of the library as such. That's the approach taken by e.g.
standardized languages like C++ 

   _or_

you try to provide everything and the kitchen sink, and end up with
design and implementation decisions that need to be re-evaluated from
time to time in the presence of new environments. Java and Python, or
anything including a "GUI" comes to mind.

> And in this case, we're talking C and C++ runtimes, which should
> conform to the ISO standard anyway.

Ah... should they conform to the Standard or should they be compatible to
older versions? What is supposed to happen if an existing version does 
_not_ conform to the Standard?

> There's no need for them to change every other week.

No. But if problems show up. Non-conformance is a problem for instance.

Also: What am I supposed to do in case there is no obvious standard to
adhere to? I have e.g. a few hundred kLOC of pre-1998 C++ code (done
well before 1998...) around that's uncompilable with todays compilers.
Who is to blame here? Should g++ have sticked to 2.95's view of the
world?

> > In particular that would mean not only source and binary but also
> > behavioural compatibility including keeping buggy behaviour.
> 
> No it doesn't. Undefined behavior is undefined; an application that
> relies on it is broken.

What is an application supposed to do when it lives in an environment
where only buggy libraries are available? 

> And for the rare application that does, there are other Windows
> mechanisms for tying it to the old version of the DLL.

I obviously dispute "rare", otherwise Wikipedia would not know about
"DLL hell", and I have to admit that I am not aware of a lot of "other
Windows mechanisms" that scale from, say, Win 3.11^H95 through Vista.
What exactly are you refering to?

Andre'


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Mon, Nov 17, 2008 at 09:58:50PM +0100, Jean-Marc Lasgouttes wrote:
> Andre Poenitz <[EMAIL PROTECTED]> writes:
> > In fact that's actually the most sensible behaviour since there are only
> > very few cases where a new version indeed can replace an older one
> > without any existing or imagined problem. 
> 
> What's wrong with static linking?

Not much. But it's not very different from per-application shared objects.
In the 'main application' in my previous job most we actually linked
most of the stuff statically - including Qt...

> At least it goes away when the application goes away.

That's a benefit.

Andre'


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-17 Thread Andre Poenitz
On Mon, Nov 17, 2008 at 11:07:05AM -0500, Paul A. Rubin wrote:
> I wonder if disk manufacturers are paying M$ to do this?  I've got about  
> 54MB of crap in %windir%\winsxs, with multiple versions of each set of  
> files.  Presumably there's no way for Windoze to know that something  
> depending on an older version can use the newer version, so old versions  
> never go away. 

In fact that's actually the most sensible behaviour since there are only
very few cases where a new version indeed can replace an older one
without any existing or imagined problem. In particular that would mean
not only source and binary but also behavioural compatibility including
keeping buggy behaviour. When you factor in that application also can
depend on runtime characteristics even optimizations might have to be
ruled out, so there's really not much left what could be done in a newer
version...

Andre'


Re: Square root sign

2008-11-13 Thread Andre Poenitz
On Thu, Nov 13, 2008 at 11:03:04AM -0800, ekpyrotic wrote:
> 
> How do I get a square root sign?

Ctrl-M to nter math mode and then eihter   \sqrt or Alt-m s.

Andre'


Re: German Translation of the About/Credit popup

2008-11-12 Thread Andre Poenitz
On Wed, Nov 12, 2008 at 06:31:34PM +0100, Jürgen Spitzmüller wrote:
> Konrad Hofbauer wrote:
> > But I am not opposed to changing this, of course.
> 
> I just changed it to the somewhat neutral "Mitwirkende".

Thanks. 

Better than anything Leo suggests as direct translations of "Credits"
;-)

Andre'


Re: German Translation of the About/Credit popup

2008-11-12 Thread Andre Poenitz
On Wed, Nov 12, 2008 at 06:06:59PM +0100, Konrad Hofbauer wrote:
> istvanst wrote:
>> But in the german translation under the About/Credit popup there is a 
>> section "Ruhm und Ehre" I would request to change this title.
>
> This is a quite common expression in every-day german. Look on amazon,  
> you will find a good number of book-titles with "Ruhm und Ehre", for  
> example about literature Nobel laureates).

359.000 Google hits for the slogan, 325.000 hits for the same "-SS".
Quite a few of the remaining 34.000 are about a 2004 high court ruling
that using the slogan is not illegal. So I don't think this is a big deal.

Having said that I would certainly not object to change it if one of the
developers listed there complains. But it will be difficult to create a
German translation of anything without using any words that have also
been in use at that time...

Andre'


Re: Windows XP doesn't shut down with LyX open

2008-11-11 Thread Andre Poenitz
On Tue, Nov 11, 2008 at 05:47:37AM +, Alex wrote:
> Anyone else experienced this?  If I have either LyX 1.5.6 or 1.6.0 and
> I give Windows the command to shut down the computer (i.e. from the
> Task manager), windows will close maybe a program or two but then
> abort the shutdown sequence and remain running.
> 
> If, however, I first close LyX manually, then my computers will
> actually turn off normally.

Times are changing. A while ago it was difficult to keep Windows 
running now it's difficult to shut down...

Andre'


Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Andre Poenitz
On Wed, Oct 22, 2008 at 05:44:58PM -0400, rgheck wrote:
> Andre Poenitz wrote:
>> On Wed, Oct 22, 2008 at 09:22:35PM +0200, Andre Poenitz wrote:
>>   
>>>> I think that I remember to have read about so-called  catcodes (or  
>>>> whatever?) in TeX, which apparently make it possible to declare 
>>>> certain characters as "active" so that further processing is 
>>>> possible whenever the TeX scanner reads such character. I wonder if 
>>>> it is possible this way to declare in the preamble that
>>>> "C" followed by "+", followed by "+"
>>>> is "active" and should be inherently substituted with something 
>>>> like  "\mbox{C+\hspace{-.5ex}+}}"
>>>>   
>>> Quick shot: [...]
>>> 
>>
>> Somewhat improved version:
>>
>> \def\plus{+}
>> \catcode`\+=\active
>>
>> \def\smallplusplus#1{\raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}}
>> \def+{\futurelet\nextchar\pluss}
>> \def\pluss{%
>>   \ifx\nextchar+%
>>   \let\next\smallplusplus%
>>   \else%
>>   \let\next\plus%
>>   \fi%
>> \next}
>>
>> And no, I can't explain it.
>>
>>   
> If you could, I'd be really worried about you. ;-)


Since I started to waste the evening with TeX, the final version:

   \def\plus{+}
   \def\gobble#1{}
   \catcode`\+=\active

   \def\checknextchar{%
 \ifx\nextchar+%
   \raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}%
   \let\next\gobble%
 \else%
   \plus%
   \let\next\relax%
 \fi%
 \next%
   }

   \def+{\futurelet\nextchar\checknextchar}

It starts getting readable, so I better stop now.

Incidentally, I stumbled across  htlatex  and start to wonder whether 
this would be a good start for  tex2lyx.  It is able to process the
macros above...

Andre'



Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Andre Poenitz
On Wed, Oct 22, 2008 at 09:22:35PM +0200, Andre Poenitz wrote:
> > I think that I remember to have read about so-called  catcodes (or  
> > whatever?) in TeX, which apparently make it possible to declare certain 
> > characters as "active" so that further processing is possible whenever 
> > the TeX scanner reads such character. I wonder if it is possible this way 
> > to declare in the preamble that
> > "C" followed by "+", followed by "+"
> > is "active" and should be inherently substituted with something like  
> > "\mbox{C+\hspace{-.5ex}+}}"
> 
> Quick shot: [...]

Somewhat improved version:

\def\plus{+}
\catcode`\+=\active

\def\smallplusplus#1{\raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}}
\def+{\futurelet\nextchar\pluss}
\def\pluss{%
  \ifx\nextchar+%
  \let\next\smallplusplus%
  \else%
  \let\next\plus%
  \fi%
\next}

And no, I can't explain it.

Andre'


Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Andre Poenitz
On Wed, Oct 22, 2008 at 01:51:34PM +0200, Daniel Lohmann wrote:
> Hi,
>
> I am currently in the process of polishing the typesetting of my thesis. 
> One of the things I would like to achieve is to reduce the spacing 
> between "++" in the words C++ and AspectC++, as this looks somewhat 
> "strange" with the font I am using.
>
> This question is somewhat related to the thread
>
> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66864.html
>
> where the original poster asked for a way to reduce the space between  
> the two slashes in hyperlinks. However, the original solution does not  
> work in my case, as C++ and AspectC++ are not typeset by any kind of  
> (La)TeX command, but are just ordinary words. Replacing all occurrences 
> with some ERT box is not an option, as this would cause too much hassle 
> and would not work in external material, such as bibliographic entries. I 
> am looking for a more elegant solution.
>
> I think that I remember to have read about so-called  catcodes (or  
> whatever?) in TeX, which apparently make it possible to declare certain 
> characters as "active" so that further processing is possible whenever 
> the TeX scanner reads such character. I wonder if it is possible this way 
> to declare in the preamble that
> "C" followed by "+", followed by "+"
> is "active" and should be inherently substituted with something like  
> "\mbox{C+\hspace{-.5ex}+}}"
>
> Any TeX gurus on this list who might help me?

Quick shot:


\makeatletter
\def\plus{+}
\def\smallplusplus{\raisebox{0.6ex}{\tiny+\hspace{-0.3ex}+}}
\catcode`\+=13
\long\def+#1{\ifx#1+\smallplusplus\else\plus#1\fi}
\makeatother

\documentclass{article}

\begin{document}

Single C 

CPlus  C+

CPlusPlus  C++ D  C++A

CPlusStar  C+* D  C+*A

\end{document}


Andre'


Re: Computer Algebra system

2008-10-18 Thread Andre Poenitz
On Sat, Oct 18, 2008 at 12:16:24PM +0300, Vaiva P wrote:
> Hi,
> 
> I have recently installed Lyx 1.5.6 in my computer and would like to use
> Mathematica 6.0 (Wolfram) as a tool for calculations. I installed
> Mathematica well before Lyx. The problem is that I do not know how to
> configure LyX and Mathematica cooperation.

Before putting too much effort into it: the possibly "cooperation" is
sketchy at best. CAS integration is a toy that got stuck at the
proof-of-concept level. Doing work computation in Mathematica is 
probably best done "stand alone", with results put by copy-and-paste
into LyX.

Andre'


Re: Spellchecker

2008-10-13 Thread Andre Poenitz
On Tue, Oct 14, 2008 at 10:52:09AM +1100, Typhoon wrote:
> > Yeah! While we're making formal objections to a project whose list we
> > first posted to today, I post the following formal objections:
> > 
> > * Make the tan background white so as to not clash with room
> > decoration
> > * The appalling printer icon should look more like a printer
> > * The noun font icon should be female
> > 
> > S.
> 
> And, of course, the logo should look more Australian.

Just turn your monitor upside down.

Andre'


Re: Import utf8 latex on MacOS

2008-10-13 Thread Andre Poenitz
On Sun, Oct 12, 2008 at 10:59:50PM +0300, Dmitrii Dimandt wrote:
>>> When I import this file into Lyx, I get anything but cyrillic in my
>>> text: http://images.dmitriid.com/misc/tex/lyx.png (top of screenshot
>>> is what it shouldve looked like and bottom of the picture is what it
>>> looks like in Lyx)

Yes, looks like a problem with tex2lyx.

As a workaround replace the line

 \usepackage[english,russian]{babel}

with

 \usepackage[russian]{babel}

before you run tex2lyx. This should produce a usable .lyx file, but,
unfortunately, drop the 'russian' option for babel.

To fix this, set within LyX

  Document -> Settings -> Language -> Language   to "Russian"


Hope this helps.

Andre'


Re: Spellchecker

2008-10-13 Thread Andre Poenitz
On Mon, Oct 13, 2008 at 09:23:06PM +0100, TheOldFellow wrote:
> On Mon, 13 Oct 2008 20:55:24 +0200
> Joost Verburg
> <[EMAIL PROTECTED]> wrote:
> 
> > TheOldFellow wrote:
> > > How do I set the spellchecker to English-English (i.e. as written in
> > > England) instead of American-English?
> > 
> > You should set the document language to British.
> > 
> > Joost
> > 
> > 
> 
> Thanks.
> 
> However, that is really appalling.  My language is called English.  I
> will just about stand up for English(UK), but British, never.  What
> about Gallic, Cornish and Welsh - three completely different British
> languages?

British English as in "the kind of English typical spoken in Britain"
does not sound overly wrong from a continental point of view (or
"European", if that's more in line with your active vocabulary)
- and does not exclude Gaelic, Cornish and Welsh as possible
alternatives.

> I have decided to call Dutch, Netherlandian from now on.

I guess that makes your telco happy.

> How do I make a formal objection to the project authorities, who I
> assume are from South-but-not-as-far-as-Mexico-North-America? 

Traditionally by waging war. But last time you did, you lost. And
last time we did, we lost, too. So maybe better wait a few more weeks.

> You know, the people who speak Usaian.  You can't go around calling
> people's languages whatever you like you know.  They get very angry.
> 
> The best solution is to call the menu item 'Spelling' rather than
> 'Language' - then British is an appropriate choice.

Well, that would be misleading. Unless you'd agree to call one
'Spelling' and the other 'Misspelled'.

Andre'


Re: Import utf8 latex on MacOS

2008-10-11 Thread Andre Poenitz
On Thu, Oct 09, 2008 at 02:20:36PM +0300, Dmitrii Dimandt wrote:
> Hi all
>
> I have a LaTeX file created with TexMate and saved with  
> "UTF8(recommended)"
>
> When I import this file into Lyx, I get anything but cyrillic in my  
> text: http://images.dmitriid.com/misc/tex/lyx.png (top of screenshot is 
> what it shouldve looked like and bottom of the picture is what it looks 
> like in Lyx)
>
> My settings for Lyx are:
> Default language: English
> Language package: \usepackage[english,russian]{babel}
> TeX encoding: T2A
>
> And for the document I tried everything: language Russian, default  
> encoding, utf8 - nothing works :(
>
> I know that this issue has supposedly been fixed in 1.5.6, but here I am 
> on 1.5.6 and importing utf8-encoded LaTeX files doesn't work :(
>
> I guess there's a misunderstanding between Texmate, MacOS and Lyx on  
> what utf8 actually means :) I hope there's somebody who has this figured 
> out. Anyone? Help?

Can you send me a .tex file that LyX failed to import?

Andre'


Re: Import utf8 latex on MacOS

2008-10-10 Thread Andre Poenitz
On Fri, Oct 10, 2008 at 09:49:56AM +0200, Jürgen Spitzmüller wrote:
> Dmitrii Dimandt wrote:
> > I guess there's a misunderstanding between Texmate, MacOS and Lyx on
> >   what utf8 actually means :) I hope there's somebody who has this  
> > figured out. Anyone? Help?
> 
> Unfortunately the tex2lyx converter cannot read utf8 yet.

Well, it reads utf8 and passes it unmodified to the .lyx
but does not mark it as such...

Andre'


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Andre Poenitz
On Thu, Oct 09, 2008 at 05:13:54PM +0200, Abdelrazak Younes wrote:
> On 09/10/2008 16:42, Bennett Helm wrote:
>> On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer<[EMAIL PROTECTED]>wrote:
>>> All in all I have the feeling that multiple tabs/windows/views (and also
>>> session management) are (at least on the Mac) not fully worked out, yet.
>>> I feel like we miss an underlying concept when what opens where, and how
>>> this is represented in the Gui/Menus.
>>
>>
>> I agree and have raised some of these issues on the developer's list. But as
>> I'm not a programmer myself, I'm not going to complain too much: things are
>> improving and I appreciate especially Abdel's attentiveness to my complaints
>> thus far. (Thanks Abdel!)
>
> Well, I have not been very attentive lately... too busy for any deep  
> investigation. I had hoped that some other Mac developer would take the  
> lead but it didn't happen unfortunately. I think we'll have access to  
> some Mac machines at the Berlin meeting so I'll make sure that all Mac  
> issues are fixed then.

Is that magical appearance of Macs something I am supposed to put on my
ToDo list?

Andre'


Re: Experience using XeTeX with XeTeX?

2008-10-08 Thread Andre Poenitz
On Wed, Oct 08, 2008 at 12:54:47PM +0200, Christian Ridderström wrote:
> On Wed, 8 Oct 2008, Algardas wrote:
>
>> I am not using LyX myself, but I would like to introduce it to some  
>> people. However, they need to use XeTeX with it and XeTeX seems 
>> forgoten in LyX and bearly mentioned in the Wiki [1]. This is not a 
>> rushing matter, but now, given the opportunity, do you know of any LyX 
>> and XeTeX users?
>
> Hi,
>
> I was asked if it's possible to use LyX with XeTeX, is this possible and  
> does it work reasonably well?

A colleague was trying the same recently and run into a latin1 vs utf8
encoding issue. I haven't looked at it so far, though.

Andre'


Re: custom display of specific ERT

2008-10-06 Thread Andre Poenitz
On Mon, Oct 06, 2008 at 11:44:47PM -0400, Wendell Smith wrote:
> Hello,
> I am a new LyX user, and I am really enjoying it! Thanks to all the  
> developers!
>
> I was just wondering if it was at all possible to get a specific TeX  
> command that LyX does not recognize to display as some sort of non-ERT.
>
> To make that clearer, I'll tell you my issue:
> In the preamble, I have (using kerning and other commands I copied  
> online) defined \dbar to be a d crossed at the top, like \hbar. LyX, of  
> course, recognizes neither \dbar nor the code underneath it, although it  
> looks great in the pdf output. It would be nice (although not necessary)  
> if there was some way I could tell LyX to display \dbar as just a plain  
> "d" instead of ERT, or even better, as a bold or non-italicized (in math  
> mode) "d".
>
> I've looked a little through the archives, and I didn't see anything  
> there that looked like this question, but if it has already been  
> answered, please point me to it!

It only works for math. In this case you can define a math macro with
zero arguments. This definiton will appear with two boxes on screen.
In he first one you put the TeX expansion, in the second one you could
put anything. The contents of the second box will be used for on-screen
rendering, so you can try to fake the appearance of \dbar there.

Andre'


Re: OT. Insert [lyx] into the Subject

2008-09-22 Thread Andre Poenitz
On Mon, Sep 22, 2008 at 04:55:05PM +0200, [EMAIL PROTECTED] wrote:
> Hi mailing list admin, 
> 
> Just a minor request.  As many other mailing lists, I think it would
> be handy if your  listserver would insert [lyx] into the subject
> field.  It would help me a lot in order to filter/sort/order  my
> incoming mails much faster.

Well, discussion about list administration is by definition not
off-topic.

However:
 
> why not?

Because filtering works already well on the sender/receiver lines,
and some people (including me) did not want to waste 6 characters
worth of horizontal real estate on the subject lines to state 
what is clear from context.

Andre'


Re: Installing Lyx1.6rc2

2008-09-19 Thread Andre Poenitz
On Fri, Sep 19, 2008 at 10:54:27AM -0700, samar wrote:
> 
> I am using Mepis 6.5 on a Lenovo Y300. I have been using lyx for several
> years. I tried to download and install Lyx1.6rc2 but the attempt failed
> after typing make. The compiler indicated this  was the inability to find a
> file called qdebug.h
> 
> I tried reloading qt4 but it did not work. Eventually I had to download
> qdebug.h from:
> 
> http://www.koders.com/cpp/fidF0FBD314843A70AD403A0EE39C397872CD3FF485.aspx?s=mdef%3Ainsert
> 

You would need some development package for Qt that also installs the
headers. (Or, alternatively, compile Qt from sources yourself)

Andre'


Re: LyX 1.6

2008-09-01 Thread Andre Poenitz
On Mon, Sep 01, 2008 at 03:02:33PM -0600, James Sutherland wrote:
>
> On Sep 1, 2008, at 1:31 PM, Louis A. Turk wrote:
>
>> Is LyX 1.6 going to be able to use files made by LyX 1.6?
>>
>> Lou
>>
>
> If you mean "is 1.6 going to be able to use files made by 1.5" then the 
> answer is YES.

Incidentally, the answer to the original question is, 'yes', too ;-)

Andre'


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 02:09:29PM +0200, Andre Poenitz wrote:
> On Mon, Aug 25, 2008 at 11:26:02AM +0100, Anthony Campbell wrote:
> > On 25 Aug 2008, Andre Poenitz wrote:
> > > On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
> > > > Is there any way to reduce the spacing between the slashes in hyperrefs
> > > > - http:// ? 
> > > > 
> > > > I don't mean to make cross-references; just to give cites in footnotes
> > > > and bibliographies for a book.
> > > 
> > > The only solution I can think of right now is to use plain LaTeX
> > > in an 'ERT Box':
> > > 
> > > \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
> > > 
> > > 
> > > Andre'
> > 
> > Yes, this is the solution I've come up with myself. But it seems odd
> > that there is no more elegant way of doing this; it must come up often
> > these days.
> 
> Well, "elegant" is in the eye of the beholder. You can try to put
> something like
> 
>  \let\hreforig\href
>  \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
>  \def\href#1#2{\hreforig{#1}{\foo#2==}}
> 
> in to the preamble and use the hyperref insets as usual.

And, since the preamble is inserted before \usepackage{hyperref},
this needs to be wrapped in \AtBeginDocument

\AtBeginDocument{\let\hreforig\href
  \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
  \def\href#1#2{\hreforig{#1}{\foo#2==}}}

or put into ERT in the document body.

Andre'


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 11:26:02AM +0100, Anthony Campbell wrote:
> On 25 Aug 2008, Andre Poenitz wrote:
> > On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
> > > Is there any way to reduce the spacing between the slashes in hyperrefs
> > > - http:// ? 
> > > 
> > > I don't mean to make cross-references; just to give cites in footnotes
> > > and bibliographies for a book.
> > 
> > The only solution I can think of right now is to use plain LaTeX
> > in an 'ERT Box':
> > 
> > \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
> > 
> > 
> > Andre'
> 
> Yes, this is the solution I've come up with myself. But it seems odd
> that there is no more elegant way of doing this; it must come up often
> these days.

Well, "elegant" is in the eye of the beholder. You can try to put
something like

 \let\hreforig\href
 \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
 \def\href#1#2{\hreforig{#1}{\foo#2==}}

in to the preamble and use the hyperref insets as usual.


Andre'


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
> Is there any way to reduce the spacing between the slashes in hyperrefs
> - http:// ? 
> 
> I don't mean to make cross-references; just to give cites in footnotes
> and bibliographies for a book.

The only solution I can think of right now is to use plain LaTeX
in an 'ERT Box':

\href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}


Andre'


Re: erroneous line / unable to open file

2008-08-25 Thread Andre Poenitz
On Sun, Aug 24, 2008 at 05:09:25PM +0200, Ludwig Geske wrote:
> Dear Sir or Madam,
>
> somehow I managed to include a nomenclature command into the environment  
> of a Subsubsection. Now Lyx opens the file, but only till this erroneous  
> line. From this line on the content of the file is not displayed and if  
> I save the file, the text is gone.
>
> I tried to change the file externally, but if I do so, Lyx does no  
> longer open it and tells me this is no lyx-file.
>
> What can I do?

If there's no confidential stuff in there you can send me the file in
private mail and I'll have a look tonight.

Changing the file externally should work, but the .lyx format is
fragile in some places...

Andre'


Re: lyx hangs when clicked on view pdf/ dvi

2008-08-24 Thread Andre Poenitz
On Sun, Aug 24, 2008 at 01:37:04PM +0530, ramya kv wrote:
> Hi,
> 
> lyx version 1.5.3
> ubuntu 7.10
> 
> when ever i try to view the .lyx file i wrote for a c program, lyx stops
> responding and i have to forcibly quit it.
> 
> format used: C
> added by : format:c GUIname:C shortcut:c extension:c and with document
> format, viewer and editor:emacs
> converter: noweb-->C (using notangle $$i>$$o)
> 
> Menu warning: menu entries "Custom...|C" and "C|C" share the same shortcut.
> PreferencesPolicy: No transition for input SMI_RESTORE from state INITIAL
> Menu warning: menu entries "C|C" and "Close All Insets|C" share the same
> shortcut.
> newfile1.nw:23: unescaped << in documentation chunk
> newfile1.nw:30: unescaped << in documentation chunk
> Error: Cannot convert file
> 
> An error occurred whilst running notangle 'newfile1.nw' > 'newfile1.c'
> Menu warning: menu entries "C|C" and "Close All Insets|C" share the same
> shortcut.
> newfile1.nw:23: unescaped << in documentation chunk
> newfile1.nw:30: unescaped << in documentation chunk
> Error: Cannot convert file
> 
> An error occurred whilst running notangle 'newfile1.nw' > 'newfile1.c'
> Menu warning: menu entries "C|C" and "Close All Insets|C" share the same
> shortcut.
> newfile1.nw:23: unescaped << in documentation chunk
> newfile1.nw:30: unescaped << in documentation chunk
> Error: Cannot view file
> 
> Does anybody know what these errors mean and how can i go about fixing it?

There seems to be several problems. 

I'd try to look at lines 23 and 30 of newfile1.nw and check what needs
to be done to fix the 'unescaped << in documentation chunk' error.

But apart from that LyX seems to tun into an endless loop, and there's
a problem with menu shortcuts, but that's most likely nothing that can
be fixed on the user side. 

Could you send the 'newfile1.nw' file (possibly cut down to the first
35 lines or so?)

Andre'


Re: math tool

2008-08-08 Thread Andre Poenitz
On Fri, Aug 08, 2008 at 10:00:38AM -0600, Michael Wojcik wrote:
> rgheck wrote:
>> nisa wrote:
>>> how math editor is implemented in lyx?
>>> how does it automatically format text? pls tell the technical aspects 
>>> of it in the coding part etc 
>
> Why would you think this was simple enough to be explained in an email  
> message?
>
>> Now that part is complicated! You can see it here:  
>> http://www.lyx.org/trac/browser/lyx-devel/trunk/src/mathed. Not many of 
>> us developers even understand it, though. Andre Poenitz is the 
>> master
>
> I just browsed a bit of it, and it doesn't look all that hard.

Incidentally, that matches my opinion ;-}

Andre'


Re: Interesting thread on Slashdot

2008-07-30 Thread Andre Poenitz
On Wed, Jul 30, 2008 at 04:17:29PM -0500, Denné Reed wrote:
> [..]
> I've also had problems with journal and book editors, one of which  
> insisted I convert a book chapter written in LyX into Word format  
> despite the fact that the publisher  (Elsevier) has a LaTeX document  
> class available.

Elsevier seems to have a funny way to handle .tex. Even though they
accept .tex and even provide .sty for that, they seem to send the
submissions to India and have them re-typed _manually_ in whatever
system they use for the final typesetting. That's my only explanation
for them being able to remove typos, introduce new ones and messing up
tables ;-} Given that the result looks pretty TeX-ish that's... "wierd".

Andre'


Re: Finding "Bad" characters

2008-07-30 Thread Andre Poenitz
On Fri, Jul 25, 2008 at 12:45:38PM +0200, G. Milde wrote:
> On 25.07.08, Sebastian Rohrer wrote:
> > Hi,
> 
> > I have a relatively large lyx document that does not compile. The error  
> > message is:
> 
> > "Some characters of your document are probably not representable in the  
> > chosen encoding. Changing the document encoding to utf8 could help."
> 
> Actually, changing the encoding to utf8 will most probably *not* help 
> (as utf8 is very limited in the range of supported characters).

Hm?

Andre'


Re: Progress on the MS Word to LyX conversion (xml)

2008-07-23 Thread Andre Poenitz
On Wed, Jul 23, 2008 at 10:33:16AM -0400, Steve Litt wrote:
> On Wednesday 23 July 2008 07:00, José Matos wrote:
> 
> > XML will not change the current status.
> >
> > grep '

Re: Converting msword to LyX is ugly!

2008-07-19 Thread Andre Poenitz
On Fri, Jul 18, 2008 at 07:08:19PM -0400, Steve Litt wrote:
> On Friday 18 July 2008 15:43, Andre Poenitz wrote:
> > On Fri, Jul 18, 2008 at 03:28:55PM -0400, Steve Litt wrote:
> > > Hi all,
> >
> > Hi Steve.
> >
> > > If anyone has a better idea for converting a 300 page MS Word document
> > > to LyX, style for style and word for word, please let me know.
> >
> > I'd try
> >
> >   unrtf -t tex  foo.rtf
> >
> > and check whether that's easier to manage in a text editor than
> > the 'real' rtf.
> 
> Hi Andre,
> 
> I tried it.
> 
> Unfortunately, unrtf discards all styles, converting them to fine-tuned 
> output. This is true both for html and latex output.

Ah ok. Bad luck then in this direction...

Andre'


Re: Converting msword to LyX is ugly!

2008-07-18 Thread Andre Poenitz
On Fri, Jul 18, 2008 at 03:28:55PM -0400, Steve Litt wrote:
> Hi all,

Hi Steve.

> If anyone has a better idea for converting a 300 page MS Word document
> to LyX, style for style and word for word, please let me know.

I'd try 

  unrtf -t tex  foo.rtf

and check whether that's easier to manage in a text editor than
the 'real' rtf.

For finding the end tags, maybe even  'unrtf -t html' is an option...

Hope this is of any use,
Andre'


Re: mars rover controller written in TeX (fwd)

2008-07-16 Thread Andre Poenitz
On Wed, Jul 16, 2008 at 02:20:41PM -0400, Paul A. Rubin wrote:
> Rich Shepard wrote:
>>   For those who think TeX is too limited.
>
> Does TeX enforce unit-of-measure consistency? 

It's surely consistent. Everything is a multiple of a "scaled point",
there are 65536 of them in each point. This makes it a bit hard to
handle lenghts of more than a few meters, but given the overall success
rate of Mars rover missions this might be more than enough...

Andre'


Re: Fwd: Re: Zoom in LyX (like in firefox)

2008-07-16 Thread Andre Poenitz
On Wed, Jul 16, 2008 at 09:00:41AM +0100, José Matos wrote:
> I think that Máté wanted to send this to the list, I have no opinion on this 
> issue.
> 
> --  Forwarded Message  --
> 
> Subject: Re: Zoom in LyX (like in firefox)
> Date: Wednesday 16 July 2008
> From: Máté Salát <[EMAIL PROTECTED]>
> To: José Matos <[EMAIL PROTECTED]>
> 
> I have a remark on the ctrl-mouse-wheel feature.
> 
> As I see the trends, scrolling up is for zooming in, and scrolling down for 
> zooming out. Since the release of Firefox 3 all the programs I know work this 
> way except now LyX 1.6. (Firefox also changed the directions to adjust it to 
> the common practice.)
> 
> So I would suggest to invert the zoom in and out. I wonder if others consider 
> this issue the same way.

Yes, at the time of implementation there was a rough 50:50 split,
nowadays we seem to belong to a miority...

Andre'


Re: lyx transfer

2008-07-14 Thread Andre Poenitz
On Mon, Jul 14, 2008 at 07:21:29PM +0200, raap wrote:
> Can i Transfer lyx from Suse 10.0 to Suse110.3 ?

Possibly.

Andre'


Re: Inserting code

2008-07-11 Thread Andre Poenitz
On Thu, Jul 10, 2008 at 03:39:54PM -0700, Ivica1009 wrote:
> In my thesis I need to use a lot of C++ code. I am developing code in
> Eclipse CDT text editor.
> If I copy my code, for example, into the OpenOffice documet, the code
> preserves its format and colors.

[I never thought of code having a color that could be preserved, but
that's probabl just me ;-)]

> If I copy the code into Lyx it does not preserve neither of those.
> 
> Is there a way to copy code from other editors into Lyx in such a way that
> at least the format of the code is preserved?

There is support for code inclusion using the "listings" package.

Andre'


Re: keyboard question

2008-07-02 Thread Andre Poenitz
On Wed, Jul 02, 2008 at 09:13:27PM +0200, Pavel Sanda wrote:
> > > this keymap part of lyx is from days when changing keymaps was not so
> > > easy as it is now under X. by default these things should be maintained
> > > in X settings not in lyx. here lyx reacts as most other apps wrt keymaps.
> > 
> > Should we get rid of our own keyboard mapping soonish then?
> > 
> > Does anybody still use it and could not use alternatives provided by his
> > environment?
> 
> yes it is still used, i remember some screem last time we discussed this.

The main argument I remember was "It works, so why remove it". Now we
seem to have cases where "it works (as expected)" is not necessarily 
true...

Andre' 


Re: keyboard question

2008-07-02 Thread Andre Poenitz
On Wed, Jul 02, 2008 at 07:55:21PM +0200, Pavel Sanda wrote:
> > Furthermore, I don't get a single quote this way, but an isolated acute
> > accent. In other words, with such a keyboard remap, it's impossible to
> > get a single quote in LyX.
> > 
> > And at last, only the accents (acute, grave, circonflex...) exhibit this
> > behavior. The double quote retains its normal dead key behavior.
> > 
> > All this seems stranger and stranger... Why doesn't LyX react as most other 
> > apps?...
> 
> this keymap part of lyx is from days when changing keymaps was not so
> easy as it is now under X. by default these things should be maintained
> in X settings not in lyx. here lyx reacts as most other apps wrt keymaps.

Should we get rid of our own keyboard mapping soonish then?

Does anybody still use it and could not use alternatives provided by his
environment?

Andre'


Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-30 Thread Andre Poenitz
On Mon, Jun 30, 2008 at 08:26:57AM +0200, Abdelrazak Younes wrote:
> En plus un troisième francophone sera le bienvenue pour compenser la 
> présence Allemande, même si la plupart de nos Allemands parle Francais! 
> :-)

Pffft.

Andre'  [;-)]


Re: greek fonts

2008-06-09 Thread Andre Poenitz
On Mon, Jun 09, 2008 at 02:18:15PM -0400, Steve Litt wrote:
> On Monday 09 June 2008 08:10, Anthony Campbell wrote:
> 
> > I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
> > appearing before the letter instead of above it.
> 
> For ancient Greek, you must use a goose feather on papayrus.
> 
> Sorry, I couldn't resist :-)

That's why we had hieroglyphs on the old splash screen...

Andre'


Re: Lyx-users mail server error

2008-05-31 Thread Andre Poenitz
On Fri, May 30, 2008 at 10:50:24AM -0400, Adrian Peter wrote:
> Guess my real question should have been: why such a small limit on the file
> size?

60k is not _small_ when communicating plain text such as .lyx files.
Typically, to reproduce a problem, even a 10k should more than enough.

> I suppose since it's a large distribution list that things would get
> problematic with very large files.  Just figured that 98K wasn't that
> large.

It gets archived, and hunting down problems is easier for your
pontential helpers if the file is small.

Andre' 


Re: suppressing captions in some floats

2008-05-23 Thread Andre Poenitz
On Fri, May 23, 2008 at 11:49:37AM -0700, Brian Guenter wrote:
> I want to insert program listings into my document. I don't want the
> program listings to be broken across pages so I put them inside
> figures. Now each program listing has a figure label and number which
> I don't want.  Is there some way for me to insert these listings
> inside a float and suppress the caption printing of just that float?

Each time I bang my head against a wall it hurts.  I do not want to be
hurt.  Is there a way to make the wall softer so that it doesn't hurt so
much?

Andre'

PS:

> This e-mail was created using speech recognition software.  If the
> spelling, grammar, or wording seems strange it's the software's fault
> not mine.

Strange wording, indeed.

PPS: Ever tried Insert->Box ?


Re: Default Float placement is pathetic

2008-05-19 Thread Andre Poenitz
On Mon, May 19, 2008 at 08:29:19PM +0100, Marwan Boustany wrote:
>> The default placement is typically not that bad as long as there is
>> a sufficient amount of "regular" text in the documnet.
>>
>> Andre'
>
> I think the point with me is that I have text and graphics in a way that 
> the graphics really must be exactly where i put them, spacing as per latex 
> formating is fine, but I cannot have them being grouped on separate pages 
> or in the middle of other text willy nilly.

Right, and then you can and should use 'definitely here'. It's not the 
default as the people creating these options did not consider this the
'usually wanted behaviour'.

Andre'


Re: Default Float placement is pathetic

2008-05-19 Thread Andre Poenitz
On Mon, May 19, 2008 at 05:51:50PM +0100, Marwan Boustany wrote:
> Peace,
>
> Is it necessary to force very float to be 'here definitely' if I actually 
> want it to be correctly placed in the text?

Yes.

> I tried to leave all floats at default, and when the pdf was created, there 
> were floats in the middle of itemize lists, on the wrong pages and even in 
> the wrong order... totally erratic...
>
> I tried a number of the options associated with float placement.  But the 
> only one that was correct, mostly, was to force it to be 'here definitely'.
>
> Why is the default placement so bad?  Any ideas as to why the default is so 
> bad? Suggestions?

The default placement is typically not that bad as long as there is
a sufficient amount of "regular" text in the documnet.

Andre'


Re: Name of the Mascot (Was: New splash screen (Was: LyX logo))

2008-04-28 Thread Andre Poenitz
On Mon, Apr 28, 2008 at 03:54:20PM +0200, Manveru wrote:
> 2008/4/18, Bruce Pourciau <[EMAIL PROTECTED]>:
> 
> > Manveru wrote:
> > >
> > > > FeeLyX is... quite sugestive... :-)
> > > >
> > >
> > Shouldn't FeeLyX be FeLyX? LyXandra sounds a bit stand-off-ish. How about
> > LyXiE/LyXie?
> >
> 
> Feel LyX => FeeLyX...

Looks like 'Fee' as in 'you have to pay for'.

Andre'


Re: insert vertical line - keyboard issue

2008-04-28 Thread Andre Poenitz
On Mon, Apr 28, 2008 at 01:14:47PM +, Robert Neumann wrote:
> Hello Günter
> thanks,
> my XkbModel was set to pc105. I tried 102 but it had no effect.
> Then I installed gucharmap but there is no way to get the symbol from 
> ucharmap to lyx, copy and paste doesn't work (it didn't work with the l
> inux-console, either.
> Does anybody have any more suggestions?

You can insert any character by pressing  'M-x' and then typing
'unicode-insert '. So  'M-x unicode-insert 0x41' inserts
a letter 'A'.

Andre'


Re: Oh god!

2008-04-24 Thread Andre Poenitz
On Thu, Apr 24, 2008 at 11:49:36PM +0100, Glen Whitehead wrote:
> Hi folks,
> 
> So I had a document, and I added an abstract... and now its poop :-S
> 
> The latex error in response to viewing pfd (pdflatex) is "misplaces
> alignment tab character &." This has happened before and to solve it
> then... I started with a blank page :-(
> 
> My document is now roughly 100 pages and is due in a few hours. We
> cannot restart.
> 
> If I delete the offending body of text, the same error is moved to
> another body of text. None of them have a visible & in them. If I
> delete many pages, it will give a different error (pick one at
> random).
> 
> Please have a solution!!

Send me the document within the next few minutes and I'll have a look.

If that's not possible, try "bisection": remove half of the do until
the error no more occurs, and then add back/remove until you found the
problematic place.

Also, try View->Source, and search for '&' and check whether the 
ones you find seem to make sense.

Andre'


Re: Name of the Mascot (Was: New splash screen (Was: LyX logo))

2008-04-18 Thread Andre Poenitz
On Fri, Apr 18, 2008 at 03:10:14PM -0700, Rich Shepard wrote:
> On Fri, 18 Apr 2008, Bruce Pourciau wrote:
>
>> Shouldn't FeeLyX be FeLyX? LyXandra sounds a bit stand-off-ish. How about
>> LyXiE/LyXie?
>
>   Enough! Mate. Ralph. Herman. Occam. Pick one.

'Pick' is nice indeed.

SCNR
Andre'


  1   2   3   4   5   6   7   8   9   10   >