Re: Lyx and selinux

2007-04-19 Thread christian . ridderstrom

On Wed, 18 Apr 2007, Jim Rockford wrote:

Anyone else encountered this with Lyx and linux?  I'm not really savvy 
enough to know what selinux is really doing for me, but if I had my 
druthers I wouldn't disable it completely for the sake of a (admittedly 
great) document processing program!


If you are not using your machine for very sensitive work, I don't think 
you need to use security-enhanced Linux.


https://www.nsa.gov/selinux/info/faq.cfm

(It would still be good if LyX worked well with SELinux)

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-19 Thread Abdelrazak Younes

Bob Lounsbury wrote:


Well, after hours and hours and hours of compiling it seems I've come to the
same result as Bennett. When compiling LyX1.5.0svn I get an error saying qt
4 library not found !.


Is it after './autogen.sh' or after './configure'?
In any case, I guess there should be some log file in the trunk 
directory. Could you please send that log(s) to the devel list? 
Hopefully someone will solve the problem.


Thanks a lot for your effort,
Abdel.



Re: [announce] Windows development snaphot for LyX 1.5 (15-04-2007)

2007-04-19 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], Uwe Stöhr 
[EMAIL PROTECTED] wrote.


[...]
The new Update installer version allows you to update your existing LyX 
installation to the latest version. To use this installer you must have 
my last development snaphot LyX 1.5svn-09-04-2007 installed.

[...]

After updating using this installer I now have problems with converting 
images. For example, when trying to use pdflatex to view the help 
document 'EmbeddedObjects.lyx' I get 'No information for converting xpm 
format files to png. Define a converter in preferences'. This also 
happens with documents of my own that contain images. Everything was 
working properly using the 09-04-2007 snapshot. The same problem occurs 
if I try to view a DVI.


Keep up the good work, it is greatly appreciated.

Regards,
Nick.

--
Nick Hopton and Anne Hopton
Caversham, Reading, England
[EMAIL PROTECTED]



Re: Lyx and selinux

2007-04-19 Thread José Matos
On Thursday 19 April 2007 4:48:49 am Jim Rockford wrote:
 Lyx version:  1.4.4
 OS:  Linux Fedora Core 6 (64 bit)

 I had quite a rough time getting Lyx to view my document as PDF or DVI. 
 I kept getting errors related to the image conversions, errors like

 -
 convert: zlib error
 /usr/share/lyx/scripts/convertDefault.py ERROR
 Execution of convert failed
 FAILED to find the default font: ' ', 'Sans'
 --

 I had zlib installed, and seemingly everything else necessary.  I finally
 discovered an unholy intrusion of the selinux (security enhanced linux)
 policy.  By manually disabling selinux (System-Administration-Security
 Level and Firewall) I was able to get all of these problems to magically
 disappear, and Lyx now seems
 to function flawlessly.

  I am using Fedora 6 as well. :-)

 Anyone else encountered this with Lyx and linux?  I'm not really savvy
 enough to know what selinux is really doing for me, but if I had my
 druthers I wouldn't disable it completely for the sake of a (admittedly
 great) document processing program!  Perhaps someone can tell me how to
 allow Lyx to access
 certain libraries without raising some sort of security flag or
 encountering permission problems.

  Please fill a bugzilla entry for Fedora in the lyx component. Rex Dieter, 
Fedora packager of lyx, is very responsive and he reads this list often but a 
bugzilla entry will be easier to track. I am sending him this message CC'ed.

  FWIW I suspect that this is related with python .pyc or .pyo's files and 
their interaction with selinux, as discussed yesterday in fedora's list.

 Thanks,
 Jim

-- 
José Abílio


Re: Lyx and selinux

2007-04-19 Thread José Matos
On Thursday 19 April 2007 8:30:58 am [EMAIL PROTECTED] wrote:
 If you are not using your machine for very sensitive work, I don't think
 you need to use security-enhanced Linux.

  Could you tell that to windows users who have malware and spyware? ;-)

  I consider my files to be sensitive data, not most of them but at least some 
of them. The purpose of selinux is to give another level of protection so a 
security-enhanced system is always a good thing. :-)

 https://www.nsa.gov/selinux/info/faq.cfm

 (It would still be good if LyX worked well with SELinux)

  I agree.

 /Christian

-- 
José Abílio


Fast way to insert citations?

2007-04-19 Thread Tobias Krause

Hi,

usually when I insert a citation I already have the complete BibTeX-Key 
in the clipboard - is there a faster way to insert the citation than 
clicking Insert - Citation,...?


Regards, Toby


Re: Fast way to insert citations?

2007-04-19 Thread Abdelrazak Younes

Tobias Krause wrote:

Hi,

usually when I insert a citation I already have the complete BibTeX-Key 
in the clipboard - is there a faster way to insert the citation than 
clicking Insert - Citation,...?


If you mean without the mouse, yes, it's possible:

Alt-i c
optional step: type the first letter to speedup this operation.
Down arrow until your desired citation is selected.
Enter
Enter.

In 1.5, it will be even faster.

Abdel.



Re: Fast way to insert citations?

2007-04-19 Thread Tim Michelsen

Hello


clicking Insert - Citation,...?

Why do you consider this as slow?
ALT+E - Z, then select or search for the citation - OK.
Isn't that fast enough?


Re: Fast way to insert citations?

2007-04-19 Thread Tim Michelsen

optional step: type the first letter to speedup this operation.
Down arrow until your desired citation is selected.

And don't forget the search function in the very dialog.


Re: Lyx and selinux

2007-04-19 Thread Helge Hafting

José Matos wrote:

On Thursday 19 April 2007 8:30:58 am [EMAIL PROTECTED] wrote:
  

If you are not using your machine for very sensitive work, I don't think
you need to use security-enhanced Linux.



  Could you tell that to windows users who have malware and spyware? ;-)
  

Even plain linux is already much safer than windows. There are
reasons that linux desktops aren't full of malware and spyware.
And no - windows being the more common desktop is not the
biggest reason.

Windows is _designed_ with security holes like  executing code
from websites or email messages by default - for users that generally
have admin privileges.   They need privileges, or common programs will fail.
In that world, people think that an up to date virus scanner is
something every responsible computer owner should have, even though
such a thing only ever catch bad stuff after the fact. Also, the OS have
no package database and so no idea about what files are supposed to be 
there,

nor their checksums.  No clean uninstall and people think it is normal to
reinstall now and then to clean up and regain performance!

Linux is not like that.  Code generally don't run unless you install it.
The user account used for daily work don't have admin privileges.
And the email software generally don't run attachments. 
Virus scanners are unnecessary - as virus technology just won't work.

Perfect uninstalls and verification by file checksums are possible, at
least on some distributions. I have only ever reinstalled linux because
of a dead disk - and probably won't need to do that again thanks to raid-1.

  I consider my files to be sensitive data, not most of them but at least some 
of them. The purpose of selinux is to give another level of protection so a 
security-enhanced system is always a good thing. :-)


  

https://www.nsa.gov/selinux/info/faq.cfm

(It would still be good if LyX worked well with SELinux)



  I agree.
  

Sure, nothing wrong with that.  But it seems to me that the problem must
be with SELinux in this case.  Once installed, LyX doesn't need special
privileges.  It needs access to the display, the printers, temp 
directories,

latex, a great variety of fonts, viewers and images conversion programs.

SELinux should not deny any of this - it is all normal end-user 
activities.


Helge Hafting



Re: Fast way to insert citations?

2007-04-19 Thread Abdelrazak Younes

Tobias Krause wrote:

Hi Abdel,

If you mean without the mouse, yes, it's possible:

Alt-i c
optional step: type the first letter to speedup this operation.
Down arrow until your desired citation is selected.
Enter
Enter.


thanks for your answer but this is not what I meant 'cause this is 
they way I do it right now but this still take some time: in the 
German version of I have to type


Alt-e
z
Alt-s (to focus the search field)
Ctrl-v (to insert the BibTeX-Key, arrows are not an option because 
there are almost 300 entries in the database)

Alt-V (to search for the item)
Enter
Enter

since there are approximately ~10 citations per page this just gets 
annoying...


I was thinking of something analog to the way of inserting a footnote: 
mark the text press Alt-e f and the text is put in a footnote..


I see, unfortunately, there is no such thing. Please put an enhancement 
request in bugzilla.


The good news is that it will be a bit faster in 1.5 were the citation 
dialog has been redesigned with search as type feature. So you'll have 
at least 2 less operations:

Alt-i
c
Alt-f (to focus the find field)
Alt-v (to focus the Available Citation list)
Enter

Maybe we could also map the Enter key in the find field to avoid the 
Alt-v step. I'll see what I can do.


Abdel.



Math alias

2007-04-19 Thread Julio Rojas

Is there any way I can create a custom function in a math environment?

I'm writing a lot of formulas that basically have the same style for variables:
\underset{\sim}{I}
\underset{\sim}{P_1}

What I would like is to type (within LyX math environment):
\fuzzy

And that it shows an underset with wiggly line on the bottom.

