Re: search math macros

2024-01-25 Thread Kornel Benko
sing LyX for a number of years.  Because I was reusing a > >>> lot of math macros, I started putting them in a separate file and > >>> loading that file at the beginning of each document with an input > >>> statement.  Over time, the list has grown and I wanted t

Re: search math macros

2024-01-24 Thread Richard Kimberly Heck
On 1/24/24 03:09, Kornel Benko wrote: Am Mon, 22 Jan 2024 17:35:25 -0500 schrieb Richard Kimberly Heck : On 1/22/24 16:27, Michael Dean Pugh wrote: I've been using LyX for a number of years.  Because I was reusing a lot of math macros, I started putting them in a separate file and loading

Re: search math macros

2024-01-24 Thread Kornel Benko
Am Mon, 22 Jan 2024 17:35:25 -0500 schrieb Richard Kimberly Heck : > On 1/22/24 16:27, Michael Dean Pugh wrote: > > I've been using LyX for a number of years.  Because I was reusing a > > lot of math macros, I started putting them in a separate file and > > loading that

Re: search math macros

2024-01-22 Thread Richard Kimberly Heck
On 1/22/24 16:27, Michael Dean Pugh wrote: I've been using LyX for a number of years.  Because I was reusing a lot of math macros, I started putting them in a separate file and loading that file at the beginning of each document with an input statement.  Over time, the list has grown and I

search math macros

2024-01-22 Thread Michael Dean Pugh
I've been using LyX for a number of years. Because I was reusing a lot of math macros, I started putting them in a separate file and loading that file at the beginning of each document with an input statement. Over time, the list has grown and I wanted to search for a macro to see how I had

Re: How to make LyX math macros available across documents?

2021-08-08 Thread Tobias Hilbricht
Am Freitag, den 06.08.2021, 11:15 -0400 schrieb Paul A. Rubin: > On 8/6/21 5:52 AM, Tobias Hilbricht wrote: > > Dear readers of this list, > > > > in my worksheets in chemistry I have to write chemical formulas and > > physical quantities very often. But while that is very easy to do > > in > >

Re: How to make LyX math macros available across documents?

2021-08-07 Thread Richard Kimberly Heck
On 8/6/21 5:52 AM, Tobias Hilbricht wrote: > Dear readers of this list, > > in my worksheets in chemistry I have to write chemical formulas and > physical quantities very often. But while that is very easy to do in > LyX out of the box with chemical formulas due to the integration of > mhchem and

Re: How to make LyX math macros available across documents?

2021-08-06 Thread Paul A. Rubin
On 8/6/21 5:52 AM, Tobias Hilbricht wrote: Dear readers of this list, in my worksheets in chemistry I have to write chemical formulas and physical quantities very often. But while that is very easy to do in LyX out of the box with chemical formulas due to the integration of mhchem and its macro

How to make LyX math macros available across documents?

2021-08-06 Thread Tobias Hilbricht
Dear readers of this list, in my worksheets in chemistry I have to write chemical formulas and physical quantities very often. But while that is very easy to do in LyX out of the box with chemical formulas due to the integration of mhchem and its macro \ce, I am still trying to achieve something

Re: Detokenized Math Macros?

2020-11-11 Thread Joel Kulesza
On Wed, Nov 11, 2020 at 9:06 AM Richard Kimberly Heck wrote: > On 11/10/20 1:13 PM, Joel Kulesza wrote: > > Colleagues, > > > > Is there a way to detokenize math macros in LyX such that characters > > like an underscore are not passed? I'd like to highlight text a

Re: Detokenized Math Macros?

2020-11-11 Thread Richard Kimberly Heck
On 11/10/20 1:13 PM, Joel Kulesza wrote: Colleagues, Is there a way to detokenize math macros in LyX such that characters like an underscore are not passed?  I'd like to highlight text and then apply the macro (via toolbar button/shortcut), but it passes through characters without escaping

