Re: Blogging with LyX

2010-03-14 Thread Alex Fernandez
Hi,

On Fri, Mar 12, 2010 at 10:47 AM, Guenter Milde mi...@users.berlios.de wrote:
 Also, the choice of HTML-converter should be reconsidered:

 * elyxer is much improved and problems are fixed by its developer promply
  after reporting,

Thanks! Jack wrote me to see if his problems could be fixed; as it
turns out he was using a severely outdated version of eLyXer, due to a
confusing download page on Savannah (which has been fixed since). I am
in correspondence with him now, and trying also to get him to
reconsider the choice of HTML exporter.

Alex.


Using document title and author in fancyhdr

2010-03-14 Thread Stefan
Hello,

I am trying to use the title  author of the document as heading on 
every page. I am using article style  fancyhdr package.

I am using the command \lhead{\title} \rhead{\author} in the preamble, 
but this leads to empty headings (probably because in the preamble 
those are not filled yet). Is there any way to delay expansion of the 
\title and \author macros until shipout time at which point they have 
the right values?

Alternatively, does anyone else know an elegant solution that allows 
me to put the title and author of a document into heading? 
Needs to be automatic - no good to explicitly having to put it there

Thx a lot!



RE: Using document title and author in fancyhdr

2010-03-14 Thread Helge Hafting



-Original Message-
From: Stefan [mailto:sal-...@gmx.net]
Sent: Sun 3/14/2010 9:50 AM
To: lyx-users@lists.lyx.org
Subject: Using document title and author in fancyhdr
 
Hello,

I am trying to use the title  author of the document as heading on 
every page. I am using article style  fancyhdr package.

I am using the command \lhead{\title} \rhead{\author} in the preamble, 
but this leads to empty headings (probably because in the preamble 
those are not filled yet). Is there any way to delay expansion of the 
\title and \author macros until shipout time at which point they have 
the right values?

Alternatively, does anyone else know an elegant solution that allows 
me to put the title and author of a document into heading? 
Needs to be automatic - no good to explicitly having to put it there


If the problem is that you don't want to enter the author name two times,
put this in the preamble:

\newcommand{\myauthor}{Author name}
\newcommand{\mytitle}{Title text}

\lhead{\mytitle}
\rhead{\myauthor}

In the author field in the document, insert a tex-box and type
\myauthor
Similiar for the title, where you type \mytitle in a tex box.

Maybe not so elegant on screen, but yields perfectly good output.
If you make a document template, then you won't have to make those
tex boxes all the time. You just set author and title in the preamble,
that's it.

Helge Hafting


Re: pstricks in LyX

2010-03-14 Thread stephen's mailinglist account
On 13 March 2010 15:39, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote:
 I try to include a pstricks figure in a lyx document.
 I use ERT
 and from the example
 %%Herbert Voss:  PSTricks -- Grafik fuer TeX und LaTeX, 5. Auflage (1. Auflage
 2004)
 %%
 %%  Example 25-6-1 on page 485.



 Does somebody know what I did wrong?
 If of importance, I am using Debian Lenny

 Would this path be found
 \psset{path=pst-geo/dataII,unit=0.75cm}
 or do I have to add the texlive2009 path before path=pst-geo?

 Would appreciate help very much,

 Wolfgang

