Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/25 Jürgen Spitzmüller:
 Alas, it does not work at the moment. Okular meanwhile expects an
 absolute path to the tex file, while $$t only outputs the filename
 without path.

 I'll have a look for the next release.

It will be fixed in LyX 2.0.5.

Jürgen


Re: Uninstalling compiled-from-source Lyx

2012-08-27 Thread Jean-Marc Lasgouttes
2012/8/27 Stephan Witt st.w...@gmx.net:
 Am 24.08.2012 um 18:09 schrieb UD:

 I don't think so-- where are they?  However, I SHOULD be able to uninstall a 
 program that bypassed the package manager, but I guess that if there is no 
 uninstall script, I shall have to remove the relevant files by hand, 
 something I would like to avoid.

 I never tried to build LyX from source directory. So I don't know if the 
 target uninstall works there.
 I'm building LyX inside a parallel build directory. There the uninstall 
 target works for me.
 I've checked it with current 2.0.5 branch and 2.1.0 head version.

make uninstall should work inanycase. If it does not, there a bug.

JMarc


Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107 as of now):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Cross-reference other LyX documents

2012-08-27 Thread Michael Bach

Dear LyX Users and Developers,

I am preparing slides for a lecture using the presentation (beamer) 
class. Within that I would like to be able to reference labels inside my 
lecture notes which is another LyX document.


There was a post on SE some months ago:
http://tex.stackexchange.com/questions/39772/using-the-xr-package-in-lyx-for-cross-referencing-an-external-lyx-document

Breakdown: The OP went ahead and installed the xr package which can 
reference labels in another-file.tex by using 
\externaldocument{another-file}. This searches inside the .aux file 
another-file.aux for the labels.


Now the question is: How to tell LyX to put intermediate files (or just 
the aux) into the current working directory so that this will work?


Quick google just came up with this:
http://tex.stackexchange.com/questions/19768/lyx-how-to-put-temporary-files-to-the-lyx-file-folder-for-truecrypt-compatibil

In which there is no solution. Any tips?

Best Regards,
Michael Bach



Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/27 Michael Bach pha...@gmail.com:
 Thanks! As I would really like to have it for 2.0.4 I will use the custom
 command

 okular --unique $$o#src:$$n $$f

 for Tools  Preferences  File Handling  File Formats  Viewer as indicated
 here (line 107 as of now):
 http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.

Jürgen

 Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 4:44 PM, Jürgen Spitzmüller wrote:

2012/8/27 Michael Bach pha...@gmail.com:

Thanks! As I would really like to have it for 2.0.4 I will use the custom
command

okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as indicated
here (line 107 as of now):
http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x


This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.



Ah, I thought the $$f had been implemented already (i.e. for other 
viewers), but was not set for the default okular command. But then you 
would surely have told me to do what I was trying to do :)


Thanks again and obviously looking forward to 2.0.5!

Michael


Re: Spellchecker

2012-08-27 Thread UD

en_US.aff and en_US.dic are both in /usr/share/hunspell

EK


On 08/24/2012 02:48 PM, Stephan Witt wrote:

Am 24.08.2012 um 20:21 schrieb UD:


Success-- although the progress towards it was rather tortuous.
• I compiled and installed hunspell-devel
• Recompiled and reinstalled lyx 2.0.4
• Told lyx that the spellchecker to use was Enchant (when I tried to 
use hunspell, it complained that there are no dictionaries, although the 
hunspell dictionaries are installed)

Where are they? What's the package name, please?

Stephan


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Re: Rotating table float 'breaks' figure float

2012-08-27 Thread Paul A . Rubin
Does the table need to be imported as an image (because, for instance, it is
part of a downloaded PDF file), or do you have the original text available (or
can type it in)? If you can type/paste in the table, in a rotated table float,
my guess is that it will be easier to do it that way.

You might want to have a look at section 5.8 (Rotated and Scaled Boxes) of the
Embedded Objects manual for an alternate approach.

Paul




Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/25 Jürgen Spitzmüller:
 Alas, it does not work at the moment. Okular meanwhile expects an
 absolute path to the tex file, while $$t only outputs the filename
 without path.

 I'll have a look for the next release.

