Re: Maple and Lyx on Ubuntu

2014-01-02 Thread Julio Rojas
Thanks Scott. It works with Maxima, not with Maple. When I run lyx from the
command line, the console shows the following:

use equation inset
use cell: [char 4 mathalpha][char * mathalpha][sup [char x mathalpha] [char
2 mathalpha]][char + mathalpha][char 8 mathalpha][char * mathalpha][char x
mathalpha][char * mathalpha][char y mathalpha][char + mathalpha][char 4
mathalpha][char * mathalpha][sup [char y mathalpha] [char 2 mathalpha]]
ar: '[char 4 mathalpha][char * mathalpha][sup [char x mathalpha] [char 2
mathalpha]][char + mathalpha][char 8 mathalpha][char * mathalpha][char x
mathalpha][char * mathalpha][char y mathalpha][char + mathalpha][char 4
mathalpha][char * mathalpha][sup [char y mathalpha] [char 2 mathalpha]]'
ms: '4*x^(2) + 8*x*y+4*y^(2)'
checking expr: '4*x^(2) + 8*x*y+4*y^(2)'
calling: mint -i 1 -S -s -q -q
input: '4*x^(2) + 8*x*y+4*y^(2);'
sh: 1: mint: not found
calling: maple -q
input: 'readlib(latex):
`latex/csname_font` := ``:
`latex/latex/matrix` := subs(`[`=`(`, `]`=`)`,eval(`latex/latex/matrix`)):
`latex/latex/*` := subs(`\,`=`\cdot `,eval(`latex/latex/*`)):
`latex/latex/matrix`:= subs(`\\noalign{\\medskip}` =
``,eval(`latex/latex/matrix`)):
latex(factor(4*x^(2) + 8*x*y+4*y^(2)));quit;'
sh: 1: maple: not found

So, two things: something called mint is not found, nor is maple.
Nevertheless, if I run Maple from the command line it runs perfectly. Are
there two PATH variables, one for the  terminal and one for the Ubuntu
graphic environment? May be this is the problem.

Thanks for your help. Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, Dec 31, 2013 at 10:10 PM, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Dec 31, 2013 at 9:51 AM, Julio Rojas jcredbe...@gmail.com wrote:
  Yup, Ubuntu 12.04.
 
  Thanks in advance.

 Thanks for the example, Julio. This shows me that you're trying to
 call the CAS on an equation array, which I don't think LyX handles
 well. Consider trying an inline math expression without the equals.
 Attached is a LyX file with examples that work and don't work for me
 with Maxima.

 Factoring works fine for me with Maxima (see the last example). You
 have to give the command factor and do not pass the equals sign
 (otherwise LyX gives this to Maxima and Maxima thinks it's part of the
 expression to evaluate).

 Scott



Re: Lyx at Linuxfest Northwest 2013

2014-01-02 Thread Radji rahim
It is very interesting your DVD ,it is the dvd i was looking for for a long 
time.
But did you tried to install the ubuntu from it ???
Certainly You Didn't ,because there is an error ,and a an image is the 
describing at this link:
http://hpics.li/6e16661
Don't say me it is from installation support , because i try it from dvd,from 
hard disk, from usb key and from virtual iso image .
the ubuntu in the iso is certainly corrupted or has missing files.

Here is my email if you want to suggest me something.
And thank you very match for the best authoring DVD i have ever seen.





Re: Maple and Lyx on Ubuntu

2014-01-02 Thread Scott Kostyshak
On Thu, Jan 2, 2014 at 5:17 AM, Julio Rojas jcredbe...@gmail.com wrote:

 So, two things: something called mint is not found, nor is maple.
 Nevertheless, if I run Maple from the command line it runs perfectly.

mint appears to be a part of Maple:
http://www.maplesoft.com/support/help/Maple/view.aspx?path=mint

Judging from LyX's code (see MathExtern.cpp), LyX is just using mint
to make sure that the string is correct syntax:

lyxerr  checking expr: '  expr  '  endl;
string out = captureOutput(mint -i 1 -S -s -q -q, expr + ';');
if (out.empty())
break; // expression syntax is ok


 Are
 there two PATH variables, one for the  terminal and one for the Ubuntu
 graphic environment? May be this is the problem.

There should be only one PATH. It is inherited from the parent
process. It is possible that the parents have different paths. To
check this you could start LyX from the same terminal that you ran
maple from (which you said succeeded), as opposed to starting LyX from
a menu which would lead to a different parent.

I don't think I'm going to be of much help since I only use Maxima.

Good luck,

Scott


Re: Trying to install xetexCV document class

2014-01-02 Thread Richard Talley
You're still looking in /Library instead of ~/Library




On Mon, Dec 30, 2013 at 12:52 PM, justin justina...@yahoo.com wrote:

 in case it helps, inside 'texlive' is only '2013'. Inside that is only
 'texmf-var'. Inside that is only 'luantex-cache'. Inside that is only
 'generic'. Inside that is only 'names'. And there is nothing inside that.




Re: Trying to install xetexCV document class

2014-01-02 Thread Richard Talley
Sorry, you're probably are looking in the right place, my bad.

In the Terrminal, use this command:

kpsewhich -var-value TEXMFHOME

If the result is something like this:

/Users/justin/Library/texmf

(where 'justin' is the name of your home directory)

But the 'termf' directory doesn't exist, try creating it and then put the
xetexCV.cls file in it. LyX should see it.

-- Rich



On Thu, Jan 2, 2014 at 6:36 AM, Richard Talley rich.tal...@gmail.comwrote:

 You're still looking in /Library instead of ~/Library




 On Mon, Dec 30, 2013 at 12:52 PM, justin justina...@yahoo.com wrote:

 in case it helps, inside 'texlive' is only '2013'. Inside that is only
 'texmf-var'. Inside that is only 'luantex-cache'. Inside that is only
 'generic'. Inside that is only 'names'. And there is nothing inside that.





Re: reformatting all miniboxes

2014-01-02 Thread Steve Litt
On Thu, 2 Jan 2014 05:28:17 + (UTC)
Premanshu Bhushan  drpreman...@gmail.com wrote:

 Hi,
 I have been writing a book in lyx. I am using a lot of shaded boxes
 to highlight information. Is there a way to redesign all of them by
 redefinig them in preamble. For example, can i write a code to reduce
 the width to 0.8 of text width and make them all centered. otherwise
 i will have to manually select all more than 100 boxes and declare
 its property. it defeats the purpose of using styles rather than
 manually formatting. I have been experimenting with renewcommand and
 renewenvironment codes but without much success.
 Sincerely hoping for a reply

What I do is I make a style, named after its purpose, exclusively for
situations conforming to that purpose, that defines the appearance.

If all 100 of your boxes have a single purpose, you need only one
style. I have styles for Tip, Note, Warning and Danger. Often they look
the same, but I have the option of making them look different by
modifying the applicable style. I think what I do is similar to what
you're asking.

If you're wanting to modify boxes applied directly, that's harder, but
probably doable. Unless, of course, in each box, you used specific
commands and numbers.

HTH

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: Exams in LyX

2014-01-02 Thread Julio Rojas
Simple way: Use minipages (boxes) or tables.

Simpler way: Do what you need in an image editing software and export it as
PDF. Include this file in your Lyx document. Simpler, better looking.

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, Dec 24, 2013 at 6:24 PM, Ibrahim El Merehbi bobmerh...@gmail.comwrote:

 Hello all,

 First of all Merry Christmas.

 Do you have any suggestion about writing an exam in LyX?

 I am mainly interested in having a header with 2 logos on either side of
 the page (left  write) along with the institution name in the middle
 plus a box under that that has all info regarding the exam name, space
 for grade and class average and date etc...

 Any suggestions?

 P.S.: I've searched but didn't find but one previous thread that had no
 solution.

 Happy holidays.
 --
 Sincerely Yours,
 Bob

 TB



Re: Maple and Lyx on Ubuntu

2014-01-02 Thread Julio Rojas
Thanks Scott, it was solved. My path had a relative reference to the
location of Maple (in my user folder) instead of the absolute path.

