Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Jean-Marc Lasgouttes

Le 28/02/2013 23:32, Rich Shepard a écrit :

   I am curious why sometimes the Tab key moves the cursor from cell to
cell
in a table and other times appends (unwanted) text to the data in the cell.

   Most of the time [Tab] moves the cursor to the next cell to the right
(or
the next row from the end of the row above) but sometimes it generates
unwanted text. For example, in a table cell I enter '10' and press [Tab];
the result is '10-years'. In another cell I entered 'June' and when the
[Tab] key is pressed the contents are changed to 'JuneJune'.


It is because Tab is a multi-bound key (I am not sure this terms means 
anything) and one of these bindings is completion-accept..


\bind Tabcommand-alternatives 
completion-accept;cell-forward;tab-insert;depth-increment;outline-in


command-alternatives means that all these possibilities are tried 
one-by-one until one of them is enabled. If you look at the 
possibilities, you see that everything is about moving, except 
completion-accept and tab-insert. I would assume that tab-insert is OK 
(it will work only in some cases of text-only insets IIRC), but 
completion-accept is a different case.


The problem with completion accept in this setting is that it is totally 
unpredictable. The user will not be able to know whether a completion is 
going to happen or not (Hmm, or maybe the cursor style tells this?).


What would other people think about removing it from the Tab binding and 
putting it somewhere else? The alternative would be to have it as last 
choice.


Rich, the short answer is that, if you do not use completion, you can 
just turn it off.


JMarc


Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 4:15 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote:
 Le 28/02/2013 23:32, Rich Shepard a écrit :

I am curious why sometimes the Tab key moves the cursor from cell to
 cell
 in a table and other times appends (unwanted) text to the data in the
 cell.

Most of the time [Tab] moves the cursor to the next cell to the right
 (or
 the next row from the end of the row above) but sometimes it generates
 unwanted text. For example, in a table cell I enter '10' and press [Tab];
 the result is '10-years'. In another cell I entered 'June' and when the
 [Tab] key is pressed the contents are changed to 'JuneJune'.


 It is because Tab is a multi-bound key (I am not sure this terms means
 anything) and one of these bindings is completion-accept..

 \bind Tabcommand-alternatives
 completion-accept;cell-forward;tab-insert;depth-increment;outline-in

 What would other people think about removing it from the Tab binding and
 putting it somewhere else?

The alternative would be to have it as last choice.

Would this be equivalent to removing it? If it is after tab-insert,
won't any place that enables completion-accept also enable tab-insert
and thus completion-accept would never be run? I have not tested
anything and I don't even know why completion is offered in this case.
I think I've only seen completion when entering LaTeX in math.

Scott


Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Jean-Marc Lasgouttes

Le 01/03/2013 10:30, Scott Kostyshak a écrit :

What would other people think about removing it from the Tab binding and
putting it somewhere else?



The alternative would be to have it as last choice.


Would this be equivalent to removing it? If it is after tab-insert,
won't any place that enables completion-accept also enable tab-insert
and thus completion-accept would never be run? I have not tested
anything and I don't even know why completion is offered in this case.
I think I've only seen completion when entering LaTeX in math.


tab-insert is only possible when the paragraph is PassThru.

JMarc



Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 4:49 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote:
 Le 01/03/2013 10:30, Scott Kostyshak a écrit :

 What would other people think about removing it from the Tab binding and
 putting it somewhere else?


 The alternative would be to have it as last choice.


 Would this be equivalent to removing it? If it is after tab-insert,
 won't any place that enables completion-accept also enable tab-insert
 and thus completion-accept would never be run? I have not tested
 anything and I don't even know why completion is offered in this case.
 I think I've only seen completion when entering LaTeX in math.


 tab-insert is only possible when the paragraph is PassThru.

OK.

Thanks,

Scott


Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Rich Shepard

On Fri, 1 Mar 2013, Jean-Marc Lasgouttes wrote:

It is because Tab is a multi-bound key (I am not sure this terms means 
anything) and one of these bindings is completion-accept..


\bind Tabcommand-alternatives 
completion-accept;cell-forward;tab-insert;depth-increment;outline-in


Jean-Marc,

  Oh. In all the years I've used LyX I only very recently started to see
this behavior and I greatly appreciate your explaining the cause.


What would other people think about removing it from the Tab binding and
putting it somewhere else? The alternative would be to have it as last
choice.


  I vote yes to removing it or, at least, putting completion-accept at the