It will be fixed in LyX 2.0.5.

Jürgen


Re: Uninstalling compiled-from-source Lyx

2012-08-27 Thread Jean-Marc Lasgouttes
2012/8/27 Stephan Witt st.w...@gmx.net:
 Am 24.08.2012 um 18:09 schrieb UD:

 I don't think so-- where are they?  However, I SHOULD be able to uninstall a 
 program that bypassed the package manager, but I guess that if there is no 
 uninstall script, I shall have to remove the relevant files by hand, 
 something I would like to avoid.

 I never tried to build LyX from source directory. So I don't know if the 
 target uninstall works there.
 I'm building LyX inside a parallel build directory. There the uninstall 
 target works for me.
 I've checked it with current 2.0.5 branch and 2.1.0 head version.

make uninstall should work inanycase. If it does not, there a bug.

JMarc


Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107 as of now):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Cross-reference other LyX documents

2012-08-27 Thread Michael Bach

Dear LyX Users and Developers,

I am preparing slides for a lecture using the presentation (beamer) 
class. Within that I would like to be able to reference labels inside my 
lecture notes which is another LyX document.


There was a post on SE some months ago:
http://tex.stackexchange.com/questions/39772/using-the-xr-package-in-lyx-for-cross-referencing-an-external-lyx-document

Breakdown: The OP went ahead and installed the xr package which can 
reference labels in another-file.tex by using 
\externaldocument{another-file}. This searches inside the .aux file 
another-file.aux for the labels.


Now the question is: How to tell LyX to put intermediate files (or just 
the aux) into the current working directory so that this will work?


Quick google just came up with this:
http://tex.stackexchange.com/questions/19768/lyx-how-to-put-temporary-files-to-the-lyx-file-folder-for-truecrypt-compatibil

In which there is no solution. Any tips?

Best Regards,
Michael Bach



Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/27 Michael Bach pha...@gmail.com:
 Thanks! As I would really like to have it for 2.0.4 I will use the custom
 command

 okular --unique $$o#src:$$n $$f

 for Tools  Preferences  File Handling  File Formats  Viewer as indicated
 here (line 107 as of now):
 http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.

Jürgen

 Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 4:44 PM, Jürgen Spitzmüller wrote:

2012/8/27 Michael Bach pha...@gmail.com:

Thanks! As I would really like to have it for 2.0.4 I will use the custom
command

okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as indicated
here (line 107 as of now):
http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x


This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.



Ah, I thought the $$f had been implemented already (i.e. for other 
viewers), but was not set for the default okular command. But then you 
would surely have told me to do what I was trying to do :)


Thanks again and obviously looking forward to 2.0.5!

Michael


Re: Spellchecker

2012-08-27 Thread UD

en_US.aff and en_US.dic are both in /usr/share/hunspell

EK


On 08/24/2012 02:48 PM, Stephan Witt wrote:

Am 24.08.2012 um 20:21 schrieb UD:


Success-- although the progress towards it was rather tortuous.
• I compiled and installed hunspell-devel
• Recompiled and reinstalled lyx 2.0.4
• Told lyx that the spellchecker to use was Enchant (when I tried to 
use hunspell, it complained that there are no dictionaries, although the 
hunspell dictionaries are installed)

Where are they? What's the package name, please?

Stephan


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Re: Rotating table float 'breaks' figure float

2012-08-27 Thread Paul A . Rubin
Does the table need to be imported as an image (because, for instance, it is
part of a downloaded PDF file), or do you have the original text available (or
can type it in)? If you can type/paste in the table, in a rotated table float,
my guess is that it will be easier to do it that way.

You might want to have a look at section 5.8 (Rotated and Scaled Boxes) of the
Embedded Objects manual for an alternate approach.

Paul




Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/25 Jürgen Spitzmüller:
> Alas, it does not work at the moment. Okular meanwhile expects an
> absolute path to the tex file, while $$t only outputs the filename
> without path.
>
> I'll have a look for the next release.

It will be fixed in LyX 2.0.5.

Jürgen


Re: Uninstalling compiled-from-source Lyx

2012-08-27 Thread Jean-Marc Lasgouttes
2012/8/27 Stephan Witt :
> Am 24.08.2012 um 18:09 schrieb UD:
>
>> I don't think so-- where are they?  However, I SHOULD be able to uninstall a 
>> program that bypassed the package manager, but I guess that if there is no 
>> uninstall script, I shall have to remove the relevant files by hand, 
>> something I would like to avoid.
>
> I never tried to build LyX from source directory. So I don't know if the 
> target "uninstall" works there.
> I'm building LyX inside a parallel build directory. There the "uninstall" 
> target works for me.
> I've checked it with current 2.0.5 branch and 2.1.0 head version.

"make uninstall" should work inanycase. If it does not, there a bug.

JMarc


Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique "$$o#src:$$n $$f"

for Tools > Preferences > File Handling > File Formats > Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique "$$o#src:$$n $$f"

for Tools > Preferences > File Handling > File Formats > Viewer as 
indicated here (line 107 as of now):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique "$$o#src:$$n $$f"

for Tools > Preferences > File Handling > File Formats > Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Cross-reference other LyX documents

2012-08-27 Thread Michael Bach

Dear LyX Users and Developers,

I am preparing slides for a lecture using the presentation (beamer) 
class. Within that I would like to be able to reference labels inside my 
lecture notes which is another LyX document.


There was a post on SE some months ago:
http://tex.stackexchange.com/questions/39772/using-the-xr-package-in-lyx-for-cross-referencing-an-external-lyx-document

Breakdown: The OP went ahead and installed the xr package which can 
reference labels in another-file.tex by using 
\externaldocument{another-file}. This searches inside the .aux file 
another-file.aux for the labels.


Now the question is: How to tell LyX to put intermediate files (or just 
the aux) into the current working directory so that this will work?


Quick google just came up with this:
http://tex.stackexchange.com/questions/19768/lyx-how-to-put-temporary-files-to-the-lyx-file-folder-for-truecrypt-compatibil

In which there is no solution. Any tips?

Best Regards,
Michael Bach



Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/27 Michael Bach :
> Thanks! As I would really like to have it for 2.0.4 I will use the custom
> command
>
> okular --unique "$$o#src:$$n $$f"
>
> for Tools > Preferences > File Handling > File Formats > Viewer as indicated
> here (line 107 as of now):
> http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.

Jürgen

> Michael
>


Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 4:44 PM, Jürgen Spitzmüller wrote:

2012/8/27 Michael Bach :

Thanks! As I would really like to have it for 2.0.4 I will use the custom
command

okular --unique "$$o#src:$$n $$f"

for Tools > Preferences > File Handling > File Formats > Viewer as indicated
here (line 107 as of now):
http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x


This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.



Ah, I thought the $$f had been implemented already (i.e. for other 
viewers), but was not set for the default "okular" command. But then you 
would surely have told me to do what I was trying to do :)


Thanks again and obviously looking forward to 2.0.5!

Michael


Re: >Spellchecker

2012-08-27 Thread UD

en_US.aff and en_US.dic are both in /usr/share/hunspell

EK


On 08/24/2012 02:48 PM, Stephan Witt wrote:

Am 24.08.2012 um 20:21 schrieb UD:


Success-- although the progress towards it was rather tortuous.
• I compiled and installed hunspell-devel
• Recompiled and reinstalled lyx 2.0.4
• Told lyx that the spellchecker to use was Enchant (when I tried to 
use hunspell, it complained that there are no dictionaries, although the 
hunspell dictionaries are installed)

Where are they? What's the package name, please?

Stephan


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Re: Rotating table float 'breaks' figure float

2012-08-27 Thread Paul A . Rubin
Does the table need to be imported as an image (because, for instance, it is
part of a downloaded PDF file), or do you have the original text available (or
can type it in)? If you can type/paste in the table, in a rotated table float,
my guess is that it will be easier to do it that way.

You might want to have a look at section 5.8 ("Rotated and Scaled Boxes") of the
"Embedded Objects" manual for an alternate approach.

Paul