Re: how to add a caption to a Box inset?

2013-10-20 Thread Jürgen Spitzmüller
Liviu Andronic wrote:
 Would you consider contributing this module to our wiki:
 http://wiki.lyx.org/Layouts/Modules

Done.

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Freitag 18 Oktober 2013, 16:15:09 schrieb Csikos Bela:
 1. The code inserted as local layout does override/replace the code
 specified in enumitem module?

Yes.

 2. Loosely related. I tried powerdot because enumitem does not work with
 beamer. And beamer even starts numbering enumerate list from 1 in every new
 frame/slide. If I could resume enumeration in beamer I would prefer to use
 beamer.

Beamer and enumitem are incompatible. You can resume manually or with some 
LaTeX trickery, see e.g.
http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer

Jürgen, thanks again.

I looked at the stackexchange link. I copied the necessary code into my 
preamble.

But I don't know where to insert commands \seti and \conti.

Especially \conti is problematic as I don't know how I can insert it between

\begin{enumerate} and the first \item commands.

I made a beamer minimal example file which I attach here.

I have two levels enumerated lists, practically one first level in each frame.

Could you please show me on my example file how and where to insert those 
commands 
exactly?

Thanks,

bcsikos


beamer-enumerate-continue-example.lyx
Description: Binary data


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Csikos Bela wrote:
 I looked at the stackexchange link. I copied the necessary code into my
 preamble.
 
 But I don't know where to insert commands \seti and \conti.

There's no need to insert the stackexchange code (in fact, this is not 
possible with LyX, as you noticed yourself). Instead, use the module I posted:
http://marc.info/?l=lyx-usersm=138218324718365w=2

If you use the new style Enumerate-Resume provided by the module, the 
necessary code will be inserted automatically.

If you need to know how to install and use a module, look here:
http://wiki.lyx.org/Layouts/Modules

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

 (And the level 2 labels are not correct either. For now this is not a
 problem as
 
 I will change them and they will not indicate which first level they belong
 to.)

I have not dealt yet with nested enumerations. This obviously needs more work. 
I will have a look at this.

Jürgen


Bibliographies hanging indents

2013-10-20 Thread s . noble
Hello list members,

Please bear with me as I'm newcomer to LyX.

This seems simple but I can't find an answer to it.

I'm using the Koma-script book class (LyX 2.0.6 on Mac OS X 10.7) and I'm typing
the bibliography references manually from within LyX. I'm not using any external
files or editors. (No time yet, I'll get to that later). Is it possible to
change the format of the bibliographical references in order to have them
typeset with a hanging indent, as is often done?

I've found how to remove the label from the bibliographical references, as I
don't need them, but I can't I can't get the hanging indent with manual entries.

Thanks for any help anyone might be able to provide.

Regards,

Sebastien


Re: How to use symbol and germany characters in bibliography

2013-10-20 Thread Rahayu Prihatin
Thanks all, it is fixed now. That's true, just put latex symbol in it.

Cheer,

Rahayu


On Fri, Oct 18, 2013 at 9:45 PM, Csikos Bela bcsikos...@freemail.hu wrote:

 Rahayu Prihatin rahayu.p...@gmail.com írta:
 Hi all,I am not an advanced user. Could somebody help me? I exported
 bibliography from endnote, some of the authors have germany characters and
 there are some symbols as well in the title. When I use it in LyX, those
 characters do not appear appropriately. How to fix it?
 Thanksgreeting,hayu
 

 Hello:

 It depends on the bibliography software you use.

 You can use bibtex, bibtex8 and biblatex.

 If you choose bibtex (that is my preference) you have to replace all
 special characters in your database to latex codes, eg. a\' for á, a\ for
 ä,
 \beta for Greek beta etc. In reality it is not necessary to replace all
 special characters,
 only those that will be included in the output. For example if you have
 abstracts in
 your database, and the abstracts won't be included in the bibliography,
 you don't have
 to replace special characters in the abstracts. The same applies to other
 fields.

 There are programs and scripts that can convert special characters in a
 file to
 latex code. Jabref bibliography manager also has such option.

 Bibtex8: I don't know how it works, I never used it.

 Biblatex supports utf8 and special characters.
 I found biblatex too complex. For me it's major disadvantage that I can not
 make a custom bibliography style file according to my liking (or need).
 The number of options for manipulating output is increasing but still you
 don't
 have a full control. For that one has to make a custom style file, but is
 is not
 easy, since biblatex scripting language is very complex.

 On the other hand making bibtex compatible style files with the help of the
 so called custom-bib program (makebst script) is much easier. These style
 files
 can be used with the natbib package. With a few exception you can make any
 type
 style file.

 Whichever you choose you will have to read the user manual for that
 package,
 that is, you have to spend some time to learn how to use it.

 bcsikos




Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case

Re: Bibliographies hanging indents

2013-10-20 Thread Richard Heck

On 10/20/2013 01:35 PM, s.no...@free.fr wrote:

Hello list members,

Please bear with me as I'm newcomer to LyX.

This seems simple but I can't find an answer to it.

I'm using the Koma-script book class (LyX 2.0.6 on Mac OS X 10.7) and I'm typing
the bibliography references manually from within LyX. I'm not using any external
files or editors. (No time yet, I'll get to that later). Is it possible to
change the format of the bibliographical references in order to have them
typeset with a hanging indent, as is often done?

I've found how to remove the label from the bibliographical references, as I
don't need them, but I can't I can't get the hanging indent with manual entries.


If you don't need the labels and are just entering reference info, then 
the easiest thing would be to use the Hanging module, and then select 
the Hanging paragraph style. Choose that module at Document Settings 
Modules.


Richard



Re: Bibliographies hanging indents

2013-10-20 Thread Sebastien
 
 If you don't need the labels and are just entering reference info, then 
 the easiest thing would be to use the Hanging module, and then select 
 the Hanging paragraph style. Choose that module at Document Settings 
 Modules.
 
 Richard
 
 

Thanks indeed for that quick reply.

I hadn't yet used the hanging paragraph environment, and I can see it will
be helpful. I appreciate you pointing it out.

However, in the current situation, I've set up the bibliography using the 
\setbibpreamble  \breakbibliography commands (with help from a kind 
contributor to this list) in order to have preambles and different sections 
within the bibliography. I've just tried what you suggested and the 
Hanging Paragraph environment won't work within the Bibliography 
environment. So, is it possible to create a hanging paragraph within the 
bibliography while keeping the Bibliography environment intact?

Thanks for any help anyone might be able to provide.

Regards,

Sebastien




Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
For some reason my last answer arrived truncated to the list, therefore I

I send it again:


Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

OK. I set all items to Enumerate-Resume. Even then it works only

if I have one level. If an item has subitems it does not work.


 (And the level 2 labels are not correct either. For now this is not a
 problem as
 
 I will change them and they will not indicate which first level they belong
 to.)

I have not dealt yet with nested enumerations. This obviously needs more work. 
I will have a look at this.

What I want to achieve is making tests.

The questions are numbered and each slide has one question.

The answers below the questions are labeled by capital letters from

A to D or E. I want to be able to rearrange the order of questions

without changing the numbers manually. I also want to copy questions

between documents. As a next step I also would like to highlight the correct 

answers, inlcuding the labels (if it is possible at all).

I just described this because there might be other methods to make such

documents than I tried to do so far.

Thanks,

bcsikos



babel vs. polyglossia

2013-10-20 Thread Bernd Kappenberg

I have a question:

When I compile a XeTeX document, babel will load – even though the 
language processing is done by polyglossia.


Why is that so?
Can I stop babel from loading?

Thank you in advance,

--
Bernd Kappenberg



Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

I thought I could use a local layout and where I modify the
\begin{enumerate} and \end{enumerate} commands.

For example:

Style Beamer-Enumerate-Resume
CopyStyle Enumerate
LatexParam\conti
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End

This adds \begin{enumerate} \conti

at the beginning of the environment when  Beamer-Enumerate-Resume is set.

But I don't know how I could modify the end of the environment:

to change \end{enumerate}  to \end{enumerate} \seti.

Is it possible? 

I attach an example file which includes the above local layout.
I inserted \seti commands in ERT, and it work, but I would like
them to be inserted by the style.

Thanks,

bcsikos


beamer-Enumerate-Resume.lyx
Description: Binary data


Re: babel vs. polyglossia

2013-10-20 Thread Scott Kostyshak
On Sun, Oct 20, 2013 at 5:39 PM, Bernd Kappenberg
bernd.kappenb...@gmx.de wrote:
 I have a question:

 When I compile a XeTeX document, babel will load – even though the language
 processing is done by polyglossia.

 Why is that so?
 Can I stop babel from loading?

 Thank you in advance,

 --
 Bernd Kappenberg

Does trying the different options in Language pack in Document 
Settings  Language hep at all?

Scott


Re: babel vs. polyglossia

2013-10-20 Thread Bernd Kappenberg

Am 21.10.2013 01:48, schrieb Scott Kostyshak:

On Sun, Oct 20, 2013 at 5:39 PM, Bernd Kappenberg
bernd.kappenb...@gmx.de wrote:

I have a question:

When I compile a XeTeX document, babel will load – even though the language
processing is done by polyglossia.

Why is that so?
Can I stop babel from loading?

Thank you in advance,

--
Bernd Kappenberg

Does trying the different options in Language pack in Document 
Settings  Language help at all?

Scott



Tried it; no effect…

--
Bernd Kappenberg



LyX XMPP-Enhanced Chat

2013-10-20 Thread Tommaso Cucinotta
Hi all,

I couldn't resist the temptation in the end, and I refined a bit
that patch for a LyX Chat, going forward along the QXMPP path.

I just attached the new patch to the original ticket:

  http://www.lyx.org/trac/ticket/7964

and being XMPP-based, it also interoperates nicely with Pidgin for example, as 
shown in the VIDEO AT:

  www.youtube.com/watch?v=lQnVxbX8A3w

Plus, it doesn't need any chat server from the LyX side, as the many existing 
XMPP ones
can easily be used (as in the shown example, where I'm using jabber.org).

Comments are welcome of course, as always.

T.



Re: Bibliographies hanging indents

2013-10-20 Thread Richard Heck

On 10/20/2013 03:38 PM, Sebastien wrote:

If you don't need the labels and are just entering reference info, then
the easiest thing would be to use the Hanging module, and then select
the Hanging paragraph style. Choose that module at Document Settings
Modules.

Richard



Thanks indeed for that quick reply.

I hadn't yet used the hanging paragraph environment, and I can see it will
be helpful. I appreciate you pointing it out.

However, in the current situation, I've set up the bibliography using the
\setbibpreamble  \breakbibliography commands (with help from a kind
contributor to this list) in order to have preambles and different sections
within the bibliography. I've just tried what you suggested and the
Hanging Paragraph environment won't work within the Bibliography
environment. So, is it possible to create a hanging paragraph within the
bibliography while keeping the Bibliography environment intact?


The bibliography is just set as a list, and all the list parameters can 
be controlled. But it looks like you are using koma-script, so perhaps 
someone who is expert on that has ideas. I don't really know that class.


rh



Re: LyX XMPP-Enhanced Chat

2013-10-20 Thread Mark Livingstone
Wow, I could see how that could be quite useful in collaborative efforts!

Well done, and I hope it gets picked up!

Cheers,

MArkL



On 21 October 2013 10:54, Tommaso Cucinotta tomm...@lyx.org wrote:

 Hi all,

 I couldn't resist the temptation in the end, and I refined a bit
 that patch for a LyX Chat, going forward along the QXMPP path.

 I just attached the new patch to the original ticket:

   http://www.lyx.org/trac/ticket/7964

 and being XMPP-based, it also interoperates nicely with Pidgin for
 example, as shown in the VIDEO AT:

   www.youtube.com/watch?v=lQnVxbX8A3w

 Plus, it doesn't need any chat server from the LyX side, as the many
 existing XMPP ones
 can easily be used (as in the shown example, where I'm using jabber.org).

 Comments are welcome of course, as always.

 T.




Re: Issuing Lyx commands to Lyx

2013-10-20 Thread Laurent Dubief
Scott Kostyshak skostysh at lyx.org writes:

 
 On Sat, Oct 19, 2013 at 12:29 PM, Laurent Dubief l.dubief at 
wanadoo.fr wrote:
  Hello !
 
  Trying to use macros for making more easily math formulas, I wish I can 
send
  to Lyx some commands.
 
  Throiugh the ToolsPreferences menu, we can already build hot keys 
to
  issue some Lyx commands. For instance, command-alternatives cell-
  backward;tab-delete;depth-decrement;outline-out is attached to the 
Backtab
  key, or math-insert \gamma is attached to Alt-M G G to write a gamma
  letter.
 
  But for more flexibility, I would like to emit those commands directly 
to Lyx.
  For instance, I would like to be able to send math-insert \gamma to 
have a
  gamma. (I know that I can type Latex commands in the formula, but I 
would
  prefer to have the full power of the Lyx language)
 
  Is there any mecanism that could allow me to send these commands to Lyx 
?
 
 Try Alt + x or View  Toolbars  Command Buffer. Then look at the
 bottom of your screen (there's a text box at the very bottom).
 
 Scott
 
 
Thanks for this decisive information for my project.
Lyx has so many resources, it is so clever !
Thanks to you all here that make possible an access to all of its 
opportunities.

Laurent.



Re: LyX XMPP-Enhanced Chat

2013-10-20 Thread Scott Kostyshak
On Sun, Oct 20, 2013 at 8:54 PM, Tommaso Cucinotta tomm...@lyx.org wrote:

 Comments are welcome of course, as always.

Only that this looks cool :)

Scott


Re: how to add a caption to a Box inset?

2013-10-20 Thread Jürgen Spitzmüller
Liviu Andronic wrote:
 Would you consider contributing this module to our wiki:
 http://wiki.lyx.org/Layouts/Modules

Done.

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Freitag 18 Oktober 2013, 16:15:09 schrieb Csikos Bela:
 1. The code inserted as local layout does override/replace the code
 specified in enumitem module?

Yes.

 2. Loosely related. I tried powerdot because enumitem does not work with
 beamer. And beamer even starts numbering enumerate list from 1 in every new
 frame/slide. If I could resume enumeration in beamer I would prefer to use
 beamer.

Beamer and enumitem are incompatible. You can resume manually or with some 
LaTeX trickery, see e.g.
http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer

Jürgen, thanks again.

I looked at the stackexchange link. I copied the necessary code into my 
preamble.

But I don't know where to insert commands \seti and \conti.

Especially \conti is problematic as I don't know how I can insert it between

\begin{enumerate} and the first \item commands.

I made a beamer minimal example file which I attach here.

I have two levels enumerated lists, practically one first level in each frame.

Could you please show me on my example file how and where to insert those 
commands 
exactly?

Thanks,

bcsikos


beamer-enumerate-continue-example.lyx
Description: Binary data


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Csikos Bela wrote:
 I looked at the stackexchange link. I copied the necessary code into my
 preamble.
 
 But I don't know where to insert commands \seti and \conti.

There's no need to insert the stackexchange code (in fact, this is not 
possible with LyX, as you noticed yourself). Instead, use the module I posted:
http://marc.info/?l=lyx-usersm=138218324718365w=2

If you use the new style Enumerate-Resume provided by the module, the 
necessary code will be inserted automatically.

If you need to know how to install and use a module, look here:
http://wiki.lyx.org/Layouts/Modules

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

 (And the level 2 labels are not correct either. For now this is not a
 problem as
 
 I will change them and they will not indicate which first level they belong
 to.)

I have not dealt yet with nested enumerations. This obviously needs more work. 
I will have a look at this.

Jürgen


Bibliographies hanging indents

2013-10-20 Thread s . noble
Hello list members,

Please bear with me as I'm newcomer to LyX.

This seems simple but I can't find an answer to it.

I'm using the Koma-script book class (LyX 2.0.6 on Mac OS X 10.7) and I'm typing
the bibliography references manually from within LyX. I'm not using any external
files or editors. (No time yet, I'll get to that later). Is it possible to
change the format of the bibliographical references in order to have them
typeset with a hanging indent, as is often done?

I've found how to remove the label from the bibliographical references, as I
don't need them, but I can't I can't get the hanging indent with manual entries.

Thanks for any help anyone might be able to provide.

Regards,

Sebastien


Re: How to use symbol and germany characters in bibliography

2013-10-20 Thread Rahayu Prihatin
Thanks all, it is fixed now. That's true, just put latex symbol in it.

Cheer,

Rahayu


On Fri, Oct 18, 2013 at 9:45 PM, Csikos Bela bcsikos...@freemail.hu wrote:

 Rahayu Prihatin rahayu.p...@gmail.com írta:
 Hi all,I am not an advanced user. Could somebody help me? I exported
 bibliography from endnote, some of the authors have germany characters and
 there are some symbols as well in the title. When I use it in LyX, those
 characters do not appear appropriately. How to fix it?
 Thanksgreeting,hayu
 

 Hello:

 It depends on the bibliography software you use.

 You can use bibtex, bibtex8 and biblatex.

 If you choose bibtex (that is my preference) you have to replace all
 special characters in your database to latex codes, eg. a\' for á, a\ for
 ä,
 \beta for Greek beta etc. In reality it is not necessary to replace all
 special characters,
 only those that will be included in the output. For example if you have
 abstracts in
 your database, and the abstracts won't be included in the bibliography,
 you don't have
 to replace special characters in the abstracts. The same applies to other
 fields.

 There are programs and scripts that can convert special characters in a
 file to
 latex code. Jabref bibliography manager also has such option.

 Bibtex8: I don't know how it works, I never used it.

 Biblatex supports utf8 and special characters.
 I found biblatex too complex. For me it's major disadvantage that I can not
 make a custom bibliography style file according to my liking (or need).
 The number of options for manipulating output is increasing but still you
 don't
 have a full control. For that one has to make a custom style file, but is
 is not
 easy, since biblatex scripting language is very complex.

 On the other hand making bibtex compatible style files with the help of the
 so called custom-bib program (makebst script) is much easier. These style
 files
 can be used with the natbib package. With a few exception you can make any
 type
 style file.

 Whichever you choose you will have to read the user manual for that
 package,
 that is, you have to spend some time to learn how to use it.

 bcsikos




Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case

Re: Bibliographies hanging indents

2013-10-20 Thread Richard Heck

On 10/20/2013 01:35 PM, s.no...@free.fr wrote:

Hello list members,

Please bear with me as I'm newcomer to LyX.

This seems simple but I can't find an answer to it.

I'm using the Koma-script book class (LyX 2.0.6 on Mac OS X 10.7) and I'm typing
the bibliography references manually from within LyX. I'm not using any external
files or editors. (No time yet, I'll get to that later). Is it possible to
change the format of the bibliographical references in order to have them
typeset with a hanging indent, as is often done?

I've found how to remove the label from the bibliographical references, as I
don't need them, but I can't I can't get the hanging indent with manual entries.


If you don't need the labels and are just entering reference info, then 
the easiest thing would be to use the Hanging module, and then select 
the Hanging paragraph style. Choose that module at Document Settings 
Modules.


Richard



Re: Bibliographies hanging indents

2013-10-20 Thread Sebastien
 
 If you don't need the labels and are just entering reference info, then 
 the easiest thing would be to use the Hanging module, and then select 
 the Hanging paragraph style. Choose that module at Document Settings 
 Modules.
 
 Richard
 
 

Thanks indeed for that quick reply.

I hadn't yet used the hanging paragraph environment, and I can see it will
be helpful. I appreciate you pointing it out.

However, in the current situation, I've set up the bibliography using the 
\setbibpreamble  \breakbibliography commands (with help from a kind 
contributor to this list) in order to have preambles and different sections 
within the bibliography. I've just tried what you suggested and the 
Hanging Paragraph environment won't work within the Bibliography 
environment. So, is it possible to create a hanging paragraph within the 
bibliography while keeping the Bibliography environment intact?

Thanks for any help anyone might be able to provide.

Regards,

Sebastien




Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
For some reason my last answer arrived truncated to the list, therefore I

I send it again:


Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

OK. I set all items to Enumerate-Resume. Even then it works only

if I have one level. If an item has subitems it does not work.


 (And the level 2 labels are not correct either. For now this is not a
 problem as
 
 I will change them and they will not indicate which first level they belong
 to.)

I have not dealt yet with nested enumerations. This obviously needs more work. 
I will have a look at this.

What I want to achieve is making tests.

The questions are numbered and each slide has one question.

The answers below the questions are labeled by capital letters from

A to D or E. I want to be able to rearrange the order of questions

without changing the numbers manually. I also want to copy questions

between documents. As a next step I also would like to highlight the correct 

answers, inlcuding the labels (if it is possible at all).

I just described this because there might be other methods to make such

documents than I tried to do so far.

Thanks,

bcsikos



babel vs. polyglossia

2013-10-20 Thread Bernd Kappenberg

I have a question:

When I compile a XeTeX document, babel will load – even though the 
language processing is done by polyglossia.


Why is that so?
Can I stop babel from loading?

Thank you in advance,

--
Bernd Kappenberg



Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

I thought I could use a local layout and where I modify the
\begin{enumerate} and \end{enumerate} commands.

For example:

Style Beamer-Enumerate-Resume
CopyStyle Enumerate
LatexParam\conti
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End

This adds \begin{enumerate} \conti

at the beginning of the environment when  Beamer-Enumerate-Resume is set.

But I don't know how I could modify the end of the environment:

to change \end{enumerate}  to \end{enumerate} \seti.

Is it possible? 

I attach an example file which includes the above local layout.
I inserted \seti commands in ERT, and it work, but I would like
them to be inserted by the style.

Thanks,

bcsikos


beamer-Enumerate-Resume.lyx
Description: Binary data


Re: babel vs. polyglossia

2013-10-20 Thread Scott Kostyshak
On Sun, Oct 20, 2013 at 5:39 PM, Bernd Kappenberg
bernd.kappenb...@gmx.de wrote:
 I have a question:

 When I compile a XeTeX document, babel will load – even though the language
 processing is done by polyglossia.

 Why is that so?
 Can I stop babel from loading?

 Thank you in advance,

 --
 Bernd Kappenberg

Does trying the different options in Language pack in Document 
Settings  Language hep at all?

Scott


Re: babel vs. polyglossia

2013-10-20 Thread Bernd Kappenberg

Am 21.10.2013 01:48, schrieb Scott Kostyshak:

On Sun, Oct 20, 2013 at 5:39 PM, Bernd Kappenberg
bernd.kappenb...@gmx.de wrote:

I have a question:

When I compile a XeTeX document, babel will load – even though the language
processing is done by polyglossia.

Why is that so?
Can I stop babel from loading?

Thank you in advance,

--
Bernd Kappenberg

Does trying the different options in Language pack in Document 
Settings  Language help at all?

Scott



Tried it; no effect…

--
Bernd Kappenberg



LyX XMPP-Enhanced Chat

2013-10-20 Thread Tommaso Cucinotta
Hi all,

I couldn't resist the temptation in the end, and I refined a bit
that patch for a LyX Chat, going forward along the QXMPP path.

I just attached the new patch to the original ticket:

  http://www.lyx.org/trac/ticket/7964

and being XMPP-based, it also interoperates nicely with Pidgin for example, as 
shown in the VIDEO AT:

  www.youtube.com/watch?v=lQnVxbX8A3w

Plus, it doesn't need any chat server from the LyX side, as the many existing 
XMPP ones
can easily be used (as in the shown example, where I'm using jabber.org).

Comments are welcome of course, as always.

T.



Re: Bibliographies hanging indents

2013-10-20 Thread Richard Heck

On 10/20/2013 03:38 PM, Sebastien wrote:

If you don't need the labels and are just entering reference info, then
the easiest thing would be to use the Hanging module, and then select
the Hanging paragraph style. Choose that module at Document Settings
Modules.

Richard



Thanks indeed for that quick reply.

I hadn't yet used the hanging paragraph environment, and I can see it will
be helpful. I appreciate you pointing it out.

However, in the current situation, I've set up the bibliography using the
\setbibpreamble  \breakbibliography commands (with help from a kind
contributor to this list) in order to have preambles and different sections
within the bibliography. I've just tried what you suggested and the
Hanging Paragraph environment won't work within the Bibliography
environment. So, is it possible to create a hanging paragraph within the
bibliography while keeping the Bibliography environment intact?


The bibliography is just set as a list, and all the list parameters can 
be controlled. But it looks like you are using koma-script, so perhaps 
someone who is expert on that has ideas. I don't really know that class.


rh



Re: LyX XMPP-Enhanced Chat

2013-10-20 Thread Mark Livingstone
Wow, I could see how that could be quite useful in collaborative efforts!

Well done, and I hope it gets picked up!

Cheers,

MArkL



On 21 October 2013 10:54, Tommaso Cucinotta tomm...@lyx.org wrote:

 Hi all,

 I couldn't resist the temptation in the end, and I refined a bit
 that patch for a LyX Chat, going forward along the QXMPP path.

 I just attached the new patch to the original ticket:

   http://www.lyx.org/trac/ticket/7964

 and being XMPP-based, it also interoperates nicely with Pidgin for
 example, as shown in the VIDEO AT:

   www.youtube.com/watch?v=lQnVxbX8A3w

 Plus, it doesn't need any chat server from the LyX side, as the many
 existing XMPP ones
 can easily be used (as in the shown example, where I'm using jabber.org).

 Comments are welcome of course, as always.

 T.




Re: Issuing Lyx commands to Lyx

2013-10-20 Thread Laurent Dubief
Scott Kostyshak skostysh at lyx.org writes:

 
 On Sat, Oct 19, 2013 at 12:29 PM, Laurent Dubief l.dubief at 
wanadoo.fr wrote:
  Hello !
 
  Trying to use macros for making more easily math formulas, I wish I can 
send
  to Lyx some commands.
 
  Throiugh the ToolsPreferences menu, we can already build hot keys 
to
  issue some Lyx commands. For instance, command-alternatives cell-
  backward;tab-delete;depth-decrement;outline-out is attached to the 
Backtab
  key, or math-insert \gamma is attached to Alt-M G G to write a gamma
  letter.
 
  But for more flexibility, I would like to emit those commands directly 
to Lyx.
  For instance, I would like to be able to send math-insert \gamma to 
have a
  gamma. (I know that I can type Latex commands in the formula, but I 
would
  prefer to have the full power of the Lyx language)
 
  Is there any mecanism that could allow me to send these commands to Lyx 
?
 
 Try Alt + x or View  Toolbars  Command Buffer. Then look at the
 bottom of your screen (there's a text box at the very bottom).
 
 Scott
 
 
Thanks for this decisive information for my project.
Lyx has so many resources, it is so clever !
Thanks to you all here that make possible an access to all of its 
opportunities.

Laurent.



Re: LyX XMPP-Enhanced Chat

2013-10-20 Thread Scott Kostyshak
On Sun, Oct 20, 2013 at 8:54 PM, Tommaso Cucinotta tomm...@lyx.org wrote:

 Comments are welcome of course, as always.

Only that this looks cool :)

Scott


Re: how to add a caption to a Box inset?

2013-10-20 Thread Jürgen Spitzmüller
Liviu Andronic wrote:
> Would you consider contributing this module to our wiki:
> http://wiki.lyx.org/Layouts/Modules

Done.

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Freitag 18 Oktober 2013, 16:15:09 schrieb Csikos Bela:
>> 1. The code inserted as local layout does override/replace the code
>> specified in enumitem module?
>
>Yes.
>
>> 2. Loosely related. I tried powerdot because enumitem does not work with
>> beamer. And beamer even starts numbering enumerate list from 1 in every new
>> frame/slide. If I could resume enumeration in beamer I would prefer to use
>> beamer.
>
>Beamer and enumitem are incompatible. You can resume manually or with some 
>LaTeX trickery, see e.g.
>http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer

Jürgen, thanks again.

I looked at the stackexchange link. I copied the necessary code into my 
preamble.

But I don't know where to insert commands \seti and \conti.

Especially \conti is problematic as I don't know how I can insert it between

"\begin{enumerate}" and the first "\item" commands.

I made a beamer minimal example file which I attach here.

I have two levels enumerated lists, practically one first level in each frame.

Could you please show me on my example file how and where to insert those 
commands 
exactly?

Thanks,

bcsikos


beamer-enumerate-continue-example.lyx
Description: Binary data


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Csikos Bela wrote:
> I looked at the stackexchange link. I copied the necessary code into my
> preamble.
> 
> But I don't know where to insert commands \seti and \conti.

There's no need to insert the stackexchange code (in fact, this is not 
possible with LyX, as you noticed yourself). Instead, use the module I posted:
http://marc.info/?l=lyx-users=138218324718365=2

If you use the new style "Enumerate-Resume" provided by the module, the 
necessary code will be inserted automatically.

If you need to know how to install and use a "module", look here:
http://wiki.lyx.org/Layouts/Modules

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
> If I use Enumerate-Resume style it works only if the previous item is set
> 
> to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
> 
> Please look at the attached beamer-resenumerate.lyx and 
> 
> beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style "Enumerate-Resume" for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

> (And the level 2 labels are not correct either. For now this is not a
> problem as
> 
> I will change them and they will not indicate which first level they belong
> to.)

I have not dealt yet with nested enumerations. This obviously needs more work. 
I will have a look at this.

Jürgen


Bibliographies & hanging indents

2013-10-20 Thread s . noble
Hello list members,

Please bear with me as I'm newcomer to LyX.

This seems simple but I can't find an answer to it.

I'm using the Koma-script book class (LyX 2.0.6 on Mac OS X 10.7) and I'm typing
the bibliography references manually from within LyX. I'm not using any external
files or editors. (No time yet, I'll get to that later). Is it possible to
change the format of the bibliographical references in order to have them
typeset with a hanging indent, as is often done?

I've found how to remove the label from the bibliographical references, as I
don't need them, but I can't I can't get the hanging indent with manual entries.

Thanks for any help anyone might be able to provide.

Regards,

Sebastien


Re: How to use symbol and germany characters in bibliography

2013-10-20 Thread Rahayu Prihatin
Thanks all, it is fixed now. That's true, just put latex symbol in it.

Cheer,

Rahayu


On Fri, Oct 18, 2013 at 9:45 PM, Csikos Bela  wrote:

> Rahayu Prihatin  írta:
> >Hi all,I am not an advanced user. Could somebody help me? I exported
> bibliography from >endnote, some of the authors have germany characters and
> there are some symbols as >well in the title. When I use it in LyX, those
> characters do not appear appropriately. How to >fix it?
> >Thanksgreeting,hayu
> >
>
> Hello:
>
> It depends on the bibliography software you use.
>
> You can use bibtex, bibtex8 and biblatex.
>
> If you choose bibtex (that is my preference) you have to replace all
> special characters in your database to latex codes, eg. a\' for á, a\" for
> ä,
> \beta for Greek beta etc. In reality it is not necessary to replace all
> special characters,
> only those that will be included in the output. For example if you have
> abstracts in
> your database, and the abstracts won't be included in the bibliography,
> you don't have
> to replace special characters in the abstracts. The same applies to other
> fields.
>
> There are programs and scripts that can convert special characters in a
> file to
> latex code. Jabref bibliography manager also has such option.
>
> Bibtex8: I don't know how it works, I never used it.
>
> Biblatex supports utf8 and special characters.
> I found biblatex too complex. For me it's major disadvantage that I can not
> make a custom bibliography style file according to my liking (or need).
> The number of options for manipulating output is increasing but still you
> don't
> have a full control. For that one has to make a custom style file, but is
> is not
> easy, since biblatex "scripting language" is very complex.
>
> On the other hand making bibtex compatible style files with the help of the
> so called custom-bib program (makebst script) is much easier. These style
> files
> can be used with the natbib package. With a few exception you can make any
> type
> style file.
>
> Whichever you choose you will have to read the user manual for that
> package,
> that is, you have to spend some time to learn how to use it.
>
> bcsikos
>
>


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
>> If I use Enumerate-Resume style it works only if the previous item is set
>> 
>> to Enumerate (not  Enumerate-Resume). That is it dos not work in my case

Re: Bibliographies & hanging indents

2013-10-20 Thread Richard Heck

On 10/20/2013 01:35 PM, s.no...@free.fr wrote:

Hello list members,

Please bear with me as I'm newcomer to LyX.

This seems simple but I can't find an answer to it.

I'm using the Koma-script book class (LyX 2.0.6 on Mac OS X 10.7) and I'm typing
the bibliography references manually from within LyX. I'm not using any external
files or editors. (No time yet, I'll get to that later). Is it possible to
change the format of the bibliographical references in order to have them
typeset with a hanging indent, as is often done?

I've found how to remove the label from the bibliographical references, as I
don't need them, but I can't I can't get the hanging indent with manual entries.


If you don't need the labels and are just entering reference info, then 
the easiest thing would be to use the Hanging module, and then select 
the Hanging paragraph style. Choose that module at Document> Settings> 
Modules.


Richard



Re: Bibliographies & hanging indents

2013-10-20 Thread Sebastien
> 
> If you don't need the labels and are just entering reference info, then 
> the easiest thing would be to use the Hanging module, and then select 
> the Hanging paragraph style. Choose that module at Document> Settings> 
> Modules.
> 
> Richard
> 
> 

Thanks indeed for that quick reply.

I hadn't yet used the hanging paragraph environment, and I can see it will
be helpful. I appreciate you pointing it out.

However, in the current situation, I've set up the bibliography using the 
\setbibpreamble & \breakbibliography commands (with help from a kind 
contributor to this list) in order to have preambles and different sections 
within the bibliography. I've just tried what you suggested and the 
"Hanging Paragraph" environment won't work within the "Bibliography" 
environment. So, is it possible to create a hanging paragraph within the 
bibliography while keeping the "Bibliography" environment intact?

Thanks for any help anyone might be able to provide.

Regards,

Sebastien




Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
For some reason my last answer arrived truncated to the list, therefore I

I send it again:


"Jürgen Spitzmüller"  írta:
>Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
>> If I use Enumerate-Resume style it works only if the previous item is set
>> 
>> to Enumerate (not Enumerate-Resume). That is it dos not work in my case.
>> 
>> Please look at the attached beamer-resenumerate.lyx and 
>> 
>> beamer-resenumerate2.lyx files and their pdf outputs.
>
>Well, in the first example, you use the style incorrectly: You have to use the 
>style "Enumerate-Resume" for _the whole list_ which should start with a 
>resumed number. In other words: Never mix normal Enumerate and 
>Enumerate_Resume in a single list.

OK. I set all items to Enumerate-Resume. Even then it works only

if I have one level. If an item has subitems it does not work.

>
>> (And the level 2 labels are not correct either. For now this is not a
>> problem as
>> 
>> I will change them and they will not indicate which first level they belong
>> to.)
>
>I have not dealt yet with nested enumerations. This obviously needs more work. 
>I will have a look at this.

What I want to achieve is making tests.

The questions are numbered and each slide has one question.

The answers below the questions are labeled by capital letters from

A to D or E. I want to be able to rearrange the order of questions

without changing the numbers manually. I also want to copy questions

between documents. As a next step I also would like to highlight the correct 

answers, inlcuding the labels (if it is possible at all).

I just described this because there might be other methods to make such

documents than I tried to do so far.

Thanks,

bcsikos



babel vs. polyglossia

2013-10-20 Thread Bernd Kappenberg

I have a question:

When I compile a XeTeX document, babel will load – even though the 
language processing is done by polyglossia.


Why is that so?
Can I stop babel from loading?

Thank you in advance,

--
Bernd Kappenberg



Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
>> If I use Enumerate-Resume style it works only if the previous item is set
>> 
>> to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
>> 
>> Please look at the attached beamer-resenumerate.lyx and 
>> 
>> beamer-resenumerate2.lyx files and their pdf outputs.
>
>Well, in the first example, you use the style incorrectly: You have to use the 
>style "Enumerate-Resume" for _the whole list_ which should start with a 
>resumed number. In other words: Never mix normal Enumerate and 
>Enumerate_Resume in a single list.

I thought I could use a local layout and where I modify the
\begin{enumerate} and \end{enumerate} commands.

For example:

Style Beamer-Enumerate-Resume
CopyStyle Enumerate
LatexParam\conti
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End

This adds \begin{enumerate} \conti

at the beginning of the environment when  Beamer-Enumerate-Resume is set.

But I don't know how I could modify the end of the environment:

to change "\end{enumerate}"  to "\end{enumerate} \seti".

Is it possible? 

I attach an example file which includes the above local layout.
I inserted "\seti" commands in ERT, and it work, but I would like
them to be inserted by the style.

Thanks,

bcsikos


beamer-Enumerate-Resume.lyx
Description: Binary data


Re: babel vs. polyglossia

2013-10-20 Thread Scott Kostyshak
On Sun, Oct 20, 2013 at 5:39 PM, Bernd Kappenberg
 wrote:
> I have a question:
>
> When I compile a XeTeX document, babel will load – even though the language
> processing is done by polyglossia.
>
> Why is that so?
> Can I stop babel from loading?
>
> Thank you in advance,
>
> --
> Bernd Kappenberg

Does trying the different options in "Language pack" in Document >
Settings > Language hep at all?

Scott


Re: babel vs. polyglossia

2013-10-20 Thread Bernd Kappenberg

Am 21.10.2013 01:48, schrieb Scott Kostyshak:

On Sun, Oct 20, 2013 at 5:39 PM, Bernd Kappenberg
 wrote:

I have a question:

When I compile a XeTeX document, babel will load – even though the language
processing is done by polyglossia.

Why is that so?
Can I stop babel from loading?

Thank you in advance,

--
Bernd Kappenberg

Does trying the different options in "Language pack" in Document >
Settings > Language help at all?

Scott



Tried it; no effect…

--
Bernd Kappenberg



LyX XMPP-Enhanced Chat

2013-10-20 Thread Tommaso Cucinotta
Hi all,

I couldn't resist the temptation in the end, and I refined a bit
that patch for a LyX Chat, going forward along the QXMPP path.

I just attached the new patch to the original ticket:

  http://www.lyx.org/trac/ticket/7964

and being XMPP-based, it also interoperates nicely with Pidgin for example, as 
shown in the VIDEO AT:

  www.youtube.com/watch?v=lQnVxbX8A3w

Plus, it doesn't need any chat server from the LyX side, as the many existing 
XMPP ones
can easily be used (as in the shown example, where I'm using jabber.org).

Comments are welcome of course, as always.

T.



Re: Bibliographies & hanging indents

2013-10-20 Thread Richard Heck

On 10/20/2013 03:38 PM, Sebastien wrote:

If you don't need the labels and are just entering reference info, then
the easiest thing would be to use the Hanging module, and then select
the Hanging paragraph style. Choose that module at Document> Settings>
Modules.

Richard



Thanks indeed for that quick reply.

I hadn't yet used the hanging paragraph environment, and I can see it will
be helpful. I appreciate you pointing it out.

However, in the current situation, I've set up the bibliography using the
\setbibpreamble & \breakbibliography commands (with help from a kind
contributor to this list) in order to have preambles and different sections
within the bibliography. I've just tried what you suggested and the
"Hanging Paragraph" environment won't work within the "Bibliography"
environment. So, is it possible to create a hanging paragraph within the
bibliography while keeping the "Bibliography" environment intact?


The bibliography is just set as a list, and all the list parameters can 
be controlled. But it looks like you are using koma-script, so perhaps 
someone who is expert on that has ideas. I don't really know that class.


rh



Re: LyX XMPP-Enhanced Chat

2013-10-20 Thread Mark Livingstone
Wow, I could see how that could be quite useful in collaborative efforts!

Well done, and I hope it gets picked up!

Cheers,

MArkL



On 21 October 2013 10:54, Tommaso Cucinotta  wrote:

> Hi all,
>
> I couldn't resist the temptation in the end, and I refined a bit
> that patch for a LyX Chat, going forward along the QXMPP path.
>
> I just attached the new patch to the original ticket:
>
>   http://www.lyx.org/trac/ticket/7964
>
> and being XMPP-based, it also interoperates nicely with Pidgin for
> example, as shown in the VIDEO AT:
>
>   www.youtube.com/watch?v=lQnVxbX8A3w
>
> Plus, it doesn't need any chat server from the LyX side, as the many
> existing XMPP ones
> can easily be used (as in the shown example, where I'm using jabber.org).
>
> Comments are welcome of course, as always.
>
> T.
>
>


Re: Issuing Lyx commands to Lyx

2013-10-20 Thread Laurent Dubief
Scott Kostyshak  lyx.org> writes:

> 
> On Sat, Oct 19, 2013 at 12:29 PM, Laurent Dubief  
wanadoo.fr> wrote:
> > Hello !
> >
> > Trying to use macros for making more easily math formulas, I wish I can 
send
> > to Lyx some commands.
> >
> > Throiugh the "Tools>Preferences" menu, we can already build "hot keys" 
to
> > issue some Lyx commands. For instance, "command-alternatives cell-
> > backward;tab-delete;depth-decrement;outline-out" is attached to the 
Backtab
> > key, or "math-insert \gamma" is attached to "Alt-M G G" to write a gamma
> > letter.
> >
> > But for more flexibility, I would like to emit those commands directly 
to Lyx.
> > For instance, I would like to be able to send "math-insert \gamma" to 
have a
> > gamma. (I know that I can type Latex commands in the formula, but I 
would
> > prefer to have the full power of the Lyx language)
> >
> > Is there any mecanism that could allow me to send these commands to Lyx 
?
> 
> Try "Alt + x" or View > Toolbars > Command Buffer. Then look at the
> bottom of your screen (there's a text box at the very bottom).
> 
> Scott
> 
> 
Thanks for this decisive information for my project.
Lyx has so many resources, it is so clever !
Thanks to you all here that make possible an access to all of its 
opportunities.

Laurent.



Re: LyX XMPP-Enhanced Chat

2013-10-20 Thread Scott Kostyshak
On Sun, Oct 20, 2013 at 8:54 PM, Tommaso Cucinotta  wrote:

> Comments are welcome of course, as always.

Only that this looks cool :)

Scott