Win2003 - LyX1.3.7 crashes/LyX1.4.1 language problem

2006-04-26 Thread Mike
Hi,

we're running LyX 1.3.7 for a time on a Windows 2000 TerminalServer. Now we want
to migrate the users on a Win 2003 TerminalServer. Therefore we need to install
LyX on it. At first I tried to install LyX 1.3.7, cause I am used to it. We had
the problems with the config-script at installation, but fixed it with the help
of cygwin like it's in the wiki described. So LyX is running and I can export my
stuff to pdf, but when I choose "View DVI" LyX crashes. It just freezes without
an error. I tried some variations like installing it with MiKTeX (1st time I
used the MiKTeX which was already installed), but it crashed again. Next step
was the installation of LyX 1.4.1. The installer ran through without an error
and LyX is working fine (View DVI runs perfectly), but the whole thing is in
english and we're used to have all the menus, etc. in german. At installation I
chose "German" as LyX's interface language, but it had no effect. Even if I
choose Italian or some other language, the interface is always in english. The
locales are availible in C:\Programme\LyX141\Resources\locale, so that should be
fine.
I searched in the mailing list archive, but I couldn't find an answer or a tip
how to fix that problem. Maybe one of you know the solution.

Best regards
Mike



quantifiers in lyx

2018-02-18 Thread mike

Dear list

Is there a way to get quantifiers without ERT?

Thanks in advance -- Mike

--
I *AM* a unique and special snowflake



Re: quantifiers in lyx

2018-02-19 Thread mike

On 18/02/2018 22:12, Richard Heck wrote:

On 02/18/2018 04:48 PM, Jean-Marc Lasgouttes wrote:

Le 18/02/2018 à 13:37, mike a écrit :

Dear list

Is there a way to get quantifiers without ERT?

Hello,

What kind of quantifiers do you have in mind?

Probably he means logical quantifiers, like ∀ and ∃.

These can be entered in math mode. Just hit Ctrl-M to enter math mode, and
then you can enter them as LaTeX: \forall, \exists, etc. Or you can
choose them
from the math toolbar that pops up. They are on the menu with the upside
down Δ.

Richard




Thanks Jean-Marc and Richard.  Problem solved.

Best regards

Mike

--
I *AM* a unique and special snowflake



developer list

2018-03-14 Thread mike

Hello

Can someone please tell me how to subscribe to the LyX developers list?  
I've looked for it but can't find it just the archives.


Thanks

Mike

--
I *AM* a unique and special snowflake



Re: developer list

2018-03-14 Thread mike

On 14/03/2018 11:22, Jean-Marc Lasgouttes wrote:

Le 14/03/2018 à 12:13, mike a écrit :

Hello

Can someone please tell me how to subscribe to the LyX developers 
list? I've looked for it but can't find it just the archives.


Thanks

Mike



It is hidden here at the end of the page:
https://www.lyx.org/MailingLists#lyx_mailing_devel

Just send a message to lyx-devel-subscr...@lists.lyx.org to subscribe.

The page could use an update to offer a 'subscribing to the mailing 
lists' entry.


JMarc


Thanks very much Jean-Marc.  I'm subscribed now.

Best

Mike

--
I *AM* a unique and special snowflake



LyX key bindings

2018-03-15 Thread mike

Hello

Can someone help me please?  I would like to bind a key combination to 
"command-alternatives in-ipa ; ipa-insert".  For the moment at least I 
want to stick to the default key bindings plus this one additional 
binding.  Again for the moment anyway how do I find out what the default 
key bindings are so that I don't reset a key binding that already 
exists?  Is there a way to do this in LyX itself rather than having to 
mess around with bind files?  I did try to work this out myself but 
couldn't figure it out.  FWI I use LyX on Win 7 Pro with 32 bit MiKTeX.


Thanks very much in advance for any help

Mike

--
I *AM* a unique and special snowflake



Re: LyX key bindings

2018-03-15 Thread mike

On 15/03/2018 08:42, mike wrote:

Hello

Can someone help me please?  I would like to bind a key combination to 
"command-alternatives in-ipa ; ipa-insert".  For the moment at least I 
want to stick to the default key bindings plus this one additional 
binding.  Again for the moment anyway how do I find out what the 
default key bindings are so that I don't reset a key binding that 
already exists?  Is there a way to do this in LyX itself rather than 
having to mess around with bind files?  I did try to work this out 
myself but couldn't figure it out.  FWI I use LyX on Win 7 Pro with 32 
bit MiKTeX.


Thanks very much in advance for any help

Mike

Sorry I forgot to mention that if I can do it in LyX itself I'd like it 
to "stick" in the sense that if I close LyX and start it again I don't 
have to manually set the key binding.


Mike

--
I *AM* a unique and special snowflake



Re: LyX key bindings

2018-03-15 Thread mike

On 15/03/2018 10:09, Ricardo Berlasso wrote:



2018-03-15 9:46 GMT+01:00 mike <mailto:mikere...@onetel.com>>:


On 15/03/2018 08:42, mike wrote:

Hello

Can someone help me please?  I would like to bind a key
combination to "command-alternatives in-ipa ; ipa-insert". 
For the moment at least I want to stick to the default key
bindings plus this one additional binding.  Again for the
moment anyway how do I find out what the default key bindings
are so that I don't reset a key binding that already exists? 
Is there a way to do this in LyX itself rather than having to
mess around with bind files?  I did try to work this out
myself but couldn't figure it out.  FWI I use LyX on Win 7 Pro
with 32 bit MiKTeX.


Keep in mind that I'm translating from Spanish and that I'm using a 
Linux system, so check everything!


On Tools → Settings → Edition → Keyboard shortcuts type "ipa" on the 
filter box and you'll find the ipa-insert command listed below: select 
it and click on Modify to assign a keyboard shortcut to it.


Regards,
Ricardo




Thanks very much in advance for any help

Mike

Sorry I forgot to mention that if I can do it in LyX itself I'd
like it to "stick" in the sense that if I close LyX and start it
again I don't have to manually set the key binding.


Mike



Hi Ricardo

Thanks very much for your reply.  BTW I'm running LyX 2.2.3.  Here's 
what I've come up with.


I have to do something slightly different namely

    Tools > Preferences > Editing > Shortcuts > Cursor, Mouse and 
Editing Functions > ipa-insert > Modify