Now it works like a charm.

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Thu, Jan 2, 2014 at 1:35 PM, Scott Kostyshak skost...@lyx.org wrote:

 On Thu, Jan 2, 2014 at 5:17 AM, Julio Rojas jcredbe...@gmail.com wrote:

  So, two things: something called mint is not found, nor is maple.
  Nevertheless, if I run Maple from the command line it runs perfectly.

 mint appears to be a part of Maple:
 http://www.maplesoft.com/support/help/Maple/view.aspx?path=mint

 Judging from LyX's code (see MathExtern.cpp), LyX is just using mint
 to make sure that the string is correct syntax:

 lyxerr  checking expr: '  expr  '  endl;
 string out = captureOutput(mint -i 1 -S -s -q -q, expr + ';');
 if (out.empty())
 break; // expression syntax is ok


  Are
  there two PATH variables, one for the  terminal and one for the Ubuntu
  graphic environment? May be this is the problem.

 There should be only one PATH. It is inherited from the parent
 process. It is possible that the parents have different paths. To
 check this you could start LyX from the same terminal that you ran
 maple from (which you said succeeded), as opposed to starting LyX from
 a menu which would lead to a different parent.

 I don't think I'm going to be of much help since I only use Maxima.

 Good luck,

 Scott



Re: Maple and Lyx on Ubuntu

2014-01-02 Thread Julio Rojas
Thanks Scott. It works with Maxima, not with Maple. When I run lyx from the
command line, the console shows the following:

use equation inset
use cell: [char 4 mathalpha][char * mathalpha][sup [char x mathalpha] [char
2 mathalpha]][char + mathalpha][char 8 mathalpha][char * mathalpha][char x
mathalpha][char * mathalpha][char y mathalpha][char + mathalpha][char 4
mathalpha][char * mathalpha][sup [char y mathalpha] [char 2 mathalpha]]
ar: '[char 4 mathalpha][char * mathalpha][sup [char x mathalpha] [char 2
mathalpha]][char + mathalpha][char 8 mathalpha][char * mathalpha][char x
mathalpha][char * mathalpha][char y mathalpha][char + mathalpha][char 4
mathalpha][char * mathalpha][sup [char y mathalpha] [char 2 mathalpha]]'
ms: '4*x^(2) + 8*x*y+4*y^(2)'
checking expr: '4*x^(2) + 8*x*y+4*y^(2)'
calling: mint -i 1 -S -s -q -q
input: '4*x^(2) + 8*x*y+4*y^(2);'
sh: 1: mint: not found
calling: maple -q
input: 'readlib(latex):
`latex/csname_font` := ``:
`latex/latex/matrix` := subs(`[`=`(`, `]`=`)`,eval(`latex/latex/matrix`)):
`latex/latex/*` := subs(`\,`=`\cdot `,eval(`latex/latex/*`)):
`latex/latex/matrix`:= subs(`\\noalign{\\medskip}` =
``,eval(`latex/latex/matrix`)):
latex(factor(4*x^(2) + 8*x*y+4*y^(2)));quit;'
sh: 1: maple: not found

So, two things: something called mint is not found, nor is maple.
Nevertheless, if I run Maple from the command line it runs perfectly. Are
there two PATH variables, one for the  terminal and one for the Ubuntu
graphic environment? May be this is the problem.

Thanks for your help. Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, Dec 31, 2013 at 10:10 PM, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Dec 31, 2013 at 9:51 AM, Julio Rojas jcredbe...@gmail.com wrote:
  Yup, Ubuntu 12.04.
 
  Thanks in advance.

 Thanks for the example, Julio. This shows me that you're trying to
 call the CAS on an equation array, which I don't think LyX handles
 well. Consider trying an inline math expression without the equals.
 Attached is a LyX file with examples that work and don't work for me
 with Maxima.

 Factoring works fine for me with Maxima (see the last example). You
 have to give the command factor and do not pass the equals sign
 (otherwise LyX gives this to Maxima and Maxima thinks it's part of the
 expression to evaluate).

 Scott