can you get the example to  run in LaTeX ? (I couldn't)
Can you get any other examples to work in LyX or LaTeX?

Sometimes newer package versions don't run old examples



-- 
Stephen


screensaver kicks in, keyboard doesn't send events to lyx?

2010-03-14 Thread Jose Quesada
Hi,

This is really weird.
When the screensaver kicks in, my keyboard doesn't send events to lyx (?)
If I select another window, kb works. Then I go back to LyX and everything
is fine again.
Anyone can report similar weird results? Workaround?
Ubuntu 9.10, LyX 1.6.4

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: screensaver kicks in, keyboard doesn't send events to lyx?

2010-03-14 Thread Ignacio Garcia
Jose Quesada ques...@... writes:

 
 Hi,
 
 This is really weird.
 When the screensaver kicks in, my keyboard doesn't send events to lyx (?)
 If I select another window, kb works. Then I go back to LyX and everything
 is fine again.
 Anyone can report similar weird results? Workaround?
 Ubuntu 9.10, LyX 1.6.4

I can report a similar issue, it happens sometimes.
Here with compiled 1.6.5 and 2.0.0svn LyX versions on Ubuntu 9.10.
I don't know a workaround. Perhaps it's a qt issue?

Regards
IG








Re: making \citep the default natbib citation style?

2010-03-14 Thread Justin Wood
Julien Rioux julien.ri...@... writes:
 
 For me (LyX 1.6.5 WinXp) LyX remembers the last citation format
 used and selects this one.

Yes you're quite right, it does for me too (on OS X and Win7).
But sometimes it doesn't behave consistently in my main document; maybe
there's something in there messing things up.

 Could it be an issue with this tool, then? Nevertheless,
 I suppose a default could be implemented.

LyZ issues the 'insert-citation' command via the LyX pipe. As best
I can tell, there is no way with this to instruct LyX to use a 
specific cite format or command. Is there?

Thanks for your help.






pgf shapes.arrows and connecting two points

2010-03-14 Thread Micha

This is more latex than lyx but I was hoping someone here knows the answer

I'm trying to see if it's possible to connect two points on the graph with the 
pgf fancy arrows from the shape library. That is

\node at (1,1) [double arrow, fill, color=green!70!black] {arrow};

I managed to put an arrow at a point (1,1 at the previous example) but I don't 
see how to get each end to rest at a give point (I need a path and not a point). 
Is it even possible, and if so, is it possible to do it with 90 degree bends? i.e


A
^
|
|
|B

Thanks


Re: Blogging with LyX

2010-03-14 Thread Alex Fernandez
Hi,

On Fri, Mar 12, 2010 at 10:47 AM, Guenter Milde mi...@users.berlios.de wrote:
 Also, the choice of HTML-converter should be reconsidered:

 * elyxer is much improved and problems are fixed by its developer promply
  after reporting,

Thanks! Jack wrote me to see if his problems could be fixed; as it
turns out he was using a severely outdated version of eLyXer, due to a
confusing download page on Savannah (which has been fixed since). I am
in correspondence with him now, and trying also to get him to
reconsider the choice of HTML exporter.

Alex.


Using document title and author in fancyhdr

2010-03-14 Thread Stefan
Hello,

I am trying to use the title  author of the document as heading on 
every page. I am using article style  fancyhdr package.

I am using the command \lhead{\title} \rhead{\author} in the preamble, 
but this leads to empty headings (probably because in the preamble 
those are not filled yet). Is there any way to delay expansion of the 
\title and \author macros until shipout time at which point they have 
the right values?

Alternatively, does anyone else know an elegant solution that allows 
me to put the title and author of a document into heading? 
Needs to be automatic - no good to explicitly having to put it there

Thx a lot!



RE: Using document title and author in fancyhdr

2010-03-14 Thread Helge Hafting



-Original Message-
From: Stefan [mailto:sal-...@gmx.net]
Sent: Sun 3/14/2010 9:50 AM
To: lyx-users@lists.lyx.org
Subject: Using document title and author in fancyhdr
 
Hello,

I am trying to use the title  author of the document as heading on 
every page. I am using article style  fancyhdr package.

I am using the command \lhead{\title} \rhead{\author} in the preamble, 
but this leads to empty headings (probably because in the preamble 
those are not filled yet). Is there any way to delay expansion of the 
\title and \author macros until shipout time at which point they have 
the right values?

Alternatively, does anyone else know an elegant solution that allows 
me to put the title and author of a document into heading? 
Needs to be automatic - no good to explicitly having to put it there


If the problem is that you don't want to enter the author name two times,
put this in the preamble:

\newcommand{\myauthor}{Author name}
\newcommand{\mytitle}{Title text}

\lhead{\mytitle}
\rhead{\myauthor}

In the author field in the document, insert a tex-box and type
\myauthor
Similiar for the title, where you type \mytitle in a tex box.

Maybe not so elegant on screen, but yields perfectly good output.
If you make a document template, then you won't have to make those
tex boxes all the time. You just set author and title in the preamble,
that's it.

Helge Hafting


Re: pstricks in LyX

2010-03-14 Thread stephen's mailinglist account
On 13 March 2010 15:39, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote:
 I try to include a pstricks figure in a lyx document.
 I use ERT
 and from the example
 %%Herbert Voss:  PSTricks -- Grafik fuer TeX und LaTeX, 5. Auflage (1. Auflage
 2004)
 %%
 %%  Example 25-6-1 on page 485.



 Does somebody know what I did wrong?
 If of importance, I am using Debian Lenny

 Would this path be found
 \psset{path=pst-geo/dataII,unit=0.75cm}
 or do I have to add the texlive2009 path before path=pst-geo?

 Would appreciate help very much,

 Wolfgang

can you get the example to  run in LaTeX ? (I couldn't)
Can you get any other examples to work in LyX or LaTeX?

Sometimes newer package versions don't run old examples



-- 
Stephen


screensaver kicks in, keyboard doesn't send events to lyx?

2010-03-14 Thread Jose Quesada
Hi,

This is really weird.
When the screensaver kicks in, my keyboard doesn't send events to lyx (?)
If I select another window, kb works. Then I go back to LyX and everything
is fine again.
Anyone can report similar weird results? Workaround?
Ubuntu 9.10, LyX 1.6.4

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: screensaver kicks in, keyboard doesn't send events to lyx?

2010-03-14 Thread Ignacio Garcia
Jose Quesada ques...@... writes:

 
 Hi,
 
 This is really weird.
 When the screensaver kicks in, my keyboard doesn't send events to lyx (?)
 If I select another window, kb works. Then I go back to LyX and everything
 is fine again.
 Anyone can report similar weird results? Workaround?
 Ubuntu 9.10, LyX 1.6.4

I can report a similar issue, it happens sometimes.
Here with compiled 1.6.5 and 2.0.0svn LyX versions on Ubuntu 9.10.
I don't know a workaround. Perhaps it's a qt issue?

Regards
IG








Re: making \citep the default natbib citation style?

2010-03-14 Thread Justin Wood
Julien Rioux julien.ri...@... writes:
 
 For me (LyX 1.6.5 WinXp) LyX remembers the last citation format
 used and selects this one.

Yes you're quite right, it does for me too (on OS X and Win7).
But sometimes it doesn't behave consistently in my main document; maybe
there's something in there messing things up.

 Could it be an issue with this tool, then? Nevertheless,
 I suppose a default could be implemented.

LyZ issues the 'insert-citation' command via the LyX pipe. As best
I can tell, there is no way with this to instruct LyX to use a 
specific cite format or command. Is there?

Thanks for your help.






pgf shapes.arrows and connecting two points

2010-03-14 Thread Micha

This is more latex than lyx but I was hoping someone here knows the answer

I'm trying to see if it's possible to connect two points on the graph with the 
pgf fancy arrows from the shape library. That is

\node at (1,1) [double arrow, fill, color=green!70!black] {arrow};

I managed to put an arrow at a point (1,1 at the previous example) but I don't 
see how to get each end to rest at a give point (I need a path and not a point). 
Is it even possible, and if so, is it possible to do it with 90 degree bends? i.e


A
^
|
|
|B

Thanks


Re: Blogging with LyX

2010-03-14 Thread Alex Fernandez
Hi,

On Fri, Mar 12, 2010 at 10:47 AM, Guenter Milde  wrote:
> Also, the choice of HTML-converter should be reconsidered:
>
> * elyxer is much improved and problems are fixed by its developer promply
>  after reporting,

Thanks! Jack wrote me to see if his problems could be fixed; as it
turns out he was using a severely outdated version of eLyXer, due to a
confusing download page on Savannah (which has been fixed since). I am
in correspondence with him now, and trying also to get him to
reconsider the choice of HTML exporter.

Alex.


Using document title and author in fancyhdr

2010-03-14 Thread Stefan
Hello,

I am trying to use the title & author of the document as heading on 
every page. I am using article style & fancyhdr package.

I am using the command \lhead{\title} \rhead{\author} in the preamble, 
but this leads to empty headings (probably because in the preamble 
those are not filled yet). Is there any way to delay expansion of the 
\title and \author macros until shipout time at which point they have 
the right values?

Alternatively, does anyone else know an elegant solution that allows 
me to put the title and author of a document into heading? 
Needs to be automatic - no good to explicitly having to put it there

Thx a lot!



RE: Using document title and author in fancyhdr

2010-03-14 Thread Helge Hafting



-Original Message-
From: Stefan [mailto:sal-...@gmx.net]
Sent: Sun 3/14/2010 9:50 AM
To: lyx-users@lists.lyx.org
Subject: Using document title and author in fancyhdr
 
>Hello,
>
>I am trying to use the title & author of the document as heading on 
>every page. I am using article style & fancyhdr package.
>
>I am using the command \lhead{\title} \rhead{\author} in the preamble, 
>but this leads to empty headings (probably because in the preamble 
>those are not filled yet). Is there any way to delay expansion of the 
>\title and \author macros until shipout time at which point they have 
>the right values?
>
>Alternatively, does anyone else know an elegant solution that allows 
>me to put the title and author of a document into heading? 
>Needs to be automatic - no good to explicitly having to put it there


If the problem is that you don't want to enter the author name two times,
put this in the preamble:

\newcommand{\myauthor}{Author name}
\newcommand{\mytitle}{Title text}

\lhead{\mytitle}
\rhead{\myauthor}

In the author field in the document, insert a tex-box and type
\myauthor
Similiar for the title, where you type \mytitle in a tex box.

Maybe not so elegant on screen, but yields perfectly good output.
If you make a document template, then you won't have to make those
tex boxes all the time. You just set author and title in the preamble,
that's it.

Helge Hafting


Re: pstricks in LyX

2010-03-14 Thread stephen's mailinglist account
On 13 March 2010 15:39, Wolfgang Engelmann  wrote:
> I try to include a pstricks figure in a lyx document.
> I use ERT
> and from the example
> %%Herbert Voss:  PSTricks -- Grafik fuer TeX und LaTeX, 5. Auflage (1. Auflage
> 2004)
> %%
> %%  Example 25-6-1 on page 485.
>

>
> Does somebody know what I did wrong?
> If of importance, I am using Debian Lenny
>
> Would this path be found
> \psset{path=pst-geo/dataII,unit=0.75cm}
> or do I have to add the texlive2009 path before path=pst-geo?
>
> Would appreciate help very much,
>
> Wolfgang
>
can you get the example to  run in LaTeX ? (I couldn't)
Can you get any other examples to work in LyX or LaTeX?

Sometimes newer package versions don't run old examples



-- 
Stephen


screensaver kicks in, keyboard doesn't send events to lyx?

2010-03-14 Thread Jose Quesada
Hi,

This is really weird.
When the screensaver kicks in, my keyboard doesn't send events to lyx (?)
If I select another window, kb works. Then I go back to LyX and everything
is fine again.
Anyone can report similar weird results? Workaround?
Ubuntu 9.10, LyX 1.6.4

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: screensaver kicks in, keyboard doesn't send events to lyx?

2010-03-14 Thread Ignacio Garcia
Jose Quesada  writes:

> 
> Hi,
> 
> This is really weird.
> When the screensaver kicks in, my keyboard doesn't send events to lyx (?)
> If I select another window, kb works. Then I go back to LyX and everything
> is fine again.
> Anyone can report similar weird results? Workaround?
> Ubuntu 9.10, LyX 1.6.4

I can report a similar issue, it happens sometimes.
Here with compiled 1.6.5 and 2.0.0svn LyX versions on Ubuntu 9.10.
I don't know a workaround. Perhaps it's a qt issue?

Regards
IG








Re: making \citep the default natbib citation style?

2010-03-14 Thread Justin Wood
Julien Rioux  writes:
> 
> For me (LyX 1.6.5 WinXp) LyX remembers the last citation format
> used and selects this one.

Yes you're quite right, it does for me too (on OS X and Win7).
But sometimes it doesn't behave consistently in my main document; maybe
there's something in there messing things up.

> Could it be an issue with this tool, then? Nevertheless,
> I suppose a default could be implemented.

LyZ issues the 'insert-citation' command via the LyX pipe. As best
I can tell, there is no way with this to instruct LyX to use a 
specific cite format or command. Is there?

Thanks for your help.






pgf shapes.arrows and connecting two points

2010-03-14 Thread Micha

This is more latex than lyx but I was hoping someone here knows the answer

I'm trying to see if it's possible to connect two points on the graph with the 
pgf fancy arrows from the shape library. That is

\node at (1,1) [double arrow, fill, color=green!70!black] {arrow};

I managed to put an arrow at a point (1,1 at the previous example) but I don't 
see how to get each end to rest at a give point (I need a path and not a point). 
Is it even possible, and if so, is it possible to do it with 90 degree bends? i.e


A
^
|
|
|B

Thanks