Detokenized Math Macros?

2020-11-10 Thread Joel Kulesza
Colleagues, Is there a way to detokenize math macros in LyX such that characters like an underscore are not passed? I'd like to highlight text and then apply the macro (via toolbar button/shortcut), but it passes through characters without escaping them automatically. For example, please see

Re: LyX, Beamer and math macros

2018-06-08 Thread Paul A. Rubin
On 06/08/2018 01:39 PM, Richard Kimberly Heck wrote: On 06/08/2018 08:31 AM, Paul A. Rubin wrote: On 06/08/2018 01:14 AM, Reuven Segev wrote: Hi, When using LyX to produce slides with Beamer, I encountered the following issue. Beamer produces an empty slide wherever I insert my math macros

Re: LyX, Beamer and math macros

2018-06-08 Thread Richard Kimberly Heck
On 06/08/2018 08:31 AM, Paul A. Rubin wrote: > On 06/08/2018 01:14 AM, Reuven Segev wrote: >> Hi, >> When using LyX to produce slides with Beamer, I encountered the >> following issue. Beamer produces an empty slide wherever I insert my >> math macros. I could not thi

Re: LyX, Beamer and math macros

2018-06-08 Thread Paul A. Rubin
On 06/08/2018 01:14 AM, Reuven Segev wrote: Hi, When using LyX to produce slides with Beamer, I encountered the following issue. Beamer produces an empty slide wherever I insert my math macros. I could not think of a way to "encapsulate" them. Any help will be appreciated. Be

LyX, Beamer and math macros

2018-06-07 Thread Reuven Segev
Hi, When using LyX to produce slides with Beamer, I encountered the following issue. Beamer produces an empty slide wherever I insert my math macros. I could not think of a way to "encapsulate" them. Any help will be appreciated. Best, Reuven Segev

Re: Child Math Macros with Includes and nested Inputs

2016-09-07 Thread Richard Heck
7). Further I would like to > structure the different Includes by using Inputs for the associated > sections. For each Input, I set the Include-file it is in as the main > document. No problem so far. > > But I haven’t got to grips with my math macros file after several > attempts

Child Math Macros with Includes and nested Inputs

2016-09-07 Thread Tadeus Ras
uts for the associated sections. For each Input, I set the Include-file it is in as the main document. No problem so far. But I haven’t got to grips with my math macros file after several attempts (tried also with https://wiki.lyx.org/Tips/ChildMathMacros <https://wiki.lyx.org/Tips/ChildMath

Re: Searching in math macros

2015-10-02 Thread Liviu Andronic
On Thu, Oct 1, 2015 at 11:49 PM, Guillaume Munch <g...@lyx.org> wrote: > Le 01/10/2015 12:03, David a écrit : >> >> Dear Lyx users, >> >> I work on a document that contains a long list of math macros >> defining various mathematical symbols. I would like

Re: Searching in math macros

2015-10-02 Thread David
Am 01.10.2015 um 23:49 schrieb Guillaume Munch: > > As of now, there is a list of math macros in the navigation menu and the > outline pane. Especially the outline pane works well for that: math > macros can now be accessed and ordered either by appearance or > alphabet

Re: Searching in math macros

2015-10-02 Thread Guenter Milde
On 2015-10-02, Liviu Andronic wrote: > On Thu, Oct 1, 2015 at 11:49 PM, Guillaume Munch <g...@lyx.org> wrote: >> Le 01/10/2015 12:03, David a écrit : ... >> As of now, there is a list of math macros in the navigation menu and the >> outline pane. Especially

Re: Searching in math macros

2015-10-02 Thread Liviu Andronic
On Fri, Oct 2, 2015 at 10:40 AM, Guenter Milde <mi...@users.sf.net> wrote: > On 2015-10-02, Liviu Andronic wrote: >> On Thu, Oct 1, 2015 at 11:49 PM, Guillaume Munch <g...@lyx.org> wrote: >>> Le 01/10/2015 12:03, David a écrit : > > ... > >&g

Re: Searching in math macros

2015-10-02 Thread Guillaume Munch
As of now, there is a list of math macros in the navigation menu and the outline pane. Especially the outline pane works well for that: math macros can now be accessed and ordered either by appearance or alphabetically, and can be searched for using the filter. Is a list of math macros very different

Searching in math macros

2015-10-01 Thread David
Dear Lyx users, I work on a document that contains a long list of math macros defining various mathematical symbols. I would like to search in this list. Please consider the example Lyx file attached. How could I find, for example, \speedOfLight ? I have tried Edit > Find (Quick) and E

Re: Searching in math macros

2015-10-01 Thread Guillaume Munch
Le 01/10/2015 12:03, David a écrit : Dear Lyx users, I work on a document that contains a long list of math macros defining various mathematical symbols. I would like to search in this list. Please consider the example Lyx file attached. How could I find, for example, \speedOfLight ? I have

Re: Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 3:27 AM, Reuven Segev reuven.se...@gmail.com wrote: Hi, How can import a LaTeX file into LyX so that the LaTeX macros are imported into LyX math macros? Cross-posted at http://latex-community.org/forum/viewtopic.php?f=19t=26277 Scott

Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Reuven Segev
Hi, How can import a LaTeX file into LyX so that the LaTeX macros are imported into LyX math macros? Thanks

Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Reuven Segev
Hi, How can import a LaTeX file into LyX so that the LaTeX macros are imported into LyX math macros? Thanks

Re: Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 3:27 AM, Reuven Segev reuven.se...@gmail.com wrote: Hi, How can import a LaTeX file into LyX so that the LaTeX macros are imported into LyX math macros? Cross-posted at http://latex-community.org/forum/viewtopic.php?f=19t=26277 Scott

Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Reuven Segev
Hi, How can import a LaTeX file into LyX so that the LaTeX macros are imported into LyX math macros? Thanks

Re: Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 3:27 AM, Reuven Segev <reuven.se...@gmail.com> wrote: > Hi, > How can import a LaTeX file into LyX so that the LaTeX macros are imported > into LyX math macros? > Cross-posted at http://latex-community.org/forum/viewtopic.php?f=19=26277 Scott

Re: using native 'math macros' as 'text macros'

2014-01-23 Thread Guenter Milde
On 2014-01-22, Liviu Andronic wrote: So, is it a good or bad idea to use math macros to emulate text macros? Is there a nicer approach? IMO, it is a bad idea. Math macros are for mathematical typesetting (and even then not the cleanest LaTeX code results). The text alternative to math macros

Re: using native 'math macros' as 'text macros'

2014-01-23 Thread Liviu Andronic
On Thu, Jan 23, 2014 at 12:09 PM, Guenter Milde mi...@users.sf.net wrote: On 2014-01-22, Liviu Andronic wrote: So, is it a good or bad idea to use math macros to emulate text macros? Is there a nicer approach? IMO, it is a bad idea. Math macros are for mathematical typesetting (and even

Re: using native 'math macros' as 'text macros'

2014-01-23 Thread Guenter Milde
On 2014-01-22, Liviu Andronic wrote: So, is it a good or bad idea to use math macros to emulate text macros? Is there a nicer approach? IMO, it is a bad idea. Math macros are for mathematical typesetting (and even then not the cleanest LaTeX code results). The text alternative to math macros

Re: using native 'math macros' as 'text macros'

2014-01-23 Thread Liviu Andronic
On Thu, Jan 23, 2014 at 12:09 PM, Guenter Milde mi...@users.sf.net wrote: On 2014-01-22, Liviu Andronic wrote: So, is it a good or bad idea to use math macros to emulate text macros? Is there a nicer approach? IMO, it is a bad idea. Math macros are for mathematical typesetting (and even

Re: using native 'math macros' as 'text macros'

2014-01-23 Thread Guenter Milde
On 2014-01-22, Liviu Andronic wrote: > So, is it a good or bad idea to use math macros to emulate text > macros? Is there a nicer approach? IMO, it is a bad idea. "Math macros" are for mathematical typesetting (and even then not the cleanest LaTeX code results). The text alte

Re: using native 'math macros' as 'text macros'

2014-01-23 Thread Liviu Andronic
On Thu, Jan 23, 2014 at 12:09 PM, Guenter Milde <mi...@users.sf.net> wrote: > On 2014-01-22, Liviu Andronic wrote: > >> So, is it a good or bad idea to use math macros to emulate text >> macros? Is there a nicer approach? > > IMO, it is a bad idea. "Math macro

using native 'math macros' as 'text macros'

2014-01-22 Thread Liviu Andronic
(i.e. non-ERT) to do this in LyX? I tried to use 'math macros' for this job (see attached): - insert math macro - Name= '\myname' - TeX = ctrl+m to put the text into an mbox, then type 'M. Simpson' But sofar I identified two issues: - hyphenation/line breaks. Since the text is within a math

using native 'math macros' as 'text macros'

2014-01-22 Thread Liviu Andronic
(i.e. non-ERT) to do this in LyX? I tried to use 'math macros' for this job (see attached): - insert math macro - Name= '\myname' - TeX = ctrl+m to put the text into an mbox, then type 'M. Simpson' But sofar I identified two issues: - hyphenation/line breaks. Since the text is within a math

using native 'math macros' as 'text macros'

2014-01-22 Thread Liviu Andronic
rd, native way (i.e. non-ERT) to do this in LyX? I tried to use 'math macros' for this job (see attached): - insert > math > macro - Name= '\myname' - TeX = ctrl+m to put the text into an mbox, then type 'M. Simpson' But sofar I identified two issues: - hyphenation/line breaks. Since the text

Re: math macros via LaTex preamble

2012-07-22 Thread Richard Heck
On 07/21/2012 11:34 PM, Allen Barker wrote: On 07/20/2012 03:40 AM, Guenter Milde wrote: Also, math-macros are document specific - defining a math-macro in one document does not make it available in other ones. This is why my documents include a file of commonly used math macros -- just like I

RE: math macros via LaTex preamble

2012-07-22 Thread Scott Kostyshak
From: Richard Heck [rgh...@lyx.org] Sent: Sunday, July 22, 2012 10:20 AM So the attached shows a way around this problem. The difference between \test and \lest doesn't show up inside LyX, but it does in the output. Is there any way to put these inside a preview inset? Scott

Re: math macros via LaTex preamble

2012-07-22 Thread Guenter Milde
On 2012-07-22, Allen Barker wrote: On 07/20/2012 03:40 AM, Guenter Milde wrote: Also, math-macros are document specific - defining a math-macro in one document does not make it available in other ones. This is why my documents include a file of commonly used math macros -- just like I \input

Re: math macros via LaTex preamble

2012-07-22 Thread Richard Heck
On 07/21/2012 11:34 PM, Allen Barker wrote: On 07/20/2012 03:40 AM, Guenter Milde wrote: Also, math-macros are document specific - defining a math-macro in one document does not make it available in other ones. This is why my documents include a file of commonly used math macros -- just like I

RE: math macros via LaTex preamble

2012-07-22 Thread Scott Kostyshak
From: Richard Heck [rgh...@lyx.org] Sent: Sunday, July 22, 2012 10:20 AM So the attached shows a way around this problem. The difference between \test and \lest doesn't show up inside LyX, but it does in the output. Is there any way to put these inside a preview inset? Scott

Re: math macros via LaTex preamble

2012-07-22 Thread Guenter Milde
On 2012-07-22, Allen Barker wrote: On 07/20/2012 03:40 AM, Guenter Milde wrote: Also, math-macros are document specific - defining a math-macro in one document does not make it available in other ones. This is why my documents include a file of commonly used math macros -- just like I \input

Re: math macros via LaTex preamble

2012-07-22 Thread Richard Heck
On 07/21/2012 11:34 PM, Allen Barker wrote: On 07/20/2012 03:40 AM, Guenter Milde wrote: Also, math-macros are document specific - defining a math-macro in one document does not make it available in other ones. This is why my documents include a file of commonly used math macros -- just like I

RE: math macros via LaTex preamble

2012-07-22 Thread Scott Kostyshak
From: Richard Heck [rgh...@lyx.org] Sent: Sunday, July 22, 2012 10:20 AM >So the attached shows a way around this problem. The difference between \test >and \lest >doesn't show up inside LyX, but it does in the output. Is there any way to put these inside a preview inset? Scott

Re: math macros via LaTex preamble

2012-07-22 Thread Guenter Milde
On 2012-07-22, Allen Barker wrote: > On 07/20/2012 03:40 AM, Guenter Milde wrote: >> Also, math-macros are document specific - defining a math-macro in one >> document does not make it available in other ones. This is why my >> documents include a file of commonly used math

Re: math macros via LaTex preamble

2012-07-21 Thread Allen Barker
On 07/20/2012 03:40 AM, Guenter Milde wrote: Also, math-macros are document specific - defining a math-macro in one document does not make it available in other ones. This is why my documents include a file of commonly used math macros -- just like I \input a file with commonly used preamble

Re: math macros via LaTex preamble

2012-07-21 Thread Allen Barker
On 07/20/2012 03:40 AM, Guenter Milde wrote: Also, math-macros are document specific - defining a math-macro in one document does not make it available in other ones. This is why my documents include a file of commonly used math macros -- just like I \input a file with commonly used preamble

Re: math macros via LaTex preamble

2012-07-21 Thread Allen Barker
On 07/20/2012 03:40 AM, Guenter Milde wrote: Also, math-macros are document specific - defining a math-macro in one document does not make it available in other ones. This is why my documents include a file of commonly used math macros -- just like I \input a file with commonly used preamble

Re: math macros via LaTex preamble

2012-07-20 Thread Guenter Milde
want to like LyX. What a great concept. And yet... I find LyX math macros an absolutely horror. Why construct LyX to ignore macros in an imported LaTex preamble? Why defeat the most popular usage, and why not write something to properly automate the import? Because (La)TeX is a macro language

Re: math macros via LaTex preamble

2012-07-20 Thread Guenter Milde
want to like LyX. What a great concept. And yet... I find LyX math macros an absolutely horror. Why construct LyX to ignore macros in an imported LaTex preamble? Why defeat the most popular usage, and why not write something to properly automate the import? Because (La)TeX is a macro language

Re: math macros via LaTex preamble

2012-07-20 Thread Guenter Milde
t; features. I really want to like LyX. What a great concept. And > yet... I find LyX math macros an absolutely horror. Why construct LyX > to ignore macros in an imported LaTex preamble? Why defeat the most > popular usage, and why not write something to properly automate the > import?

math macros via LaTex preamble

2012-07-19 Thread ralston
concept. And yet... I find LyX math macros an absolutely horror. Why construct LyX to ignore macros in an imported LaTex preamble? Why defeat the most popular usage, and why not write something to properly automate the import? It's a fact that exchanging LaTex with collaborators and opening old files

math macros via LaTex preamble

2012-07-19 Thread ralston
concept. And yet... I find LyX math macros an absolutely horror. Why construct LyX to ignore macros in an imported LaTex preamble? Why defeat the most popular usage, and why not write something to properly automate the import? It's a fact that exchanging LaTex with collaborators and opening old files

math macros via LaTex preamble

2012-07-19 Thread ralston
concept. And yet... I find LyX math macros an absolutely horror. Why construct LyX to ignore macros in an imported LaTex preamble? Why defeat the most popular usage, and why not write something to properly automate the import? It's a fact that exchanging LaTex with collaborators and opening old files

Re: Math macros inside child documents

2011-05-11 Thread Guenter Milde
) correct page numbers and references and LyX will use the parent doc settings instead of the child-doc ones. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can

Re: Math macros inside child documents

2011-05-11 Thread Diego Queiroz
But the only one for truly consistent behaviour. If you want to export stand-alone, uncheck the master setting. Even if the master setting is not set in the child, LyX still display all macros perfectly if the master document is open. My complaint is this: if LyX is able to interpret things

Re: Math macros inside child documents

2011-05-11 Thread Guenter Milde
document is open. This is a bug. (Around LyX 1.4, math-macros were resolved in any open buffer - related or not.) My complaint is this: if LyX is able to interpret things and display them in the editor, it should be able to generate the output. That's all. Specially if this problem

Re: Math macros inside child documents

2011-05-11 Thread Diego Queiroz
A show output anyway button would be great. However, if LyX consistency were assured, there's no need for it (expect when using ERT). ... or the LaTeX preamble (1) or an outdated TeX distribution (2) or a package combination with conflicts (3) or ... (?) Günter I repeat: if, and

Re: Math macros inside child documents

2011-05-11 Thread Guenter Milde
) correct page numbers and references and LyX will use the parent doc settings instead of the child-doc ones. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can

Re: Math macros inside child documents

2011-05-11 Thread Diego Queiroz
But the only one for truly consistent behaviour. If you want to export stand-alone, uncheck the master setting. Even if the master setting is not set in the child, LyX still display all macros perfectly if the master document is open. My complaint is this: if LyX is able to interpret things

Re: Math macros inside child documents

2011-05-11 Thread Guenter Milde
document is open. This is a bug. (Around LyX 1.4, math-macros were resolved in any open buffer - related or not.) My complaint is this: if LyX is able to interpret things and display them in the editor, it should be able to generate the output. That's all. Specially if this problem

Re: Math macros inside child documents

2011-05-11 Thread Diego Queiroz
A show output anyway button would be great. However, if LyX consistency were assured, there's no need for it (expect when using ERT). ... or the LaTeX preamble (1) or an outdated TeX distribution (2) or a package combination with conflicts (3) or ... (?) Günter I repeat: if, and

Re: Math macros inside child documents

2011-05-11 Thread Guenter Milde
e the includeonly feature to compile a subset of sub-documents where LaTeX will ensure (almost) correct page numbers and references and LyX will use the parent doc settings instead of the child-doc ones. >> > Actually, I regularly compile stand-alone child docs (to save time on >> >

Re: Math macros inside child documents

2011-05-11 Thread Diego Queiroz
> > But the only one for truly consistent behaviour. If you want to export > stand-alone, uncheck the master setting. > Even if the master setting is not set in the child, LyX still display all macros perfectly if the master document is open. My complaint is this: if LyX is able to interpret

Re: Math macros inside child documents

2011-05-11 Thread Guenter Milde
> macros perfectly if the master document is open. This is a bug. (Around LyX 1.4, math-macros were resolved in any open buffer - related or not.) > My complaint is this: if LyX is able to interpret things and display them in > the editor, it should be able to generate the output. That's all.

Re: Math macros inside child documents

2011-05-11 Thread Diego Queiroz
> > > A "show output anyway" button would be great. > > However, if LyX consistency were assured, there's no need for it (expect > > when using ERT). > > ... or the LaTeX preamble (1) or an outdated TeX distribution (2) or a > package > combination with conflicts (3) or ... (?) > > Günter > I

Re: Math macros inside child documents

2011-05-10 Thread Guenter Milde
mean, if I can see everything right on the screen, what's the problem? This is how I feel about the current behavior. LyX is handling everything on the editor, since all math macros are interpreted correctly when I open any document, but I can't generate the file because of its internal

Re: Math macros inside child documents

2011-05-10 Thread Jürgen Spitzmüller
Guenter Milde wrote: For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). Why this? I have many documents with a master set that get compiled stand- alone from time to time and should _not_

Re: Math macros inside child documents

2011-05-10 Thread Guenter Milde
, equations, tables and figures in other parts of the document. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can live with the question marks in the references

Re: Math macros inside child documents

2011-05-10 Thread Richard Heck
argument would hold for references to sections, equations, tables and figures in other parts of the document. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can

Re: Math macros inside child documents

2011-05-10 Thread Diego Queiroz
. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can live with the question marks in the references. This is another subject, but let's understand

Re: Math macros inside child documents

2011-05-10 Thread Guenter Milde
mean, if I can see everything right on the screen, what's the problem? This is how I feel about the current behavior. LyX is handling everything on the editor, since all math macros are interpreted correctly when I open any document, but I can't generate the file because of its internal

Re: Math macros inside child documents

2011-05-10 Thread Jürgen Spitzmüller
Guenter Milde wrote: For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). Why this? I have many documents with a master set that get compiled stand- alone from time to time and should _not_