Re: Lyx at Linuxfest Northwest 2013

2014-01-02 Thread Radji rahim
It is very interesting your DVD ,it is the dvd i was looking for for a long 
time.
But did you tried to install the ubuntu from it ???
Certainly You Didn't ,because there is an error ,and a an image is the 
describing at this link:
http://hpics.li/6e16661
Don't say me it is from installation support , because i try it from dvd,from 
hard disk, from usb key and from virtual iso image .
the ubuntu in the iso is certainly corrupted or has missing files.

Here is my email if you want to suggest me something.
And thank you very match for the best authoring DVD i have ever seen.





Re: Maple and Lyx on Ubuntu

2014-01-02 Thread Scott Kostyshak
On Thu, Jan 2, 2014 at 5:17 AM, Julio Rojas jcredbe...@gmail.com wrote:

 So, two things: something called mint is not found, nor is maple.
 Nevertheless, if I run Maple from the command line it runs perfectly.

mint appears to be a part of Maple:
http://www.maplesoft.com/support/help/Maple/view.aspx?path=mint

Judging from LyX's code (see MathExtern.cpp), LyX is just using mint
to make sure that the string is correct syntax:

lyxerr  checking expr: '  expr  '  endl;
string out = captureOutput(mint -i 1 -S -s -q -q, expr + ';');
if (out.empty())
break; // expression syntax is ok


 Are
 there two PATH variables, one for the  terminal and one for the Ubuntu
 graphic environment? May be this is the problem.

There should be only one PATH. It is inherited from the parent
process. It is possible that the parents have different paths. To
check this you could start LyX from the same terminal that you ran
maple from (which you said succeeded), as opposed to starting LyX from
a menu which would lead to a different parent.

I don't think I'm going to be of much help since I only use Maxima.

Good luck,

Scott


Re: Trying to install xetexCV document class

2014-01-02 Thread Richard Talley
You're still looking in /Library instead of ~/Library




On Mon, Dec 30, 2013 at 12:52 PM, justin justina...@yahoo.com wrote:

 in case it helps, inside 'texlive' is only '2013'. Inside that is only
 'texmf-var'. Inside that is only 'luantex-cache'. Inside that is only
 'generic'. Inside that is only 'names'. And there is nothing inside that.




Re: Trying to install xetexCV document class

2014-01-02 Thread Richard Talley
Sorry, you're probably are looking in the right place, my bad.

In the Terrminal, use this command:

kpsewhich -var-value TEXMFHOME

If the result is something like this:

/Users/justin/Library/texmf

(where 'justin' is the name of your home directory)

But the 'termf' directory doesn't exist, try creating it and then put the
xetexCV.cls file in it. LyX should see it.

-- Rich



On Thu, Jan 2, 2014 at 6:36 AM, Richard Talley rich.tal...@gmail.comwrote:

 You're still looking in /Library instead of ~/Library




 On Mon, Dec 30, 2013 at 12:52 PM, justin justina...@yahoo.com wrote:

 in case it helps, inside 'texlive' is only '2013'. Inside that is only
 'texmf-var'. Inside that is only 'luantex-cache'. Inside that is only
 'generic'. Inside that is only 'names'. And there is nothing inside that.





Re: reformatting all miniboxes

2014-01-02 Thread Steve Litt
On Thu, 2 Jan 2014 05:28:17 + (UTC)
Premanshu Bhushan  drpreman...@gmail.com wrote:

 Hi,
 I have been writing a book in lyx. I am using a lot of shaded boxes
 to highlight information. Is there a way to redesign all of them by
 redefinig them in preamble. For example, can i write a code to reduce
 the width to 0.8 of text width and make them all centered. otherwise
 i will have to manually select all more than 100 boxes and declare
 its property. it defeats the purpose of using styles rather than
 manually formatting. I have been experimenting with renewcommand and
 renewenvironment codes but without much success.
 Sincerely hoping for a reply

What I do is I make a style, named after its purpose, exclusively for
situations conforming to that purpose, that defines the appearance.