So? Can I?

Thx

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Math alias

2007-04-19 Thread Stefan Schimanski



Is there any way I can create a custom function in a math environment?

I'm writing a lot of formulas that basically have the same style  
for variables:

\underset{\sim}{I}
\underset{\sim}{P_1}

What I would like is to type (within LyX math environment):
\fuzzy

And that it shows an underset with wiggly line on the bottom.

So? Can I?


\newcommand{\fuzzy}[1]{\underset{\sim}{#1}}

Select it and press Ctrl-m

You get a math macro (also documented in the documentation). You can  
then use \fuzzy in your formulas.


Schimmi


PGP.sig
Description: Signierter Teil der Nachricht


Re: Math alias

2007-04-19 Thread Julio Rojas

Thanx a lot Stefan... I was just looking in the wiki with words other
than macro... Of course, nothing showed up... :D

On 4/19/07, Stefan Schimanski [EMAIL PROTECTED] wrote:


 Is there any way I can create a custom function in a math environment?

 I'm writing a lot of formulas that basically have the same style
 for variables:
 \underset{\sim}{I}
 \underset{\sim}{P_1}

 What I would like is to type (within LyX math environment):
 \fuzzy

 And that it shows an underset with wiggly line on the bottom.

 So? Can I?

\newcommand{\fuzzy}[1]{\underset{\sim}{#1}}

Select it and press Ctrl-m

You get a math macro (also documented in the documentation). You can
then use \fuzzy in your formulas.

Schimmi





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Lyx and selinux

2007-04-19 Thread christian . ridderstrom

On Thu, 19 Apr 2007, Helge Hafting wrote:


  If you are not using your machine for very sensitive work, I don't think
  you need to use security-enhanced Linux.
 


   Could you tell that to windows users who have malware and spyware? ;-)



Even plain linux is already much safer than windows.


From a practical, real-life perspective, I agree, but -please- let us skip 

this discussion!


  (It would still be good if LyX worked well with SELinux)


Sure, nothing wrong with that.  But it seems to me that the problem must 
be with SELinux in this case.


Se let's get back on topic... Didn't he report a missing font or 
something?


/Christian

PS. I still think that he as a normal user at this time won't need 
SELinux, but having the discussion and possibly file a bugzilla entry 
won't hurt.


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: [announce] Windows development snaphot for LyX 1.5 (15-04-2007)

2007-04-19 Thread Paul A. Rubin

Nick Hopton wrote:
After updating using this installer I now have problems with converting 
images. For example, when trying to use pdflatex to view the help 
document 'EmbeddedObjects.lyx' I get 'No information for converting xpm 
format files to png. Define a converter in preferences'. This also 
happens with documents of my own that contain images. Everything was 
working properly using the 09-04-2007 snapshot. The same problem occurs 
if I try to view a DVI.


The update didn't screw up anything for me; I can view 
EmbeddedObjects.lyx as either DVI or PDF.  Is the path to ImageMagick on 
Tools - Preferences... - Paths - PATH prefix?


/Paul



[Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-19 Thread Bob Lounsbury
On 4/19/07 1:53 AM, Abdelrazak Younes [EMAIL PROTECTED] wrote:

 Bob Lounsbury wrote:
 
 Well, after hours and hours and hours of compiling it seems I've come to the
 same result as Bennett. When compiling LyX1.5.0svn I get an error saying qt
 4 library not found !.
 
 Is it after './autogen.sh' or after './configure'?
 In any case, I guess there should be some log file in the trunk
 directory. Could you please send that log(s) to the devel list?
 Hopefully someone will solve the problem.
 
 Thanks a lot for your effort,
 Abdel.

This message was after ./configure.

Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from source
with the same commands to see if I can compile LyX1.5.0 with either of
these. I know there is a precompiled Qt4.2.3 package for mac, but I just
want to see if I can make it work myself from source. If I can't compile
LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly compiling Qt.
However, if I can compile LyX1.5.0 with Qt4.2.3 but not with Qt4.3.0 then
I'll assume there is potentially an LyX issue. Any further suggestions?

Bob




Re: Fast way to insert citations?

2007-04-19 Thread Richard Heck
Tobias Krause wrote:
 usually when I insert a citation I already have the complete
 BibTeX-Key in the clipboard - is there a faster way to insert the
 citation than clicking Insert - Citation,...?
Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type citation-insert  and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.

That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Fast way to insert citations?

2007-04-19 Thread Tobias Krause

Hi Richard,


Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type citation-insert  and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.
  


thank! Exactly what I was looking for (still one key stroke would be 
better but this is already great!).



That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?
  
No, I can not use the lyxpipe for two reasons: I got the keys in 
freemind and freemind does not support pushing - there would be 
workarounds with small and quickly programmed things but I guess 
WinVista (which I have to use for some other reasons) is not the perfect 
environment to use the lyxpipe...


Regards, Toby


Re: Fast way to insert citations?

2007-04-19 Thread Yu, James

Hi Richard,

I had the exact same question as Tobias'.

In pure Windows environment (without cygwin), the communication between 
the Java-based JabRef and Window-based LyX is not possible (or not 
available yet). So, the immediate question is that: once in the JabRef 
we select a set of citations and copy it to the system clipboard, how do 
we quickly and agilely insert it to the LyX.


Originally, I thought there could be a simple text field in the citation 
insertion dialog, something like insert from clipboard, which would 
take whatever string in the system clipboard and insert it to the Lyx. I 
am wondering whether this approach was ever considered by the LyX team.


Anyway, I am going to try out your method. Hope it serves the same 
purpose nicely.


Thanks,

James

Richard Heck wrote:

Tobias Krause wrote:

usually when I insert a citation I already have the complete
BibTeX-Key in the clipboard - is there a faster way to insert the
citation than clicking Insert - Citation,...?

Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type citation-insert  and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.

That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?

Richard



Re: Fast way to insert citations?

2007-04-19 Thread Richard Heck

It would be possible for someone to write the necessary code to get
reference pushing to work under windows, and there are work-arounds that
have been discussed in the list---maybe it was the devel
list---recently. How hard the code would be isn't obvious to me, but I
don't use Windows and so obviously can't do it myself.

Richard

Yu, James wrote:
 Hi Richard,

 I had the exact same question as Tobias'.

 In pure Windows environment (without cygwin), the communication
 between the Java-based JabRef and Window-based LyX is not possible (or
 not available yet). So, the immediate question is that: once in the
 JabRef we select a set of citations and copy it to the system
 clipboard, how do we quickly and agilely insert it to the LyX.

 Originally, I thought there could be a simple text field in the
 citation insertion dialog, something like insert from clipboard,
 which would take whatever string in the system clipboard and insert it
 to the Lyx. I am wondering whether this approach was ever considered
 by the LyX team.

 Anyway, I am going to try out your method. Hope it serves the same
 purpose nicely.

 Thanks,

 James

 Richard Heck wrote:
 Tobias Krause wrote:
 usually when I insert a citation I already have the complete
 BibTeX-Key in the clipboard - is there a faster way to insert the
 citation than clicking Insert - Citation,...?
 Use the mini-buffer. The first time, you'll have to hit alt-x to focus
 it, type citation-insert  and then paste the key. But the next time,
 you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
 key), and paste. Of course, if you use the mini-buffer for something
 else, you may have to up-arrow a few more times. But it's faster than
 what you're doing.

 That said: If you've got the key in the clipboard...did you get it from
 somewhere that could push it through the lyxpipe? Or are you, sadly, on
 a system that doesn't do that?

 Richard



-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-19 Thread Patrick De Visschere


On Apr 19, 2007, at 6:04 PM, Bob Lounsbury wrote:


On 4/19/07 1:53 AM, Abdelrazak Younes [EMAIL PROTECTED] wrote:


Bob Lounsbury wrote:

Well, after hours and hours and hours of compiling it seems I've  
come to the
same result as Bennett. When compiling LyX1.5.0svn I get an error  
saying qt

4 library not found !.


Is it after './autogen.sh' or after './configure'?
In any case, I guess there should be some log file in the trunk
directory. Could you please send that log(s) to the devel list?
Hopefully someone will solve the problem.

Thanks a lot for your effort,
Abdel.


This message was after ./configure.

Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from  
source

with the same commands to see if I can compile LyX1.5.0 with either of
these. I know there is a precompiled Qt4.2.3 package for mac, but I  
just
want to see if I can make it work myself from source. If I can't  
compile
LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly  
compiling Qt.
However, if I can compile LyX1.5.0 with Qt4.2.3 but not with  
Qt4.3.0 then
I'll assume there is potentially an LyX issue. Any further  
suggestions?


Bob


I've compiled QT4.2.3 and LyX1.5.0svn without problems a few days ago  
on a (PPC) mac.

pdv


Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-19 Thread Bob Lounsbury
On 4/19/07 11:53 AM, Patrick De Visschere [EMAIL PROTECTED] wrote:

 
 On Apr 19, 2007, at 6:04 PM, Bob Lounsbury wrote:
 
 On 4/19/07 1:53 AM, Abdelrazak Younes [EMAIL PROTECTED] wrote:
 
 Bob Lounsbury wrote:
 
 Well, after hours and hours and hours of compiling it seems I've
 come to the
 same result as Bennett. When compiling LyX1.5.0svn I get an error
 saying qt
 4 library not found !.
 
 Is it after './autogen.sh' or after './configure'?
 In any case, I guess there should be some log file in the trunk
 directory. Could you please send that log(s) to the devel list?
 Hopefully someone will solve the problem.
 
 Thanks a lot for your effort,
 Abdel.
 
 This message was after ./configure.
 
 Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from
 source
 with the same commands to see if I can compile LyX1.5.0 with either of
 these. I know there is a precompiled Qt4.2.3 package for mac, but I
 just
 want to see if I can make it work myself from source. If I can't
 compile
 LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly
 compiling Qt.
 However, if I can compile LyX1.5.0 with Qt4.2.3 but not with
 Qt4.3.0 then
 I'll assume there is potentially an LyX issue. Any further
 suggestions?
 
 Bob
 
 
 I've compiled QT4.2.3 and LyX1.5.0svn without problems a few days ago
 on a (PPC) mac.
 pdv


If you don't mind. What were your ./configure commands for both Qt4.2.3 and
LyX1.5.0svn?

Bob




Re: Fast way to insert citations?

2007-04-19 Thread Yu, James

Hi Richard,

I know of the discussion---actually I raised that question recently. But 
using a third helper utility to bridge Lyx and a bib management app is 
one thing,  having a quick way (what Tobias said one-key-stroke) to 
insert citations from clipboard is another.


I think insert-citation-in-one-key-stroke method would be a very 
useful, general feature, no matter what OS you are in.


Thanks for providing the command buffer method. I tried it. It works 
well. I am thinking if LyX could have a command 
citation-insert-from-clipboard, where you don't need to append 
literally the citation key list, it also would be great.


Thanks,

James



Richard Heck wrote:

It would be possible for someone to write the necessary code to get
reference pushing to work under windows, and there are work-arounds that
have been discussed in the list---maybe it was the devel
list---recently. How hard the code would be isn't obvious to me, but I
don't use Windows and so obviously can't do it myself.

Richard

Yu, James wrote:

Hi Richard,

I had the exact same question as Tobias'.

In pure Windows environment (without cygwin), the communication
between the Java-based JabRef and Window-based LyX is not possible (or
not available yet). So, the immediate question is that: once in the
JabRef we select a set of citations and copy it to the system
clipboard, how do we quickly and agilely insert it to the LyX.

Originally, I thought there could be a simple text field in the
citation insertion dialog, something like insert from clipboard,
which would take whatever string in the system clipboard and insert it
to the Lyx. I am wondering whether this approach was ever considered
by the LyX team.

Anyway, I am going to try out your method. Hope it serves the same
purpose nicely.

Thanks,

James

Richard Heck wrote:

Tobias Krause wrote:

usually when I insert a citation I already have the complete
BibTeX-Key in the clipboard - is there a faster way to insert the
citation than clicking Insert - Citation,...?

Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type citation-insert  and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.

That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?

Richard






Re: Fast way to insert citations?

2007-04-19 Thread Richard Heck

Yes, I can see that. Can you add a bugzilla request? I take it the idea
would be to have a really, really simple dialog: You enter the key,
period. Maybe we could also allow entering the before, after, etc. But
mostly it'd be for quick entries of the key.

This would not be hard to do. The Model-View-Controller framework sees
to that.

rh

Yu, James wrote:
 Hi Richard,

 I know of the discussion---actually I raised that question recently.
 But using a third helper utility to bridge Lyx and a bib management
 app is one thing,  having a quick way (what Tobias said
 one-key-stroke) to insert citations from clipboard is another.

 I think insert-citation-in-one-key-stroke method would be a very
 useful, general feature, no matter what OS you are in.

 Thanks for providing the command buffer method. I tried it. It works
 well. I am thinking if LyX could have a command
 citation-insert-from-clipboard, where you don't need to append
 literally the citation key list, it also would be great.

 Thanks,

 James



 Richard Heck wrote:
 It would be possible for someone to write the necessary code to get
 reference pushing to work under windows, and there are work-arounds that
 have been discussed in the list---maybe it was the devel
 list---recently. How hard the code would be isn't obvious to me, but I
 don't use Windows and so obviously can't do it myself.

 Richard

 Yu, James wrote:
 Hi Richard,

 I had the exact same question as Tobias'.

 In pure Windows environment (without cygwin), the communication
 between the Java-based JabRef and Window-based LyX is not possible (or
 not available yet). So, the immediate question is that: once in the
 JabRef we select a set of citations and copy it to the system
 clipboard, how do we quickly and agilely insert it to the LyX.

 Originally, I thought there could be a simple text field in the
 citation insertion dialog, something like insert from clipboard,
 which would take whatever string in the system clipboard and insert it
 to the Lyx. I am wondering whether this approach was ever considered
 by the LyX team.

 Anyway, I am going to try out your method. Hope it serves the same
 purpose nicely.

 Thanks,

 James

 Richard Heck wrote:
 Tobias Krause wrote:
 usually when I insert a citation I already have the complete
 BibTeX-Key in the clipboard - is there a faster way to insert the
 citation than clicking Insert - Citation,...?
 Use the mini-buffer. The first time, you'll have to hit alt-x to focus
 it, type citation-insert  and then paste the key. But the next time,
 you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight
 the
 key), and paste. Of course, if you use the mini-buffer for something
 else, you may have to up-arrow a few more times. But it's faster than
 what you're doing.

 That said: If you've got the key in the clipboard...did you get it
 from
 somewhere that could push it through the lyxpipe? Or are you,
 sadly, on
 a system that doesn't do that?

 Richard





-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Lyx and selinux

2007-04-19 Thread christian . ridderstrom

On Wed, 18 Apr 2007, Jim Rockford wrote:

Anyone else encountered this with Lyx and linux?  I'm not really savvy 
enough to know what selinux is really doing for me, but if I had my 
druthers I wouldn't disable it completely for the sake of a (admittedly 
great) document processing program!


If you are not using your machine for very sensitive work, I don't think 
you need to use security-enhanced Linux.


https://www.nsa.gov/selinux/info/faq.cfm

(It would still be good if LyX worked well with SELinux)

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-19 Thread Abdelrazak Younes

Bob Lounsbury wrote:


Well, after hours and hours and hours of compiling it seems I've come to the
same result as Bennett. When compiling LyX1.5.0svn I get an error saying qt
4 library not found !.


Is it after './autogen.sh' or after './configure'?
In any case, I guess there should be some log file in the trunk 
directory. Could you please send that log(s) to the devel list? 
Hopefully someone will solve the problem.


Thanks a lot for your effort,
Abdel.



Re: [announce] Windows development snaphot for LyX 1.5 (15-04-2007)

2007-04-19 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], Uwe Stöhr 
[EMAIL PROTECTED] wrote.


