Re: Is it possible to control references format?

2013-12-19 Thread Fabio S.
I think you want to insert cross-references with the Format: box set to formatted reference. See section 6.1 of the User Guide for details. Paul First, thanks for your hint. If I get it right, your suggestion is to use the refstyle package (which is what is done using formatted reference)

Re: Is it possible to control references format?

2013-12-19 Thread Fabio S.
I think you want to insert cross-references with the Format: box set to formatted reference. See section 6.1 of the User Guide for details. Paul First, thanks for your hint. If I get it right, your suggestion is to use the refstyle package (which is what is done using formatted reference)

Re: Is it possible to control references format?

2013-12-19 Thread Fabio S.
I think you want to insert cross-references with the Format: box set to "formatted reference". See section 6.1 of the User Guide for details. Paul First, thanks for your hint. If I get it right, your suggestion is to use the refstyle package (which is what is done using "formatted

Is it possible to control references format?

2013-12-18 Thread Fabio S.
Hi all, I am wondering if it is possible to control the format of references inside a document from the document settings. I mean: I would like to have all references to equations (that is, label of the form eq:* ) formatted as (.), references to thm:* formatted as [.] and all others simply

Is it possible to control references format?

2013-12-18 Thread Fabio S.
Hi all, I am wondering if it is possible to control the format of references inside a document from the document settings. I mean: I would like to have all references to equations (that is, label of the form eq:* ) formatted as (.), references to thm:* formatted as [.] and all others simply

Is it possible to control references format?

2013-12-18 Thread Fabio S.
Hi all, I am wondering if it is possible to control the format of references inside a document from the document settings. I mean: I would like to have all references to equations (that is, label of the form eq:* ) formatted as (.), references to thm:* formatted as [.] and all others simply

How to source my own definitions?

2013-11-22 Thread Fabio S.
Hi all, I have a set of math macros defined with the math-macro command. I would like to save them on a separate file so that I don't have to cutpaste them in every new file. I saved them in a file, mydefs.tex. It contains things like \global\long\def\rk{\operatorname{rk}} and so on. I

Re: How to source my own definitions?

2013-11-22 Thread Fabio S.
Ok, I found by myself the solution: in addition to \input{mydefs} insert in a comment a lyx file mydefs.lyx with the definitions. Not exactly what I wanted, but it works and I guess it can't be done better, since this is what can be found lyx wiki. Sorry for asking. F.

Re: How to source my own definitions?

2013-11-22 Thread Fabio S.
I just put my math macros in mydefs.lyx and then include that file as a child document, outside a comment, right at the beginning of the main body. Is there some reason that does not work for you? Well, in fact it works and it is what I wanted: I simply couldn't find the right menu path :(

How to source my own definitions?

2013-11-22 Thread Fabio S.
Hi all, I have a set of math macros defined with the math-macro command. I would like to save them on a separate file so that I don't have to cutpaste them in every new file. I saved them in a file, mydefs.tex. It contains things like \global\long\def\rk{\operatorname{rk}} and so on. I

Re: How to source my own definitions?

2013-11-22 Thread Fabio S.
Ok, I found by myself the solution: in addition to \input{mydefs} insert in a comment a lyx file mydefs.lyx with the definitions. Not exactly what I wanted, but it works and I guess it can't be done better, since this is what can be found lyx wiki. Sorry for asking. F.

Re: How to source my own definitions?

2013-11-22 Thread Fabio S.
I just put my math macros in mydefs.lyx and then include that file as a child document, outside a comment, right at the beginning of the main body. Is there some reason that does not work for you? Well, in fact it works and it is what I wanted: I simply couldn't find the right menu path :(

How to source my own definitions?

2013-11-22 Thread Fabio S.
Hi all, I have a set of math macros defined with the math-macro command. I would like to save them on a separate file so that I don't have to cut them in every new file. I saved them in a file, mydefs.tex. It contains things like \global\long\def\rk{\operatorname{rk}} and so on. I

Re: How to source my own definitions?

2013-11-22 Thread Fabio S.
Ok, I found by myself the solution: in addition to \input{mydefs} insert in a comment a lyx file mydefs.lyx with the definitions. Not exactly what I wanted, but it works and I guess it can't be done better, since this is what can be found lyx wiki. Sorry for asking. F.

Re: How to source my own definitions?

2013-11-22 Thread Fabio S.
I just put my math macros in mydefs.lyx and then include that file as a child document, outside a comment, right at the beginning of the main body. Is there some reason that does not work for you? Well, in fact it works and it is what I wanted: I simply couldn't find the right menu path :(

Re: ubuntu 13.10 - changing language causes error

2013-10-30 Thread Fabio S.
As a user what I observerd was that after ubuntu was updated lyx stopped working, that is a fact. I think we all agree that shouldn't happen, so it would be good to find the cause and make sure it doesn't happen in future upgrades. ... That should be the principle, but my experience is that if

Re: ubuntu 13.10 - changing language causes error

2013-10-30 Thread Fabio S.
As a user what I observerd was that after ubuntu was updated lyx stopped working, that is a fact. I think we all agree that shouldn't happen, so it would be good to find the cause and make sure it doesn't happen in future upgrades. ... That should be the principle, but my experience is that if

Re: ubuntu 13.10 - changing language causes error

2013-10-30 Thread Fabio S.
As a user what I observerd was that after ubuntu was updated lyx stopped working, that is a fact. I think we all agree that shouldn't happen, so it would be good to find the cause and make sure it doesn't happen in future upgrades. ... That should be the principle, but my experience is that if

Shortcuts for \ldots

2013-10-17 Thread Fabio S.
I would like to have a shortcut for \ldots. My preferred would be three dots, that is \bind period period period math-insert \\ldots but it doesn't work: what am I missing? Thanks Fabio

Re: Shortcuts for \ldots

2013-10-17 Thread Fabio S.
I would like to have a shortcut for \ldots. My preferred would be three dots, that is \bind period period period math-insert \\ldots but it doesn't work: what am I missing? You now that \ldots (in text mode, though) is bound to Alt-period by default? Yes, I know, but I hardly use it in

Shortcuts for \ldots

2013-10-17 Thread Fabio S.
I would like to have a shortcut for \ldots. My preferred would be three dots, that is \bind period period period math-insert \\ldots but it doesn't work: what am I missing? Thanks Fabio

Re: Shortcuts for \ldots

2013-10-17 Thread Fabio S.
I would like to have a shortcut for \ldots. My preferred would be three dots, that is \bind period period period math-insert \\ldots but it doesn't work: what am I missing? You now that \ldots (in text mode, though) is bound to Alt-period by default? Yes, I know, but I hardly use it in

Shortcuts for \ldots

2013-10-17 Thread Fabio S.
I would like to have a shortcut for \ldots. My preferred would be three dots, that is \bind "period period period" "math-insert \\ldots" but it doesn't work: what am I missing? Thanks Fabio

Re: Shortcuts for \ldots

2013-10-17 Thread Fabio S.
I would like to have a shortcut for \ldots. My preferred would be three dots, that is \bind "period period period" "math-insert \\ldots" but it doesn't work: what am I missing? You now that \ldots (in text mode, though) is bound to Alt-period by default? Yes, I know, but I hardly use it in

Re: Nested evnironments

2013-09-26 Thread Fabio S.
It works, but I am wondering there is a clean way to obtain the intended result. No, that's the sort of trick you have to use. Unless you set KeepEmpty to 1 in your theorem environment, which would allow you not to put the ~. Ok, I see. BTW, I discovered that using an empty red box is a

Re: Nested evnironments

2013-09-26 Thread Fabio S.
It works, but I am wondering there is a clean way to obtain the intended result. No, that's the sort of trick you have to use. Unless you set KeepEmpty to 1 in your theorem environment, which would allow you not to put the ~. Ok, I see. BTW, I discovered that using an empty red box is a

Re: Nested evnironments

2013-09-26 Thread Fabio S.
It works, but I am wondering there is a "clean" way to obtain the intended result. No, that's the sort of trick you have to use. Unless you set "KeepEmpty" to 1 in your theorem environment, which would allow you not to put the ~. Ok, I see. BTW, I discovered that using an empty red box is

Nested evnironments

2013-09-25 Thread Fabio S.
Hi, I have a little problem with nested environments. I want to enumerate statements in a theorem without any test before the enumeration, so that the latex should be something like \begin{thm} \begin{enumerate} \item First statement \item Second statement \end{enumerate} \end{thm} You can

Nested evnironments

2013-09-25 Thread Fabio S.
Hi, I have a little problem with nested environments. I want to enumerate statements in a theorem without any test before the enumeration, so that the latex should be something like \begin{thm} \begin{enumerate} \item First statement \item Second statement \end{enumerate} \end{thm} You can

Nested evnironments

2013-09-25 Thread Fabio S.
Hi, I have a little problem with nested environments. I want to enumerate statements in a theorem without any test before the enumeration, so that the latex should be something like \begin{thm} \begin{enumerate} \item First statement \item Second statement \end{enumerate} \end{thm} You can

Re: Reverse search with xdvi

2013-09-09 Thread Fabio S.
direct search: Tools-Preferences-Output-General xdvi -nofork -sourceposition $$n $$t $$o -editor lyxeditor.sh %f %l -nofork part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx starts a new

Re: Reverse search with xdvi

2013-09-09 Thread Fabio S.
direct search: Tools-Preferences-Output-General xdvi -nofork -sourceposition $$n $$t $$o -editor lyxeditor.sh %f %l -nofork part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx starts a new

Re: Reverse search with xdvi

2013-09-09 Thread Fabio S.
direct search: Tools->Preferences->Output->General xdvi -nofork -sourceposition "$$n $$t" $$o -editor "lyxeditor.sh %f %l" "-nofork" part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx

Re: Reverse search with xdvi

2013-09-06 Thread Fabio S.
If you can comment what and why was changed I can include it into docs as well. ok. xdvi: inverse search: Tools-Preferences-File Handling-File formats xdvi -editor lyxeditor.sh %f %l In the docs: xdvi -editor 'lyxeditor.sh %f %l' With single quotes

Re: Reverse search with xdvi

2013-09-06 Thread Fabio S.
If you can comment what and why was changed I can include it into docs as well. ok. xdvi: inverse search: Tools-Preferences-File Handling-File formats xdvi -editor lyxeditor.sh %f %l In the docs: xdvi -editor 'lyxeditor.sh %f %l' With single quotes

Re: Reverse search with xdvi

2013-09-06 Thread Fabio S.
If you can comment what and why was changed I can include it into docs as well. ok. xdvi: inverse search: Tools->Preferences->File Handling->File formats xdvi -editor "lyxeditor.sh %f %l" In the docs: xdvi -editor 'lyxeditor.sh %f %l' With single