Re: Vectors in bold

2012-08-30 Thread Guenter Milde
On 2012-08-28, Ernesto Posse wrote:

 On Tue, Aug 28, 2012 at 8:19 AM, Merhebi, Bob bobmerh...@gmail.com wrote:
 Hello there,

 I am writing this technical book; so far I've been using the overhead
 vectors to represent vectors, but now I changed my mind  want to
 represent vectors in bold.

 Is it possible to make the change for all previous representations in
 one go?

 You can try writing the following in the preamble:

 \renewcommand{\vec}[1]{\ensuremath{\mathbf{#1}}}

Mind, that this produces an *upright* bold symbol, while most style gides
in science and engineering expect *italic bold* for vector and Matrix
symbols. This can be achieved with the isomath package
http://www.ctan.org/pkg/isomath (See
http://mirror.ctan.org/macros/latex/contrib/isomath/isomath.html for
examples and details.)

This is LaTeX preamble code for isomath with default settings:

\usepackage{isomath}
\renewcommand{\vec}{\vectorsym}

Günter



Re: headers with fancy option are repeated beyond TOC

2012-08-30 Thread José Matos
On 08/29/2012 03:28 PM, Marcelo Acuña wrote:
 Hi,
  I start new book with koma-script and option fancy headings.
  I put TOC after dedication and noted that headers are printed in page
 of Introduction.
  How I can solve this problem?


The best advice is probably to read the fancy headings documentation. :-)

With that said when I use koma-script I defined the headings for normal
pages and also for empty style pages by enclosing the definition on
\fancypagestyle .

Something like:

\fancypagestyle{plain}{%

\fancyhf{} % clear all header and footer fields

\renewcommand{\headrulewidth}{0.0pt}

\renewcommand{\footrulewidth}{0pt}
}


I am not sure if this helps but here you have my 0.02€. :-)

Regards,

-- 
José Matos



Re: One issue, one bug: version 2.0.4 on Slackware

2012-08-30 Thread Rich Shepard

On Thu, 30 Aug 2012, Stephan Witt wrote:


There is one issue with spellchecker crash fixed in trunk and the fix is
back-ported: http://www.lyx.org/trac/ticket/8238

Please, can you checkout version 2.0.5dev and compile it? Do you have the
crash with that version too?


Stephan,

  I'll build and run this version; perhaps not today, but I'll let everyone
know if it fixes the problem.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.  |   Integrity - Credibility - Innovation
Applied Ecosystem Services, Inc.   |Helping Ensure Our Clients' Futures
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863



Re: Cross-reference figure X using newref in lyx 2.0 - newref command ignored - no figure in the pdf - example from the manual

