Math Macros in grey note insets

2009-12-30 Thread Murtaza Safri
Hi
I am typing in a lot of math macros. I wanted to group them together
inside foldable box to improve readability and manageability afforded
by folding the inset box. So I put in a lot of the macros inside Lyx
grey note. However, the output has a lot of new lines and the first
line of my paragraph text starts way down on the page. I noticed from
view source that Lyx puts in an extra line break in  if
the content is a macro. Is there a way to remove the extra spacing?
Can I design a custom inset?

example source code:
---
This is the beginning of the document

\begin{lyxgreyedout}
\global\long\def\velocityY{v}

\end{lyxgreyedout}

The velocity of object is denoted by $\velocityY$
---

Notice the extra break after the macro definition.

Murtaza Safri


Re: Math Macros in grey note insets

2009-12-30 Thread Jean-Marc Lasgouttes

Le 30 déc. 09 à 09:59, Murtaza Safri a écrit :


I am typing in a lot of math macros. I wanted to group them together
inside foldable box to improve readability and manageability afforded
by folding the inset box. So I put in a lot of the macros inside Lyx
grey note. However, the output has a lot of new lines and the first
line of my paragraph text starts way down on the page. I noticed from
view source that Lyx puts in an extra line break in  if
the content is a macro. Is there a way to remove the extra spacing?
Can I design a custom inset?


Try to define a branch, and enable it. Then you can insert your macros  
in

a branch inset.

JMarc

Re: "python -m elyxer" question

2009-12-30 Thread Alex Fernandez
On Tue, Dec 29, 2009 at 8:02 PM, Joachim Osnabryg  wrote:
> Few problems are remaining:

Most of these problems should not be difficult to solve. It would be
very helpful if you sent me a sample that showed all of them, since
there are too many esoteric LyX options. You can also send any samples
privately as before, and they will be treated with the utmost
confidentiality.

A new option is the loremipsumizer: a Python script to remove any
private information. Just place it in the same directory as your
document, give it permissions as an executable file and run:
 % ./loremipsumize.py mydoc.lyx loremipsum.lyx
It generates a new version of the file retaining all format
information, but replacing any string of three or more words with
"lorem ipsum".

The script loremipsumize.py is distributed along with eLyXer on the
root directory. I tried to attach it here but lyx-users did not like
it.

> But I didn't want to go into these issues en details, in the moment, but
> give an enthused first echo. After further experimenting I'll come back
> more precisely, perhaps better on your Elyxer-users mailing list.

Perfect, that way messages are archived for reference.

> Thank you for your work on it, the bygone year!

My most sincere thanks to all eLyXer users for presenting me with such
interesting challenges, and a happy new year to all!

Alex.


Re: Math Macros in grey note insets

2009-12-30 Thread Murtaza Safri
Thanks. It works.

Murtaza

On Wed, Dec 30, 2009 at 5:46 AM, Jean-Marc Lasgouttes
 wrote:
> Le 30 déc. 09 à 09:59, Murtaza Safri a écrit :
>
>> I am typing in a lot of math macros. I wanted to group them together
>> inside foldable box to improve readability and manageability afforded
>> by folding the inset box. So I put in a lot of the macros inside Lyx
>> grey note. However, the output has a lot of new lines and the first
>> line of my paragraph text starts way down on the page. I noticed from
>> view source that Lyx puts in an extra line break in  if
>> the content is a macro. Is there a way to remove the extra spacing?
>> Can I design a custom inset?
>
> Try to define a branch, and enable it. Then you can insert your macros in
> a branch inset.
>
> JMarc


RE: Zotero to Bibtex to Lyx: A Problem not a baseball play

2009-12-30 Thread John Kane
Hi Rob, 

I did check the path as you suggest.  It looked funny but is correct. 

I guess I'll have to send a message to support.  Thank

john


--- On Tue, 12/29/09, Rob Oakes  wrote:

> From: Rob Oakes 
> Subject: RE: Zotero to Bibtex to Lyx:  A Problem not a  baseball play
> To: "John Kane" 
> Cc: lyx-users@lists.lyx.org
> Received: Tuesday, December 29, 2009, 10:23 AM
> Hi John,
> 
> Glad to hear that things are working for you.  To get
> the sync working,
> all I had to do was go to Tools -> Options -> Zotero
> /CiteULike and
> Click on "Zotero integration" box.  Make sure that the
> path to your
> Zotero database is correct (on one of my desktops, a
> Windows 7 box, it
> was filled in automatically and incorrectly).
> 
> After that, it *should* just work. (I know that I'm using
> should in a
> very meaningless and dangerous way.)  If you have
> problems, you might
> consider sending an email to the Mendeley devs at supp...@mendeley.com
> (or something like that, the correct email is on their
> website; too lazy
> to check it).
> 
> I've sent a number of complaints/feature requests and
> they've been very
> good at getting back to me.  I've never had to wait
> more than a few
> hours.  
> 
> To enable the custom citation key, go to Tools ->
> Options -> Document
> Details and then Click on "Citation Key".
> 
> One other point, keep in mind that only changes in Zotero
> are synced to
> Mendeley.  It doesn't seem to work in reverse (or at
> least not yet).
> So, if you need to change things, make sure to do it in
> Zotero.  For my
> Zotereo citations, the only bit of information I add is a
> citation key
> (since Zotero doesn't let me do that).
> 
> Even with the limitations, I've been very happy with
> Mendeley.  I've
> been working on a book project for the past few months and
> it has been
> invaluable for keeping my references and PDFs
> organized.  Throw in the
> ability to sync with Zotero (which I use to grab websites),
> the indexed
> and complete text search, the OpenOffice integration (I
> still think that
> Zotero does this better, but I'm not going to complain) and
> I've been a
> very happy camper.
> 
> If I can help with anything else, please let me know.
> 
> Cheers,
> 
> Rob
> 
> On Mon, 2009-12-28 at 15:01 -0800, John Kane wrote:
> > Hi Rob,
> > 
> > Progress report. I reinstalled Mandeley and it seems
> to be working well. I also installed a Foxfire sql manager
> extension which may or may not have cured the Qt4 SQlite
> plugin problem. The only reference I could find about it was
> on Kubuntu not Windows.
> > 
> > However, how do I get it to sync with Zotero
> properly?  It seems to have nicely imported all the
> collection names that I have in Zotero but none of the
> references!  
> > 
> > On the other hand I just had it import all the pdf's
> of journal articles I had stored in a folder and it
> performed wonderfully. :)  It's now on my watched
> folder list.  Wonderful!
> > 
> > At the moment if I can get the Mandeley-Zotero sync to
> work properly the two look to be extremely complimentary
> products.
> > 
> > Many thanks for the 
> > 
> > 
> > --- On Mon, 12/28/09, John Kane 
> wrote:
> > 
> > > From: John Kane 
> > > Subject: RE: Zotero to Bibtex to Lyx:  A
> Problem not a  baseball play
> > > To: "Rob Oakes" 
> > > Cc: lyx-users@lists.lyx.org
> > > Received: Monday, December 28, 2009, 3:40 PM
> > > Thanks Rob.  I remember looking
> > > at Mendeley just after installing Zotero and
> deciding not to
> > > try two at the same time.
> > > 
> > > I've installed Mendeley and it loads but I'm now
> getting
> > > the message:
> > > 
> > > "It appears that you have Qt installed on your
> system, but
> > > do not have
> > > the sqlite plugin installed, which Mendeley
> requires. \
> > > Please install the Qt4 sqlite plugin, in order to
> use
> > > Mendeley.
> > > If you are using a Debian-based system, such as
> Ubuntu,
> > > this is the
> > >  libqt4-sql-sqlite package, and can be
> installed with
> > > command 'apt-get install libqt4-sql-sqlite'.
> > > Alternatively,
> > > remove your system Qt libraries, and Mendeley
> will use
> > > bundled copies."
> > > 
> > > So now all I have to do if figue out if I do have
> Qt
> > > installed ( I find lots of Qt files in MikTex and
> Lyx so I
> > > must have it somewhere) and track down the
> SQlite
> > > plugin.  Closer all the time!
> > > 
> > > 
> > > 
> > > --- On Sun, 12/27/09, Rob Oakes 
> > > wrote:
> > > 
> > > > From: Rob Oakes 
> > > > Subject: RE: Zotero to Bibtex to Lyx: 
> A Problem
> > > not a  baseball play
> > > > To: "'John Kane'" 
> > > > Cc: lyx-users@lists.lyx.org
> > > > Received: Sunday, December 27, 2009, 4:55
> PM
> > > > Hi John,
> > > > 
> > > > By default, Zotero produces atrocious
> looking
> > > BibTeX. 
> > > > By far the ugliest
> > > > offenders, as you have noticed, are in the
> citation
> > > > keys.  It uses weird
> > > > character encodings (I'm frankly not even
> sure what
> > > they
> > > > are), that can'

Re: Zotero to Bibtex to Lyx: A Problem not a baseball play.

2009-12-30 Thread Paul A. Rubin

John Kane wrote:

Sorry for the last part of the subject line but I am sure that there
is some famous song (or something about a triple play. Perhaps I
should have lunch.



I'm guessing you're flashing on Tinkers to Evers to Chance.  Don't know 
about a song, but there's a poem: 
http://en.wikipedia.org/wiki/Tinkers_evers_chance#Tinkers_to_Evers_to_Chance.


And now I'm off to lunch myself.

/Paul



Re: invisible dialog box text - OSX 10.6.2 Lyx 1.6.5

2009-12-30 Thread Mark Dransfield
Sebastian Rockel  writes:

> 
> I had this once with the same configuration. Since I figured out that  
> Lyx version 1.6.5 is not recommended for OSX 10.6 (right at the  
> download page), I installed Lyx 1.6.4.2 which is working so far.
> Nevertheless the problems with 1.6.5 have disappeared now as well (I  
> have both installed on 10.6.2).
> 
> Sebastian


Tx Sebastian,
I tried going back to Lyx 1.6.4.2 but no difference. Why did the problems with
1.6.5 disappear?

Mark