Re: Math macros inside child documents

2011-05-10 Thread Guenter Milde
, equations, tables and figures in other parts of the document. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can live with the question marks in the references

Re: Math macros inside child documents

2011-05-10 Thread Richard Heck
argument would hold for references to sections, equations, tables and figures in other parts of the document. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can

Re: Math macros inside child documents

2011-05-10 Thread Diego Queiroz
. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can live with the question marks in the references. This is another subject, but let's understand

Re: Math macros inside child documents

2011-05-10 Thread Guenter Milde
g for a more "user oriented behavior". I mean, "if I can see > everything right on the screen, what's the problem?" > This is how I feel about the current behavior. LyX is handling everything on > the editor, since all math macros are interpreted correctly when I open any

Re: Math macros inside child documents

2011-05-10 Thread Jürgen Spitzmüller
Guenter Milde wrote: > For truly consistent behaviour, we would have to disable stand-alone > compilation of documents setting a master (except for "included" (vs. > "input") documents). Why this? I have many documents with a master set that get compiled stand- alone from time to time and should

Re: Math macros inside child documents

2011-05-10 Thread Guenter Milde
tion. The same argument would hold for references to sections, equations, tables and figures in other parts of the document. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a "stand-alone" branch for math-ma

Re: Math macros inside child documents