[...]
The new Update installer version allows you to update your existing LyX 
installation to the latest version. To use this installer you must have 
my last development snaphot LyX 1.5svn-09-04-2007 installed.

[...]

After updating using this installer I now have problems with converting 
images. For example, when trying to use pdflatex to view the help 
document 'EmbeddedObjects.lyx' I get 'No information for converting xpm 
format files to png. Define a converter in preferences'. This also 
happens with documents of my own that contain images. Everything was 
working properly using the 09-04-2007 snapshot. The same problem occurs 
if I try to view a DVI.


Keep up the good work, it is greatly appreciated.

Regards,
Nick.

--
Nick Hopton and Anne Hopton
Caversham, Reading, England
[EMAIL PROTECTED]



Re: Lyx and selinux

2007-04-19 Thread José Matos
On Thursday 19 April 2007 4:48:49 am Jim Rockford wrote:
 Lyx version:  1.4.4
 OS:  Linux Fedora Core 6 (64 bit)

 I had quite a rough time getting Lyx to view my document as PDF or DVI. 
 I kept getting errors related to the image conversions, errors like

 -
 convert: zlib error
 /usr/share/lyx/scripts/convertDefault.py ERROR
 Execution of convert failed
 FAILED to find the default font: ' ', 'Sans'
 --

 I had zlib installed, and seemingly everything else necessary.  I finally
 discovered an unholy intrusion of the selinux (security enhanced linux)
 policy.  By manually disabling selinux (System-Administration-Security
 Level and Firewall) I was able to get all of these problems to magically
 disappear, and Lyx now seems
 to function flawlessly.

  I am using Fedora 6 as well. :-)

 Anyone else encountered this with Lyx and linux?  I'm not really savvy
 enough to know what selinux is really doing for me, but if I had my
 druthers I wouldn't disable it completely for the sake of a (admittedly
 great) document processing program!  Perhaps someone can tell me how to
 allow Lyx to access
 certain libraries without raising some sort of security flag or
 encountering permission problems.

  Please fill a bugzilla entry for Fedora in the lyx component. Rex Dieter, 