very end.


Rich, the short answer is that, if you do not use completion, you can just
turn it off.


  Not knowing before now that I had the option I'll go look for where I can
do this when I return later this morning from a meeting.

Many thanks,

Rich



Problem with movies in Pdfs with media9

2013-03-01 Thread Uwe Ade
Hello,

with lyx  I will create a (beamer-)pdf with an include movie. 

I use the package media 9
The last to days I´m not able to get a pdf-document. Every times i compile the 
lyx-file, i get  some Error-Messages.

Have someone no the list experience with this idea

If I compile the file which send with this mail, the following Errors appears

 \lyxframeend
{}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.



test.lyx
Description: Binary data


Every help or example are welcome

uwe

Re: Problem with movies in Pdfs with media9

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 10:23 AM, Uwe Ade uwe@gmx.de wrote:
 Hello,

 with lyx  I will create a (beamer-)pdf with an include movie.

 I use the package media 9
 The last to days I´m not able to get a pdf-document. Every times i compile 
 the lyx-file, i get  some Error-Messages.

 Have someone no the list experience with this idea

 If I compile the file which send with this mail, the following Errors appears

  \lyxframeend
 {}
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.




 Every help or example are welcome

Hi Uwe,

I don't think I'll be able to help you with your problem but I wanted
to test your .lyx file. It would not compile for me because you have
some paths in there that are specific to your computer. It might help
if you sent a complete example (and perhaps link to a small video in
the format you are trying to use). See here for some tips:
http://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott


multiple appendices

2013-03-01 Thread Andreas
Hi all,

I'm currently putting together my thesis which consists of four papers. Each of
these papers has an appendix. I include all chapters as subdocuments in a main
file. I would like each appendix to be displayed directly after the respective
chapter. However, after the first appendix the remainder of the whole document
is treated as appendix.

How can I go back to normal text after I inserted an appendix?

Thank you very much for your help!!!

Best,
Andreas



using siunitx in tables

2013-03-01 Thread Andreas Hilboll
Hi,

I would like to use the siunitx package for tables, as shown in this post:

   http://tex.stackexchange.com/a/100077/7434

However, I don't know how I can specify the column types like this in LyX (2.0.4
on Ubuntu).

Your help is greatly appreciated :)

Cheers, Andreas.



Automatic save of PDF

2013-03-01 Thread Anders Host-Madsen
Is it possible to configure/program LyX so that whenever the LyX files is saved
by the user (not auto-save) the pdf version (and latex) version is also saved
(without the warning about overwrite)? I realized I do this hundred of times
every day: save the LyX file then export it to pdf. It would be nice if it could
be done automatically.



Re: Automatic save of PDF

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 7:19 PM, Anders Host-Madsen
ahostmad...@yahoo.com wrote:
 Is it possible to configure/program LyX so that whenever the LyX files is 
 saved
 by the user (not auto-save) the pdf version (and latex) version is also saved
 (without the warning about overwrite)? I realized I do this hundred of times
 every day: save the LyX file then export it to pdf. It would be nice if it 
 could
 be done automatically.

Hi Anders,

See the answer here:
http://tex.stackexchange.com/questions/71110/can-lyx-automatically-save-the-pdf-output-in-the-same-folder/71212#71212

Replace 'buffer-view' with 'buffer-write'.

If you want to change the shortcut ctrl + s to do this, go to
preferences  editing  shortcuts  and change the shortcut to the
appropriate command-sequence.

Scott


Re: Problem with movies in Pdfs with media9

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 5:21 PM, Uwe Ade uwe@gmx.de wrote:
 Hi Scott,

 sorry for the adverse conditions. I put i lyx and an example to my dropbox

 https://www.dropbox.com/sh/vibdgtovk4wq916/06cixlXWZZ

 Copy everything in a directory and try it again.

Hi Uwe,

Thanks for the updated example. I can reproduce your error. The ERT
you use needs you to also load a package. To do this, go to Document 
Settings  LaTeX Preamble and paste in there the following line:
\usepackage{media9}

After that, it compiles for me without error. When I view the pdf I
can't confirm that the video plays because I don't have the required
software.

Does that work?

Best,

Scott


Re: Problem with movies in Pdfs with media9

2013-03-01 Thread Uwe Ade
Hi Scott,

unfortunately not. I changed the Latex Preamble as suggested. After recompiling 
there are three Errormessages

undefined control sequence

}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


Latex Error: Missing:\beginn{document}
 }
You're in trouble here. Try typing return to proceed.
If that doesn't work, type X return to quit.

undefined control sequence

 \lyxframeend
{}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


some specs: I am working on a macbook, with lx 2.0.4 with TexLive-2012 intel 
64. 


uwe

Am 02.03.2013 um 04:37 schrieb Scott Kostyshak skost...@princeton.edu:

 On Fri, Mar 1, 2013 at 5:21 PM, Uwe Ade uwe@gmx.de wrote:
 Hi Scott,
 
 sorry for the adverse conditions. I put i lyx and an example to my dropbox
 
 https://www.dropbox.com/sh/vibdgtovk4wq916/06cixlXWZZ
 
 Copy everything in a directory and try it again.
 
 Hi Uwe,
 
 Thanks for the updated example. I can reproduce your error. The ERT
 you use needs you to also load a package. To do this, go to Document 
 Settings  LaTeX Preamble and paste in there the following line:
 \usepackage{media9}
 
 After that, it compiles for me without error. When I view the pdf I
 can't confirm that the video plays because I don't have the required
 software.
 
 Does that work?
 
 Best,
 
 Scott



Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Jean-Marc Lasgouttes

Le 28/02/2013 23:32, Rich Shepard a écrit :

   I am curious why sometimes the Tab key moves the cursor from cell to
cell
in a table and other times appends (unwanted) text to the data in the cell.

   Most of the time [Tab] moves the cursor to the next cell to the right
(or
the next row from the end of the row above) but sometimes it generates
unwanted text. For example, in a table cell I enter '10' and press [Tab];
the result is '10-years'. In another cell I entered 'June' and when the
[Tab] key is pressed the contents are changed to 'JuneJune'.


It is because Tab is a multi-bound key (I am not sure this terms means 
anything) and one of these bindings is completion-accept..


\bind Tabcommand-alternatives 
completion-accept;cell-forward;tab-insert;depth-increment;outline-in


command-alternatives means that all these possibilities are tried 
one-by-one until one of them is enabled. If you look at the 
possibilities, you see that everything is about moving, except 
completion-accept and tab-insert. I would assume that tab-insert is OK 
(it will work only in some cases of text-only insets IIRC), but 
completion-accept is a different case.


The problem with completion accept in this setting is that it is totally 
unpredictable. The user will not be able to know whether a completion is 
going to happen or not (Hmm, or maybe the cursor style tells this?).


What would other people think about removing it from the Tab binding and 
putting it somewhere else? The alternative would be to have it as last 
choice.


Rich, the short answer is that, if you do not use completion, you can 
just turn it off.


JMarc


Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 4:15 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote:
 Le 28/02/2013 23:32, Rich Shepard a écrit :

I am curious why sometimes the Tab key moves the cursor from cell to
 cell
 in a table and other times appends (unwanted) text to the data in the
 cell.

Most of the time [Tab] moves the cursor to the next cell to the right
 (or
 the next row from the end of the row above) but sometimes it generates
 unwanted text. For example, in a table cell I enter '10' and press [Tab];
 the result is '10-years'. In another cell I entered 'June' and when the
 [Tab] key is pressed the contents are changed to 'JuneJune'.


 It is because Tab is a multi-bound key (I am not sure this terms means
 anything) and one of these bindings is completion-accept..

 \bind Tabcommand-alternatives
 completion-accept;cell-forward;tab-insert;depth-increment;outline-in

 What would other people think about removing it from the Tab binding and
 putting it somewhere else?

The alternative would be to have it as last choice.

Would this be equivalent to removing it? If it is after tab-insert,
won't any place that enables completion-accept also enable tab-insert
and thus completion-accept would never be run? I have not tested
anything and I don't even know why completion is offered in this case.
I think I've only seen completion when entering LaTeX in math.

Scott


Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Jean-Marc Lasgouttes

Le 01/03/2013 10:30, Scott Kostyshak a écrit :

What would other people think about removing it from the Tab binding and
putting it somewhere else?



The alternative would be to have it as last choice.


Would this be equivalent to removing it? If it is after tab-insert,
won't any place that enables completion-accept also enable tab-insert
and thus completion-accept would never be run? I have not tested
anything and I don't even know why completion is offered in this case.
I think I've only seen completion when entering LaTeX in math.