If all 100 of your boxes have a single purpose, you need only one
style. I have styles for Tip, Note, Warning and Danger. Often they look
the same, but I have the option of making them look different by
modifying the applicable style. I think what I do is similar to what
you're asking.

If you're wanting to modify boxes applied directly, that's harder, but
probably doable. Unless, of course, in each box, you used specific
commands and numbers.

HTH

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: Exams in LyX

2014-01-02 Thread Julio Rojas
Simple way: Use minipages (boxes) or tables.

Simpler way: Do what you need in an image editing software and export it as
PDF. Include this file in your Lyx document. Simpler, better looking.

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, Dec 24, 2013 at 6:24 PM, Ibrahim El Merehbi bobmerh...@gmail.comwrote:

 Hello all,

 First of all Merry Christmas.

 Do you have any suggestion about writing an exam in LyX?

 I am mainly interested in having a header with 2 logos on either side of
 the page (left  write) along with the institution name in the middle
 plus a box under that that has all info regarding the exam name, space
 for grade and class average and date etc...

 Any suggestions?

 P.S.: I've searched but didn't find but one previous thread that had no
 solution.

 Happy holidays.
 --
 Sincerely Yours,
 Bob

 TB



Re: Maple and Lyx on Ubuntu

2014-01-02 Thread Julio Rojas
Thanks Scott, it was solved. My path had a relative reference to the
location of Maple (in my user folder) instead of the absolute path.

Now it works like a charm.

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Thu, Jan 2, 2014 at 1:35 PM, Scott Kostyshak skost...@lyx.org wrote:

 On Thu, Jan 2, 2014 at 5:17 AM, Julio Rojas jcredbe...@gmail.com wrote:

  So, two things: something called mint is not found, nor is maple.
  Nevertheless, if I run Maple from the command line it runs perfectly.

 mint appears to be a part of Maple:
 http://www.maplesoft.com/support/help/Maple/view.aspx?path=mint

 Judging from LyX's code (see MathExtern.cpp), LyX is just using mint
 to make sure that the string is correct syntax:

 lyxerr  checking expr: '  expr  '  endl;
 string out = captureOutput(mint -i 1 -S -s -q -q, expr + ';');
 if (out.empty())
 break; // expression syntax is ok


  Are
  there two PATH variables, one for the  terminal and one for the Ubuntu
  graphic environment? May be this is the problem.

 There should be only one PATH. It is inherited from the parent
 process. It is possible that the parents have different paths. To
 check this you could start LyX from the same terminal that you ran
 maple from (which you said succeeded), as opposed to starting LyX from
 a menu which would lead to a different parent.

 I don't think I'm going to be of much help since I only use Maxima.

 Good luck,

 Scott



Re: Maple and Lyx on Ubuntu

2014-01-02 Thread Julio Rojas
Thanks Scott. It works with Maxima, not with Maple. When I run lyx from the
command line, the console shows the following:

use equation inset
use cell: [char 4 mathalpha][char * mathalpha][sup [char x mathalpha] [char
2 mathalpha]][char + mathalpha][char 8 mathalpha][char * mathalpha][char x
mathalpha][char * mathalpha][char y mathalpha][char + mathalpha][char 4
mathalpha][char * mathalpha][sup [char y mathalpha] [char 2 mathalpha]]
ar: '[char 4 mathalpha][char * mathalpha][sup [char x mathalpha] [char 2
mathalpha]][char + mathalpha][char 8 mathalpha][char * mathalpha][char x
mathalpha][char * mathalpha][char y mathalpha][char + mathalpha][char 4
mathalpha][char * mathalpha][sup [char y mathalpha] [char 2 mathalpha]]'
ms: '4*x^(2) + 8*x*y+4*y^(2)'
checking expr: '4*x^(2) + 8*x*y+4*y^(2)'
calling: mint -i 1 -S -s -q -q
input: '4*x^(2) + 8*x*y+4*y^(2);'
sh: 1: mint: not found
calling: maple -q
input: 'readlib(latex):
`latex/csname_font` := ``:
`latex/latex/matrix` := subs(`[`=`(`, `]`=`)`,eval(`latex/latex/matrix`)):
`latex/latex/*` := subs(`\,`=`\cdot `,eval(`latex/latex/*`)):
`latex/latex/matrix`:= subs(`\\noalign{\\medskip}` =
``,eval(`latex/latex/matrix`)):
latex(factor(4*x^(2) + 8*x*y+4*y^(2)));quit;'
sh: 1: maple: not found

So, two things: something called "mint" is not found, nor is maple.
Nevertheless, if I run Maple from the command line it runs perfectly. Are
there two PATH variables, one for the  terminal and one for the Ubuntu
graphic environment? May be this is the problem.

Thanks for your help. Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, Dec 31, 2013 at 10:10 PM, Scott Kostyshak  wrote:

> On Tue, Dec 31, 2013 at 9:51 AM, Julio Rojas  wrote:
> > Yup, Ubuntu 12.04.
> >
> > Thanks in advance.
>
> Thanks for the example, Julio. This shows me that you're trying to
> call the CAS on an equation array, which I don't think LyX handles
> well. Consider trying an inline math expression without the equals.
> Attached is a LyX file with examples that work and don't work for me
> with Maxima.
>
> Factoring works fine for me with Maxima (see the last example). You
> have to give the command "factor" and do not pass the equals sign
> (otherwise LyX gives this to Maxima and Maxima thinks it's part of the
> expression to evaluate).
>
> Scott
>


Re: Lyx at Linuxfest Northwest 2013

2014-01-02 Thread Radji rahim
It is very interesting your DVD ,it is the dvd i was looking for for a long 
time.
But did you tried to install the ubuntu from it ???
Certainly You Didn't ,because there is an error ,and a an image is the 
describing at this link:
http://hpics.li/6e16661
Don't say me it is from installation support , because i try it from dvd,from 
hard disk, from usb key and from virtual iso image .
the ubuntu in the iso is certainly corrupted or has missing files.

Here is my email if you want to suggest me something.
And thank you very match for the best authoring DVD i have ever seen.





Re: Maple and Lyx on Ubuntu

2014-01-02 Thread Scott Kostyshak
On Thu, Jan 2, 2014 at 5:17 AM, Julio Rojas  wrote:

> So, two things: something called "mint" is not found, nor is maple.
> Nevertheless, if I run Maple from the command line it runs perfectly.

mint appears to be a part of Maple:
http://www.maplesoft.com/support/help/Maple/view.aspx?path=mint

Judging from LyX's code (see MathExtern.cpp), LyX is just using mint
to make sure that the string is correct syntax:

lyxerr << "checking expr: '" << expr << "'" << endl;
string out = captureOutput("mint -i 1 -S -s -q -q", expr + ';');
if (out.empty())
break; // expression syntax is ok


> Are
> there two PATH variables, one for the  terminal and one for the Ubuntu
> graphic environment? May be this is the problem.

There should be only one PATH. It is inherited from the parent
process. It is possible that the parents have different paths. To
check this you could start LyX from the same terminal that you ran
maple from (which you said succeeded), as opposed to starting LyX from
a menu which would lead to a different parent.

I don't think I'm going to be of much help since I only use Maxima.

Good luck,

Scott


Re: Trying to install xetexCV document class

2014-01-02 Thread Richard Talley
You're still looking in /Library instead of ~/Library




On Mon, Dec 30, 2013 at 12:52 PM, justin  wrote:

> in case it helps, inside 'texlive' is only '2013'. Inside that is only
> 'texmf-var'. Inside that is only 'luantex-cache'. Inside that is only
> 'generic'. Inside that is only 'names'. And there is nothing inside that.
>
>


Re: Trying to install xetexCV document class

2014-01-02 Thread Richard Talley
Sorry, you're probably are looking in the right place, my bad.

In the Terrminal, use this command:

kpsewhich -var-value TEXMFHOME

If the result is something like this:

/Users/justin/Library/texmf

(where 'justin' is the name of your home directory)

But the 'termf' directory doesn't exist, try creating it and then put the
xetexCV.cls file in it. LyX should see it.

-- Rich



On Thu, Jan 2, 2014 at 6:36 AM, Richard Talley wrote:

> You're still looking in /Library instead of ~/Library
>
>
>
>
> On Mon, Dec 30, 2013 at 12:52 PM, justin  wrote:
>
>> in case it helps, inside 'texlive' is only '2013'. Inside that is only
>> 'texmf-var'. Inside that is only 'luantex-cache'. Inside that is only
>> 'generic'. Inside that is only 'names'. And there is nothing inside that.
>>
>>
>


Re: reformatting all miniboxes

2014-01-02 Thread Steve Litt
On Thu, 2 Jan 2014 05:28:17 + (UTC)
Premanshu Bhushan   wrote:

> Hi,
> I have been writing a book in lyx. I am using a lot of shaded boxes
> to highlight information. Is there a way to redesign all of them by
> redefinig them in preamble. For example, can i write a code to reduce
> the width to 0.8 of text width and make them all centered. otherwise
> i will have to manually select all more than 100 boxes and declare
> its property. it defeats the purpose of using styles rather than
> manually formatting. I have been experimenting with renewcommand and
> renewenvironment codes but without much success.
> Sincerely hoping for a reply

What I do is I make a style, named after its purpose, exclusively for
situations conforming to that purpose, that defines the appearance.

If all 100 of your boxes have a single purpose, you need only one
style. I have styles for Tip, Note, Warning and Danger. Often they look
the same, but I have the option of making them look different by
modifying the applicable style. I think what I do is similar to what
you're asking.

If you're wanting to modify boxes applied directly, that's harder, but
probably doable. Unless, of course, in each box, you used specific
commands and numbers.

HTH

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: Exams in LyX

2014-01-02 Thread Julio Rojas
Simple way: Use minipages (boxes) or tables.

Simpler way: Do what you need in an image editing software and export it as
PDF. Include this file in your Lyx document. Simpler, better looking.

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, Dec 24, 2013 at 6:24 PM, Ibrahim El Merehbi wrote:

> Hello all,
>
> First of all Merry Christmas.
>
> Do you have any suggestion about writing an exam in LyX?
>
> I am mainly interested in having a header with 2 logos on either side of
> the page (left & write) along with the institution name in the middle
> plus a box under that that has all info regarding the exam name, space
> for grade and class average and date etc...
>
> Any suggestions?
>
> P.S.: I've searched but didn't find but one previous thread that had no
> solution.
>
> Happy holidays.
> --
> Sincerely Yours,
> Bob
>
> TB
>


Re: Maple and Lyx on Ubuntu

2014-01-02 Thread Julio Rojas
Thanks Scott, it was solved. My path had a relative reference to the
location of Maple (in my user folder) instead of the absolute path.

Now it works like a charm.

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Thu, Jan 2, 2014 at 1:35 PM, Scott Kostyshak  wrote:

> On Thu, Jan 2, 2014 at 5:17 AM, Julio Rojas  wrote:
>
> > So, two things: something called "mint" is not found, nor is maple.
> > Nevertheless, if I run Maple from the command line it runs perfectly.
>
> mint appears to be a part of Maple:
> http://www.maplesoft.com/support/help/Maple/view.aspx?path=mint
>
> Judging from LyX's code (see MathExtern.cpp), LyX is just using mint
> to make sure that the string is correct syntax:
>
> lyxerr << "checking expr: '" << expr << "'" << endl;
> string out = captureOutput("mint -i 1 -S -s -q -q", expr + ';');
> if (out.empty())
> break; // expression syntax is ok
>
>
> > Are
> > there two PATH variables, one for the  terminal and one for the Ubuntu
> > graphic environment? May be this is the problem.
>
> There should be only one PATH. It is inherited from the parent
> process. It is possible that the parents have different paths. To
> check this you could start LyX from the same terminal that you ran
> maple from (which you said succeeded), as opposed to starting LyX from
> a menu which would lead to a different parent.
>
> I don't think I'm going to be of much help since I only use Maxima.
>
> Good luck,
>
> Scott
>