Fedora packager of lyx, is very responsive and he reads this list often but a 
bugzilla entry will be easier to track. I am sending him this message CC'ed.

  FWIW I suspect that this is related with python .pyc or .pyo's files and 
their interaction with selinux, as discussed yesterday in fedora's list.

 Thanks,
 Jim

-- 
José Abílio


Re: Lyx and selinux

2007-04-19 Thread José Matos
On Thursday 19 April 2007 8:30:58 am [EMAIL PROTECTED] wrote:
 If you are not using your machine for very sensitive work, I don't think
 you need to use security-enhanced Linux.

  Could you tell that to windows users who have malware and spyware? ;-)

  I consider my files to be sensitive data, not most of them but at least some 
of them. The purpose of selinux is to give another level of protection so a 
security-enhanced system is always a good thing. :-)

 https://www.nsa.gov/selinux/info/faq.cfm

 (It would still be good if LyX worked well with SELinux)

  I agree.

 /Christian

-- 
José Abílio


Fast way to insert citations?

2007-04-19 Thread Tobias Krause

Hi,

usually when I insert a citation I already have the complete BibTeX-Key 
in the clipboard - is there a faster way to insert the citation than 
clicking Insert - Citation,...?


Regards, Toby


Re: Fast way to insert citations?

2007-04-19 Thread Abdelrazak Younes

Tobias Krause wrote:

Hi,

usually when I insert a citation I already have the complete BibTeX-Key 
in the clipboard - is there a faster way to insert the citation than 
clicking Insert - Citation,...?


If you mean without the mouse, yes, it's possible:

Alt-i c
optional step: type the first letter to speedup this operation.
Down arrow until your desired citation is selected.
Enter
Enter.

In 1.5, it will be even faster.

Abdel.



Re: Fast way to insert citations?

2007-04-19 Thread Tim Michelsen

Hello


clicking Insert - Citation,...?

Why do you consider this as slow?
ALT+E - Z, then select or search for the citation - OK.
Isn't that fast enough?


Re: Fast way to insert citations?

2007-04-19 Thread Tim Michelsen

optional step: type the first letter to speedup this operation.
Down arrow until your desired citation is selected.

And don't forget the search function in the very dialog.


Re: Lyx and selinux

2007-04-19 Thread Helge Hafting

José Matos wrote:

On Thursday 19 April 2007 8:30:58 am [EMAIL PROTECTED] wrote:
  

If you are not using your machine for very sensitive work, I don't think
you need to use security-enhanced Linux.



  Could you tell that to windows users who have malware and spyware? ;-)
  

Even plain linux is already much safer than windows. There are
reasons that linux desktops aren't full of malware and spyware.
And no - windows being the more common desktop is not the
biggest reason.

Windows is _designed_ with security holes like  executing code
from websites or email messages by default - for users that generally
have admin privileges.   They need privileges, or common programs will fail.
In that world, people think that an up to date virus scanner is
something every responsible computer owner should have, even though
such a thing only ever catch bad stuff after the fact. Also, the OS have
no package database and so no idea about what files are supposed to be 
there,

nor their checksums.  No clean uninstall and people think it is normal to
reinstall now and then to clean up and regain performance!

Linux is not like that.  Code generally don't run unless you install it.
The user account used for daily work don't have admin privileges.
And the email software generally don't run attachments. 
Virus scanners are unnecessary - as virus technology just won't work.

Perfect uninstalls and verification by file checksums are possible, at
least on some distributions. I have only ever reinstalled linux because
of a dead disk - and probably won't need to do that again thanks to raid-1.

  I consider my files to be sensitive data, not most of them but at least some 
of them. The purpose of selinux is to give another level of protection so a 
security-enhanced system is always a good thing. :-)


  

https://www.nsa.gov/selinux/info/faq.cfm

(It would still be good if LyX worked well with SELinux)



  I agree.
  

Sure, nothing wrong with that.  But it seems to me that the problem must
be with SELinux in this case.  Once installed, LyX doesn't need special
privileges.  It needs access to the display, the printers, temp 
directories,

latex, a great variety of fonts, viewers and images conversion programs.

SELinux should not deny any of this - it is all normal end-user 
activities.


Helge Hafting



Re: Fast way to insert citations?

2007-04-19 Thread Abdelrazak Younes

Tobias Krause wrote:

Hi Abdel,

If you mean without the mouse, yes, it's possible:

Alt-i c
optional step: type the first letter to speedup this operation.
Down arrow until your desired citation is selected.
Enter
Enter.


thanks for your answer but this is not what I meant 'cause this is 
they way I do it right now but this still take some time: in the 
German version of I have to type


Alt-e
z
Alt-s (to focus the search field)
Ctrl-v (to insert the BibTeX-Key, arrows are not an option because 
there are almost 300 entries in the database)

Alt-V (to search for the item)
Enter
Enter

since there are approximately ~10 citations per page this just gets 
annoying...


I was thinking of something analog to the way of inserting a footnote: 
mark the text press Alt-e f and the text is put in a footnote..


I see, unfortunately, there is no such thing. Please put an enhancement 
request in bugzilla.


The good news is that it will be a bit faster in 1.5 were the citation 
dialog has been redesigned with search as type feature. So you'll have 
at least 2 less operations:

Alt-i
c
Alt-f (to focus the find field)
Alt-v (to focus the Available Citation list)
Enter

Maybe we could also map the Enter key in the find field to avoid the 
Alt-v step. I'll see what I can do.


Abdel.



Math alias

2007-04-19 Thread Julio Rojas

Is there any way I can create a custom function in a math environment?

I'm writing a lot of formulas that basically have the same style for variables:
\underset{\sim}{I}
\underset{\sim}{P_1}

What I would like is to type (within LyX math environment):
\fuzzy

And that it shows an underset with wiggly line on the bottom.

So? Can I?

Thx

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Math alias

2007-04-19 Thread Stefan Schimanski



Is there any way I can create a custom function in a math environment?

I'm writing a lot of formulas that basically have the same style  
for variables:

\underset{\sim}{I}
\underset{\sim}{P_1}

What I would like is to type (within LyX math environment):
\fuzzy

And that it shows an underset with wiggly line on the bottom.

So? Can I?