2012-08-30 Thread Tim Meke
2012/7/26 Richard Heck rgh...@lyx.org

  On 07/26/2012 01:05 PM, Tim Meke wrote:


 2012/7/26 Richard Heck rgh...@lyx.org

  On 07/25/2012 03:08 PM, Tim Meke wrote:

 Hello,

 I would like to use crossreferences like That statistics leads to see
 the same conclusion (figure 3).
 The word figure should be included automatically. I read the manual
 and tried the formatted cross-reference.


 The example from the German manual (EmbeddedObjects, 3.4.1) is, which is
 my whole preamble :

 \newref{abb}{refcmd={Bild auf Seite \pageref{#1}}}

The problem is the abb, I think. The label on your figure is
 fig:whatever, not abb:whatever. They have to match.

 Richard


Hello,

I tried it with figure now in the preamble:

\newref{figure}{refcmd={Bild auf Seite \pageref{#1}}}


The document language is English. But it does not work either.


Btw., did you notice we did not write to the mailing list for the last
messages?

What do I need to do?


LyX andTeX Live: How to find and link a new latex version?

2012-08-30 Thread John Kane
 
I am a
complete Linux /Ubuntu newbie so  please bear with me.  I probably
should be asking this on an Ubuntu forum but since I have linux 
LyX question I thought that I'd try here first.
I
currently am, or at least think I am using TeXLive2011 with LyX
2.0.2. 
I have just installed TeXLive 2012on Ubuntu 12.04
using the Ubuntu Software Centre and I would like to find it and make
it the default LaTeX for LyX.  As a check I loaded synaptics and it
seems to feel that I have TeXLive 2012 installed but does not seem to
see TeXLive 2011. 
TeXLive
2011 seems to be in usr/share/lyx but I don't seem to see the 2012
version unless it is in
/home/documents/install-tl-20110511/tlpkg/Texlive. 
In the
mean time below are a few things I have tried to see what is
happening.  To me it looks like I have a known path to the 2011
installation but where the blazes is the 2012 version?   I'll worry
about write privileges later. 


So two
questions:
How to I
find TeXLive 2012?
How do I
make TeXLive 2012 my default latex for LyX?


Thanks
#===#
john@john-K53U:~$
which lyx 
/usr/bin/lyx 
john@john-K53U:~$
which tlmgr 
/usr/local/texlive/2011/bin/i386-linux/tlmgr 
john@john-K53U:~$
which texlive 
john@john-K53U:~$ 
john@john-K53U:~$
tlmgr install leadpar 
You
don't have permission to change the installation in any way, 
specifically,
the directory /usr/local/texlive/2011/tlpkg/ is not writable. 
Please
run this program as administrator, or contact your local admin. 
john@john-K53U:~$ 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-08-30 Thread stefano franchi
On Thu, Aug 30, 2012 at 12:37 PM, John Kane jrkrid...@yahoo.ca wrote:
 I am a complete Linux /Ubuntu newbie so please bear with me. I probably
 should be asking this on an Ubuntu forum but since I have linux  LyX
 question I thought that I'd try here first.
 I currently am, or at least think I am using TeXLive2011 with LyX 2.0.2.
 I have just installed TeXLive 2012on Ubuntu 12.04 using the Ubuntu Software
 Centre and I would like to find it and make it the default LaTeX for LyX. As
 a check I loaded synaptics and it seems to feel that I have TeXLive 2012
 installed but does not seem to see TeXLive 2011.
 TeXLive 2011 seems to be in usr/share/lyx but I don't seem to see the 2012
 version unless it is in /home/documents/install-tl-20110511/tlpkg/Texlive.

Hi John,

the following may apply to your case (I use Archlinux instead of
Ubuntu). Try this at a prompt: which latex
it should give you the location of the most accessible executable. For
texlive, it usually resides in a folder (dir) just below

/usr/local/texlive/

if it is (as in my case)

/usr/local/texlive/2012/bin/x86_64-linux/latex
or

/usr/local/texlive//2012/bin/i386-linux/latex

then you have TL2012 installed. if you have 2011 instead of 2012
in the path, then you have TL2011 installed. Ubuntu usually runs one
version behind, so I wouldn't be surprised if you found you have
TL2011 running on your system (besides, TL2012 came out just a few
weeks ago, I think).
Notice that you may have *both* TL2012 and TL2011 installed. In that
case, Lyx (in my experience, at least, there may be ways around this)
will use the the version that comes first in your $PATH. You could try
a command such as

find /  -path '/proc' -prune -perm /u=x,g=x,a=x ! -type d -name latex

to find out. It should give a list of all executable latex files on
your system (it will take a while to run if you have large and/or
multiple drives. Linux gurus on this list may provide a more elegant
command). If you have more than one, you may want to try echo $PATH at
a prompt to find out the order in which directories are searched.


 In the mean time below are a few things I have tried to see what is
 happening. To me it looks like I have a known path to the 2011 installation
 but where the blazes is the 2012 version? I'll worry about write privileges
 later.


tlmgr requires writing privileges to system directories. You must run
it with 'sudo' in front (or one if its graphic-enabled equivalents
like kdesu, depending on your system's configuration)



 So two questions:
 How to I find TeXLive 2012?
 How do I make TeXLive 2012 my default latex for LyX?


To your last question:

a) make sure you have TL2012 AND
b) make sure the 2012 is the most accessible (i.e. which latex reports
a string containing '2012' in the path)

then

c) reconfigure lix
d) close and restart lyx.

e) check your work by looking into ToolsTeX information (and be sure
to tick the show path checkbox



Hope it helps,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Vectors in bold

2012-08-30 Thread Merhebi, Bob
Hello Guenter,

Thank you for your suggestion; that worked too!

On Thu 30 Aug 2012 02:49:08 PM EEST, Guenter Milde wrote:
 On 2012-08-28, Ernesto Posse wrote:

 On Tue, Aug 28, 2012 at 8:19 AM, Merhebi, Bob bobmerh...@gmail.com wrote:
 Hello there,

 I am writing this technical book; so far I've been using the overhead
 vectors to represent vectors, but now I changed my mind  want to
 represent vectors in bold.

 Is it possible to make the change for all previous representations in
 one go?

 You can try writing the following in the preamble:

 \renewcommand{\vec}[1]{\ensuremath{\mathbf{#1}}}

 Mind, that this produces an *upright* bold symbol, while most style gides
 in science and engineering expect *italic bold* for vector and Matrix
 symbols. This can be achieved with the isomath package
 http://www.ctan.org/pkg/isomath (See
 http://mirror.ctan.org/macros/latex/contrib/isomath/isomath.html for
 examples and details.)

 This is LaTeX preamble code for isomath with default settings:

 \usepackage{isomath}
 \renewcommand{\vec}{\vectorsym}

 Günter


--
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



Re: Vectors in bold

2012-08-30 Thread Guenter Milde
On 2012-08-28, Ernesto Posse wrote:

 On Tue, Aug 28, 2012 at 8:19 AM, Merhebi, Bob bobmerh...@gmail.com wrote:
 Hello there,

 I am writing this technical book; so far I've been using the overhead
 vectors to represent vectors, but now I changed my mind  want to
 represent vectors in bold.

 Is it possible to make the change for all previous representations in
 one go?

 You can try writing the following in the preamble:

 \renewcommand{\vec}[1]{\ensuremath{\mathbf{#1}}}

Mind, that this produces an *upright* bold symbol, while most style gides
in science and engineering expect *italic bold* for vector and Matrix
symbols. This can be achieved with the isomath package
http://www.ctan.org/pkg/isomath (See
http://mirror.ctan.org/macros/latex/contrib/isomath/isomath.html for
examples and details.)

This is LaTeX preamble code for isomath with default settings:

\usepackage{isomath}
\renewcommand{\vec}{\vectorsym}

Günter



Re: headers with fancy option are repeated beyond TOC

2012-08-30 Thread José Matos
On 08/29/2012 03:28 PM, Marcelo Acuña wrote:
 Hi,
  I start new book with koma-script and option fancy headings.
  I put TOC after dedication and noted that headers are printed in page
 of Introduction.
  How I can solve this problem?


The best advice is probably to read the fancy headings documentation. :-)

With that said when I use koma-script I defined the headings for normal
pages and also for empty style pages by enclosing the definition on
\fancypagestyle .

Something like:

\fancypagestyle{plain}{%

\fancyhf{} % clear all header and footer fields

\renewcommand{\headrulewidth}{0.0pt}

\renewcommand{\footrulewidth}{0pt}
}


I am not sure if this helps but here you have my 0.02€. :-)

Regards,

-- 
José Matos



Re: One issue, one bug: version 2.0.4 on Slackware

2012-08-30 Thread Rich Shepard

On Thu, 30 Aug 2012, Stephan Witt wrote:


There is one issue with spellchecker crash fixed in trunk and the fix is
back-ported: http://www.lyx.org/trac/ticket/8238

Please, can you checkout version 2.0.5dev and compile it? Do you have the
crash with that version too?


Stephan,

  I'll build and run this version; perhaps not today, but I'll let everyone
know if it fixes the problem.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.  |   Integrity - Credibility - Innovation
Applied Ecosystem Services, Inc.   |Helping Ensure Our Clients' Futures
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863



Re: Cross-reference figure X using newref in lyx 2.0 - newref command ignored - no figure in the pdf - example from the manual

2012-08-30 Thread Tim Meke
2012/7/26 Richard Heck rgh...@lyx.org

  On 07/26/2012 01:05 PM, Tim Meke wrote:


 2012/7/26 Richard Heck rgh...@lyx.org

  On 07/25/2012 03:08 PM, Tim Meke wrote:

 Hello,

 I would like to use crossreferences like That statistics leads to see
 the same conclusion (figure 3).
 The word figure should be included automatically. I read the manual
 and tried the formatted cross-reference.


 The example from the German manual (EmbeddedObjects, 3.4.1) is, which is
 my whole preamble :

 \newref{abb}{refcmd={Bild auf Seite \pageref{#1}}}

The problem is the abb, I think. The label on your figure is
 fig:whatever, not abb:whatever. They have to match.

 Richard


Hello,

I tried it with figure now in the preamble:

\newref{figure}{refcmd={Bild auf Seite \pageref{#1}}}


The document language is English. But it does not work either.


Btw., did you notice we did not write to the mailing list for the last
messages?

What do I need to do?


LyX andTeX Live: How to find and link a new latex version?

2012-08-30 Thread John Kane
 
I am a
complete Linux /Ubuntu newbie so  please bear with me.  I probably
should be asking this on an Ubuntu forum but since I have linux 
LyX question I thought that I'd try here first.
I
currently am, or at least think I am using TeXLive2011 with LyX
2.0.2. 
I have just installed TeXLive 2012on Ubuntu 12.04
using the Ubuntu Software Centre and I would like to find it and make
it the default LaTeX for LyX.  As a check I loaded synaptics and it
seems to feel that I have TeXLive 2012 installed but does not seem to
see TeXLive 2011. 
TeXLive
2011 seems to be in usr/share/lyx but I don't seem to see the 2012
version unless it is in
/home/documents/install-tl-20110511/tlpkg/Texlive. 
In the
mean time below are a few things I have tried to see what is
happening.  To me it looks like I have a known path to the 2011
installation but where the blazes is the 2012 version?   I'll worry
about write privileges later. 


So two
questions:
How to I
find TeXLive 2012?
How do I
make TeXLive 2012 my default latex for LyX?


Thanks
#===#
john@john-K53U:~$
which lyx 
/usr/bin/lyx 
john@john-K53U:~$
which tlmgr 
/usr/local/texlive/2011/bin/i386-linux/tlmgr 
john@john-K53U:~$
which texlive 
john@john-K53U:~$ 
john@john-K53U:~$
tlmgr install leadpar 
You
don't have permission to change the installation in any way, 
specifically,
the directory /usr/local/texlive/2011/tlpkg/ is not writable. 
Please
run this program as administrator, or contact your local admin. 
john@john-K53U:~$ 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-08-30 Thread stefano franchi
On Thu, Aug 30, 2012 at 12:37 PM, John Kane jrkrid...@yahoo.ca wrote:
 I am a complete Linux /Ubuntu newbie so please bear with me. I probably
 should be asking this on an Ubuntu forum but since I have linux  LyX
 question I thought that I'd try here first.
 I currently am, or at least think I am using TeXLive2011 with LyX 2.0.2.
 I have just installed TeXLive 2012on Ubuntu 12.04 using the Ubuntu Software
 Centre and I would like to find it and make it the default LaTeX for LyX. As
 a check I loaded synaptics and it seems to feel that I have TeXLive 2012
 installed but does not seem to see TeXLive 2011.
 TeXLive 2011 seems to be in usr/share/lyx but I don't seem to see the 2012
 version unless it is in /home/documents/install-tl-20110511/tlpkg/Texlive.

Hi John,

the following may apply to your case (I use Archlinux instead of
Ubuntu). Try this at a prompt: which latex
it should give you the location of the most accessible executable. For
texlive, it usually resides in a folder (dir) just below

/usr/local/texlive/

if it is (as in my case)

/usr/local/texlive/2012/bin/x86_64-linux/latex
or

/usr/local/texlive//2012/bin/i386-linux/latex

then you have TL2012 installed. if you have 2011 instead of 2012
in the path, then you have TL2011 installed. Ubuntu usually runs one
version behind, so I wouldn't be surprised if you found you have
TL2011 running on your system (besides, TL2012 came out just a few
weeks ago, I think).
Notice that you may have *both* TL2012 and TL2011 installed. In that
case, Lyx (in my experience, at least, there may be ways around this)
will use the the version that comes first in your $PATH. You could try
a command such as

find /  -path '/proc' -prune -perm /u=x,g=x,a=x ! -type d -name latex

to find out. It should give a list of all executable latex files on
your system (it will take a while to run if you have large and/or
multiple drives. Linux gurus on this list may provide a more elegant
command). If you have more than one, you may want to try echo $PATH at
a prompt to find out the order in which directories are searched.


 In the mean time below are a few things I have tried to see what is
 happening. To me it looks like I have a known path to the 2011 installation
 but where the blazes is the 2012 version? I'll worry about write privileges
 later.


tlmgr requires writing privileges to system directories. You must run
it with 'sudo' in front (or one if its graphic-enabled equivalents
like kdesu, depending on your system's configuration)



 So two questions:
 How to I find TeXLive 2012?
 How do I make TeXLive 2012 my default latex for LyX?


To your last question:

a) make sure you have TL2012 AND
b) make sure the 2012 is the most accessible (i.e. which latex reports
a string containing '2012' in the path)

then

c) reconfigure lix
d) close and restart lyx.

e) check your work by looking into ToolsTeX information (and be sure
to tick the show path checkbox



Hope it helps,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Vectors in bold

2012-08-30 Thread Merhebi, Bob
Hello Guenter,

Thank you for your suggestion; that worked too!

On Thu 30 Aug 2012 02:49:08 PM EEST, Guenter Milde wrote:
 On 2012-08-28, Ernesto Posse wrote:

 On Tue, Aug 28, 2012 at 8:19 AM, Merhebi, Bob bobmerh...@gmail.com wrote:
 Hello there,

 I am writing this technical book; so far I've been using the overhead
 vectors to represent vectors, but now I changed my mind  want to
 represent vectors in bold.

 Is it possible to make the change for all previous representations in
 one go?

 You can try writing the following in the preamble:

 \renewcommand{\vec}[1]{\ensuremath{\mathbf{#1}}}

 Mind, that this produces an *upright* bold symbol, while most style gides
 in science and engineering expect *italic bold* for vector and Matrix
 symbols. This can be achieved with the isomath package
 http://www.ctan.org/pkg/isomath (See
 http://mirror.ctan.org/macros/latex/contrib/isomath/isomath.html for
 examples and details.)

 This is LaTeX preamble code for isomath with default settings:

 \usepackage{isomath}
 \renewcommand{\vec}{\vectorsym}

 Günter


--
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



Re: Vectors in bold

2012-08-30 Thread Guenter Milde
On 2012-08-28, Ernesto Posse wrote:

> On Tue, Aug 28, 2012 at 8:19 AM, Merhebi, Bob  wrote:
>> Hello there,

>> I am writing this technical book; so far I've been using the overhead
>> vectors to represent vectors, but now I changed my mind & want to
>> represent vectors in bold.

>> Is it possible to make the change for all previous representations in
>> one go?

> You can try writing the following in the preamble:

> \renewcommand{\vec}[1]{\ensuremath{\mathbf{#1}}}

Mind, that this produces an *upright* bold symbol, while most style gides
in science and engineering expect *italic bold* for vector and Matrix
symbols. This can be achieved with the "isomath" package
http://www.ctan.org/pkg/isomath (See
http://mirror.ctan.org/macros/latex/contrib/isomath/isomath.html for
examples and details.)

This is LaTeX preamble code for isomath with default settings:

\usepackage{isomath}
\renewcommand{\vec}{\vectorsym}

Günter



Re: headers with fancy option are repeated beyond TOC

2012-08-30 Thread José Matos
On 08/29/2012 03:28 PM, Marcelo Acuña wrote:
> Hi,
>  I start new book with koma-script and option fancy headings.
>  I put TOC after dedication and noted that headers are printed in page
> of Introduction.
>  How I can solve this problem?
>

The best advice is probably to read the fancy headings documentation. :-)

With that said when I use koma-script I defined the headings for normal
pages and also for "empty" style pages by enclosing the definition on
\fancypagestyle .

Something like:

\fancypagestyle{plain}{%

\fancyhf{} % clear all header and footer fields

\renewcommand{\headrulewidth}{0.0pt}

\renewcommand{\footrulewidth}{0pt}
}


I am not sure if this helps but here you have my 0.02€. :-)

Regards,

-- 
José Matos



Re: One issue, one bug: version 2.0.4 on Slackware

2012-08-30 Thread Rich Shepard

On Thu, 30 Aug 2012, Stephan Witt wrote:


There is one issue with spellchecker crash fixed in trunk and the fix is
back-ported: http://www.lyx.org/trac/ticket/8238

Please, can you checkout version 2.0.5dev and compile it? Do you have the
crash with that version too?


Stephan,

  I'll build and run this version; perhaps not today, but I'll let everyone
know if it fixes the problem.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.  |   Integrity - Credibility - Innovation
Applied Ecosystem Services, Inc.   |Helping Ensure Our Clients' Futures
 Voice: 503-667-4517  Fax: 503-667-8863



Re: Cross-reference "figure X" using newref in lyx 2.0 - newref command ignored - no "figure" in the pdf - example from the manual

2012-08-30 Thread Tim Meke
2012/7/26 Richard Heck 

>  On 07/26/2012 01:05 PM, Tim Meke wrote:
>
>
> 2012/7/26 Richard Heck 
>
>>  On 07/25/2012 03:08 PM, Tim Meke wrote:
>>
>>> Hello,
>>>
>>> I would like to use crossreferences like "That statistics leads to see
>>> the same conclusion (figure 3)."
>>> The word "figure" should be included automatically. I read the manual
>>> and tried the formatted cross-reference.
>>>
>>>
>>> The example from the German manual (EmbeddedObjects, 3.4.1) is, which is
>>> my whole preamble :
>>>
>>> \newref{abb}{refcmd={Bild auf Seite \pageref{#1}}}
>>>
>>>The problem is the "abb", I think. The label on your figure is
> "fig:whatever", not "abb:whatever". They have to match.
>
> Richard
>
>
Hello,

I tried it with "figure" now in the preamble:

\newref{figure}{refcmd={Bild auf Seite \pageref{#1}}}


The document language is English. But it does not work either.


Btw., did you notice we did not write to the mailing list for the last
messages?

What do I need to do?


LyX andTeX Live: How to find and link a new latex version?

2012-08-30 Thread John Kane
 
I am a
complete Linux /Ubuntu newbie so  please bear with me.  I probably
should be asking this on an Ubuntu forum but since I have linux &
LyX question I thought that I'd try here first.
I
currently am, or at least think I am using TeXLive2011 with LyX
2.0.2. 
I have just installed TeXLive 2012on Ubuntu 12.04
using the Ubuntu Software Centre and I would like to find it and make
it the default LaTeX for LyX.  As a check I loaded synaptics and it
seems to feel that I have TeXLive 2012 installed but does not seem to
see TeXLive 2011. 
TeXLive
2011 seems to be in usr/share/lyx but I don't seem to see the 2012
version unless it is in
/home/documents/install-tl-20110511/tlpkg/Texlive. 
In the
mean time below are a few things I have tried to see what is
happening.  To me it looks like I have a known path to the 2011
installation but where the blazes is the 2012 version?   I'll worry
about write privileges later. 


So two
questions:
How to I
find TeXLive 2012?
How do I
make TeXLive 2012 my default latex for LyX?


Thanks
#===#
john@john-K53U:~$
which lyx 
/usr/bin/lyx 
john@john-K53U:~$
which tlmgr 
/usr/local/texlive/2011/bin/i386-linux/tlmgr 
john@john-K53U:~$
which texlive 
john@john-K53U:~$ 
john@john-K53U:~$
tlmgr install leadpar 
You
don't have permission to change the installation in any way, 
specifically,
the directory /usr/local/texlive/2011/tlpkg/ is not writable. 
Please
run this program as administrator, or contact your local admin. 
john@john-K53U:~$ 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-08-30 Thread stefano franchi
On Thu, Aug 30, 2012 at 12:37 PM, John Kane  wrote:
> I am a complete Linux /Ubuntu newbie so please bear with me. I probably
> should be asking this on an Ubuntu forum but since I have linux & LyX
> question I thought that I'd try here first.
> I currently am, or at least think I am using TeXLive2011 with LyX 2.0.2.
> I have just installed TeXLive 2012on Ubuntu 12.04 using the Ubuntu Software
> Centre and I would like to find it and make it the default LaTeX for LyX. As
> a check I loaded synaptics and it seems to feel that I have TeXLive 2012
> installed but does not seem to see TeXLive 2011.
> TeXLive 2011 seems to be in usr/share/lyx but I don't seem to see the 2012
> version unless it is in /home/documents/install-tl-20110511/tlpkg/Texlive.

Hi John,

the following may apply to your case (I use Archlinux instead of
Ubuntu). Try this at a prompt: which latex
it should give you the location of the most accessible executable. For
texlive, it usually resides in a folder (dir) just below

/usr/local/texlive/

if it is (as in my case)

/usr/local/texlive/2012/bin/x86_64-linux/latex
or

/usr/local/texlive//2012/bin/i386-linux/latex

then you have TL2012 installed. if you have "2011" instead of "2012"
in the path, then you have TL2011 installed. Ubuntu usually runs one
version behind, so I wouldn't be surprised if you found you have
TL2011 running on your system (besides, TL2012 came out just a few
weeks ago, I think).
Notice that you may have *both* TL2012 and TL2011 installed. In that
case, Lyx (in my experience, at least, there may be ways around this)
will use the the version that comes first in your $PATH. You could try
a command such as

find /  -path '/proc' -prune -perm /u=x,g=x,a=x ! -type d -name latex

to find out. It should give a list of all executable latex files on
your system (it will take a while to run if you have large and/or
multiple drives. Linux gurus on this list may provide a more elegant
command). If you have more than one, you may want to try echo $PATH at
a prompt to find out the order in which directories are searched.


> In the mean time below are a few things I have tried to see what is
> happening. To me it looks like I have a known path to the 2011 installation
> but where the blazes is the 2012 version? I'll worry about write privileges
> later.
>

tlmgr requires writing privileges to system directories. You must run
it with 'sudo' in front (or one if its graphic-enabled equivalents
like kdesu, depending on your system's configuration)


>
> So two questions:
> How to I find TeXLive 2012?
> How do I make TeXLive 2012 my default latex for LyX?
>

To your last question:

a) make sure you have TL2012 AND
b) make sure the 2012 is the most accessible (i.e. which latex reports
a string containing '2012' in the path)

then

c) reconfigure lix
d) close and restart lyx.

e) check your work by looking into Tools>TeX information (and be sure
to tick the "show path" checkbox



Hope it helps,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Vectors in bold

2012-08-30 Thread Merhebi, Bob
Hello Guenter,

Thank you for your suggestion; that worked too!

On Thu 30 Aug 2012 02:49:08 PM EEST, Guenter Milde wrote:
> On 2012-08-28, Ernesto Posse wrote:
>
>> On Tue, Aug 28, 2012 at 8:19 AM, Merhebi, Bob  wrote:
>>> Hello there,
>
>>> I am writing this technical book; so far I've been using the overhead
>>> vectors to represent vectors, but now I changed my mind & want to
>>> represent vectors in bold.
>
>>> Is it possible to make the change for all previous representations in
>>> one go?
>
>> You can try writing the following in the preamble:
>
>> \renewcommand{\vec}[1]{\ensuremath{\mathbf{#1}}}
>
> Mind, that this produces an *upright* bold symbol, while most style gides
> in science and engineering expect *italic bold* for vector and Matrix
> symbols. This can be achieved with the "isomath" package
> http://www.ctan.org/pkg/isomath (See
> http://mirror.ctan.org/macros/latex/contrib/isomath/isomath.html for
> examples and details.)
>
> This is LaTeX preamble code for isomath with default settings:
>
> \usepackage{isomath}
> \renewcommand{\vec}{\vectorsym}
>
> Günter
>

--
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature