How to automatically copy certain files into the tmp directory?

2009-08-19 Thread Rainer M Krug
Hi

I am using ERT boxes for inserting movies into BEAMER presentations
and a few other things as well. The problem is, that the files I need
in the temporary directory where the LaTeX file is compiled are not
automatically copied there and I have to copy them manually. Is there
a way of specifying them (e.g. in the preamble), so that they are
automatically copied along with the other files needed?

Thanks

Rainer

-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa


Re: How to automatically copy certain files into the tmp directory?

2009-08-19 Thread Pavel Sanda
Rainer M Krug wrote:
> Hi
> 
> I am using ERT boxes for inserting movies into BEAMER presentations
> and a few other things as well. The problem is, that the files I need
> in the temporary directory where the LaTeX file is compiled are not
> automatically copied there and I have to copy them manually. Is there
> a way of specifying them (e.g. in the preamble), so that they are
> automatically copied along with the other files needed?

defining custom converter with added copier section in preferences
could help.
pavel


Obsoleting classic.ui

2009-08-19 Thread Pavel Sanda
hi,

is there still anybody around using the old classic.ui we distribute?
its not maintained for a longer time, without new features and with bugs
as the lfuns are changing, so i tend to remove it for the next release.

pavel


Re: How to automatically copy certain files into the tmp directory?

2009-08-19 Thread Rainer M Krug
On Wed, Aug 19, 2009 at 11:25 AM, Pavel Sanda wrote:
> Rainer M Krug wrote:
>> Hi
>>
>> I am using ERT boxes for inserting movies into BEAMER presentations
>> and a few other things as well. The problem is, that the files I need
>> in the temporary directory where the LaTeX file is compiled are not
>> automatically copied there and I have to copy them manually. Is there
>> a way of specifying them (e.g. in the preamble), so that they are
>> automatically copied along with the other files needed?
>
> defining custom converter with added copier section in preferences
> could help.

I looked at it, but this is quite static and I have to maintain a
script in addition to the LyX file (unless I put all files in one
directory which is copied).

Is there a way to let LaTeX copy the files, i.e. that I can specify
them in the preamble?

Rainer

> pavel
>



-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa


Re: How to automatically copy certain files into the tmp directory?

2009-08-19 Thread Pavel Sanda
Rainer M Krug wrote:
> I looked at it, but this is quite static and I have to maintain a
> script in addition to the LyX file (unless I put all files in one
> directory which is copied).

i guess you can invent some kind of script which would be generic for all your
beamer use cases without need to maintain it for each single file.

pavel


Re: Obsoleting classic.ui

2009-08-19 Thread Joe(theWordy)Philbrook

It would appear that on Aug 19, Pavel Sanda did say:

> is there still anybody around using the old classic.ui we distribute?

That would be me...

> its not maintained for a longer time, without new features and with bugs
> as the lfuns are changing, so i tend to remove it for the next release.

[rant-mode]
Well I guess I'll say thanks for the warning... As it happens it's the
only ui I've ever intentionally used. I don't even really know why I
automatically selected it unless it's because every single time I've
seen any changes to any kind of user interface I've grown accustomed
to, I've always been disappointed because somehow it's always the
features I personally like to use that gets obsoleted...

This doesn't surprise me much any more. And I've long since given up
trying to figure out how they know which features I like so that the
can avoid obsoleting anything I don't happen to use... 

It's kind of like how do the Neilsons know when I've discovered a TV show
I like enough to watch on purpose. But they obviously do, as the
moment I start liking a show it's days are numbered...



[/rant-mode]

But seriously, I'm not sure what the difference is between the .ui files.
If your going to remove the "clasic.ui" could you tell me which remaining
.ui file results in the closest match to the actual user interface?


-- 
|  ~^~   ~^~
|  Joe (theWordy) Philbrook
|  ^  J(tWdy)P
|\___/ <>



openright, openany?

2009-08-19 Thread Anthony Campbell

I'm using the book class. I'm sure that 'openright' used to be the
default and I used to put '\openany' in the preamble. Now 'openany'
seems to be the default and putting '\openright' in the preamble causes
an error.

Any information on this?

Anthony



-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Obsoleting classic.ui

2009-08-19 Thread Pavel Sanda
Joe(theWordy)Philbrook wrote:
> 
> It would appear that on Aug 19, Pavel Sanda did say:
> 
> > is there still anybody around using the old classic.ui we distribute?
> 
> That would be me...

no problem to let it alive if its still used. use at your own risk ;)

> But seriously, I'm not sure what the difference is between the .ui files.
> If your going to remove the "clasic.ui" could you tell me which remaining
> .ui file results in the closest match to the actual user interface?

default.ui
pavel


LyXWinInstaller for Windows 7

2009-08-19 Thread H. Peter Gumm

Hi Uwe,

last night I installed LyX+MikTex under Windows 7 (Enterprise Edition) 
using your "Altinstaller Complete" (i.e. LyX 1.6.3 plus MikTex) and to 
my great delight


   * Everything went without a problem.*

Just, towards the end, when LyX starts "checking for installed packages" 
- one ought to suggest to users to go out for dinner and not panic when 
Lyx is not done after dessert ;-)


Thanks for a  great  installer,

Greetings,
H.Peter


Uwe Stöhr wrote:

Hello LyXers,

the alternative Windows installer for LyX 1.6.3 is now available.

This installer comes again with an update installer to update existing 
LyX 1.6.2 installation to LyX
1.6.3. NOTE: To be able to use this installer version, LyX 1.6.2 must 
have been installed with the

alternative Windows installer.

-

The installer for this version can be downloaded from:
https://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=16343 


and
http://ftp.lyx.org/pub/lyx/bin/1.6.3/

(General infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )

Installer Changelog:
-
Version 4.19
- LyX 1.6.3
- add two missing programs so that paths in LyX document
  preambles will correctly be parsed
- fix installation of Arabic spell checker dictionary
- new Indonesian translation of the installer (thanks
  to Waluyo Adi Siswanto)
- LyX can now be installed with Indonesian and Slovak menus
- the uninstaller is now also shown in the Windows system language
- updated to Python 2.6.2
- updated to ImageMagick 6.5.3-2
-

happy LyXing
Uwe




Re: openright, openany?

2009-08-19 Thread rgheck

On 08/19/2009 07:01 AM, Anthony Campbell wrote:

I'm using the book class. I'm sure that 'openright' used to be the
default and I used to put '\openany' in the preamble. Now 'openany'
seems to be the default and putting '\openright' in the preamble causes
an error.

Any information on this?

   
This is a LaTeX issue, obviously. But it seems odd that they would 
change this.


rh



Re: openright, openany?

2009-08-19 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
> I'm using the book class. I'm sure that 'openright' used to be the
> default and I used to put '\openany' in the preamble. Now 'openany'
> seems to be the default and putting '\openright' in the preamble causes
> an error.
>
> Any information on this?

openright and openany are class options, not commands. So you do not have to 
put them in the preamble, but to Document->Class->Options.

Jürgen


Re: openright, openany?

2009-08-19 Thread Anthony Campbell
On 19 Aug 2009, Jürgen Spitzmüller wrote:
> Anthony Campbell wrote:
> > I'm using the book class. I'm sure that 'openright' used to be the
> > default and I used to put '\openany' in the preamble. Now 'openany'
> > seems to be the default and putting '\openright' in the preamble causes
> > an error.
> >
> > Any information on this?
> 
> openright and openany are class options, not commands. So you do not have to 
> put them in the preamble, but to Document->Class->Options.
> 
> Jürgen

Thanks very much - I did that long ago but forgot.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Find All and Emphasize

2009-08-19 Thread Pavel Sanda
Tommaso Cucinotta wrote:
> Hi all,
>
> I'd like to mention that, with the patch I committed right now on the SVN, 
> the current version of LyX from trunk implements correctly this kind of 
> feature, i.e., you can search for a plain word and replace it with its 
> emphasized or boldface version, or search for some text (i.e., X1) and 
> replace it with a math symbol ($X_1$), or you can search for some maths 
> (i.e., $X^1$) and replace it with some rework of it (i.e., $Y_1$), etc.. I 
> know there are many use-cases, and I hope somebody helps in identifying the 
> most important ones and/or possible issues.

can you write some documentation in our manuals? this or the hint in bug 3095
wouldn't occur to me ... :)
pavel


LyX beamer with e.g. circles on top of text or images?

2009-08-19 Thread seb123

Dear All,

In a LyX "beamer" presentation, I would like to draw circles, rectangles,
arrows on top of text or images.

How to do that? Do you guys happen to have LyX templates that can do that?

Thank you,
Sebastian
-- 
View this message in context: 
http://n2.nabble.com/LyX-beamer-with-e.g.-circles-on-top-of-text-or-images--tp3475135p3475135.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Find All and Emphasize

2009-08-19 Thread Tommaso Cucinotta

Hi all,

I'd like to mention that, with the patch I committed right now on the 
SVN, the current version of LyX from trunk implements correctly this 
kind of feature, i.e., you can search for a plain word and replace it 
with its emphasized or boldface version, or search for some text (i.e., 
X1) and replace it with a math symbol ($X_1$), or you can search for 
some maths (i.e., $X^1$) and replace it with some rework of it (i.e., 
$Y_1$), etc.. I know there are many use-cases, and I hope somebody helps 
in identifying the most important ones and/or possible issues.


Regards,

 Tommaso

Tommaso Cucinotta ha scritto:

Bruce Pourciau ha scritto:

On Aug 12, 2009, at 5:38 PM, rgheck wrote:

On 08/12/2009 04:34 PM, Bruce Pourciau wrote:

Is there a simple way to go back through a document and italicize
(emphasize) all occurrences of a certain word?


Not within LyX itself. The best way to do it is to run a script of some
sort on the .lyx file. E.g.:

sed -e 's/ that / \n\n\\emph on\nthat\n\\emph default\n /g' < t.lyx 
>tt.lyx


is a dumb sed one-liner that almost does it.
This is acutally the usage scenario I'm trying to target with the 
"Find LyX..." (a.k.a., Advanced Search or Find Advanced) feature of 
LyX 2.0.0 from svn. There, you can enter arbitrarily complex LyX text 
inside the Replace... area, so that you can do (in principle) exactly 
what you are seeking for. It doesn't work perfectly fine, as of now, 
for example, in your case, after the replacement, you would get a set 
of "\emph{word}" instead of the word emphasized, but I think it won't 
be difficult to fix such issues.


Of course, for the advanced user, the text-based search/replace made 
directly on the .lyx file with a text editor, is the only thing you 
can do with the current official LyX releases, and it works (unless 
you make mistakes -- backup first).


Bye,

   Tommaso