\newcommand{\fuzzy}[1]{\underset{\sim}{#1}}

Select it and press Ctrl-m

You get a math macro (also documented in the documentation). You can  
then use \fuzzy in your formulas.


Schimmi


PGP.sig
Description: Signierter Teil der Nachricht


Re: Math alias

2007-04-19 Thread Julio Rojas

Thanx a lot Stefan... I was just looking in the wiki with words other
than macro... Of course, nothing showed up... :D

On 4/19/07, Stefan Schimanski [EMAIL PROTECTED] wrote:


 Is there any way I can create a custom function in a math environment?

 I'm writing a lot of formulas that basically have the same style
 for variables:
 \underset{\sim}{I}
 \underset{\sim}{P_1}

 What I would like is to type (within LyX math environment):
 \fuzzy

 And that it shows an underset with wiggly line on the bottom.

 So? Can I?

\newcommand{\fuzzy}[1]{\underset{\sim}{#1}}

Select it and press Ctrl-m

You get a math macro (also documented in the documentation). You can
then use \fuzzy in your formulas.

Schimmi





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Lyx and selinux

2007-04-19 Thread christian . ridderstrom

On Thu, 19 Apr 2007, Helge Hafting wrote:


  If you are not using your machine for very sensitive work, I don't think
  you need to use security-enhanced Linux.
 


   Could you tell that to windows users who have malware and spyware? ;-)



Even plain linux is already much safer than windows.


From a practical, real-life perspective, I agree, but -please- let us skip 

this discussion!


  (It would still be good if LyX worked well with SELinux)


Sure, nothing wrong with that.  But it seems to me that the problem must 
be with SELinux in this case.


Se let's get back on topic... Didn't he report a missing font or 
something?


/Christian

PS. I still think that he as a normal user at this time won't need 
SELinux, but having the discussion and possibly file a bugzilla entry 
won't hurt.


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: [announce] Windows development snaphot for LyX 1.5 (15-04-2007)

2007-04-19 Thread Paul A. Rubin

Nick Hopton wrote:
After updating using this installer I now have problems with converting 
images. For example, when trying to use pdflatex to view the help 
document 'EmbeddedObjects.lyx' I get 'No information for converting xpm 
format files to png. Define a converter in preferences'. This also 
happens with documents of my own that contain images. Everything was 
working properly using the 09-04-2007 snapshot. The same problem occurs 
if I try to view a DVI.


The update didn't screw up anything for me; I can view 
EmbeddedObjects.lyx as either DVI or PDF.  Is the path to ImageMagick on 
Tools - Preferences... - Paths - PATH prefix?


/Paul



[Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-19 Thread Bob Lounsbury
On 4/19/07 1:53 AM, Abdelrazak Younes [EMAIL PROTECTED] wrote:

 Bob Lounsbury wrote:
 
 Well, after hours and hours and hours of compiling it seems I've come to the
 same result as Bennett. When compiling LyX1.5.0svn I get an error saying qt
 4 library not found !.
 
 Is it after './autogen.sh' or after './configure'?
 In any case, I guess there should be some log file in the trunk
 directory. Could you please send that log(s) to the devel list?
 Hopefully someone will solve the problem.
 
 Thanks a lot for your effort,
 Abdel.

This message was after ./configure.

Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from source
with the same commands to see if I can compile LyX1.5.0 with either of
these. I know there is a precompiled Qt4.2.3 package for mac, but I just
want to see if I can make it work myself from source. If I can't compile
LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly compiling Qt.
However, if I can compile LyX1.5.0 with Qt4.2.3 but not with Qt4.3.0 then
I'll assume there is potentially an LyX issue. Any further suggestions?

Bob




Re: Fast way to insert citations?

2007-04-19 Thread Richard Heck
Tobias Krause wrote:
 usually when I insert a citation I already have the complete
 BibTeX-Key in the clipboard - is there a faster way to insert the
 citation than clicking Insert - Citation,...?
Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type citation-insert  and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.

That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Fast way to insert citations?

2007-04-19 Thread Tobias Krause

Hi Richard,


Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type citation-insert  and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.
  


thank! Exactly what I was looking for (still one key stroke would be 
better but this is already great!).



That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?
  
No, I can not use the lyxpipe for two reasons: I got the keys in 
freemind and freemind does not support pushing - there would be 
workarounds with small and quickly programmed things but I guess 
WinVista (which I have to use for some other reasons) is not the perfect 
environment to use the lyxpipe...


Regards, Toby


Re: Fast way to insert citations?

2007-04-19 Thread Yu, James

Hi Richard,

I had the exact same question as Tobias'.

In pure Windows environment (without cygwin), the communication between 
the Java-based JabRef and Window-based LyX is not possible (or not 
available yet). So, the immediate question is that: once in the JabRef 
we select a set of citations and copy it to the system clipboard, how do 
we quickly and agilely insert it to the LyX.


Originally, I thought there could be a simple text field in the citation 
insertion dialog, something like insert from clipboard, which would 
take whatever string in the system clipboard and insert it to the Lyx. I 
am wondering whether this approach was ever considered by the LyX team.


Anyway, I am going to try out your method. Hope it serves the same 
purpose nicely.


Thanks,

James

Richard Heck wrote:

Tobias Krause wrote:

usually when I insert a citation I already have the complete
BibTeX-Key in the clipboard - is there a faster way to insert the
citation than clicking Insert - Citation,...?

Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type citation-insert  and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.

That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?

Richard



Re: Fast way to insert citations?

2007-04-19 Thread Richard Heck

It would be possible for someone to write the necessary code to get
reference pushing to work under windows, and there are work-arounds that
have been discussed in the list---maybe it was the devel
list---recently. How hard the code would be isn't obvious to me, but I
don't use Windows and so obviously can't do it myself.

Richard

Yu, James wrote:
 Hi Richard,

 I had the exact same question as Tobias'.

 In pure Windows environment (without cygwin), the communication
 between the Java-based JabRef and Window-based LyX is not possible (or
 not available yet). So, the immediate question is that: once in the
 JabRef we select a set of citations and copy it to the system
 clipboard, how do we quickly and agilely insert it to the LyX.

 Originally, I thought there could be a simple text field in the
 citation insertion dialog, something like insert from clipboard,
 which would take whatever string in the system clipboard and insert it
 to the Lyx. I am wondering whether this approach was ever considered
 by the LyX team.

 Anyway, I am going to try out your method. Hope it serves the same
 purpose nicely.

 Thanks,

 James

 Richard Heck wrote:
 Tobias Krause wrote:
 usually when I insert a citation I already have the complete
 BibTeX-Key in the clipboard - is there a faster way to insert the
 citation than clicking Insert - Citation,...?
 Use the mini-buffer. The first time, you'll have to hit alt-x to focus
 it, type citation-insert  and then paste the key. But the next time,
 you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
 key), and paste. Of course, if you use the mini-buffer for something
 else, you may have to up-arrow a few more times. But it's faster than
 what you're doing.

 That said: If you've got the key in the clipboard...did you get it from
 somewhere that could push it through the lyxpipe? Or are you, sadly, on
 a system that doesn't do that?

 Richard



-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-19 Thread Patrick De Visschere


On Apr 19, 2007, at 6:04 PM, Bob Lounsbury wrote:


On 4/19/07 1:53 AM, Abdelrazak Younes [EMAIL PROTECTED] wrote:


Bob Lounsbury wrote:

Well, after hours and hours and hours of compiling it seems I've  
come to the
same result as Bennett. When compiling LyX1.5.0svn I get an error  
saying qt

4 library not found !.


Is it after './autogen.sh' or after './configure'?
In any case, I guess there should be some log file in the trunk
directory. Could you please send that log(s) to the devel list?
Hopefully someone will solve the problem.

Thanks a lot for your effort,
Abdel.


This message was after ./configure.

Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from  
source

with the same commands to see if I can compile LyX1.5.0 with either of
these. I know there is a precompiled Qt4.2.3 package for mac, but I  
just
want to see if I can make it work myself from source. If I can't  
compile
LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly  
compiling Qt.
However, if I can compile LyX1.5.0 with Qt4.2.3 but not with  
Qt4.3.0 then
I'll assume there is potentially an LyX issue. Any further  
suggestions?


Bob


I've compiled QT4.2.3 and LyX1.5.0svn without problems a few days ago  
on a (PPC) mac.

pdv


Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-19 Thread Bob Lounsbury
On 4/19/07 11:53 AM, Patrick De Visschere [EMAIL PROTECTED] wrote:

 
 On Apr 19, 2007, at 6:04 PM, Bob Lounsbury wrote:
 
 On 4/19/07 1:53 AM, Abdelrazak Younes [EMAIL PROTECTED] wrote:
 
 Bob Lounsbury wrote:
 
 Well, after hours and hours and hours of compiling it seems I've
 come to the
 same result as Bennett. When compiling LyX1.5.0svn I get an error
 saying qt
 4 library not found !.
 
 Is it after './autogen.sh' or after './configure'?
 In any case, I guess there should be some log file in the trunk
 directory. Could you please send that log(s) to the devel list?
 Hopefully someone will solve the problem.
 
 Thanks a lot for your effort,
 Abdel.
 
 This message was after ./configure.
 
 Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from
 source
 with the same commands to see if I can compile LyX1.5.0 with either of
 these. I know there is a precompiled Qt4.2.3 package for mac, but I
 just
 want to see if I can make it work myself from source. If I can't
 compile
 LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly
 compiling Qt.
 However, if I can compile LyX1.5.0 with Qt4.2.3 but not with
 Qt4.3.0 then
 I'll assume there is potentially an LyX issue. Any further
 suggestions?
 
 Bob
 
 
 I've compiled QT4.2.3 and LyX1.5.0svn without problems a few days ago
 on a (PPC) mac.
 pdv


If you don't mind. What were your ./configure commands for both Qt4.2.3 and
LyX1.5.0svn?

Bob




Re: Fast way to insert citations?

2007-04-19 Thread Yu, James

Hi Richard,

I know of the discussion---actually I raised that question recently. But 
using a third helper utility to bridge Lyx and a bib management app is 
one thing,  having a quick way (what Tobias said one-key-stroke) to 
insert citations from clipboard is another.


I think insert-citation-in-one-key-stroke method would be a very 
useful, general feature, no matter what OS you are in.


Thanks for providing the command buffer method. I tried it. It works 
well. I am thinking if LyX could have a command 
citation-insert-from-clipboard, where you don't need to append 
literally the citation key list, it also would be great.


Thanks,

James



Richard Heck wrote:

It would be possible for someone to write the necessary code to get
reference pushing to work under windows, and there are work-arounds that
have been discussed in the list---maybe it was the devel
list---recently. How hard the code would be isn't obvious to me, but I
don't use Windows and so obviously can't do it myself.

Richard

Yu, James wrote:

Hi Richard,

I had the exact same question as Tobias'.

In pure Windows environment (without cygwin), the communication
between the Java-based JabRef and Window-based LyX is not possible (or
not available yet). So, the immediate question is that: once in the
JabRef we select a set of citations and copy it to the system
clipboard, how do we quickly and agilely insert it to the LyX.

Originally, I thought there could be a simple text field in the
citation insertion dialog, something like insert from clipboard,
which would take whatever string in the system clipboard and insert it
to the Lyx. I am wondering whether this approach was ever considered
by the LyX team.

Anyway, I am going to try out your method. Hope it serves the same
purpose nicely.

Thanks,

James

Richard Heck wrote:

Tobias Krause wrote:

usually when I insert a citation I already have the complete
BibTeX-Key in the clipboard - is there a faster way to insert the
citation than clicking Insert - Citation,...?

Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type citation-insert  and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.

That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?

Richard






Re: Fast way to insert citations?

2007-04-19 Thread Richard Heck

Yes, I can see that. Can you add a bugzilla request? I take it the idea
would be to have a really, really simple dialog: You enter the key,
period. Maybe we could also allow entering the before, after, etc. But
mostly it'd be for quick entries of the key.

This would not be hard to do. The Model-View-Controller framework sees
to that.

rh

Yu, James wrote:
 Hi Richard,

 I know of the discussion---actually I raised that question recently.
 But using a third helper utility to bridge Lyx and a bib management
 app is one thing,  having a quick way (what Tobias said
 one-key-stroke) to insert citations from clipboard is another.

 I think insert-citation-in-one-key-stroke method would be a very
 useful, general feature, no matter what OS you are in.

 Thanks for providing the command buffer method. I tried it. It works
 well. I am thinking if LyX could have a command
 citation-insert-from-clipboard, where you don't need to append
 literally the citation key list, it also would be great.

 Thanks,

 James



 Richard Heck wrote:
 It would be possible for someone to write the necessary code to get
 reference pushing to work under windows, and there are work-arounds that
 have been discussed in the list---maybe it was the devel
 list---recently. How hard the code would be isn't obvious to me, but I
 don't use Windows and so obviously can't do it myself.

 Richard

 Yu, James wrote:
 Hi Richard,

 I had the exact same question as Tobias'.

 In pure Windows environment (without cygwin), the communication
 between the Java-based JabRef and Window-based LyX is not possible (or
 not available yet). So, the immediate question is that: once in the
 JabRef we select a set of citations and copy it to the system
 clipboard, how do we quickly and agilely insert it to the LyX.

 Originally, I thought there could be a simple text field in the
 citation insertion dialog, something like insert from clipboard,
 which would take whatever string in the system clipboard and insert it
 to the Lyx. I am wondering whether this approach was ever considered
 by the LyX team.

 Anyway, I am going to try out your method. Hope it serves the same
 purpose nicely.

 Thanks,

 James

 Richard Heck wrote:
 Tobias Krause wrote:
 usually when I insert a citation I already have the complete
 BibTeX-Key in the clipboard - is there a faster way to insert the
 citation than clicking Insert - Citation,...?
 Use the mini-buffer. The first time, you'll have to hit alt-x to focus
 it, type citation-insert  and then paste the key. But the next time,
 you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight
 the
 key), and paste. Of course, if you use the mini-buffer for something
 else, you may have to up-arrow a few more times. But it's faster than
 what you're doing.

 That said: If you've got the key in the clipboard...did you get it
 from
 somewhere that could push it through the lyxpipe? Or are you,
 sadly, on
 a system that doesn't do that?

 Richard





-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Lyx and selinux

2007-04-19 Thread christian . ridderstrom

On Wed, 18 Apr 2007, Jim Rockford wrote:

Anyone else encountered this with Lyx and linux?  I'm not really savvy 
enough to know what selinux is really doing for me, but if I had my 
druthers I wouldn't disable it completely for the sake of a (admittedly 
great) document processing program!


If you are not using your machine for very sensitive work, I don't think 
you need to use security-enhanced Linux.


https://www.nsa.gov/selinux/info/faq.cfm

(It would still be good if LyX worked well with SELinux)

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-19 Thread Abdelrazak Younes

Bob Lounsbury wrote:


Well, after hours and hours and hours of compiling it seems I've come to the
same result as Bennett. When compiling LyX1.5.0svn I get an error saying "qt
4 library not found !".


Is it after './autogen.sh' or after './configure'?
In any case, I guess there should be some log file in the trunk 
directory. Could you please send that log(s) to the devel list? 
Hopefully someone will solve the problem.


Thanks a lot for your effort,
Abdel.



Re: [announce] Windows development snaphot for LyX 1.5 (15-04-2007)

2007-04-19 Thread Nick Hopton
In a recent message <[EMAIL PROTECTED]>, Uwe Stöhr 
<[EMAIL PROTECTED]> wrote.


[...]
The new Update installer version allows you to update your existing LyX 
installation to the latest version. To use this installer you must have 
my last development snaphot LyX 1.5svn-09-04-2007 installed.

[...]

After updating using this installer I now have problems with converting 
images. For example, when trying to use pdflatex to view the help 
document 'EmbeddedObjects.lyx' I get 'No information for converting xpm 
format files to png. Define a converter in preferences'. This also 
happens with documents of my own that contain images. Everything was 
working properly using the 09-04-2007 snapshot. The same problem occurs 
if I try to view a DVI.


Keep up the good work, it is greatly appreciated.

Regards,
Nick.

--
Nick Hopton and Anne Hopton
Caversham, Reading, England
<[EMAIL PROTECTED]>



Re: Lyx and selinux

2007-04-19 Thread José Matos
On Thursday 19 April 2007 4:48:49 am Jim Rockford wrote:
> Lyx version:  1.4.4
> OS:  Linux Fedora Core 6 (64 bit)
>
> I had quite a rough time getting Lyx to "view" my document as PDF or DVI. 
> I kept getting errors related to the image conversions, errors like
>
> -
> convert: zlib error
> /usr/share/lyx/scripts/convertDefault.py ERROR
> Execution of "convert" failed
> FAILED to find the default font: ' ', 'Sans'
> --
>
> I had zlib installed, and seemingly everything else necessary.  I finally
> discovered an unholy intrusion of the selinux (security enhanced linux)
> policy.  By manually disabling selinux (System->Administration->Security
> Level and Firewall) I was able to get all of these problems to magically
> disappear, and Lyx now seems
> to function flawlessly.

  I am using Fedora 6 as well. :-)