2011-05-10 Thread Richard Heck
acro > expansions in the child doc but not make them available in stand-alone > compilation. > > The same argument would hold for references to sections, equations, > tables and figures in other parts of the document. > > Actually, I regularly compile stand-alone child docs (to save

Re: Math macros inside child documents

2011-05-10 Thread Diego Queiroz
cument with thousand of pages I will obligated to generate all pages? I do not agree. > > Actually, I regularly compile stand-alone child docs (to save time on > > checking the appearance in the output). I have set up a "stand-alone" > > branch for math-macros and bib

Math macros inside child documents

2011-05-09 Thread Diego Queiroz
I'm not sure if this is a bug report or a feature request. Probably the second one. In LyX it's ok to define a Math Macro in a Master document and use it in a child one. It's also ok to use math macros that are defined in a child and use it in other child document. In both cases, I am able

Re: Math macros inside child documents

2011-05-09 Thread Richard Heck
On 05/09/2011 10:22 AM, Diego Queiroz wrote: I'm not sure if this is a bug report or a feature request. Probably the second one. In LyX it's ok to define a Math Macro in a Master document and use it in a child one. It's also ok to use math macros that are defined in a child and use

Re: Math macros inside child documents

2011-05-09 Thread Diego Queiroz
If you ask to compile just the child, then you are asking to compile it as a standalone document, so it is no surprise that this does not work. Exactly. :-) If you want to compile just one chapter as part of a larger document, then you need to use the \includeonly support, accessible