tab-insert is only possible when the paragraph is PassThru.

JMarc



Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 4:49 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote:
 Le 01/03/2013 10:30, Scott Kostyshak a écrit :

 What would other people think about removing it from the Tab binding and
 putting it somewhere else?


 The alternative would be to have it as last choice.


 Would this be equivalent to removing it? If it is after tab-insert,
 won't any place that enables completion-accept also enable tab-insert
 and thus completion-accept would never be run? I have not tested
 anything and I don't even know why completion is offered in this case.
 I think I've only seen completion when entering LaTeX in math.


 tab-insert is only possible when the paragraph is PassThru.

OK.

Thanks,

Scott


Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Rich Shepard

On Fri, 1 Mar 2013, Jean-Marc Lasgouttes wrote:

It is because Tab is a multi-bound key (I am not sure this terms means 
anything) and one of these bindings is completion-accept..


\bind Tabcommand-alternatives 
completion-accept;cell-forward;tab-insert;depth-increment;outline-in


Jean-Marc,

  Oh. In all the years I've used LyX I only very recently started to see
this behavior and I greatly appreciate your explaining the cause.


What would other people think about removing it from the Tab binding and
putting it somewhere else? The alternative would be to have it as last
choice.


  I vote yes to removing it or, at least, putting completion-accept at the
very end.


Rich, the short answer is that, if you do not use completion, you can just
turn it off.


  Not knowing before now that I had the option I'll go look for where I can
do this when I return later this morning from a meeting.

Many thanks,

Rich



Problem with movies in Pdfs with media9

2013-03-01 Thread Uwe Ade
Hello,

with lyx  I will create a (beamer-)pdf with an include movie. 

I use the package media 9
The last to days I´m not able to get a pdf-document. Every times i compile the 
lyx-file, i get  some Error-Messages.

Have someone no the list experience with this idea

If I compile the file which send with this mail, the following Errors appears

 \lyxframeend
{}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.



test.lyx
Description: Binary data


Every help or example are welcome

uwe

Re: Problem with movies in Pdfs with media9

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 10:23 AM, Uwe Ade uwe@gmx.de wrote:
 Hello,

 with lyx  I will create a (beamer-)pdf with an include movie.

 I use the package media 9
 The last to days I´m not able to get a pdf-document. Every times i compile 
 the lyx-file, i get  some Error-Messages.

 Have someone no the list experience with this idea

 If I compile the file which send with this mail, the following Errors appears

  \lyxframeend
 {}
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.




 Every help or example are welcome

Hi Uwe,

I don't think I'll be able to help you with your problem but I wanted
to test your .lyx file. It would not compile for me because you have
some paths in there that are specific to your computer. It might help
if you sent a complete example (and perhaps link to a small video in
the format you are trying to use). See here for some tips:
http://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott


multiple appendices

2013-03-01 Thread Andreas
Hi all,

I'm currently putting together my thesis which consists of four papers. Each of
these papers has an appendix. I include all chapters as subdocuments in a main
file. I would like each appendix to be displayed directly after the respective
chapter. However, after the first appendix the remainder of the whole document
is treated as appendix.

How can I go back to normal text after I inserted an appendix?

Thank you very much for your help!!!

Best,
Andreas



using siunitx in tables

2013-03-01 Thread Andreas Hilboll
Hi,

I would like to use the siunitx package for tables, as shown in this post:

   http://tex.stackexchange.com/a/100077/7434

However, I don't know how I can specify the column types like this in LyX (2.0.4
on Ubuntu).

Your help is greatly appreciated :)

Cheers, Andreas.



Automatic save of PDF

2013-03-01 Thread Anders Host-Madsen
Is it possible to configure/program LyX so that whenever the LyX files is saved
by the user (not auto-save) the pdf version (and latex) version is also saved
(without the warning about overwrite)? I realized I do this hundred of times
every day: save the LyX file then export it to pdf. It would be nice if it could
be done automatically.



Re: Automatic save of PDF

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 7:19 PM, Anders Host-Madsen
ahostmad...@yahoo.com wrote:
 Is it possible to configure/program LyX so that whenever the LyX files is 
 saved
 by the user (not auto-save) the pdf version (and latex) version is also saved
 (without the warning about overwrite)? I realized I do this hundred of times
 every day: save the LyX file then export it to pdf. It would be nice if it 
 could
 be done automatically.

Hi Anders,

See the answer here:
http://tex.stackexchange.com/questions/71110/can-lyx-automatically-save-the-pdf-output-in-the-same-folder/71212#71212

Replace 'buffer-view' with 'buffer-write'.

If you want to change the shortcut ctrl + s to do this, go to
preferences  editing  shortcuts  and change the shortcut to the
appropriate command-sequence.

Scott


Re: Problem with movies in Pdfs with media9

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 5:21 PM, Uwe Ade uwe@gmx.de wrote:
 Hi Scott,

 sorry for the adverse conditions. I put i lyx and an example to my dropbox

 https://www.dropbox.com/sh/vibdgtovk4wq916/06cixlXWZZ

 Copy everything in a directory and try it again.

Hi Uwe,

Thanks for the updated example. I can reproduce your error. The ERT
you use needs you to also load a package. To do this, go to Document 
Settings  LaTeX Preamble and paste in there the following line:
\usepackage{media9}

After that, it compiles for me without error. When I view the pdf I
can't confirm that the video plays because I don't have the required
software.

Does that work?

Best,

Scott


Re: Problem with movies in Pdfs with media9

2013-03-01 Thread Uwe Ade
Hi Scott,

unfortunately not. I changed the Latex Preamble as suggested. After recompiling 
there are three Errormessages

undefined control sequence

}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


Latex Error: Missing:\beginn{document}
 }
You're in trouble here. Try typing return to proceed.
If that doesn't work, type X return to quit.

undefined control sequence

 \lyxframeend
{}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


some specs: I am working on a macbook, with lx 2.0.4 with TexLive-2012 intel 
64. 


uwe

Am 02.03.2013 um 04:37 schrieb Scott Kostyshak skost...@princeton.edu:

 On Fri, Mar 1, 2013 at 5:21 PM, Uwe Ade uwe@gmx.de wrote:
 Hi Scott,
 
 sorry for the adverse conditions. I put i lyx and an example to my dropbox
 
 https://www.dropbox.com/sh/vibdgtovk4wq916/06cixlXWZZ
 
 Copy everything in a directory and try it again.
 
 Hi Uwe,
 
 Thanks for the updated example. I can reproduce your error. The ERT
 you use needs you to also load a package. To do this, go to Document 
 Settings  LaTeX Preamble and paste in there the following line:
 \usepackage{media9}
 
 After that, it compiles for me without error. When I view the pdf I
 can't confirm that the video plays because I don't have the required
 software.
 
 Does that work?
 
 Best,
 
 Scott



Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Jean-Marc Lasgouttes

Le 28/02/2013 23:32, Rich Shepard a écrit :

   I am curious why sometimes the Tab key moves the cursor from cell to
cell
in a table and other times appends (unwanted) text to the data in the cell.

   Most of the time [Tab] moves the cursor to the next cell to the right
(or
the next row from the end of the row above) but sometimes it generates
unwanted text. For example, in a table cell I enter '10' and press [Tab];
the result is '10-years'. In another cell I entered 'June' and when the
[Tab] key is pressed the contents are changed to 'JuneJune'.


It is because Tab is a multi-bound key (I am not sure this terms means 
anything) and one of these bindings is completion-accept..


\bind "Tab""command-alternatives 
completion-accept;cell-forward;tab-insert;depth-increment;outline-in"


"command-alternatives" means that all these possibilities are tried 
one-by-one until one of them is enabled. If you look at the 
possibilities, you see that everything is about moving, except 
completion-accept and tab-insert. I would assume that tab-insert is OK 
(it will work only in some cases of text-only insets IIRC), but 
completion-accept is a different case.


The problem with completion accept in this setting is that it is totally 
unpredictable. The user will not be able to know whether a completion is 
going to happen or not (Hmm, or maybe the cursor style tells this?).


What would other people think about removing it from the Tab binding and 
putting it somewhere else? The alternative would be to have it as last 
choice.


Rich, the short answer is that, if you do not use completion, you can 
just turn it off.


JMarc


Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 4:15 AM, Jean-Marc Lasgouttes  wrote:
> Le 28/02/2013 23:32, Rich Shepard a écrit :
>
>>I am curious why sometimes the Tab key moves the cursor from cell to
>> cell
>> in a table and other times appends (unwanted) text to the data in the
>> cell.
>>
>>Most of the time [Tab] moves the cursor to the next cell to the right
>> (or
>> the next row from the end of the row above) but sometimes it generates
>> unwanted text. For example, in a table cell I enter '10' and press [Tab];
>> the result is '10-years'. In another cell I entered 'June' and when the
>> [Tab] key is pressed the contents are changed to 'JuneJune'.
>
>
> It is because Tab is a multi-bound key (I am not sure this terms means
> anything) and one of these bindings is completion-accept..
>
> \bind "Tab""command-alternatives
> completion-accept;cell-forward;tab-insert;depth-increment;outline-in"
>
> What would other people think about removing it from the Tab binding and
> putting it somewhere else?

>The alternative would be to have it as last choice.

Would this be equivalent to removing it? If it is after tab-insert,
won't any place that enables completion-accept also enable tab-insert
and thus completion-accept would never be run? I have not tested
anything and I don't even know why completion is offered in this case.
I think I've only seen completion when entering LaTeX in math.

Scott


Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Jean-Marc Lasgouttes

Le 01/03/2013 10:30, Scott Kostyshak a écrit :

What would other people think about removing it from the Tab binding and
putting it somewhere else?



The alternative would be to have it as last choice.


Would this be equivalent to removing it? If it is after tab-insert,
won't any place that enables completion-accept also enable tab-insert
and thus completion-accept would never be run? I have not tested
anything and I don't even know why completion is offered in this case.
I think I've only seen completion when entering LaTeX in math.


tab-insert is only possible when the paragraph is PassThru.

JMarc



Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 4:49 AM, Jean-Marc Lasgouttes  wrote:
> Le 01/03/2013 10:30, Scott Kostyshak a écrit :
>
>>> What would other people think about removing it from the Tab binding and
>>> putting it somewhere else?
>>
>>
>>> The alternative would be to have it as last choice.
>>
>>
>> Would this be equivalent to removing it? If it is after tab-insert,
>> won't any place that enables completion-accept also enable tab-insert
>> and thus completion-accept would never be run? I have not tested
>> anything and I don't even know why completion is offered in this case.
>> I think I've only seen completion when entering LaTeX in math.
>
>
> tab-insert is only possible when the paragraph is PassThru.

OK.

Thanks,

Scott


Re: Mixed Behaviors of [Tab] in Tables

2013-03-01 Thread Rich Shepard

On Fri, 1 Mar 2013, Jean-Marc Lasgouttes wrote:

It is because Tab is a multi-bound key (I am not sure this terms means 
anything) and one of these bindings is completion-accept..


\bind "Tab""command-alternatives 
completion-accept;cell-forward;tab-insert;depth-increment;outline-in"


Jean-Marc,

  Oh. In all the years I've used LyX I only very recently started to see
this behavior and I greatly appreciate your explaining the cause.


What would other people think about removing it from the Tab binding and
putting it somewhere else? The alternative would be to have it as last
choice.


  I vote yes to removing it or, at least, putting completion-accept at the
very end.


Rich, the short answer is that, if you do not use completion, you can just
turn it off.


  Not knowing before now that I had the option I'll go look for where I can
do this when I return later this morning from a meeting.

Many thanks,

Rich



Problem with movies in Pdfs with media9

2013-03-01 Thread Uwe Ade
Hello,

with lyx  I will create a (beamer-)pdf with an include movie. 

I use the package media 9
The last to days I´m not able to get a pdf-document. Every times i compile the 
lyx-file, i get  some Error-Messages.

Have someone no the list experience with this idea

If I compile the file which send with this mail, the following Errors appears

 \lyxframeend
{}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.



test.lyx
Description: Binary data


Every help or example are welcome

uwe

Re: Problem with movies in Pdfs with media9

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 10:23 AM, Uwe Ade  wrote:
> Hello,
>
> with lyx  I will create a (beamer-)pdf with an include movie.
>
> I use the package media 9
> The last to days I´m not able to get a pdf-document. Every times i compile 
> the lyx-file, i get  some Error-Messages.
>
> Have someone no the list experience with this idea
>
> If I compile the file which send with this mail, the following Errors appears
>
>  \lyxframeend
> {}
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
>
>
>
>
> Every help or example are welcome

Hi Uwe,

I don't think I'll be able to help you with your problem but I wanted
to test your .lyx file. It would not compile for me because you have
some paths in there that are specific to your computer. It might help
if you sent a complete example (and perhaps link to a small video in
the format you are trying to use). See here for some tips:
http://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott


multiple appendices

2013-03-01 Thread Andreas
Hi all,

I'm currently putting together my thesis which consists of four papers. Each of
these papers has an appendix. I include all chapters as subdocuments in a main
file. I would like each appendix to be displayed directly after the respective
chapter. However, after the first appendix the remainder of the whole document
is treated as appendix.

How can I go back to normal text after I inserted an appendix?

Thank you very much for your help!!!

Best,
Andreas



using siunitx in tables

2013-03-01 Thread Andreas Hilboll
Hi,

I would like to use the siunitx package for tables, as shown in this post:

   http://tex.stackexchange.com/a/100077/7434

However, I don't know how I can specify the column types like this in LyX (2.0.4
on Ubuntu).

Your help is greatly appreciated :)

Cheers, Andreas.



Automatic save of PDF

2013-03-01 Thread Anders Host-Madsen
Is it possible to configure/program LyX so that whenever the LyX files is saved
by the user (not auto-save) the pdf version (and latex) version is also saved
(without the warning about overwrite)? I realized I do this hundred of times
every day: save the LyX file then export it to pdf. It would be nice if it could
be done automatically.



Re: Automatic save of PDF

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 7:19 PM, Anders Host-Madsen
 wrote:
> Is it possible to configure/program LyX so that whenever the LyX files is 
> saved
> by the user (not auto-save) the pdf version (and latex) version is also saved
> (without the warning about overwrite)? I realized I do this hundred of times
> every day: save the LyX file then export it to pdf. It would be nice if it 
> could
> be done automatically.

Hi Anders,

See the answer here:
http://tex.stackexchange.com/questions/71110/can-lyx-automatically-save-the-pdf-output-in-the-same-folder/71212#71212

Replace 'buffer-view' with 'buffer-write'.

If you want to change the shortcut ctrl + s to do this, go to
preferences > editing > shortcuts > and change the shortcut to the
appropriate command-sequence.

Scott


Re: Problem with movies in Pdfs with media9

2013-03-01 Thread Scott Kostyshak
On Fri, Mar 1, 2013 at 5:21 PM, Uwe Ade  wrote:
> Hi Scott,
>
> sorry for the adverse conditions. I put i lyx and an example to my dropbox
>
> https://www.dropbox.com/sh/vibdgtovk4wq916/06cixlXWZZ
>
> Copy everything in a directory and try it again.

Hi Uwe,

Thanks for the updated example. I can reproduce your error. The ERT
you use needs you to also load a package. To do this, go to Document >
Settings > LaTeX Preamble and paste in there the following line:
\usepackage{media9}

After that, it compiles for me without error. When I view the pdf I
can't confirm that the video plays because I don't have the required
software.

Does that work?

Best,

Scott


Re: Problem with movies in Pdfs with media9

2013-03-01 Thread Uwe Ade
Hi Scott,

unfortunately not. I changed the Latex Preamble as suggested. After recompiling 
there are three Errormessages

undefined control sequence

}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


Latex Error: Missing:\beginn{document}
 }
You're in trouble here. Try typing  to proceed.
If that doesn't work, type X  to quit.

undefined control sequence

 \lyxframeend
{}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


some specs: I am working on a macbook, with lx 2.0.4 with TexLive-2012 intel 
64. 


uwe

Am 02.03.2013 um 04:37 schrieb Scott Kostyshak :

> On Fri, Mar 1, 2013 at 5:21 PM, Uwe Ade  wrote:
>> Hi Scott,
>> 
>> sorry for the adverse conditions. I put i lyx and an example to my dropbox
>> 
>> https://www.dropbox.com/sh/vibdgtovk4wq916/06cixlXWZZ
>> 
>> Copy everything in a directory and try it again.
> 
> Hi Uwe,
> 
> Thanks for the updated example. I can reproduce your error. The ERT
> you use needs you to also load a package. To do this, go to Document >
> Settings > LaTeX Preamble and paste in there the following line:
> \usepackage{media9}
> 
> After that, it compiles for me without error. When I view the pdf I
> can't confirm that the video plays because I don't have the required
> software.
> 
> Does that work?
> 
> Best,
> 
> Scott