> Anyone else encountered this with Lyx and linux?  I'm not really savvy
> enough to know what selinux is really doing for me, but if I had my
> druthers I wouldn't disable it completely for the sake of a (admittedly
> great) document processing program!  Perhaps someone can tell me how to
> allow Lyx to access
> certain libraries without raising some sort of security flag or
> encountering permission problems.

  Please fill a bugzilla entry for Fedora in the lyx component. Rex Dieter, 
Fedora packager of lyx, is very responsive and he reads this list often but a 
bugzilla entry will be easier to track. I am sending him this message CC'ed.

  FWIW I suspect that this is related with python .pyc or .pyo's files and 
their interaction with selinux, as discussed yesterday in fedora's list.

> Thanks,
> Jim

-- 
José Abílio


Re: Lyx and selinux

2007-04-19 Thread José Matos
On Thursday 19 April 2007 8:30:58 am [EMAIL PROTECTED] wrote:
> If you are not using your machine for very sensitive work, I don't think
> you need to use security-enhanced Linux.

  Could you tell that to windows users who have malware and spyware? ;-)

  I consider my files to be sensitive data, not most of them but at least some 
of them. The purpose of selinux is to give another level of protection so a 
security-enhanced system is always a good thing. :-)

> https://www.nsa.gov/selinux/info/faq.cfm
>
> (It would still be good if LyX worked well with SELinux)

  I agree.

> /Christian

-- 
José Abílio


Fast way to insert citations?

2007-04-19 Thread Tobias Krause

Hi,

usually when I insert a citation I already have the complete BibTeX-Key 
in the clipboard - is there a faster way to insert the citation than 
clicking Insert -> Citation,...?


Regards, Toby


Re: Fast way to insert citations?

2007-04-19 Thread Abdelrazak Younes

Tobias Krause wrote:

Hi,

usually when I insert a citation I already have the complete BibTeX-Key 
in the clipboard - is there a faster way to insert the citation than 
clicking Insert -> Citation,...?


If you mean without the mouse, yes, it's possible:

Alt-i c
optional step: type the first letter to speedup this operation.
Down arrow until your desired citation is selected.
Enter
Enter.

In 1.5, it will be even faster.

Abdel.



Re: Fast way to insert citations?

2007-04-19 Thread Tim Michelsen

Hello


clicking Insert -> Citation,...?

Why do you consider this as slow?
ALT+E - Z, then select or search for the citation -> OK.
Isn't that fast enough?


Re: Fast way to insert citations?

2007-04-19 Thread Tim Michelsen

optional step: type the first letter to speedup this operation.
Down arrow until your desired citation is selected.

And don't forget the search function in the very dialog.


Re: Lyx and selinux

2007-04-19 Thread Helge Hafting

José Matos wrote:

On Thursday 19 April 2007 8:30:58 am [EMAIL PROTECTED] wrote:
  

If you are not using your machine for very sensitive work, I don't think
you need to use security-enhanced Linux.



  Could you tell that to windows users who have malware and spyware? ;-)
  

Even plain linux is already much safer than windows. There are
reasons that linux desktops aren't full of malware and spyware.
And no - windows being the more common desktop is not the
biggest reason.

Windows is _designed_ with security holes like  executing code
from websites or email messages by default - for users that generally
have admin privileges.   They need privileges, or common programs will fail.
In that world, people think that an up to date virus scanner is
something every responsible computer owner should have, even though
such a thing only ever catch bad stuff after the fact. Also, the OS have
no package database and so no idea about what files are supposed to be 
there,

nor their checksums.  No clean uninstall and people think it is normal to
reinstall now and then to "clean up" and regain performance!

