Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
line. Do you have any suggestions? -- Carlos Eduardo de Brito Novaes signature.asc Description: This is a digitally signed message part.

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
This test case worked here too. Just my file behave strange, if I wrote some parts I got no errors, but if I copy the section that gave-me errors in your example it works fine. I found out that for some reason the lyx code had an line \lang brasilian just after the section that does not work,

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
I tried to replicate this error by setting a different language on different sections (something I do frequently in citations and for some expressions), but I cant reproduce the error anymore. Maybe if I mess up the text a little. Thanks for the help.

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
I tried to replicate this error by setting a different language on different sections (something I do frequently in citations and for some expressions), but I cant reproduce the error anymore. Maybe if I mess up the text a little. Thanks for the help.

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
Just for information, the actual command definition is presented below. I plan to use at the very first time a symbol is declared so it will get written to the list of symbols with the corresponding description. \newcommand{\simbolo}[2] { \ifthenelse{\equal{#2}{}}

Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
line. Do you have any suggestions? -- Carlos Eduardo de Brito Novaes signature.asc Description: This is a digitally signed message part.

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
This test case worked here too. Just my file behave strange, if I wrote some parts I got no errors, but if I copy the section that gave-me errors in your example it works fine. I found out that for some reason the lyx code had an line \lang brasilian just after the section that does not work,

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
I tried to replicate this error by setting a different language on different sections (something I do frequently in citations and for some expressions), but I cant reproduce the error anymore. Maybe if I mess up the text a little. Thanks for the help.

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
I tried to replicate this error by setting a different language on different sections (something I do frequently in citations and for some expressions), but I cant reproduce the error anymore. Maybe if I mess up the text a little. Thanks for the help.

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
Just for information, the actual command definition is presented below. I plan to use at the very first time a symbol is declared so it will get written to the list of symbols with the corresponding description. \newcommand{\simbolo}[2] { \ifthenelse{\equal{#2}{}}

Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
d continue with the normal text flow in the same line. Do you have any suggestions? -- Carlos Eduardo de Brito Novaes signature.asc Description: This is a digitally signed message part.

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
This test case worked here too. Just my file behave strange, if I wrote some parts I got no errors, but if I copy the section that gave-me errors in your example it works fine. I found out that for some reason the lyx code had an line "\lang brasilian" just after the section that does not

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
I tried to replicate this error by setting a different language on different sections (something I do frequently in citations and for some expressions), but I cant reproduce the error anymore. Maybe if I mess up the text a little. Thanks for the help.

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
I tried to replicate this error by setting a different language on different sections (something I do frequently in citations and for some expressions), but I cant reproduce the error anymore. Maybe if I mess up the text a little. Thanks for the help.

Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
Just for information, the actual command definition is presented below. I plan to use at the very first time a symbol is declared so it will get written to the list of symbols with the corresponding description. \newcommand{\simbolo}[2] { \ifthenelse{\equal{#2}{}}