Re: Math macros inside child documents

2011-05-09 Thread Richard Heck
On 05/09/2011 11:05 AM, Diego Queiroz wrote: If you want to compile just one chapter as part of a larger document, then you need to use the \includeonly support, accessible from DocumentSettings. I was not aware of this feature. Thanks for the hint. It's new in 2.0.0. But it is also

Re: Math macros inside child documents

2011-05-09 Thread Diego Queiroz
on the screen, what's the problem? This is how I feel about the current behavior. LyX is handling everything on the editor, since all math macros are interpreted correctly when I open any document, but I can't generate the file because of its internal structure. We should try to avoid consistency errors

Re: Math macros inside child documents

2011-05-09 Thread Julien Rioux
On 09/05/2011 10:22 AM, Diego Queiroz wrote: I'm not sure if this is a bug report or a feature request. Probably the second one. In LyX it's ok to define a Math Macro in a Master document and use it in a child one. It's also ok to use math macros that are defined in a child and use it in other

Re: Math macros inside child documents

2011-05-09 Thread Diego Queiroz
So, I do not experience your problem. However document settings and stuff that gets defined in the preamble need to be set in both master and child docs. -- Julien Actually, the answer is: yes, you do experience the very same problem. Otherwise you won't need to go after a workaround,

Re: Math macros inside child documents

2011-05-09 Thread Julien Rioux
won't need to go after a workaround, right? :-) As I said before, I'm sure there are several ways to workaround this limitation (I am not searching for one). I just think we should focus on make LyX avoid these errors by itself. Cheers, --- Diego Which workaround? You said math macros don't

Re: Math macros inside child documents

2011-05-09 Thread Julien Rioux
On 09/05/2011 1:44 PM, Diego Queiroz wrote: So, I do not experience your problem. However document settings and stuff that gets defined in the preamble need to be set in both master and child docs. -- Julien Actually, the answer is: yes, you do experience the very same problem. Otherwise you

Re: Math macros inside child documents

2011-05-09 Thread Diego Queiroz
Which workaround? You said math macros don't work within child docs, I say they work for me. No workaround necessary. Maybe I misunderstood you. I was citing your workaround to include bibtex in the childs. I use a branch named child only, which is activated in child docs but deactivated

Re: Math macros inside child documents

2011-05-09 Thread Julien Rioux
On 09/05/2011 2:23 PM, Diego Queiroz wrote: Which workaround? You said math macros don't work within child docs, I say they work for me. No workaround necessary. Maybe I misunderstood you. I was citing your workaround to include bibtex in the childs. I use a branch named child only, which

Re: Math macros inside child documents

2011-05-09 Thread Richard Heck
On 05/09/2011 02:38 PM, Julien Rioux wrote: Yes I am able to do what you describe in 1.6. In your example child doc, you did not set the master setting, did you? But anyway, I corrected it and still in 2.1.0svn the compilation of the child is broken: Undefined control sequence \anymacro A

Re: Math macros inside child documents

2011-05-09 Thread Diego Queiroz
Yes I am able to do what you describe in 1.6. In your example child doc, you did not set the master setting, did you? Indeed. I was in a hurry and I forgot it. ;/ --- Diego Queiroz

Math macros inside child documents

2011-05-09 Thread Diego Queiroz
I'm not sure if this is a bug report or a feature request. Probably the second one. In LyX it's ok to define a Math Macro in a Master document and use it in a child one. It's also ok to use math macros that are defined in a child and use it in other child document. In both cases, I am able

Re: Math macros inside child documents

2011-05-09 Thread Richard Heck
On 05/09/2011 10:22 AM, Diego Queiroz wrote: I'm not sure if this is a bug report or a feature request. Probably the second one. In LyX it's ok to define a Math Macro in a Master document and use it in a child one. It's also ok to use math macros that are defined in a child and use

  1   2   3   >