Linux is not like that.  Code generally don't run unless you install it.
The user account used for daily work don't have admin privileges.
And the email software generally don't run attachments. 
Virus scanners are unnecessary - as virus technology just won't work.

Perfect uninstalls and verification by file checksums are possible, at
least on some distributions. I have only ever reinstalled linux because
of a dead disk - and probably won't need to do that again thanks to raid-1.

  I consider my files to be sensitive data, not most of them but at least some 
of them. The purpose of selinux is to give another level of protection so a 
security-enhanced system is always a good thing. :-)


  

https://www.nsa.gov/selinux/info/faq.cfm

(It would still be good if LyX worked well with SELinux)



  I agree.
  

Sure, nothing wrong with that.  But it seems to me that the problem must
be with SELinux in this case.  Once installed, LyX doesn't need special
privileges.  It needs access to the display, the printers, temp 
directories,

latex, a great variety of fonts, viewers and images conversion programs.

SELinux should not deny any of this - it is all "normal end-user 
activities".


Helge Hafting



Re: Fast way to insert citations?

2007-04-19 Thread Abdelrazak Younes

Tobias Krause wrote:

Hi Abdel,

If you mean without the mouse, yes, it's possible:

Alt-i c
optional step: type the first letter to speedup this operation.
Down arrow until your desired citation is selected.
Enter
Enter.


thanks for your answer but this is not what I meant 'cause this is 
they way I do it right now but this still take some time: in the 
German version of I have to type


Alt-e
z
Alt-s (to focus the search field)
Ctrl-v (to insert the BibTeX-Key, arrows are not an option because 
there are almost 300 entries in the database)

Alt-V (to search for the item)
Enter
Enter

since there are approximately ~10 citations per page this just gets 
annoying...


I was thinking of something analog to the way of inserting a footnote: 
mark the text press Alt-e f and the text is put in a footnote..


I see, unfortunately, there is no such thing. Please put an enhancement 
request in bugzilla.


The good news is that it will be a bit faster in 1.5 were the citation 
dialog has been redesigned with "search as type" feature. So you'll have 
at least 2 less operations:

Alt-i
c
Alt-f (to focus the find field)
Alt-v (to focus the "Available Citation" list)
Enter

Maybe we could also map the Enter key in the find field to avoid the 
Alt-v step. I'll see what I can do.


Abdel.



Math alias

2007-04-19 Thread Julio Rojas

Is there any way I can create a custom function in a math environment?

I'm writing a lot of formulas that basically have the same style for variables:
\underset{\sim}{I}
\underset{\sim}{P_1}

What I would like is to type (within LyX math environment):
\fuzzy

And that it shows an underset with wiggly line on the bottom.

So? Can I?

Thx

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Math alias

2007-04-19 Thread Stefan Schimanski



Is there any way I can create a custom function in a math environment?

I'm writing a lot of formulas that basically have the same style  
for variables:

\underset{\sim}{I}
\underset{\sim}{P_1}

What I would like is to type (within LyX math environment):
\fuzzy

And that it shows an underset with wiggly line on the bottom.

So? Can I?