The bind file is shown as cua in which there is no binding for 
ipa-insert.  (Someone please tell me if I'm wrong) so after I click on 
Modify I have to select New and then enter the binding. So I enter C-x i 
and ipa-insert and it does indeed "stick" in the sense I described 
before.  I can close LyX and restart it and look at cua.bind and it's 
still there.  (I do that in Emacs in case you're wondering.  The path on 
my machine is Program Files (x86) > LyX 2.2 > Resources > bind > cua.bind.)


However cua.bind cannot possibly be the default bind file because if I 
am in LyX and type C-x it says "command disabled" so I can't even do 
"cut".  I think I can figure out how to load the cua bindings but my 
concern is that it will reset some of the default bindings.  I also use 
LyX for math and logic and I don't want to lose those shortcuts.


Please compare to 
https://wiki.lyx.org/LyX/KeyboardShortcuts#StandardKeybindings where it 
says "You can use the script LyxBindings 
<https://wiki.lyx.org/Tools/LyxBindings> to generate your own 
documentats describing for your configuration of keyboard shortcuts. 
Some users experience the complete loss of every bindings after changes. 
In that case, a .bind file needs to be reselected in the menu 
(Tools/Preferences/Editing/Shortcuts/Browse). /The cua.bind file is the 
basic one./"


Any further help would be greatly appreciated.

Best

Mike

--

I *AM* a unique and special snowflake



Re: LyX key bindings

2018-03-15 Thread mike

On 15/03/2018 12:43, mike wrote:

On 15/03/2018 10:09, Ricardo Berlasso wrote:



2018-03-15 9:46 GMT+01:00 mike <mailto:mikere...@onetel.com>>:


On 15/03/2018 08:42, mike wrote:

Hello

Can someone help me please?  I would like to bind a key
combination to "command-alternatives in-ipa ; ipa-insert". 
For the moment at least I want to stick to the default key
bindings plus this one additional binding.  Again for the
moment anyway how do I find out what the default key bindings
are so that I don't reset a key binding that already exists? 
Is there a way to do this in LyX itself rather than having to
mess around with bind files? I did try to work this out
myself but couldn't figure it out.  FWI I use LyX on Win 7
Pro with 32 bit MiKTeX.


Keep in mind that I'm translating from Spanish and that I'm using a 
Linux system, so check everything!


On Tools → Settings → Edition → Keyboard shortcuts type "ipa" on the 
filter box and you'll find the ipa-insert command listed below: 
select it and click on Modify to assign a keyboard shortcut to it.


Regards,
Ricardo




Thanks very much in advance for any help

Mike

Sorry I forgot to mention that if I can do it in LyX itself I'd
like it to "stick" in the sense that if I close LyX and start it
again I don't have to manually set the key binding.


Mike



Hi Ricardo

Thanks very much for your reply.  BTW I'm running LyX 2.2.3. Here's 
what I've come up with.


I have to do something slightly different namely

    Tools > Preferences > Editing > Shortcuts > Cursor, Mouse and 
Editing Functions > ipa-insert > Modify


The bind file is shown as cua in which there is no binding for 
ipa-insert.  (Someone please tell me if I'm wrong) so after I click on 
Modify I have to select New and then enter the binding.  So I enter 
C-x i and ipa-insert and it does indeed "stick" in the sense I 
described before.  I can close LyX and restart it and look at cua.bind 
and it's still there.  (I do that in Emacs in case you're wondering.  
The path on my machine is Program Files (x86) > LyX 2.2 > Resources > 
bind > cua.bind.)


However cua.bind cannot possibly be the default bind file because if I 
am in LyX and type C-x it says "command disabled" so I can't even do 
"cut".  I think I can figure out how to load the cua bindings but my 
concern is that it will reset some of the default bindings.  I also 
use LyX for math and logic and I don't want to lose those shortcuts.


Please compare to 
https://wiki.lyx.org/LyX/KeyboardShortcuts#StandardKeybindings where 
it says "You can use the script LyxBindings 
<https://wiki.lyx.org/Tools/LyxBindings> to generate your own 
documentats describing for your configuration of keyboard shortcuts. 
Some users experience the complete loss of every bindings after 
changes. In that case, a .bind file needs to be reselected in the menu 
(Tools/Preferences/Editing/Shortcuts/Browse). /The cua.bind file is 
the basic one./"


Any further help would be greatly appreciated.

Best

Mike



So to summarize:

1.

   Is cua.bind really the default?

2.

   Why does C-x give "command disabled"?

3.

   Will loading cua.bind blow away any pre-existing default LyX shortcuts?

--
I *AM* a unique and special snowflake



Re: LyX key bindings

2018-03-15 Thread mike

On 15/03/2018 13:25, mike wrote:

On 15/03/2018 12:43, mike wrote:

On 15/03/2018 10:09, Ricardo Berlasso wrote:



2018-03-15 9:46 GMT+01:00 mike <mailto:mikere...@onetel.com>>:


On 15/03/2018 08:42, mike wrote:

Hello

Can someone help me please?  I would like to bind a key
combination to "command-alternatives in-ipa ; ipa-insert". 
For the moment at least I want to stick to the default key
bindings plus this one additional binding.  Again for the
moment anyway how do I find out what the default key
bindings are so that I don't reset a key binding that
already exists?  Is there a way to do this in LyX itself
rather than having to mess around with bind files?  I did
try to work this out myself but couldn't figure it out.  FWI
I use LyX on Win 7 Pro with 32 bit MiKTeX.


Keep in mind that I'm translating from Spanish and that I'm using a 
Linux system, so check everything!


On Tools → Settings → Edition → Keyboard shortcuts type "ipa" on the 
filter box and you'll find the ipa-insert command listed below: 
select it and click on Modify to assign a keyboard shortcut to it.


Regards,
Ricardo




Thanks very much in advance for any help

Mike

Sorry I forgot to mention that if I can do it in LyX itself I'd
like it to "stick" in the sense that if I close LyX and start it
again I don't have to manually set the key binding.


Mike



Hi Ricardo

Thanks very much for your reply.  BTW I'm running LyX 2.2.3. Here's 
what I've come up with.


I have to do something slightly different namely

    Tools > Preferences > Editing > Shortcuts > Cursor, Mouse and 
Editing Functions > ipa-insert > Modify


The bind file is shown as cua in which there is no binding for 
ipa-insert.  (Someone please tell me if I'm wrong) so after I click 
on Modify I have to select New and then enter the binding.  So I 
enter C-x i and ipa-insert and it does indeed "stick" in the sense I 
described before.  I can close LyX and restart it and look at 
cua.bind and it's still there. (I do that in Emacs in case you're 
wondering.  The path on my machine is Program Files (x86) > LyX 2.2 > 
Resources > bind > cua.bind.)


However cua.bind cannot possibly be the default bind file because if 
I am in LyX and type C-x it says "command disabled" so I can't even 
do "cut".  I think I can figure out how to load the cua bindings but 
my concern is that it will reset some of the default bindings.  I 
also use LyX for math and logic and I don't want to lose those shortcuts.


Please compare to 
https://wiki.lyx.org/LyX/KeyboardShortcuts#StandardKeybindings where 
it says "You can use the script LyxBindings 
<https://wiki.lyx.org/Tools/LyxBindings> to generate your own 
documentats describing for your configuration of keyboard shortcuts. 
Some users experience the complete loss of every bindings after 
changes. In that case, a .bind file needs to be reselected in the 
menu (Tools/Preferences/Editing/Shortcuts/Browse). /The cua.bind file 
is the basic one./"


Any further help would be greatly appreciated.

Best

Mike



So to summarize:

1.

Is cua.bind really the default?

2.

Why does C-x give "command disabled"?

3.

Will loading cua.bind blow away any pre-existing default LyX
shortcuts?



Ok now I'm really confused.  LyX shows the C-x i binding but cua.bind 
doesn't.  But as least C-c works.  Have I messed up by defining C-x i 
when C-x means "cut".  In that case what prefix can I use (in Emacs 
terms) to define my own extended shortcuts?  But how can I have messed 
up when cua.bind only shows C-x and no other C-x plus something 
bindings?  At least there's a problem here between what LyX thinks the 
cua shortcuts are and what is actually in cua.bind.


Mike

--
I *AM* a unique and special snowflake



Re: LyX key bindings

2018-03-15 Thread mike

On 15/03/2018 14:12, Jürgen Spitzmüller wrote:

2018-03-15 13:43 GMT+01:00 mike:

I have to do something slightly different namely

    Tools > Preferences > Editing > Shortcuts > Cursor, Mouse and
Editing Functions > ipa-insert > Modify

I'd rather do:

* Tools > Preferences > Editing > Shortcuts > New ...

* Enter "command-alternatives in-ipa ; ipa-insert" (without the 
quotes) to Function


* Move the Cursor to the shortcut Area (the grey field)

* Perform the actual keyboard shortcut (e.g., Alt+I)

* Apply and Save

The bind file is shown as cua in which there is no binding for
ipa-insert.  (Someone please tell me if I'm wrong)

Right.

so after I click on Modify I have to select New and then enter the
binding.  So I enter C-x i and ipa-insert and it does indeed
"stick" in the sense I described before.

Ctrl-X is not a good idea. This is the default binding for "cut" (and 
Alt-X ist the default binding for the minibuffer).


I can close LyX and restart it and look at cua.bind and it's still
there.  (I do that in Emacs in case you're wondering.  The path on
my machine is Program Files (x86) > LyX 2.2 > Resources > bind >
cua.bind.)

However cua.bind cannot possibly be the default bind file because
if I am in LyX and type C-x it says "command disabled" so I can't
even do "cut".  I think I can figure out how to load the cua
bindings but my concern is that it will reset some of the default
bindings.  I also use LyX for math and logic and I don't want to
lose those shortcuts.

The user-defined shortcuts are not saved in cua.bind, but in 
user.bind, which is in your personal LyX directory, in the bind subfolder.


You can even directly copy the following to this file (and restart LyX):

\bind "M-I" "command-alternatives in-ipa ; ipa-insert"

HTH
Jürgen



Hi Jurgen

I don't seem to have a personal bind subfolder or a personal LyX 
directory either.  (I used Search in the Start Menu and looked in the 
obvious places using Emacs.)  Do I need to create it myself and copy 
cua.bind to it and make the alterations you suggest?


Mike

--
I *AM* a unique and special snowflake



Re: LyX key bindings

2018-03-15 Thread mike

On 15/03/2018 14:16, Paul A. Rubin wrote:

On 03/15/2018 09:25 AM, mike wrote:


So to summarize:

1.

Is cua.bind really the default?

2.

Why does C-x give "command disabled"?

3.

Will loading cua.bind blow away any pre-existing default LyX
shortcuts?

--
I *AM* a unique and special snowflake

1. Yes.
2. It shows that if you have no text selected (so that there is 
nothing to cut). If you select text and then hit Ctrl+x, it should cut 
the text.
3. I don't think you'll lose any commonly used shortcuts. I don't know 
if there are any obscure shortcuts defined in one bind file but not 
another. That said, if LyX is currently showing cua as the bind file, 
you won't lose any shortcuts you are currently using because you won't 
actually be changing anything.


Paul


Thanks very much for your answers

Best

Mike

--
I *AM* a unique and special snowflake



Re: LyX key bindings

2018-03-15 Thread mike

On 15/03/2018 14:39, Jürgen Spitzmüller wrote:
2018-03-15 15:36 GMT+01:00 mike <mailto:mikere...@onetel.com>>:


I don't seem to have a personal bind subfolder or a personal LyX
directory either.


You do. Have a look at Tools > About LyX. It's the "User Directory" 
listed in that dialog.


Jürgen


Mike

-- 
I *AM* a unique and special snowflake



Ok I am sure I'm just being thick and missing something but I can't see 
Tools > About Lyx and Help > About Lyx has nothing like User Directory.  
What am I missing please?


Aren't you getting frustrated yet?  You must be a very patient man.

Best

Mike

--
I *AM* a unique and special snowflake



Re: LyX key bindings

2018-03-15 Thread mike

On 15/03/2018 14:50, mike wrote:

On 15/03/2018 14:39, Jürgen Spitzmüller wrote:
2018-03-15 15:36 GMT+01:00 mike <mailto:mikere...@onetel.com>>:


I don't seem to have a personal bind subfolder or a personal LyX
directory either.


You do. Have a look at Tools > About LyX. It's the "User Directory" 
listed in that dialog.


Jürgen


Mike

-- 
I *AM* a unique and special snowflake



Ok I am sure I'm just being thick and missing something but I can't 
see Tools > About Lyx and Help > About Lyx has nothing like User 
Directory.  What am I missing please?


Aren't you getting frustrated yet?  You must be a very patient man.

Best

Mike

--
I *AM* a unique and special snowflake


I am definitely going to write all this up on the wiki something like 
"Ultimate IPA from scratch"


--
I *AM* a unique and special snowflake



Re: LyX key bindings

2018-03-15 Thread mike

On 15/03/2018 14:56, Paul A. Rubin wrote:

On 03/15/2018 10:50 AM, mike wrote:

On 15/03/2018 14:39, Jürgen Spitzmüller wrote:
2018-03-15 15:36 GMT+01:00 mike <mailto:mikere...@onetel.com>>:


I don't seem to have a personal bind subfolder or a personal LyX
directory either.


You do. Have a look at Tools > About LyX. It's the "User Directory" 
listed in that dialog.


Jürgen


Mike

-- 
I *AM* a unique and special snowflake



Ok I am sure I'm just being thick and missing something but I can't 
see Tools > About Lyx and Help > About Lyx has nothing like User 
Directory.  What am I missing please?


Aren't you getting frustrated yet?  You must be a very patient man.

Best

Mike

--
I *AM* a unique and special snowflake

He is. :-)

Click Help > About LyX and make sure you are on the first tab (if 
there are tabs -- I don't recall your saying which version of LyX you 
are using). User directory should be listed there.


Paul



2.2.3

--
I *AM* a unique and special snowflake



Re: LyX key bindings

2018-03-15 Thread mike

On 15/03/2018 14:12, Jürgen Spitzmüller wrote:

2018-03-15 13:43 GMT+01:00 mike:

I have to do something slightly different namely

    Tools > Preferences > Editing > Shortcuts > Cursor, Mouse and
Editing Functions > ipa-insert > Modify

I'd rather do:

* Tools > Preferences > Editing > Shortcuts > New ...

* Enter "command-alternatives in-ipa ; ipa-insert" (without the 
quotes) to Function


* Move the Cursor to the shortcut Area (the grey field)

* Perform the actual keyboard shortcut (e.g., Alt+I)

* Apply and Save

The bind file is shown as cua in which there is no binding for
ipa-insert.  (Someone please tell me if I'm wrong)

Right.

so after I click on Modify I have to select New and then enter the
binding.  So I enter C-x i and ipa-insert and it does indeed
"stick" in the sense I described before.

Ctrl-X is not a good idea. This is the default binding for "cut" (and 
Alt-X ist the default binding for the minibuffer).


I can close LyX and restart it and look at cua.bind and it's still
there.  (I do that in Emacs in case you're wondering.  The path on
my machine is Program Files (x86) > LyX 2.2 > Resources > bind >
cua.bind.)

However cua.bind cannot possibly be the default bind file because
if I am in LyX and type C-x it says "command disabled" so I can't
even do "cut".  I think I can figure out how to load the cua
bindings but my concern is that it will reset some of the default
bindings.  I also use LyX for math and logic and I don't want to
lose those shortcuts.

The user-defined shortcuts are not saved in cua.bind, but in 
user.bind, which is in your personal LyX directory, in the bind subfolder.


You can even directly copy the following to this file (and restart LyX):

\bind "M-I" "command-alternatives in-ipa ; ipa-insert"

HTH
Jürgen

Please compare to
https://wiki.lyx.org/LyX/KeyboardShortcuts#StandardKeybindings
<https://wiki.lyx.org/LyX/KeyboardShortcuts#StandardKeybindings>
where it says "You can use the script LyxBindings
<https://wiki.lyx.org/Tools/LyxBindings> to generate your own
documentats describing for your configuration of keyboard
shortcuts. Some users experience the complete loss of every
bindings after changes. In that case, a .bind file needs to be
reselected in the menu
    (Tools/Preferences/Editing/Shortcuts/Browse). /The cua.bind file
is the basic one./"

Any further help would be greatly appreciated.

Best

Mike

-- 


I *AM* a unique and special snowflake


Wow!  Jurgen comes to the rescue once again.  Jurgen you are indeed a 
genius.  Everything now works flawlessly.  With your permission Jurgen I 
will write this all up and put it on the wiki unless you don't want me 
to.  I will give you full credit for everything in the first line.


Jurgen I can't thank you enough.  I can die happy now.  It's time for me 
to get to work and use this wonderful creation of yours.


Best

Mike

--
I *AM* a unique and special snowflake



moderation

2018-03-15 Thread mike

Hello

Can someone please tell me if this list is moderated?

Thanks

Mike

--
I *AM* a unique and special snowflake



preview

2018-03-16 Thread mike

Hello

I use preview extensively.  However very often the rendering is so small 
in the LyX display that I can't make out the detail and so I don't know 
if I've got what I intended until I export to pdflatex PDF.  What can I 
do to ramp up the size of rendered preview stuff?  In fact I could do 
with the entire display being bigger.


Thanks in advance

Mike

--
I *AM* a unique and special snowflake



Re: preview

2018-03-16 Thread mike

On 16/03/2018 20:19, mike wrote:

Hello

I use preview extensively.  However very often the rendering is so 
small in the LyX display that I can't make out the detail and so I 
don't know if I've got what I intended until I export to pdflatex 
PDF.  What can I do to ramp up the size of rendered preview stuff?  In 
fact I could do with the entire display being bigger.


Thanks in advance

Mike

Sorry what I mean by display is the space between the upper toolbars and 
the lower toolbars that is backgrounded pink when something has been 
entered and the rest is black.  (Don't know what the proper term is.)


--
I *AM* a unique and special snowflake



Re: preview

2018-03-16 Thread mike

On 16/03/2018 21:17, mike wrote:

On 16/03/2018 20:19, mike wrote:

Hello

I use preview extensively.  However very often the rendering is so 
small in the LyX display that I can't make out the detail and so I 
don't know if I've got what I intended until I export to pdflatex 
PDF.  What can I do to ramp up the size of rendered preview stuff?  
In fact I could do with the entire display being bigger.


Thanks in advance

Mike

Sorry what I mean by display is the space between the upper toolbars 
and the lower toolbars that is backgrounded pink when something has 
been entered and the rest is black.  (Don't know what the proper term 
is.)



Nevermind please.  I found it.  My apologies for the noise.

Mike

--
I *AM* a unique and special snowflake



entering Unicode points directly in ipa inset

2018-03-20 Thread mike

Hello

So I've read "Using LyX to Display Phonetic Characters (IPA)" 
(https://wiki.lyx.org/LyX/LinguistLyX#toc4) specifically about the 
different ways of entering glyphs, etc. with the IPA inset but what 
still isn't clear to me is how I enter a code point like 0x0298 directly 
using the IPA inset (bilabial click that appears second on the left on 
the main IPA toolbar). Is there a way to do this?  Also is there a way 
to enter more than one at the same time in the same inset?


I wasn't sure whether I should post this here or on lyx-devel. I 
previously posted it to lyx-devel on the 17th.


Thanks very much in advance for any help

Mike

--
I *AM* a unique and special snowflake


account

2018-03-21 Thread mike

Hello

How do I get a LyX account so that I can file a bug report please?

Mike

--
I *AM* a unique and special snowflake



Re: account

2018-03-21 Thread mike

On 21/03/2018 14:14, Jean-Marc Lasgouttes wrote:

Le 21/03/2018 à 14:57, mike a écrit :

Hello

How do I get a LyX account so that I can file a bug report please?


Hello Mike,

Go to https://www.lyx.org/trac, then click on Connection.

You will find a register link on this page.

HTH,
JMarc


Thanks very much Jean-Marc yet again.

Best regards

Mike

--
I *AM* a unique and special snowflake



Re: entering Unicode points directly in ipa inset

2018-03-21 Thread mike

On 21/03/2018 00:50, Richard Kimberly Heck wrote:

On 03/20/2018 06:23 PM, mike wrote:


Hello

So I've read "Using LyX to Display Phonetic Characters (IPA)" 
(https://wiki.lyx.org/LyX/LinguistLyX#toc4) specifically about the 
different ways of entering glyphs, etc. with the IPA inset but what 
still isn't clear to me is how I enter a code point like 0x0298 
directly using the IPA inset (bilabial click that appears second on 
the left on the main IPA toolbar).  Is there a way to do this?  Also 
is there a way to enter more than one at the same time in the same 
inset?


Not with unicode-insert. I suppose we should fix that and allow 
multiple characters, as will self-insert. If you file a bug report 
about that, I expect it can be fixed quite quickly.


But note that you can do things like:
    self-insert ຄໆໆ
where the Unicode characters are just given explicity.

Riki


Hi Riki

I suppose I'm just thick but how do you the equivalent of "self-insert 
0x0298" in the command buffer?  All that happens in an inset or outside 
of one is that the text string "0x0298" gets inserted.  I didn't think 
it appropriate to ask about this in Ticket #11084 
<https://www.lyx.org/trac/ticket/11084>.


Best regards

Mike

--
I *AM* a unique and special snowflake



Re: entering Unicode points directly in ipa inset

2018-03-21 Thread mike

On 21/03/2018 18:14, Richard Kimberly Heck wrote:

On 03/21/2018 01:48 PM, mike wrote:

On 21/03/2018 00:50, Richard Kimberly Heck wrote:

On 03/20/2018 06:23 PM, mike wrote:


Hello

So I've read "Using LyX to Display Phonetic Characters (IPA)" 
(https://wiki.lyx.org/LyX/LinguistLyX#toc4) specifically about the 
different ways of entering glyphs, etc. with the IPA inset but what 
still isn't clear to me is how I enter a code point like 0x0298 
directly using the IPA inset (bilabial click that appears second on 
the left on the main IPA toolbar).  Is there a way to do this? Also 
is there a way to enter more than one at the same time in the same 
inset?


Not with unicode-insert. I suppose we should fix that and allow 
multiple characters, as will self-insert. If you file a bug report 
about that, I expect it can be fixed quite quickly.


But note that you can do things like:
    self-insert ຄໆໆ
where the Unicode characters are just given explicity.

Riki


Hi Riki

I suppose I'm just thick but how do you the equivalent of 
"self-insert 0x0298" in the command buffer?  All that happens in an 
inset or outside of one is that the text string "0x0298" gets 
inserted.  I didn't think it appropriate to ask about this in Ticket 
#11084 <https://www.lyx.org/trac/ticket/11084>.




The self-insert LFUN enters exactly what you give it, whereas 
unicode-insert accepts codepoints. The reason to have both has to do 
with file encodings, etc.


Riki


Thanks Riki.  I understand finally.

Best

Mike

--
I *AM* a unique and special snowflake



Re: entering Unicode points directly in ipa inset

2018-03-21 Thread mike

On 21/03/2018 20:12, Richard Kimberly Heck wrote:

On 03/21/2018 03:09 PM, mike wrote:

On 21/03/2018 18:14, Richard Kimberly Heck wrote:

On 03/21/2018 01:48 PM, mike wrote:

On 21/03/2018 00:50, Richard Kimberly Heck wrote:

On 03/20/2018 06:23 PM, mike wrote:


Hello

So I've read "Using LyX to Display Phonetic Characters (IPA)" 
(https://wiki.lyx.org/LyX/LinguistLyX#toc4) specifically about 
the different ways of entering glyphs, etc. with the IPA inset 
but what still isn't clear to me is how I enter a code point like 
0x0298 directly using the IPA inset (bilabial click that appears 
second on the left on the main IPA toolbar). Is there a way to do 
this?  Also is there a way to enter more than one at the same 
time in the same inset?


Not with unicode-insert. I suppose we should fix that and allow 
multiple characters, as will self-insert. If you file a bug report 
about that, I expect it can be fixed quite quickly.


But note that you can do things like:
    self-insert ຄໆໆ
where the Unicode characters are just given explicity.

Riki


Hi Riki

I suppose I'm just thick but how do you the equivalent of 
"self-insert 0x0298" in the command buffer?  All that happens in an 
inset or outside of one is that the text string "0x0298" gets 
inserted.  I didn't think it appropriate to ask about this in 
Ticket #11084 <https://www.lyx.org/trac/ticket/11084>.




The self-insert LFUN enters exactly what you give it, whereas 
unicode-insert accepts codepoints. The reason to have both has to do 
with file encodings, etc.


Riki


Thanks Riki.  I understand finally.



PS If you look under Help> LyX Functions, that's where it's documented 
what all of these do. If the documentation doesn't seem clear enough, 
let us know, and we'll fix it.



As they say in Glasgow you're a star

Mike

--
I *AM* a unique and special snowflake



install LyX 2.3 in Cygwin

2018-05-08 Thread mike

Hi

So I have Cygwin installed with a working pdflatex.  How do I install 
LyX 2.3 /within /Cygwin so that I can use it within Cygwin?  I run 32 
bit Cygwin on a 64-bit Win 7 Pro machine.


Thanks very much in advance for any help.

Best

Mike

--
An immigrant is a person without a country that can never go back

I *AM* a unique and special snowflake



Re: install LyX 2.3 in Cygwin

2018-05-08 Thread mike

On 08/05/2018 10:15, mike wrote:


Hi

So I have Cygwin installed with a working pdflatex.  How do I install 
LyX 2.3 /within /Cygwin so that I can use it within Cygwin?  I run 32 
bit Cygwin on a 64-bit Win 7 Pro machine.


Thanks very much in advance for any help.



I ask because AFAIK there is no Win native version of LyX 2.3. Somebody 
please tell me if I'm wrong or if there is a better way off dong this.


Cheers
Mike

--
An immigrant is a person without a country that can never go back

I *AM* a unique and special snowflake



Re: How many use Linux:

2009-09-15 Thread mike
Wolfgang Engelmann  writes:

> 
> 
> I used LyX since 1995 (I got to know Matthias Ettrich at the Linux User Group 
> in Tuebingen, where he started the project as a Informatics student) on SuSe 
> and later on other Linux distibutions
> 
> Wolfgang Engelmann
> Schlossgartenstrasse 22
> D-72070 Tübingen
> Tel 07071 68325
> 
> 


I started with Ubuntu 8.04 and then follow with Linux Mint Felicia. since 2008
until now.

Mike





Weird template request

2013-07-22 Thread Mike
I have Lyx 2.0.6  on Mac Lion 10.8. I am using Lyx to author novels.

My problem is:
When I open a Lyx document that has been saved previously, 
 receive the following message:

"The document /Users/mike/Documents/Books in 
Production/Templates/Lyx Novel Layout 
Template/Front Matter/Front Matter.lyx does not yet exist.

Do you want to create a new document?"

If I create a new document then , when I save the 
document and close it, the next time I open it I 
receive the same message. However, if I choose 
not to create a template then, after pressing the 
'cancel' button around fifty times, then the document 
opens without a template. If I then close Lyx I 
receive a message telling me the document was 
not saved and that it has been saved in a 'emergency' 
format.

I can't find anything in my document settings or in 
the program preferences that point to a template 
file.

Any help would be appreciated.
Thanks.




Multi-documents

2013-11-29 Thread Mike

Jürgen


The example files are:

front_matter = master document
tryout,
test2
test 3= child documents

Ben
#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass scrbook
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Chapter
test2
\end_layout

\end_body
\end_document
#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\use_default_options true
\master /Users/mike/Documents/Books in Production/trip_lyx21_prodcop/B Front 
Matter/front_matter.lyx
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
Try3
\end_layout

\end_body
\end_document
#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\use_default_options true
\master /Users/mike/Documents/Books in Production/trip_lyx21_prodcop/B Front 
Matter/front_matter.lyx
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
Test
\end_layout

\end_body
\end_document
#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474

Multi-documents

2013-11-29 Thread Mike
I presume the document class of the child is not changed by the master 
document because:


a) the text formatting options (e.g. Chapter) are not available in the 
child document

b) the document class in the child document remains set to 'article'
c) in the produced pdf file the chapter heading of the child document is 
set to 'standard' text.


Ben


printing

2013-12-04 Thread mike

Hi

Even though I am an old LaTeX user (but a new LyX user) for my current 
purposes I would like to be able to print in a format very similar to 
what I see on the screen in LyX.  I do realise that LyX is not intended 
to be wysiwyg but what I see on the screen (some basic text and 
mathematics and nested itemised lists) is just about perfect for what I 
need if I could just figure out how to print it so that the printouts 
look like what I see on the screen.


I have tried various export formats (although obviously not all of them) 
and the one that is closest to what I'm talking about is LyXHTML but 
even that is pretty far removed from what I see on the screen.


Thanks very much in advance
Mike


Re: printing

2013-12-04 Thread mike

Sorry I should have said I'm using v2.0.6 on Windows 7.

Mike

On 04/12/2013 17:43, mike wrote:

Hi

Even though I am an old LaTeX user (but a new LyX user) for my current 
purposes I would like to be able to print in a format very similar to 
what I see on the screen in LyX.  I do realise that LyX is not 
intended to be wysiwyg but what I see on the screen (some basic text 
and mathematics and nested itemised lists) is just about perfect for 
what I need if I could just figure out how to print it so that the 
printouts look like what I see on the screen.


I have tried various export formats (although obviously not all of 
them) and the one that is closest to what I'm talking about is LyXHTML 
but even that is pretty far removed from what I see on the screen.


Thanks very much in advance
Mike






Re: inter-item and inter-paragraph spacing

2013-12-12 Thread mike

On 12/12/2013 14:00, mike wrote:
I have a document which almost entirely consists of nested enumerated 
lists.  The problem is that the vertical spacing between paragraphs 
and items in an enumerated list is too close together.  I have tried 
to remedy this in Document > Settings > Text Layout by using the 
vertical space button but that doesn't seem to have any effect.  In 
the same dialogue box if I set line spacing to double I almost get 
what I want except that individual paragraphs are double spaced.  What 
I really want is that everything is "double spaced" except for the 
lines in an individual paragraph.


Can someone please help me?  I'm new to LyX.

Thanks in advance
Mike
I should have said I would really like to do this on a global basis.  
Also I don't know whether this is a LyX issue or a LaTeX one.


Thanks
mike


inter-item and inter-paragraph spacing

2013-12-12 Thread mike
I have a document which almost entirely consists of nested enumerated 
lists.  The problem is that the vertical spacing between paragraphs and 
items in an enumerated list is too close together.  I have tried to 
remedy this in Document > Settings > Text Layout by using the vertical 
space button but that doesn't seem to have any effect.  In the same 
dialogue box if I set line spacing to double I almost get what I want 
except that individual paragraphs are double spaced.  What I really want 
is that everything is "double spaced" except for the lines in an 
individual paragraph.


Can someone please help me?  I'm new to LyX.

Thanks in advance
Mike


insert emf graphic

2014-05-23 Thread mike

Hi

I have Word documents with embedded emf images that I would like to 
insert in LyX documents.  If I click on one in Word, copy and then 
attempt to paste into Lyx a dialogue box comes up to save the image as 
an emf file.  Saving it results in a box in the LyX window which says, 
for example,



pasted12.emf
Error loading file into memory
If I then try to LaTeX the document pdftex fails with the message below 
at the end of the log:




[1{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}


] [2] [3] [4] [5]

!pdfTeX error: pdflatex (file 
C:/Users/Mike/AppData/Local/Temp/lyx_tmpdir.Hp395


6/lyx_tmpbuf6/101C__Users_Mike_Documents_DropboxPanic_MST121_pasted12.png): 
lib


png: internal error

==> Fatal error occurred, no output PDF file produced!



Similarly, if I do Insert>Graphics I get the same errors.

The resulting emf file loads perfectly into Paint for example.

Am I missing the metafile2eps converter or something else?  I am using 
LyX 2.0.6 on Windows 7 (64 bit).


Thanks in advance for any help
Mike


Re: insert emf graphic

2014-05-23 Thread mike

On 23/05/2014 17:12, mike wrote:

Hi

I have Word documents with embedded emf images that I would like to 
insert in LyX documents.  If I click on one in Word, copy and then 
attempt to paste into Lyx a dialogue box comes up to save the image as 
an emf file.  Saving it results in a box in the LyX window which says, 
for example,



pasted12.emf
Error loading file into memory
If I then try to LaTeX the document pdftex fails with the message 
below at the end of the log:




[1{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}


] [2] [3] [4] [5]

!pdfTeX error: pdflatex (file 
C:/Users/Mike/AppData/Local/Temp/lyx_tmpdir.Hp395


6/lyx_tmpbuf6/101C__Users_Mike_Documents_DropboxPanic_MST121_pasted12.png): 
lib


png: internal error

==> Fatal error occurred, no output PDF file produced!



Similarly, if I do Insert>Graphics I get the same errors.

The resulting emf file loads perfectly into Paint for example.

Am I missing the metafile2eps converter or something else?  I am using 
LyX 2.0.6 on Windows 7 (64 bit).


Thanks in advance for any help
Mike
In Tools>Preferences>File Handling>Converters "Enhanced Metafile -> EPS" 
is in the list.


Mike


Multipart Documents

2014-06-20 Thread Mike
Hi,
I have a set of documents that together make up a book.
I would like to make the set of documents 
(100 in all) into a template that can be used for 
writing other books. Could anyone tell me if the 
locations of the documents are relative or fixed please? 
Or do I need to re-establish a connection 
between the master document and the child 
documents in the new document based on the proposed 
template?
Many thanks,
Mike



Re: Multipart Documents

2014-06-20 Thread Mike
Richard Heck  lyx.org> writes:

> 
> On 06/20/2014 11:36 AM, Mike wrote:
> > Hi,
> > I have a set of documents that together make up a book.
> > I would like to make the set of documents
> > (100 in all) into a template that can be used for
> > writing other books. Could anyone tell me if the
> > locations of the documents are relative or fixed please?
> 
> If there's a sensible directory structure, they should be relative.
> 
> Richard
> 
> 
Thank you for your advice. My directory structure was similar to but 
not exactly matching the address of the target documents. Therefore, my 
workaround (feeling particularly brave) - given the large amount 
of documents - was to open the source documents (which contained 
all of the calls to the target documents) and did a 'Find and 
Replace/ Change All' with the correct directory address. Took no 
more than five minutes for 3 sets of documents totalling 300 in all.

Mike




Problems importing tex into lyx

2005-08-22 Thread Mike Reeks
I've recently installed lyx. Everything seesm to wotk OK except
importing a tex document - always get the message 
Error while executing reLyx -f "filename.tex". Can anyone help or advise
apoor beginner?
Many thanks
Mike Reeks

Prof. Michael W Reeks
School of Mechanical& Systems Engineering
Stephenson Building
Claremont Rd
University of Newcastle upon Tyne
Newcastle upon Tyne, NE1 7RU
UK
 
Tel 0044 191 222 3570
Fax 0044 191 222 8600
Mob 0044 797 977 4480
Sec 0044 191 222 5236






Simple questions.

2005-09-09 Thread Mike Meyer
Bcc: [EMAIL PROTECTED]
X-Primary-Address: [EMAIL PROTECTED]
X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG%
 *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\
--text follows this line--
1) Has anyone done a layout file for unixman.sty? Google didn't turn
   one up, nor did google turn up an archive of LyX layout files.

2) I know this has to have been discussed to death - probably
   repeatedly - but I couldn't seem to find the right query to tickle
   google or the list archives into kicking it up. Could someone
   provide a pointer to a rational for going with a single window
   instead of the far more common multiple window approach? Or even tabs?

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


"open" for Unix.

2005-09-10 Thread Mike Meyer
Based on discussion regarding the configuration process on lyx-devel,
I started working on a generic "file opener" for Unix, ala "open" on
OS X and "start" on Windows. A first release is ready. I've tested it
on a number of different things, including using it to launch all my
viewers from LyX.

You can get it from http://www.mired.org/downloads/open-0.1.tgz
>. I'd appreciate comments and feedback.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: "open" for Unix.

2005-09-10 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Roy Schestowitz <[EMAIL PROTECTED]> typed:
> _/ On Sun 11 Sep 2005 01:14:55 BST, [Mike Meyer] wrote : \_
> 
> > Based on discussion regarding the configuration process on lyx-devel,
> > I started working on a generic "file opener" for Unix, ala "open" on
> > OS X and "start" on Windows. A first release is ready. I've tested it
> > on a number of different things, including using it to launch all my
> > viewers from LyX.
> >
> > You can get it from http://www.mired.org/downloads/open-0.1.tgz
> >> . I'd appreciate comments and feedback.
> >
> >  > --
> > Mike Meyer <[EMAIL PROTECTED]>  
> > http://www.mired.org/consulting.html
> > Independent Network/Unix/Perforce consultant, email for more information.
> 
> I beg you to pardon my ignorance, but what should I, as a LyX end-user, 
> be doing
> with the Python file? Don't get me wrong, I think it is a wonderful
> contribution. Is that aimed primarily at developers, for inclusion in future
> releases of LyX perhaps?

I admit that LyX-users is a strange place for this to show up. Issues
with the configuration script came up on the -devel list, and one
suggestion was that "LyX shouldn't have to worry about this." I agreed
- and this is what resulted. I'm going to try and get it bundled as
part of LyX, or at least get LyX to take advantage of open if it's
present. Since supporting LyX is a priority, I specifically wanted LyX
users as part of the test group. Hence the announcement there.

> [EMAIL PROTECTED]:~/Desktop/open-0.1> python open.py
> Traceback (most recent call last):
>   File "open.py", line 19, in ?
> from subprocess import Popen
> ImportError: No module named subprocess

My instructions didn't include enough information about this. You need
Python 2.4. The subprocess module was introduced in that. I can
rewrite the code using pre-2.4 tools if this causes enough people
problems.

> Perhaps I should look at the instructions you wrote more carefully. I 
> will do so
> shortly, as a matter fact. The archive is apparently badly structured, with 2
> directories called open-0.1 at the top level (maybe a bug which is at /my/
> end?) and two ./CVS in each.

I think that may be on your end. I certainly don't see those on my
end. Including the CVS directory was a mistake - I'm used to better
tools :-(.

Thank you for the feedback,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Simple questions.

2005-09-11 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Roy Schestowitz <[EMAIL PROTECTED]> typed:
> _/ On Fri 09 Sep 2005 22:14:14 BST, [Mike Meyer] wrote : \_
> 
> > Bcc: [EMAIL PROTECTED]
> > X-Primary-Address: [EMAIL PROTECTED]
> > X-face: 
> > "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG%
> > *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\
> > --text follows this line--
> > 1) Has anyone done a layout file for unixman.sty? Google didn't turn
> >   one up, nor did google turn up an archive of LyX layout files.
> I have not come across it. Do you strictly need that specific style? It is
> usually easy to manipulate existing ones to suit your requirements.

Well, it does the things I want. I'm still learning what will be
required to get this working, and may wind up doing what you suggest
in this case. I was hoping somene had already done it.

> > 2) I know this has to have been discussed to death - probably
> >   repeatedly - but I couldn't seem to find the right query to tickle
> >   google or the list archives into kicking it up. Could someone
> >   provide a pointer to a rational for going with a single window
> >   instead of the far more common multiple window approach? Or even tabs?
> I think I am following your point here. It is just slightly hard-to-follow,
> which must be the reason no (constructive) replies have yet been sent. 

Sorry about that.

What I mean is that most applications let you open multiple windows
for "editing" puproses, with each window usually restricted to a
specific file. So when you open multiple documents, you get a window
per document, and a menu of windows. With LyX, you get one window, and
a menu of Documents. You change between documents in that window. This
drove me batty while working through the documentation - I wanted one
window on the documentation I was reading, and another on a document I
was using as a sandbox. I eventually solved that one by exporting the
documentation as PDF, and reading *that*. I still get bit every once
and a while. I'll ask "How do I do X", hit the Help menu, find what I
want, then proceed to "do X" to the documentation. I think mostly it's
a matter of "what I'm used to", and was wondering why it was done this
way.

Angus Leeming <[EMAIL PROTECTED]> provided an answer to my question:
dealing with mutliple views into the same document requires major
restructuring of the code. This is planned for 1.5 (or later). I'd be
happy if each document was restricted to a single window, but what
the hey - if I really want it, I have the source code.

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Simple questions.

2005-09-11 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Roy Schestowitz <[EMAIL PROTECTED]> typed:
> > What I mean is that most applications let you open multiple windows
> > for "editing" puproses, with each window usually restricted to a
> > specific file. So when you open multiple documents, you get a window
> > per document, and a menu of windows. With LyX, you get one window, and
> > a menu of Documents...
> I don't consider that to be a bad thing. I dislike window clutter a la Word.
> What I mentioned earlier is what bothered me more: too many children windows.

Yeah, I could see getting used to this behavior. I set things in Emacs
to not open new windows when you open new documents. I was just
curious as to why LyX did things this way, rather than the more
conventional way.

> Instantiate another instance of LyX. Although LyX is singleton as
> far as I can tell, you can launch (using your Python-based Open?) a
> second terminal and call LyX from that.

Unfortunately, I was working on a Mac, using the Mac version of
LyX. If you can have two copies of LyX running, I haven't figured out
how. Trying to launch LyX a second time just pops up the window for
the running copy. Opening a second .lyx file causes the running LyX to
try and open it.

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Cannot get docbook on a mac

2005-09-13 Thread Mike Meyer
In <[EMAIL PROTECTED]>, David Rolfe <[EMAIL PROTECTED]> typed:
> I am new to this forum, but have used lyx a little bit over a
> longish period of time. I now run on OS X tiger and installed the
> Tex bundle with fink (which appears to include a bunch of
> sgml/docbook stuff) and the Aqua version of lxy and everything seems
> to be working ... except that all the dockbook and sgml stuff is
> marked as unavailable. In addition none of the templates work. They
> all complain about a missing Tex class. So... I need some help
> here. What pieces am I missing?

the configure script walks your $PATH looking for sgmltools and/or
db2dvi to decide whether or not to configure docbook support. Fink
probably put those in /sw/bin.

If that's the case, you need to add /sw/bin the path used by LyX. On
tiger (sorry, I'm a Mac newbie and haven't dealt with anything else)
you edit ~/.MacOSX/environment.plist. There's a GUI plist editor
available, but the file is just XML text, so you can use your favorite
text editor on it as well.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Cannot get docbook on a mac

2005-09-13 Thread Mike Meyer
[Apologies to those of you who are seeing this twice.]


In <[EMAIL PROTECTED]>, Bennett Helm <[EMAIL PROTECTED]> typed:
> On Sep 13, 2005, at 10:03 AM, Mike Meyer wrote:
> > the configure script walks your $PATH looking for sgmltools and/or
> > db2dvi to decide whether or not to configure docbook support. Fink
> > probably put those in /sw/bin.
> > If that's the case, you need to add /sw/bin the path used by LyX. On
> > tiger (sorry, I'm a Mac newbie and haven't dealt with anything else)
> > you edit ~/.MacOSX/environment.plist. There's a GUI plist editor
> > available, but the file is just XML text, so you can use your favorite
> > text editor on it as well.
> Actually, if all you want is to add /sw/bin to the path that LyX  
> uses, you should do it from within LyX itself: LyX > Preferences >  
> PATH > PATH Prefix. (For LyX/Mac-1.3.6, the default settings already  
> have /sw/bin there.) If you add something to the PATH setting in  
> ~/.MacOSX/environment.plist, that will apply to *every* OS X  
> application, which is probably overkill and potentially a security risk.

Whether or not it's overkill depends on how many applications you have
that want to use programs from fink (or, in my case, darwinports). I
have a couple, so doing things this way is easier for me.

I found this method while trying to figure out why LyX wasn't finding
my darwinports software. That I didn't find the LyX > Preferences >
PATH > PATH Prefix methods suggests a doc bug. This appears to be a
Mac issue - I don't find the PATH entries in preferences in 1.3.5 on
my Unix box. Might just be my not having taken time to read the docs
properly, though.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Command Control

2005-09-13 Thread Mike Meyer
I use LyX on both Unix and the Mac. The Mac version does a marvelous
job of looking like a Mac application (at least to my
not-very-mac-enabled-eyes), but it does so by mapping the control key
bindings to the command key. This means I can't use the non-Mac
bindings - especially the emacs bindings - an get the behavior I
want. This means it's a pain for me to move back and forth between the
two.

Can someone suggest a way to make the control key in MacLyX be the
control key, instead of the command key?

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Command Control

2005-09-13 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Bennett Helm <[EMAIL PROTECTED]> typed:
> On Sep 13, 2005, at 5:31 PM, Mike Meyer wrote:
> > I use LyX on both Unix and the Mac. The Mac version does a marvelous
> > job of looking like a Mac application (at least to my
> > not-very-mac-enabled-eyes), but it does so by mapping the control key
> > bindings to the command key. This means I can't use the non-Mac
> > bindings - especially the emacs bindings - an get the behavior I
> > want. This means it's a pain for me to move back and forth between the
> > two.
> > Can someone suggest a way to make the control key in MacLyX be the
> > control key, instead of the command key?
> I believe it's a Qt/Mac issue: only  and  are  
> available for key bindings. (If I recall, it's possible to patch Qt  
> to substitute  for one of these, but I think it's a  
> substitution rather than an addition. Can anyone correct me on this?)

It's definitely a substitution. If I use one of the other bindings,
Command-Key does what I expect Control-Key to do, and Control-Key does
nothing. If it had been an addition, I probably would have never
noticed.

Anyone got a pointer to the patch?

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: lyx/windows installation

2005-09-14 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Bo Peng <[EMAIL PROTECTED]> typed:
> > * sh for the configure script. It would be nice to rewrite it in
> >   python, but nobody is brave enough to do it
> It is not terribly long (1600 lines) and most of the code are simple
> test/if/else that can
> be replaced by equivalent Python code. I am not saying that I can do
> the translation
> any time soon, but will you (lyx-devel) test and accept such a
> translated code once
> it is completed? Also, do you have any improvement in mind so that I can add 
> it
> in?

Which configure script are you talking about? There's one that builds
the make files, etc. That's actually generated automatically by
autoconf and automake and maybe others. See autogen.sh for details on
how it gets built. Rewriting that configure script means the
developers have to maintain the script, rather than the files used to
generate it. That may not be met a net win.

There's also lib/configure, which is used to build the preferences
file from the environment. I have issues with that script, and
wouldn't mind rewriting it. It's a hand-maintained shells script
originally built with the autofoo commands. Replacing it with Python
is probably a win.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: lyx/windows installation

2005-09-14 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Angus Leeming <[EMAIL PROTECTED]> typed:
> >>  Open file by extension is a very common practice
> >> under windows. Under linux/unix, we also only need to keep track of
> >> command names, not their pathes.
> > 
> > BTW, it is very un-windows when someone has to set
> > c:\progra~1\acrobat\reader\ to let lyx view pdf files.
> > 
> > Bo
> 
> Sure. The Windows way would be to define a viewer in lyxrc.defaults as
> 
> \viewer pdf "open $$i"
> 
> because the user will already have associated a .pdf extension with
> something like AcroRd32.exe.

I thought the command on windows was "start". Then again, I use
windows only under great duress, and charge extra for it.

The same thing works for OS X.

It also works for Unix if you've got the "open" utility.

With Unix and Mac OS X, open can be found on the path. Is the same
true for Windows?

Of course, that only deals with opening files for viewing. LyX also
needs to deal with commands that convert files between types, like
pdflatex, latex2html, dvipdf2m, gif2pdf, etc. The unix open will deal
with this (well, the CVS version will). The OS X open won't.  Will the
Windows open?

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Portability to Neo/Open/Star Office?

2005-09-15 Thread Mike Meyer
I've got a project that requires exchanging documents with others
using StarOffice Writer (or one of it's children). Part of the
requirement is to get change bars as the document moves back and
forth.

1.4.0 apparently has change bar support - I haven't tried it
yet. That's excellent, and I have no problem running CVS versions of
software.

Howver, getting the things to/from Writer format is another matter
entirely.

I've turned up Writer2Latex, which would seem to handle the "from"
part of the problem. I have no idea how well it will handle change
bars.

I haven't been able to find anything to handle the "to" part. Can
someone provide me with pointers? In a pinch, they can read MSWord doc
files in Writer.

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Portability to Neo/Open/Star Office?

2005-09-16 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Georg Baum <[EMAIL PROTECTED]> typed:
> Mike Meyer wrote:
> > I haven't been able to find anything to handle the "to" part. Can
> > someone provide me with pointers? In a pinch, they can read MSWord doc
> > files in Writer.
> Try tex4ht. It has a mode to output OpenOffice files.

That was fun. I've obviosly gotten spoiled by package systems.

Anyway, the two conversion commands suggested here (thanks to you
both!) give the same resul: all structural (and hence formating)
information is lost. All the paragraphs are either "Text body" or
"First line indent". Paragaph and Subpagraph enviroments show up as
empty.

I suspect it has something to do with using a home-grown
class. Copying article.ht4 to neodoc.ht4 - nedoc is a tweaked version
of article - doesn't change anything.

I think I've spent enough time on this today. Suggestions on where to
look for clues would be appreciated.

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Open, take two

2005-09-18 Thread Mike Meyer
Ok, I know this is a strange place to announce a new Unix tool. But
LyX is the inspiration for this, and workinng well with LyX is a high
priority. I'd like to get feedback from LyX users early, so please
bear with me. To provide some motivation for looking at this, here's
an excerpt from my .lyx/preferences:

bhuda% cd ~/.lyx
bhuda% grep open preferences 
\viewer "dvi" "open"
\viewer "eps" "open"
\viewer "html" "open"
\viewer "pdf" "open"
\viewer "ps" "open"
\viewer "rtf" "open"
bhuda% grep convert preferences 
\converter "latex" "dvi" "convert -f dvi $$i" ""
\converter "latex" "html" "convert -f html $$i" "originaldir,needaux"
\converter "ps" "pdf" "convert -f pdf $$i" ""
\converter "latex" "rtf" "convert -f rtf $$i" ""

Note that this does require Python 2.4. Depending on feedback, that
may change.

Here's the announcement as used elsewhere

"open" is designed to provide Unix users with a single tool for
dealing with the multitude of applications that deal with data files.
Without open - or something like it - every time a user wants to look
at a file, they have to figure out what type the file is and which
application on their path can open that file, and then invoke that
application with the appropriate arguments. Likewise, every
application that uses external applications has it's own database of
file types and applications. Applications developers have to choose a
format for the database, write code to parse it, and provide a GUI for
editing it.  This not only represents a duplication of effort, but
requires the user to tell every application how to deal with each type
of file, meaning they have to learn multiple different tools for
dealing with this information.

"open" was designed to solve these problems. If the user wants to open
a file, they just invoke "open" on it. To edit it, they just invoke
"open -c edit" (or "edit" if they've installed it that way). Open will
figure out which application they want to use for this, and arrange
that it gets called appropriately. If open can't find an application,
it'll ask the user to choose one, and save that choice for future
reference.  For applications, open provides an API that takes care of
the entire problem. There's no need to parse a configuration file,
provide facilities for editing the configuration file, ensure the
consistency of the configuration file, or any such thing. The
application merely hands the file name to "open", and "open" does the
rest. Further, the API is one that any program that has to deal with
external applications already deals with - launching an external
application on a file. So users can start getting the benefit of using
"open" even if none of the applications they have installed know about
it - all they have to do is tell each application to use "open" for
everything. Hopefully, applications will start checking for and using
"open" as an external viewer by default, removing even that burden
from the user.

The benefits to the user are multifold. They only have to learn one
interface for configuring the invocation of external programs. If they
install a new foo viewer, and decide they want to use that for viewing
foos everywhere, they only have to change it in one place - the "open"
database. Users can quit worrying about "What application opens this
file" at the command line. Well, most of the time. Instead, they just
do "open ", and let open sort it out.

It's not got it's own web page yet. The tarball can be found at http://www.mired.org/downloads/open-0.2.tar.gz >. Discussionn shold
take place off-list.

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Open, take two

2005-09-18 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Bo Peng <[EMAIL PROTECTED]> typed:
> > "open" is designed to provide Unix users with a single tool for
> > dealing with the multitude of applications that deal with data files.
> > Without open - or something like it 
> Under windows/dos, this is called start. Anyway, how do you determine
> the application to use? Are you using something like MIME types?

And under OS X, it's called open, but it's not as powerful as what
I've written.

Nope - I don't have a mime type handy. I use the files extension. I do
know those aren't unique, and have already located tools for doing
more sophisticated determination of a files type. But that's for
later.

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Open, take two

2005-09-18 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Andre Berger <[EMAIL PROTECTED]> typed:
> * Mike Meyer <[EMAIL PROTECTED]>, 2005-09-19 06:40 +0200:
> > In <[EMAIL PROTECTED]>, Bo Peng <[EMAIL PROTECTED]> typed:
> [...]
> > And under OS X, it's called open, but it's not as powerful as what
> > I've written.
> Give it a different name to avoid unnecessary confusion.

Got any suggestions? "Launch" is less accurate and also already taken
by an OSS replacement for open on OSX. I don't like "start" - it's
less accurate as well. "display" might work, but it's also already
taken, by something comletely different. Likewise, the two alternative
names that open already supports - "edit" and "convert" exist as
commands. "edit" is a hard link to ee, and "convert" is an image
conversion program that comes with ImageMagick.

The names are important. The default action is the basename of the
name the program was invoked as. So where "open foo.gif" might use
xloadimage, "edit foo.gif" might invoke the gimp. Of course, you can
install it as whatever you want and alias them to
"mwms-magic-file-opener -c open" and "mwms-magic-file-opener -c
edit". But the longer it waits, the harder it is to change them.

I'm waiting for the python crowd to object to using "open" as
well. It's builtin in the language, and they frown on using those as
variable names.

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: lyx to OO conversion tool?

2005-09-23 Thread Mike Meyer
In <[EMAIL PROTECTED]>, David Nicol <[EMAIL PROTECTED]> typed:
> Can someone please point me to a tool that will convert a LyX document
> to a soffice document, no matter how rough the tool is?

When I asked this earli this month, the only thing that came up was
tex4ht. I tried it, but it didn't do a very good job for me.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: lyx to OO conversion tool?

2005-09-23 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Luis Rivera <[EMAIL PROTECTED]> typed:
> Mike Meyer <[EMAIL PROTECTED]> writes:
> 
> > 
> > In <[EMAIL PROTECTED]>, David Nicol
> > <[EMAIL PROTECTED]> typed:
> > > Can someone please point me to a tool that will convert a LyX document
> > > to a soffice document, no matter how rough the tool is?
> > 
> > When I asked this earli this month, the only thing that came up was
> > tex4ht. I tried it, but it didn't do a very good job for me.
> I tried it, and it worked for me... sort of.

That's about the most that you can say for what it did for me as well.

> So, first, export your LyX file into LaTeX.  Then install a recent tex4ht
> system, and run `oolatex >yourfile<'.

I tried that. It turned all my paragraphs and subparagraphs into
empty environments. Not very useful. I haven't had time to chase it
since then.

One thing you might consider that got sent to me:

From: Andre Berger <[EMAIL PROTECTED]>
> For an "easy" conversion, put these into your LyX preferences file:
>
> \converter "latex" "sxw" "oolatex $$i" "latex"
> \format "sxw" "sxw" "OpenOffice" ""
> \viewer "sxw" "open"

The viewer may need to be something other than "open", depending on
your environment.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Poor men's scientific workplace.

2005-10-07 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Rich Shepard <[EMAIL PROTECTED]> typed:
>One of the biggest hurdles for users to pass is the compulsion to tweak
> minor appearance details.

My explanation of the LaTeX/LyX philosphy is:

Word processors make it easy to get the pages that look exactly like
you want them to. LaTeX/LyX makes it easy to get professional looking
pages. Unless you're a professional designer of such, the two will be
unrelated. Decide which you want, and use the right tool for the job.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Defining paragraph styles

2005-10-16 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Paul <[EMAIL PROTECTED]> typed:
> Is there an easy way to redefine paragraph styles in Lyx?
> 
> I'm new to LyX and TeX, and I'm just trying to use it to typeset a book.
> It's going well, I'm using the "book" document class, I get a nice
> output, but now I want to change the chapter headings to a different
> size and font, say. Or give the body text paragraphs a different first
> line indent.
> 
> In Word, for example, I would just go to the paragraph styles and either
> add my own or override an existing one.
> 
> I've done some RTFM but I want to make sure I'm on the right track and I
> haven't overlooked something stupid.

Well, you have sort of overlooked what I think is the point of
LyX/LaTeX. But we'll skip that.

> Is it right that Word's paragraph styles are analogous to "environments"
> in LaTeX?

Roughly.

> >From various places it suggests creating .layout, .sty or .cls files but
> I'm not sure which - it seems a bit complicated for something so basic
> which makes me think I might be doing something wrong. Or do I just add
> some code to the LaTeX Preamble section in the Document Settings? Should
> I be creating my own class from scratch? Or just overriding parts of the
> basic "book" class? Could someone give me a basic example of changing
> the font used for the chapter headings?

The first thing to understand is that there are two completely
separate renderings in LyX. There's the rendering you get in the LyX
window, and the rendering you get when you export to TeX.

The former is controlled by the layout files. For each environment,
you set the fonts, sizes, etc, and that sets how it's displayed in LyX.

The look when it's renderd by LaTeX is controlled by the .sty and .cls
files. In your case, you need to look into the book.cls file. You'll
want to copy it into a private part of the search path and change the
name so you don't screw up other documents that want to use the
original book class. Ditto for the layout file. You'll want to edit
those to change the names as appopriate.

> It's only the output I'm worried about - it doesn't matter how it looks
> in LyX.

So the only changes you need to make to the layout file are to get it
to use the correct class file for the output.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Defining paragraph styles

2005-10-18 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Paul <[EMAIL PROTECTED]> typed:
> Mike Meyer wrote:
> >>Is there an easy way to redefine paragraph styles in Lyx?
> ...
> > Well, you have sort of overlooked what I think is the point of
> > LyX/LaTeX. But we'll skip that.
> The point being that authors should concentrate on content and logical
> markup, and typesetters/publishers should worry about how the final
> thing looks? Kind of (but not exactly) like the separation between HTML
> and CSS?

Yeah, except that LaTeX predates the desktop publishing experiment,
and didn't get polluted with by a phase of people trying to make it
into a desktop publishing system.

> I'm wearing my typesetting hat at the moment, so does that mean that Lyx
> isn't really suitable for me - it's more designed for content creators?

Sort of. LaTeX (which is what does the typesetting of the output)
helps typesetters make it easy for content creators to create
professional looking documents. Once you get into it, you'll find that
it's provides more control than most WP systems (at least the ones I'm
familiar with). If you're just not happy with what's available, and
want to create a new style that you'll then use for many documents,
that's pretty much normal.

On the other hand, if you're going to be tweaking the output for every
document you create, then you might be better off with something
else. For one thing, getting just the look you want is harder in LaTeX
than in a convention WP. For another, the style information isn't
stored in the document, so you wind up having to create new style
sheet for each deocument if you want to be able to recreate the ouput
later on.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


RE: Lyx command line question: summarized

2005-10-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Sanders, Maarten (M.J.L.) <[EMAIL PROTECTED]> typed:
> 2) run, before you run pdflatex, something like
> for FILE in `find . -name '*\.gif'`; do convert $FILE `echo $FILE | sed
> 's/\(.*\.\)gif/\1png/'`; done

basename is safer:

for file in $(find . -name *.gif)
do
convert $file $(basename $file .gif).png
done

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Lyx command line question

2005-10-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Paul <[EMAIL PROTECTED]> typed:
> Maybe it's just my mail client, but this list seems to default for a
> reply to the sender instead of to the list, unlike all the other lists
> I've ever been on. I accidently sent a reply intended for the list to
> the sender and didn't realise until a few days later. So maybe other
> people have the same problem.

Thoe other lists are (probably) in violation of RFC-2822. You should
get into the habit of hitting "Reply All" to reply to the list.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Lyx command line question: summarized

2005-10-19 Thread Mike Meyer
[drifting off-topic]

In <[EMAIL PROTECTED]>, Angus Leeming <[EMAIL PROTECTED]> typed:
> The problem is that "for" splits the returned list of files using
> whitespace...
> 
> Perhaps the bigger problem is that you can overrun the internal array size
> used by "for" to store the list of returned list of files.

"Running out of argument space" always triggers my xargs detector:

find foo -name '*.gif' -print0 | xargs -0 -n 1 convert -f gif

Which has the advantage that it will work properly on files with
newlines in the name.

Note that this uses my "open" utility symlinked as "convert", not the
"convert" command that comes with Imagemagick. That just happens to
do the right thing in this case.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Lyx command line question: summarized

2005-10-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Angus Leeming <[EMAIL PROTECTED]> typed:
> Lars Gullik Bjønnes wrote:
> > | The problem is that "for" splits the returned list of files using
> > | whitespace...
> > 
> > find foo -name \*.gif -print -exec convert {} `basename {}`.png \;
> > then (ha!)
> 
> Thanks. I've just learnt something.
> 
> Don't you have to quote the args passed to convert? Bet you still do.

Depends on the shell. { and } are magic to csh and zsh, and need
quoting if you're using those. They aren't magic to sh, so they don't
need quoting if you're using that. I don't keep bash installed, so I
don't know if you need them with bash. As an ex-csh user, I quote them
out of habit.

But the basename invocation used by lars is wrong. It needs to be
$(basename {} .gif).png (I always use $(...); you have to to nest
command substitutions, and I find it a bit more readable). If you
leave out the .gif, you get the full filename.

> Ain't scripting fun ;)

Your scripts work much better if you start them with #!/usr/bin/env python
:-).

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Clever quotes

2005-10-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Rich Shepard <[EMAIL PROTECTED]> typed:
> On Thu, 20 Oct 2005, Paul wrote:
> 
> > Is there a command-line tool that does this using some heuristics to cover
> > most areas that could be problematic?
> 
> Paul
> 
>sed. tr, too, but sed would work. Something like s/"[A-Z,a-z]?/``?/g. I 
> didn't look
> at my sed book, but that reads, "substitute two single backqotes when there's
> a plain double quote followed by a single character; do this globally." You
> want to test that it's not a period, but a letter.

You want 's/"\([A-Za-z]\)/``\1/g'.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Fwd: Choice of fonts in LaTeX

2005-10-24 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Sam Russell <[EMAIL PROTECTED]> typed:
> (I assumed the Reply-to: would be the list)

Bad assumption. The list isn't broken.

> Knuth also argues in METAFONT that slanted will make it easier for
> typeface designers to produce multiple faces from a single style.

So can they get a slanted face out of an MM font?

Thanks,
  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


indent + raggedright

2005-11-29 Thread Mike Leahy
Hello list,

I'm a new user, and just getting familiar with LaTeX/LyX.  I'm just
wondering if anyone knows of a way to get the 'standard' style of text
to have both indents for new paragraphs AND have ragged right edges
(since that's a requirement for a paper I'm working on).  Every time I
enable raggedright (e.g., in the preamble), I lose all indents for text
in the 'standard' class.  I don't have much luck doing inline in an ERT
section.  I've been digging around the net for a couple days now, but no
working solution has revealed itself to me.

Does anybody have any suggestions?

Thanks in advance,
Mike



Re: indent + raggedright

2005-11-29 Thread Mike Leahy
Nevermind - I missed this:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg15610.html

That solution worked for me.

Mike Leahy wrote:
> Hello list,
> 
> I'm a new user, and just getting familiar with LaTeX/LyX.  I'm just
> wondering if anyone knows of a way to get the 'standard' style of text
> to have both indents for new paragraphs AND have ragged right edges
> (since that's a requirement for a paper I'm working on).  Every time I
> enable raggedright (e.g., in the preamble), I lose all indents for text
> in the 'standard' class.  I don't have much luck doing inline in an ERT
> section.  I've been digging around the net for a couple days now, but no
> working solution has revealed itself to me.
> 
> Does anybody have any suggestions?
> 
> Thanks in advance,
> Mike
> 
> 
> 



Raggedright text in list of figures

2006-02-12 Thread Mike Barnsley
This is really a LaTeX question, I guess, so apologies in advance to 
everyone for prevailing on this list, but.


Does anyone know what ERT I should use so that the text in my list of 
figures and list of tables (i.e. the figure and table captions) is 
typeset in raggedright format? I am using the 'book' documentclass and 
several of my figure and table captions are quite long, leading to a lot 
of hyphenation in the lists of figures and tables, as well as some 
overfull lines in the same. I need to leave the captions fully justified 
in the main body of the text (requirement of the publisher), and have 
kept the captions as short as possible (requirement of the reader's sanity).


I have played with the \addtocontents command in my preamble without 
success, and have tried putting \raggedright in the main document before 
the List of Tables and List of Figures entries but I suspect that this 
is the wrong approach and, in any case, it yields the following error:


   LaTeX Error: There's no line here to end.
\\

Short of exporting my LyX file to LaTeX and manually editing the 
resulting .lof and .lot files, can anyone enlighten me as to how I might 
proceed?


Very many thanks,

Mike Barnsley




Images can't load

2006-04-20 Thread Mike Mellor


I am trying to use LyX on a Mac.  I have installed everything that  
the web site suggests.


I am having trouble getting images to display in views.  When I try  
to view a file, I see the following error in the console (log file):


/private/tmp/lyx_tmpdir15737RDBp8/lyx_tmpbuf0/slideDemo2.dvi ->  
slideDemo2.pdf
[1][2][3][4][5zcat: /private/tmp/lyx_tmpdir15737RDBp8/ 
lyx_tmpbuf0/2_Users_mike_Login_Photos_maria.eps.Z: No such file or  
directory

]

This was with the Foils template, but I get the same response with  
any other template.  If I manually create the .Z file, it does show  
the image.


What do I need to do to get images to display in views?

Thanks.

Mike


Re: Images can't load

2006-04-21 Thread Mike Mellor


On Apr 20, 2006, at 10:58 PM, Georg Baum wrote:


Mike Mellor wrote:


/private/tmp/lyx_tmpdir15737RDBp8/lyx_tmpbuf0/slideDemo2.dvi ->
slideDemo2.pdf
[1][2][3][4][5zcat: /private/tmp/lyx_tmpdir15737RDBp8/
lyx_tmpbuf0/2_Users_mike_Login_Photos_maria.eps.Z: No such file or
directory
]

This was with the Foils template, but I get the same response with
any other template.  If I manually create the .Z file, it does show
the image.

What do I need to do to get images to display in views?


This is a known bug: http://bugzilla.lyx.org/show_bug.cgi?id=2231.
Unfortunately it is not reproducible on Linux. Is you original  
image file

that you inserted in the .lyx file compressed or not?


Georg



No, they are regular .jpg, .png and .tif files (I tried a couple of  
different pictures).   The viewed file has space for the image, but  
no image.


Mike





Indenting Paragraphs with Letter Template

2006-04-24 Thread Mike Mellor


I am new to LyX and am trying out the letter template.  I am having a  
problem with the paragraphs not indenting in previews, even though  
that is the formatting that I have selected for the letter.  When I  
open the code up in a LaTeX viewer, there is no indication that it  
should indent.  Any idea what I need to do?  The paragraphs look  
indented in LyX, just not in any output.  Thanks.


Mike


Re: LyX and 10.4

2006-04-25 Thread Mike Mellor


On Apr 25, 2006, at 7:30 PM, Bennett Helm wrote:


On Tue, 2006-04-25 at 15:56 -0500, Bruce Pourciau wrote:

I am currently running LyX 1.3.4 on Mac OS 10.2.8. If I update the OS
to 10.4, should I expect to have problems running LyX 1.3.4?


I'm not sure about LyX 1.3.4, but 1.3.7 works well on Mac OS X 10.4.
Just make sure you run the installer that comes with the LyX
application.

(If you have a fast machine, I'd recommend upgrading to LyX 1.4.1.)

Bennett


Other than the issues I've had learning LyX, it works fine on 10.4.6.

Mike





Word appears twice

2007-07-13 Thread Mike Stevens


Using LyX 1.5 rc2 on OSX, while editing text I have twice noticed that the 
display on the screen incorrectly showed two copies of a word, one at the end 
of a line and one at the start of the next line. I have not been able to 
reproduce this at will, so I'm not quite sure what I did - I think it was 
deleting something, making room for a word to move up a line. I had changed the 
default size of the window on the screen.

Michael


---
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
   Hook, Hampshire, United Kingdom  RG27 9UY
---


spell check problem

2007-08-02 Thread Mike Stevens


This problem occurs with 1.5.rc2 and the latest 1.5.0.

I am working under OS X, and using aspell.

When I run a spell check, it correctly locates the first questionable word (it 
happens to have accents above a couple of letters). I ask it to add the word to 
the dictionary. I proceed to spell-check the rest of the document and every 
time from then on it highlights the word following the questionable word 
instead of the word itself. The suggested replacement is obviously related to 
the misspelled word, not the highlighted one.  

Is this a known bug, or have I done something wrong?

Michael


Michael Stevens
[EMAIL PROTECTED]
 



---
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
   Hook, Hampshire, United Kingdom  RG27 9UY
---

Feature Request: Show the title in closed floats

2007-11-30 Thread mike c
Hi all (I'm new to this list),
It'd be nice if closed floats showed a little more than just "Float: Figure"
or "Float: Table".  Is there an option (or the possibility of an option) to
show the title of the figure or table as well? e.g. "Float: Figure - The
Fabulous Machine"

Mike.


Bug?: "Here definitely" produces page of floats.

2007-11-30 Thread mike c
Hi there,
I'm running MacTeX with LyX 1.5.2.

If I set the Document / Settings / Float Placement to "Here Definitely", and
leave all the individual float settings at "Use default placement" I
actually get all the floats on one page.

However, if the Global Settings are "Here Definitely" and just one single
float is individually set to "Here Definitely", then it works as you'd
expect (with every float forced to the correct position).


Anyone else get this problem?
Mike.


Feature Request: Show the title in closed floats

2007-11-29 Thread mike c
Hi all (I'm new to this list),
It'd be nice if closed floats showed a little more than just "Float: Figure"
or "Float: Table".  Is there an option (or the possibility of an option) to
show the title of the figure or table as well?

Mike.


Re: LyX QuickLook Plugin

2007-12-13 Thread mike c
I actually meant to elaborate in my original post, but it got sent
half-finished thanks to gmail and a bad key combo.

On Dec 14, 2007 3:53 PM, Bennett Helm <[EMAIL PROTECTED] > wrote:
>Nonetheless, it looks like adding Quick Look
>support is relatively easy -- if you don't expect the LyX document to
>show formatting.

Currently, without any special plugins installed, Leopard treats the LyX
file as a text file and shows it as such. So I didn't have to change
anything in Leopard at all to get that functionality. The display of the raw
lyx is slightly helpful, but not really.

I am considering diving in and making a quicklook plugin in that does
something/anything more helpful, and was really asking if anyone had
bothered hacking themselves something before I started.

Really, all I'd desire is a plugin that:
* "lyx -e pdf "
* quicklook points to that file.

However, this brings in the overhead of having the entire file processed
lyx->pdf.  And I have no idea on how QuickLook info is cached.


Re: LyX QuickLook Plugin

2007-12-13 Thread mike c
On Dec 14, 2007 5:28 PM, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:

> You could try 'lyx -e text' instead as this is processed by LyX only
> should be very fast.
>

That's going to be my first attempt.  If I can get quicklook to see the
output text file, then it's only a short step (i hope) to get it to see an
output pdf file.

Formatting is important for me, so text-only is an interim measure.


Re: LyX QuickLook Plugin

2007-12-14 Thread mike c
On Dec 14, 2007 5:57 PM, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:

> mike c wrote:
> > output text file, then it's only a short step (i hope) to get it to see
> an
> > output pdf file.
> That would be best indeed but I fear that it will be a bit heavy.

That's what I'm afraid of.  I'll aim to get a text only one working first
and see where that takes me.

If 'pdf' is too costly, another solution would be to let LyX output a
> screenshot of the first page. This would be easy to implement.

Is there a current option to do this? Or are you thinking of adding one in?
something like "lyx -e png file.lyx" ?

Also, how do you get lyx to export (with the -e switch) to a particular
file. Presently it seems to just  export  filename.lyx to filename.fmt with
no  options for anything else.


Re: LyX QuickLook Plugin

2007-12-14 Thread mike c
On Dec 15, 2007 8:59 AM, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:

> >
> > Also, how do you get lyx to export (with the -e switch) to a particular
> > file.
>
> Not possible I think...


Hmm. Being able to specify an output file seems like a pretty natural
function (with filename.fmt being a good fallback).  However, I've only just
grabbed source from SVN, so don't expect any code from me just yet.


Equation numbering

2006-08-07 Thread Mike Reeks
Any idea how to change Eqn numbering from numbering by section to absolute 
numbering?
Mike



RE: Equation numbering

2006-08-08 Thread Mike Reeks
Dear Uwe
Nearly there. The command in preamble numbers the equation in each section 
.without the section number. I want the equation number in ascending order 
irrespective of section number e.g. 1, 2, 3 etc for section n (before they were 
numbered n.1, n.2 etc.  I need to turn of a section counter maybe.
Any help
I should say I am using a J. Fluid Mech cls layout file which should do the 
trick since this is the journal  eqn number style.
Mike



From: Uwe Stöhr [mailto:[EMAIL PROTECTED]
Sent: Mon 07/08/2006 21:23
To: Mike Reeks
Cc: Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering



Mike Reeks wrote:

> Any idea how to change Eqn numbering from numbering by section to absolute 
> numbering?

Add this line to your preamble or at the beginning of your document in
ERT (assure that you use amsmath explicitely in the document preferences):

\renewcommand{\theequation}{\arabic{equation}}

regards Uwe




RE: Equation numbering

2006-08-09 Thread Mike Reeks
Thanks Jens.



From: Jens Noeckel [mailto:[EMAIL PROTECTED]
Sent: Tue 08/08/2006 19:00
To: Mike Reeks
Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering




On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote:

> Dear Uwe
> Nearly there. The command in preamble numbers the equation in each 
> section .without the section number. I want the equation number in 
> ascending order irrespective of section number e.g. 1, 2, 3 etc for 
> section n (before they were numbered n.1, n.2 etc.  I need to turn 
> of a section counter maybe.
> Any help
> I should say I am using a J. Fluid Mech cls layout file which 
> should do the trick since this is the journal  eqn number style.
> Mike
>
> 
>
> From: Uwe Stöhr [mailto:[EMAIL PROTECTED]
> Sent: Mon 07/08/2006 21:23
> To: Mike Reeks
> Cc: Lyx-users; [EMAIL PROTECTED]
> Subject: Re: Equation numbering
>
>
>
> Mike Reeks wrote:
>
>> Any idea how to change Eqn numbering from numbering by section to 
>> absolute numbering?
>
> Add this line to your preamble or at the beginning of your document in
> ERT (assure that you use amsmath explicitely in the document 
> preferences):
>
> \renewcommand{\theequation}{\arabic{equation}}
>
> regards Uwe
>
>

Try the following (one additional line):

renewcommand\theequation{\arabic{equation}}
[EMAIL PROTECTED]

Regards,
Jens





RE: Equation numbering

2006-08-09 Thread Mike Reeks
Dear Jens
In my preamble after the line
\renewcommand{\theequation}{\arabic{equation}}
I added the line 
@addtoreset{equation}{section}
which had nor effect. Have  I followed your suggestion correcty, have I mispelt 
it. What next?
Mike




From: Jens Noeckel [mailto:[EMAIL PROTECTED]
Sent: Tue 08/08/2006 19:00
To: Mike Reeks
Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering




On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote:

> Dear Uwe
> Nearly there. The command in preamble numbers the equation in each 
> section .without the section number. I want the equation number in 
> ascending order irrespective of section number e.g. 1, 2, 3 etc for 
> section n (before they were numbered n.1, n.2 etc.  I need to turn 
> of a section counter maybe.
> Any help
> I should say I am using a J. Fluid Mech cls layout file which 
> should do the trick since this is the journal  eqn number style.
> Mike
>
> 
>
> From: Uwe Stöhr [mailto:[EMAIL PROTECTED]
> Sent: Mon 07/08/2006 21:23
> To: Mike Reeks
> Cc: Lyx-users; [EMAIL PROTECTED]
> Subject: Re: Equation numbering
>
>
>
> Mike Reeks wrote:
>
>> Any idea how to change Eqn numbering from numbering by section to 
>> absolute numbering?
>
> Add this line to your preamble or at the beginning of your document in
> ERT (assure that you use amsmath explicitely in the document 
> preferences):
>
> \renewcommand{\theequation}{\arabic{equation}}
>
> regards Uwe
>
>

Try the following (one additional line):

renewcommand\theequation{\arabic{equation}}
[EMAIL PROTECTED]

Regards,
Jens





RE: Equation numbering

2006-08-09 Thread Mike Reeks
Thanks. Yes I do want equations to be numbered consecutively. So I need to 
remove reset command.
I'll follow your instructions. What's the best place to find the remreset 
package.
Mike 



From: Richard Heck [mailto:[EMAIL PROTECTED]
Sent: Wed 09/08/2006 15:51
To: Mike Reeks
Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering




I'm confused about what you want. Do you want the equations to be
numbered consecutively throughout the document and NOT to be reset in
each section? If so, then the only way to do this, short of modifying
the document class directly, is to use the remreset (or removefr)
package, since there is no "remove reset" command in standard LaTeX.
Once remreset is downloaded and installed, you should need just this:
[EMAIL PROTECTED]
You'll still need this line:
\renewcommand{\theequation}{\arabic{equation}}
to control how equation numbers are displayed.

If you DO want equation numbers to be reset in each section, so that you
have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then
[EMAIL PROTECTED]
should do the trick. But then a reference to equation 3 is ambiguous.

Richard

Mike Reeks wrote:
> Dear Jens
> In my preamble after the line
> \renewcommand{\theequation}{\arabic{equation}}
> I added the line
> @addtoreset{equation}{section}
> which had nor effect. Have  I followed your suggestion correcty, have I 
> mispelt it. What next?
> Mike
>
>
> 
>
> From: Jens Noeckel [mailto:[EMAIL PROTECTED]
> Sent: Tue 08/08/2006 19:00
> To: Mike Reeks
> Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
> Subject: Re: Equation numbering
>
>
>
>
> On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote:
>
>  
>> Dear Uwe
>> Nearly there. The command in preamble numbers the equation in each
>> section .without the section number. I want the equation number in
>> ascending order irrespective of section number e.g. 1, 2, 3 etc for
>> section n (before they were numbered n.1, n.2 etc.  I need to turn
>> of a section counter maybe.
>> Any help
>> I should say I am using a J. Fluid Mech cls layout file which
>> should do the trick since this is the journal  eqn number style.
>> Mike
>>
>> 
>>
>> From: Uwe Stöhr [mailto:[EMAIL PROTECTED]
>> Sent: Mon 07/08/2006 21:23
>> To: Mike Reeks
>> Cc: Lyx-users; [EMAIL PROTECTED]
>> Subject: Re: Equation numbering
>>
>>
>>
>> Mike Reeks wrote:
>>
>>
>>> Any idea how to change Eqn numbering from numbering by section to
>>> absolute numbering?
>>>  
>> Add this line to your preamble or at the beginning of your document in
>> ERT (assure that you use amsmath explicitely in the document
>> preferences):
>>
>> \renewcommand{\theequation}{\arabic{equation}}
>>
>> regards Uwe
>>
>>
>>
>
> Try the following (one additional line):
>
> renewcommand\theequation{\arabic{equation}}
> [EMAIL PROTECTED]
>
> Regards,
> Jens
>
>
>
>  





RE: Equation numbering

2006-08-09 Thread Mike Reeks
Dear Jens
I only have the 2 statements you suggested in my preamble. I will try Richards 
advice.
Best
Mike



From: Jens Noeckel [mailto:[EMAIL PROTECTED]
Sent: Wed 09/08/2006 15:40
To: Mike Reeks
Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering



Mike,
I'm assuming your document class is derived from "article". I don't 
know what else you have in the preamble, but in order for this to 
work one needs to make sure that no other package re-defines the 
counters after your modifications. So I would add the two lines

\renewcommand\theequation{\arabic{equation}}
[EMAIL PROTECTED]

at the very end of the preamble. If this still doesn't work, I would 
empty out the preamble except for the two lines above, and switch to 
a basic article class (article, or koma-article), so you can be sure 
that \theequation is really used as expected.

Jens


On Aug 9, 2006, at 1:46 AM, Mike Reeks wrote:

> Dear Jens
> In my preamble after the line
> \renewcommand{\theequation}{\arabic{equation}}
> I added the line
> @addtoreset{equation}{section}
> which had nor effect. Have  I followed your suggestion correcty, 
> have I mispelt it. What next?
> Mike
>
>
> 
>
> From: Jens Noeckel [mailto:[EMAIL PROTECTED]
> Sent: Tue 08/08/2006 19:00
> To: Mike Reeks
> Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
> Subject: Re: Equation numbering
>
>
>
>
> On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote:
>
>> Dear Uwe
>> Nearly there. The command in preamble numbers the equation in each
>> section .without the section number. I want the equation number in
>> ascending order irrespective of section number e.g. 1, 2, 3 etc for
>> section n (before they were numbered n.1, n.2 etc.  I need to turn
>> of a section counter maybe.
>> Any help
>> I should say I am using a J. Fluid Mech cls layout file which
>> should do the trick since this is the journal  eqn number style.
>> Mike
>>
>> 
>>
>> From: Uwe Stöhr [mailto:[EMAIL PROTECTED]
>> Sent: Mon 07/08/2006 21:23
>> To: Mike Reeks
>> Cc: Lyx-users; [EMAIL PROTECTED]
>> Subject: Re: Equation numbering
>>
>>
>>
>> Mike Reeks wrote:
>>
>>> Any idea how to change Eqn numbering from numbering by section to
>>> absolute numbering?
>>
>> Add this line to your preamble or at the beginning of your 
>> document in
>> ERT (assure that you use amsmath explicitely in the document
>> preferences):
>>
>> \renewcommand{\theequation}{\arabic{equation}}
>>
>> regards Uwe
>>
>>
>
> Try the following (one additional line):
>
> renewcommand\theequation{\arabic{equation}}
> [EMAIL PROTECTED]
>
> Regards,
> Jens
>
>
>





RE: Equation numbering

2006-08-14 Thread Mike Reeks
Dear Richard, Jens and Uwe
In the process of installing remreset.sty I noticed that it  is already 
installed in Miktex in  texmf/tex/latex/carlisle so I am assuming therefore 
that the commands
[EMAIL PROTECTED]
\renewcommand{\theequation}{\arabic{equation}}
in my preamble will automatically be recognized. Anyway no point in installing 
remreset twice. Any thoughts on why it's not working. Do I need to declare the 
use of remreset.sty anywhere?
Best
Mike




From: Richard Heck [mailto:[EMAIL PROTECTED]
Sent: Wed 09/08/2006 15:51
To: Mike Reeks
Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering




I'm confused about what you want. Do you want the equations to be
numbered consecutively throughout the document and NOT to be reset in
each section? If so, then the only way to do this, short of modifying
the document class directly, is to use the remreset (or removefr)
package, since there is no "remove reset" command in standard LaTeX.
Once remreset is downloaded and installed, you should need just this:
[EMAIL PROTECTED]
You'll still need this line:
\renewcommand{\theequation}{\arabic{equation}}
to control how equation numbers are displayed.

If you DO want equation numbers to be reset in each section, so that you
have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then
[EMAIL PROTECTED]
should do the trick. But then a reference to equation 3 is ambiguous.

Richard

Mike Reeks wrote:
> Dear Jens
> In my preamble after the line
> \renewcommand{\theequation}{\arabic{equation}}
> I added the line
> @addtoreset{equation}{section}
> which had nor effect. Have  I followed your suggestion correcty, have I 
> mispelt it. What next?
> Mike
>
>
> 
>
> From: Jens Noeckel [mailto:[EMAIL PROTECTED]
> Sent: Tue 08/08/2006 19:00
> To: Mike Reeks
> Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
> Subject: Re: Equation numbering
>
>
>
>
> On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote:
>
>  
>> Dear Uwe
>> Nearly there. The command in preamble numbers the equation in each
>> section .without the section number. I want the equation number in
>> ascending order irrespective of section number e.g. 1, 2, 3 etc for
>> section n (before they were numbered n.1, n.2 etc.  I need to turn
>> of a section counter maybe.
>> Any help
>> I should say I am using a J. Fluid Mech cls layout file which
>> should do the trick since this is the journal  eqn number style.
>> Mike
>>
>> 
>>
>> From: Uwe Stöhr [mailto:[EMAIL PROTECTED]
>> Sent: Mon 07/08/2006 21:23
>> To: Mike Reeks
>> Cc: Lyx-users; [EMAIL PROTECTED]
>> Subject: Re: Equation numbering
>>
>>
>>
>> Mike Reeks wrote:
>>
>>
>>> Any idea how to change Eqn numbering from numbering by section to
>>> absolute numbering?
>>>  
>> Add this line to your preamble or at the beginning of your document in
>> ERT (assure that you use amsmath explicitely in the document
>> preferences):
>>
>> \renewcommand{\theequation}{\arabic{equation}}
>>
>> regards Uwe
>>
>>
>>
>
> Try the following (one additional line):
>
> renewcommand\theequation{\arabic{equation}}
> [EMAIL PROTECTED]
>
> Regards,
> Jens
>
>
>
>  





RE: Equation numbering

2006-08-14 Thread Mike Reeks
Dear Richard,
Thankyou for this vital piece of information. As you can tell I am a complete 
novice. Thanks for your time and patience.
Best 
Mike



From: Richard Heck [mailto:[EMAIL PROTECTED]
Sent: Mon 14/08/2006 19:16
To: Mike Reeks
Cc: Richard Heck; Jens Noeckel; Uwe Stöhr; Lyx-users
Subject: Re: Equation numbering



You'll need to \usepackage{remreset}.

Mike Reeks wrote: 

Dear Richard, Jens and Uwe
In the process of installing remreset.sty I noticed that it  is already 
installed in Miktex in  texmf/tex/latex/carlisle so I am assuming therefore 
that the commands
[EMAIL PROTECTED]
\renewcommand{\theequation}{\arabic{equation}}
in my preamble will automatically be recognized. Anyway no point in 
installing remreset twice. Any thoughts on why it's not working. Do I need to 
declare the use of remreset.sty anywhere?
Best
    Mike




From: Richard Heck [mailto:[EMAIL PROTECTED]
Sent: Wed 09/08/2006 15:51
    To: Mike Reeks
Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering




I'm confused about what you want. Do you want the equations to be
numbered consecutively throughout the document and NOT to be reset in
each section? If so, then the only way to do this, short of modifying
the document class directly, is to use the remreset (or removefr)
package, since there is no "remove reset" command in standard LaTeX.
Once remreset is downloaded and installed, you should need just this:
[EMAIL PROTECTED]
You'll still need this line:
\renewcommand{\theequation}{\arabic{equation}}
to control how equation numbers are displayed.

If you DO want equation numbers to be reset in each section, so that you
have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., 
then
[EMAIL PROTECTED]
should do the trick. But then a reference to equation 3 is ambiguous.

    Richard

Mike Reeks wrote:
  

Dear Jens
In my preamble after the line
\renewcommand{\theequation}{\arabic{equation}}
I added the line
@addtoreset{equation}{section}
which had nor effect. Have  I followed your suggestion 
correcty, have I mispelt it. What next?
Mike




From: Jens Noeckel [mailto:[EMAIL PROTECTED]
Sent: Tue 08/08/2006 19:00
To: Mike Reeks
Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering




    On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote:

 


Dear Uwe
Nearly there. The command in preamble numbers the 
equation in each
section .without the section number. I want the 
equation number in
ascending order irrespective of section number e.g. 1, 
2, 3 etc for
section n (before they were numbered n.1, n.2 etc.  I 
need to turn
of a section counter maybe.
Any help
I should say I am using a J. Fluid Mech cls layout file 
which
should do the trick since this is the journal  eqn 
number style.
Mike



From: Uwe Stöhr [mailto:[EMAIL PROTECTED]
Sent: Mon 07/08/2006 21:23
    To: Mike Reeks
Cc: Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering


    
Mike Reeks wrote:

   
  

Any idea how to change Eqn numbering from 
numbering by section to
absolute numbering?
 


Add this line to your preamble or at the beginning of 
your document in
ERT (assure that you use amsmath explicitely in the 
document
preferences):

\renewcommand{

RE: Equation numbering

2006-08-16 Thread Mike Reeks
Dear All,
So I've now used th follwing in my preamble
\usepackage{remreset}
[EMAIL PROTECTED]
\renewcommand{\theequation}{\arabic{equation}}
no errors but no success. Numbers are consecutive in each section starting with 
1, so the renewcommand has got rid of the section number e.g Eq.(2.2) becomes 
Eq.(2)  but the removefromreset has had  no effect. 
Any ideas. 
Mike



From: Richard Heck [mailto:[EMAIL PROTECTED]
Sent: Mon 14/08/2006 19:16
To: Mike Reeks
Cc: Richard Heck; Jens Noeckel; Uwe Stöhr; Lyx-users
Subject: Re: Equation numbering



You'll need to \usepackage{remreset}.

Mike Reeks wrote: 

Dear Richard, Jens and Uwe
In the process of installing remreset.sty I noticed that it  is already 
installed in Miktex in  texmf/tex/latex/carlisle so I am assuming therefore 
that the commands
[EMAIL PROTECTED]
\renewcommand{\theequation}{\arabic{equation}}
in my preamble will automatically be recognized. Anyway no point in 
installing remreset twice. Any thoughts on why it's not working. Do I need to 
declare the use of remreset.sty anywhere?
    Best
Mike




From: Richard Heck [mailto:[EMAIL PROTECTED]
Sent: Wed 09/08/2006 15:51
    To: Mike Reeks
Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering




I'm confused about what you want. Do you want the equations to be
numbered consecutively throughout the document and NOT to be reset in
each section? If so, then the only way to do this, short of modifying
the document class directly, is to use the remreset (or removefr)
package, since there is no "remove reset" command in standard LaTeX.
Once remreset is downloaded and installed, you should need just this:
[EMAIL PROTECTED]
You'll still need this line:
\renewcommand{\theequation}{\arabic{equation}}
to control how equation numbers are displayed.

If you DO want equation numbers to be reset in each section, so that you
have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., 
then
[EMAIL PROTECTED]
should do the trick. But then a reference to equation 3 is ambiguous.
    
    Richard

Mike Reeks wrote:
  

Dear Jens
In my preamble after the line
\renewcommand{\theequation}{\arabic{equation}}
I added the line
@addtoreset{equation}{section}
which had nor effect. Have  I followed your suggestion 
correcty, have I mispelt it. What next?
Mike




From: Jens Noeckel [mailto:[EMAIL PROTECTED]
Sent: Tue 08/08/2006 19:00
To: Mike Reeks
Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering




    On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote:

 


Dear Uwe
Nearly there. The command in preamble numbers the 
equation in each
section .without the section number. I want the 
equation number in
ascending order irrespective of section number e.g. 1, 
2, 3 etc for
section n (before they were numbered n.1, n.2 etc.  I 
need to turn
of a section counter maybe.
Any help
I should say I am using a J. Fluid Mech cls layout file 
which
should do the trick since this is the journal  eqn 
number style.
Mike



From: Uwe Stöhr [mailto:[EMAIL PROTECTED]
Sent: Mon 07/08/2006 21:23
To: Mike Reeks
Cc: Lyx-users; [EMAIL PROTECTED]
Subject: Re: Equation numbering


    
Mike Reeks wrote:

   
  

Any idea how to change Eqn numbering from 
numbering by section to
absolute numbering?
 


Add this line to your preamble or at the beginning of 
your document in

1.4.2 mathmode very slow

2006-08-30 Thread Mike Doe
Since upgrading from 1.3 I have found things to be much slower,
expecially in mathmode or tables:  documents that were fine in 1.3
can be so slow that I can out-type the line very easily.  Selection in
mathmode is also very slow, which makes getting the parts of the
equation you want really irritating.

This is a standard gentoo build.  Is this a known problem: I do not see
a lot of complaints about it on the list, but for me the slowdown since
1.3 is dramatic enough to make me consider reverting.

Mike

LyX 1.4.2 of Fri, Jul 13, 2006
Built on Aug 29 2006, 18:10:32
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:aiksaurus pch  use-aspell use-ispell
  C   Compiler:   i686-pc-linux-gnu-gcc 
  C   Compiler LyX flags:  
  C   Compiler flags:   -O2 -march=athlon -fomit-frame-pointer 
-fno-stack-protector -fno-stack-protector-all
  C++ Compiler:   g++ (3.4.6)
  C++ Compiler LyX flags:  -fno-exceptions
  C++ Compiler flags:   -O2 -march=athlon -fomit-frame-pointer 
-fno-stack-protector -fno-stack-protector-all
  Linker flags:   
  Linker user flags:  
  Qt Frontend:
  Qt version:   3.3.6
  Packaging:  posix
  LyX binary dir: /usr/bin
  LyX files dir:  /usr/share/lyx

ldd /usr/bin/lyx
linux-gate.so.1 =>  (0xe000)
libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0xb78c3000)
libmng.so.1 => /usr/lib/libmng.so.1 (0xb7861000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb7833000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7815000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb77f)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb77e8000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb77e4000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb77da000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb77d5000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb77c3000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb77ba000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb778c000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb771c000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb76fb000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb76ec000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb76da000)
libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1 
(0xb76d1000)
libAiksaurus-1.2.so.0 => /usr/lib/libAiksaurus-1.2.so.0 (0xb76c5000)
libaspell.so.15 => /usr/lib/libaspell.so.15 (0xb7628000)
libgpm.so.1 => /lib/libgpm.so.1 (0xb7621000)
libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 
(0xb7553000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb754a000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7533000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb743f000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb743c000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7436000)
libdl.so.2 => /lib/libdl.so.2 (0xb7432000)
libz.so.1 => /lib/libz.so.1 (0xb7421000)
libm.so.6 => /lib/tls/libm.so.6 (0xb73fe000)
libc.so.6 => /lib/tls/libc.so.6 (0xb72e7000)
libpng.so.3 => /usr/lib/libpng.so.3 (0xb72bf000)
/lib/ld-linux.so.2 (0xb7fdc000)



Re: acronyms in Lyx

2006-09-25 Thread Mike Barnsley

Francesco,

Hi I'm trying to use Lyx to write an article and I need to introduce/define some
acronyms. How am I supposed to do it? Do I need to write latex code within the
text? Isn't there a simpler way? Unfortunately I didn't find anything in the
manual. Any help would be appreciated.
  
One route is to use the acronym package, by inserting 
\usepackage{acronym} in your preamble. References to specific acronyms 
can then be inserted in the text as ERTs, e.g. \ac{TLA}. At the end of 
the document, in another ERT insert, you need to add the corresponding 
list of acronym definitions, e.g.


\begin{acronym}
\acro{TLA}{Three Letter Acronym}
\end{acronym}

The default behaviour is that for the first occasion on which the 
acronym is referenced the acronym will be shown in full, i.e. Three 
Letter Acronym (TLA). Thereafter only the abbreviated form is given, 
i.e. TLA. It's possible to control this behaviour. For instance, 
\acf{TLA} repeats the full definition, \acs{TLA) forces the use of the 
abbreviated form, and \acp{TLA} gives the output as Three Letter 
Acronyms or TLAs depending on whether this is the first or subsequent 
time that the acronym has been referenced.


I keep a separate LaTeX file containing all of the acronyms that I 
commonly use and include this at the end of the document that I'm 
writing, calling the acronym package as follows, 
\usepackage[printonlyused]{acronym}. This prints out only those acronyms 
used in the body of the text.


The latest version of the acronym package can be found at 
http://www.ctan.org/tex-archive/macros/latex/contrib/acronym/.


Good luck,

Mike



Problem installing spell checker for llyx-143-4

2006-10-12 Thread Mike Reeks
I am trying to install the latest version lyx-143-4  and failed to
download spellchecker. The message during the installation says 'failed
to download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do?

Prof. Michael W Reeks
School of Mechanical& Systems Engineering
Stephenson Building
Claremont Rd
University of Newcastle upon Tyne
Newcastle upon Tyne, NE1 7RU
UK
 
Tel 0044 191 222 3570
Fax 0044 191 222 8600
Mob 0044 791 050 4230
Sec 0044 191 222 5236
Research Website
http://www.ncl.ac.uk/mech/research/fluid/multiphase.htm







Problems installing spell checker using installer for llyx-143-4 - Help please!

2006-10-23 Thread Mike Reeks
This is the second time. No response the first time. Surely someone has
used the lyx 143-4 installer. If not surely someone know who to contact.
Anyway as I said before I am trying to install the latest version
lyx-143-4  using the installer program and failed to download
spellchecker. The message during the installation says 'failed to
download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do? Help please. 

Prof. Michael W Reeks
School of Mechanical& Systems Engineering
Stephenson Building
Claremont Rd
University of Newcastle upon Tyne
Newcastle upon Tyne, NE1 7RU
UK
 
Tel 0044 191 222 3570
Fax 0044 191 222 8600
Mob 0044 791 050 4230
Sec 0044 191 222 5236
Research Website
http://www.ncl.ac.uk/mech/research/fluid/multiphase.htm







questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Mike Roberts
disclaimer: i'm new to LyX and (La)TeX.

i believe i have two installations of teTeX on my mac. first, there's 
the version installed in /usr. second, i believe i have a newer one 
installed in /opt/local (macports). the LyX installer script detected 
the macports installation and installed some of its files accordingly. 
the path setting in the perferences panel lists the /usr installation 
paths first. does this mean that Lyx is misconfigured, searching /usr 
for teTeX binaries before /opt/local, where it should be grabbing teTeX 
binaries? also, what happens when i upgrade my macports tree? do the 
files LyX needed to install into /opt/local get removed or overwritten?

/mike



Re: questions about LyX/mac and multiple teTeX installations.

2007-01-27 Thread Mike Roberts
In article <[EMAIL PROTECTED]>,
 Bennett Helm <[EMAIL PROTECTED]> 
 wrote:

> The LyX-Installer script checks for a TeX installation in /usr/local/ 
> teTeX/... and in /sw/bin before /opt/bin, and it picks the first one  
> it finds to install a few files (which include preview.sty and  
> srcltx.sty among a few others). So it shouldn't install these files  
> in /opt/local if you have a TeX installation in /usr/local, and so  
> the default PATH Prefix setting should be appropriate in this case.  
> (Do you really have a working teTeX installation in /usr/local/ 
> teTeX/...?)

this is a good question and why i didn't ask this before baffles me at 
the moment. it appears that i don't have anything in /usr or /usr/local 
and that these directories are only present in the PATH array. i don't 
have fink installed, so i don't have multiple tex installations after 
all. i suppose i must have assumed that i had an installation that was 
detected and reflected in the PATH array. my apologies.

> I'm not sure whether macports will overwrite these LyX files or not  
> when you upgrade, but it is a possibility. (i-Installer has a  
> separate directory for user-installed files that are not touched when  
> upgrading.) You can test and see: upgrade macport's teTeX, and then  
> run the LyX installer. If it says it needs to reinstall preview.sty  
> and srcltx.sty, then it has overwritten those files. (And that would  
> be good for me to know.)

the next time i notice that the teTeX port needs to be upgraded, i will 
do this. i do know that the lyx installer prompted me to overwrite a 
file so i imagine that it's a possibility i will loose it.

> Note, however, that the files that LyX installs here are needed only  
> for some special features, which you may not use at all: they are not  
> *needed* for LyX (though they are nice to have in some cases).

good to know. thanks.

/mike



Error - "Paragraph ended before" on left alignment of \section"

2007-04-04 Thread Mike Rechard
Hi all,

I am using book(ams) in lyx version 1.5 (the something in 1.4 as well), 
Any 'Section' after a 'Chapter' will be line-center by default and if I change 
the alignment to 'left' I am getting the error 
"Paragraph ended before [EMAIL PROTECTED] was complete"

Any idea why?

Note if I use book class instead of book(ams) then things are fine, but I need 
to use ams.

Please help

Mike Rechard
MKS researcher.

below is the minimal example  to reproduce:

#LyX 1.5.0beta1 created this file. For more info see http://www.lyx.org/
\lyxformat 262
\begin_document
\begin_header
\textclass amsbook
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "Administrator" 
\end_header

\begin_body

\begin_layout Chapter
Introduction 
\end_layout

\begin_layout Section
\noindent
\align left
My section
\end_layout

\end_body
\end_document





 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 

  1   2   3   >