\newcommand{\fuzzy}[1]{\underset{\sim}{#1}}

Select it and press Ctrl-m

You get a math macro (also documented in the documentation). You can  
then use \fuzzy in your formulas.


Schimmi


PGP.sig
Description: Signierter Teil der Nachricht


Re: Math alias

2007-04-19 Thread Julio Rojas

Thanx a lot Stefan... I was just looking in the wiki with words other
than "macro"... Of course, nothing showed up... :D

On 4/19/07, Stefan Schimanski <[EMAIL PROTECTED]> wrote:


> Is there any way I can create a custom function in a math environment?
>
> I'm writing a lot of formulas that basically have the same style
> for variables:
> \underset{\sim}{I}
> \underset{\sim}{P_1}
>
> What I would like is to type (within LyX math environment):
> \fuzzy
>
> And that it shows an underset with wiggly line on the bottom.
>
> So? Can I?

\newcommand{\fuzzy}[1]{\underset{\sim}{#1}}

Select it and press Ctrl-m

You get a math macro (also documented in the documentation). You can
then use \fuzzy in your formulas.

Schimmi





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Lyx and selinux

2007-04-19 Thread christian . ridderstrom

On Thu, 19 Apr 2007, Helge Hafting wrote:


>  If you are not using your machine for very sensitive work, I don't think
>  you need to use security-enhanced Linux.
> 


   Could you tell that to windows users who have malware and spyware? ;-)



Even plain linux is already much safer than windows.


From a practical, real-life perspective, I agree, but -please- let us skip 

this discussion!


>  (It would still be good if LyX worked well with SELinux)


Sure, nothing wrong with that.  But it seems to me that the problem must 
be with SELinux in this case.


Se let's get back on topic... Didn't he report a missing font or 
something?


/Christian

PS. I still think that he as a normal user at this time won't need 
SELinux, but having the discussion and possibly file a bugzilla entry 
won't hurt.


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: [announce] Windows development snaphot for LyX 1.5 (15-04-2007)

2007-04-19 Thread Paul A. Rubin

Nick Hopton wrote:
After updating using this installer I now have problems with converting 
images. For example, when trying to use pdflatex to view the help 
document 'EmbeddedObjects.lyx' I get 'No information for converting xpm 
format files to png. Define a converter in preferences'. This also 
happens with documents of my own that contain images. Everything was 
working properly using the 09-04-2007 snapshot. The same problem occurs 
if I try to view a DVI.


The update didn't screw up anything for me; I can view 
EmbeddedObjects.lyx as either DVI or PDF.  Is the path to ImageMagick on 
Tools -> Preferences... -> Paths -> PATH prefix?


/Paul



[Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-19 Thread Bob Lounsbury
On 4/19/07 1:53 AM, "Abdelrazak Younes" <[EMAIL PROTECTED]> wrote:

> Bob Lounsbury wrote:
> 
>> Well, after hours and hours and hours of compiling it seems I've come to the
>> same result as Bennett. When compiling LyX1.5.0svn I get an error saying "qt
>> 4 library not found !".
> 
> Is it after './autogen.sh' or after './configure'?
> In any case, I guess there should be some log file in the trunk
> directory. Could you please send that log(s) to the devel list?
> Hopefully someone will solve the problem.
> 
> Thanks a lot for your effort,
> Abdel.

This message was after ./configure.

Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from source
with the same commands to see if I can compile LyX1.5.0 with either of
these. I know there is a precompiled Qt4.2.3 package for mac, but I just
want to see if I can make it work myself from source. If I can't compile
LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly compiling Qt.
However, if I can compile LyX1.5.0 with Qt4.2.3 but not with Qt4.3.0 then
I'll assume there is potentially an LyX issue. Any further suggestions?

Bob




Re: Fast way to insert citations?

2007-04-19 Thread Richard Heck
Tobias Krause wrote:
> usually when I insert a citation I already have the complete
> BibTeX-Key in the clipboard - is there a faster way to insert the
> citation than clicking Insert -> Citation,...?
Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type "citation-insert " and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.

That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Fast way to insert citations?

2007-04-19 Thread Tobias Krause

Hi Richard,


Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type "citation-insert " and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.
  


thank! Exactly what I was looking for (still one key stroke would be 
better but this is already great!).



That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?
  
No, I can not use the lyxpipe for two reasons: I got the keys in 
freemind and freemind does not support pushing - there would be 
workarounds with small and quickly programmed things but I guess 
WinVista (which I have to use for some other reasons) is not the perfect 
environment to use the lyxpipe...


Regards, Toby


Re: Fast way to insert citations?

2007-04-19 Thread Yu, James

Hi Richard,

I had the exact same question as Tobias'.

In pure Windows environment (without cygwin), the communication between 
the Java-based JabRef and Window-based LyX is not possible (or not 
available yet). So, the immediate question is that: once in the JabRef 
we select a set of citations and copy it to the system clipboard, how do 
we quickly and agilely "insert" it to the LyX.


Originally, I thought there could be a simple text field in the citation 
insertion dialog, something like "insert from clipboard", which would 
take whatever string in the system clipboard and insert it to the Lyx. I 
am wondering whether this approach was ever considered by the LyX team.


Anyway, I am going to try out your method. Hope it serves the same 
purpose nicely.


Thanks,

James

Richard Heck wrote:

Tobias Krause wrote:

usually when I insert a citation I already have the complete
BibTeX-Key in the clipboard - is there a faster way to insert the
citation than clicking Insert -> Citation,...?

Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type "citation-insert " and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.

That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?

Richard



Re: Fast way to insert citations?

2007-04-19 Thread Richard Heck

It would be possible for someone to write the necessary code to get
reference pushing to work under windows, and there are work-arounds that
have been discussed in the list---maybe it was the devel
list---recently. How hard the code would be isn't obvious to me, but I
don't use Windows and so obviously can't do it myself.

Richard

Yu, James wrote:
> Hi Richard,
>
> I had the exact same question as Tobias'.
>
> In pure Windows environment (without cygwin), the communication
> between the Java-based JabRef and Window-based LyX is not possible (or
> not available yet). So, the immediate question is that: once in the
> JabRef we select a set of citations and copy it to the system
> clipboard, how do we quickly and agilely "insert" it to the LyX.
>
> Originally, I thought there could be a simple text field in the
> citation insertion dialog, something like "insert from clipboard",
> which would take whatever string in the system clipboard and insert it
> to the Lyx. I am wondering whether this approach was ever considered
> by the LyX team.
>
> Anyway, I am going to try out your method. Hope it serves the same
> purpose nicely.
>
> Thanks,
>
> James
>
> Richard Heck wrote:
>> Tobias Krause wrote:
>>> usually when I insert a citation I already have the complete
>>> BibTeX-Key in the clipboard - is there a faster way to insert the
>>> citation than clicking Insert -> Citation,...?
>> Use the mini-buffer. The first time, you'll have to hit alt-x to focus
>> it, type "citation-insert " and then paste the key. But the next time,
>> you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
>> key), and paste. Of course, if you use the mini-buffer for something
>> else, you may have to up-arrow a few more times. But it's faster than
>> what you're doing.
>>
>> That said: If you've got the key in the clipboard...did you get it from
>> somewhere that could push it through the lyxpipe? Or are you, sadly, on
>> a system that doesn't do that?
>>
>> Richard
>>


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-19 Thread Patrick De Visschere


On Apr 19, 2007, at 6:04 PM, Bob Lounsbury wrote:


On 4/19/07 1:53 AM, "Abdelrazak Younes" <[EMAIL PROTECTED]> wrote:


Bob Lounsbury wrote:

Well, after hours and hours and hours of compiling it seems I've  
come to the
same result as Bennett. When compiling LyX1.5.0svn I get an error  
saying "qt

4 library not found !".


Is it after './autogen.sh' or after './configure'?
In any case, I guess there should be some log file in the trunk
directory. Could you please send that log(s) to the devel list?
Hopefully someone will solve the problem.

Thanks a lot for your effort,
Abdel.


This message was after ./configure.

Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from  
source

with the same commands to see if I can compile LyX1.5.0 with either of
these. I know there is a precompiled Qt4.2.3 package for mac, but I  
just
want to see if I can make it work myself from source. If I can't  
compile
LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly  
compiling Qt.
However, if I can compile LyX1.5.0 with Qt4.2.3 but not with  
Qt4.3.0 then
I'll assume there is potentially an LyX issue. Any further  
suggestions?


Bob


I've compiled QT4.2.3 and LyX1.5.0svn without problems a few days ago  
on a (PPC) mac.

pdv


Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-19 Thread Bob Lounsbury
On 4/19/07 11:53 AM, "Patrick De Visschere" <[EMAIL PROTECTED]> wrote:

> 
> On Apr 19, 2007, at 6:04 PM, Bob Lounsbury wrote:
> 
>> On 4/19/07 1:53 AM, "Abdelrazak Younes" <[EMAIL PROTECTED]> wrote:
>> 
>>> Bob Lounsbury wrote:
>>> 
 Well, after hours and hours and hours of compiling it seems I've
 come to the
 same result as Bennett. When compiling LyX1.5.0svn I get an error
 saying "qt
 4 library not found !".
>>> 
>>> Is it after './autogen.sh' or after './configure'?
>>> In any case, I guess there should be some log file in the trunk
>>> directory. Could you please send that log(s) to the devel list?
>>> Hopefully someone will solve the problem.
>>> 
>>> Thanks a lot for your effort,
>>> Abdel.
>> 
>> This message was after ./configure.
>> 
>> Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from
>> source
>> with the same commands to see if I can compile LyX1.5.0 with either of
>> these. I know there is a precompiled Qt4.2.3 package for mac, but I
>> just
>> want to see if I can make it work myself from source. If I can't
>> compile
>> LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly
>> compiling Qt.
>> However, if I can compile LyX1.5.0 with Qt4.2.3 but not with
>> Qt4.3.0 then
>> I'll assume there is potentially an LyX issue. Any further
>> suggestions?
>> 
>> Bob
>> 
>> 
> I've compiled QT4.2.3 and LyX1.5.0svn without problems a few days ago
> on a (PPC) mac.
> pdv


If you don't mind. What were your ./configure commands for both Qt4.2.3 and
LyX1.5.0svn?

Bob




Re: Fast way to insert citations?

2007-04-19 Thread Yu, James

Hi Richard,

I know of the discussion---actually I raised that question recently. But 
using a third helper utility to bridge Lyx and a bib management app is 
one thing,  having a quick way (what Tobias said "one-key-stroke") to 
insert citations from clipboard is another.


I think "insert-citation-in-one-key-stroke" method would be a very 
useful, general feature, no matter what OS you are in.


Thanks for providing the command buffer method. I tried it. It works 
well. I am thinking if LyX could have a command 
"citation-insert-from-clipboard", where you don't need to append 
literally the citation key list, it also would be great.


Thanks,

James



Richard Heck wrote:

It would be possible for someone to write the necessary code to get
reference pushing to work under windows, and there are work-arounds that
have been discussed in the list---maybe it was the devel
list---recently. How hard the code would be isn't obvious to me, but I
don't use Windows and so obviously can't do it myself.

Richard

Yu, James wrote:

Hi Richard,

I had the exact same question as Tobias'.

In pure Windows environment (without cygwin), the communication
between the Java-based JabRef and Window-based LyX is not possible (or
not available yet). So, the immediate question is that: once in the
JabRef we select a set of citations and copy it to the system
clipboard, how do we quickly and agilely "insert" it to the LyX.

Originally, I thought there could be a simple text field in the
citation insertion dialog, something like "insert from clipboard",
which would take whatever string in the system clipboard and insert it
to the Lyx. I am wondering whether this approach was ever considered
by the LyX team.

Anyway, I am going to try out your method. Hope it serves the same
purpose nicely.

Thanks,

James

Richard Heck wrote:

Tobias Krause wrote:

usually when I insert a citation I already have the complete
BibTeX-Key in the clipboard - is there a faster way to insert the
citation than clicking Insert -> Citation,...?

Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type "citation-insert " and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.

That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?

Richard






Re: Fast way to insert citations?

2007-04-19 Thread Richard Heck

Yes, I can see that. Can you add a bugzilla request? I take it the idea
would be to have a really, really simple dialog: You enter the key,
period. Maybe we could also allow entering the before, after, etc. But
mostly it'd be for quick entries of the key.

This would not be hard to do. The Model-View-Controller framework sees
to that.

rh

Yu, James wrote:
> Hi Richard,
>
> I know of the discussion---actually I raised that question recently.
> But using a third helper utility to bridge Lyx and a bib management
> app is one thing,  having a quick way (what Tobias said
> "one-key-stroke") to insert citations from clipboard is another.
>
> I think "insert-citation-in-one-key-stroke" method would be a very
> useful, general feature, no matter what OS you are in.
>
> Thanks for providing the command buffer method. I tried it. It works
> well. I am thinking if LyX could have a command
> "citation-insert-from-clipboard", where you don't need to append
> literally the citation key list, it also would be great.
>
> Thanks,
>
> James
>
>
>
> Richard Heck wrote:
>> It would be possible for someone to write the necessary code to get
>> reference pushing to work under windows, and there are work-arounds that
>> have been discussed in the list---maybe it was the devel
>> list---recently. How hard the code would be isn't obvious to me, but I
>> don't use Windows and so obviously can't do it myself.
>>
>> Richard
>>
>> Yu, James wrote:
>>> Hi Richard,
>>>
>>> I had the exact same question as Tobias'.
>>>
>>> In pure Windows environment (without cygwin), the communication
>>> between the Java-based JabRef and Window-based LyX is not possible (or
>>> not available yet). So, the immediate question is that: once in the
>>> JabRef we select a set of citations and copy it to the system
>>> clipboard, how do we quickly and agilely "insert" it to the LyX.
>>>
>>> Originally, I thought there could be a simple text field in the
>>> citation insertion dialog, something like "insert from clipboard",
>>> which would take whatever string in the system clipboard and insert it
>>> to the Lyx. I am wondering whether this approach was ever considered
>>> by the LyX team.
>>>
>>> Anyway, I am going to try out your method. Hope it serves the same
>>> purpose nicely.
>>>
>>> Thanks,
>>>
>>> James
>>>
>>> Richard Heck wrote:
 Tobias Krause wrote:
> usually when I insert a citation I already have the complete
> BibTeX-Key in the clipboard - is there a faster way to insert the
> citation than clicking Insert -> Citation,...?
 Use the mini-buffer. The first time, you'll have to hit alt-x to focus
 it, type "citation-insert " and then paste the key. But the next time,
 you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight
 the
 key), and paste. Of course, if you use the mini-buffer for something
 else, you may have to up-arrow a few more times. But it's faster than
 what you're doing.

 That said: If you've got the key in the clipboard...did you get it
 from
 somewhere that could push it through the lyxpipe? Or are you,
 sadly, on
 a system that doesn't do that?

 Richard

>>
>>


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto