Re: How to install new packages to Lyx?

2009-09-13 Thread Makhoma



Agoldenquill wrote:
 
 
 dirac14 wrote:
 
 Hello there!
 I am a relatively new lyx user and this is my first post so please
 forgive my total ignorance..
 
 I ve searched for at least 3 hours to give myself the answer to the
 subject's question . . .  what do i have to do in order to install a new
 package and make it work as if it were preinstalled in lyx?
 
 I am in the same position as dirac14. I began using LyX about a month ago,
 but in that time I have yet to figure out how to install new packages. I
 searched everywhere, but all the LyX information seems written for
 programmer-types, or people who know LaTeX. Yet the LyX webpages said one
 does not need to know LaTeX in order to use LyX.
 
 Does anyone have simple, regular, end-user English instructions for
 installing new packages?
 Any help is appreciated.
 
 

you should have the packages installed into MikTex (that is where all my
packages are stored). In Lyx, go to Documents-Settings. In Settings, go to
the bottom of the list on the left side, Latex Preamble. highlight that
and there should be a big blank box to the right instead of other options.
In this box you write,
\usepackage{packagename}
where packagename is the name of the package you downloaded from CTAN.

Hope this works.

-- 
View this message in context: 
http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3638057.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to install new packages to Lyx?

2009-09-13 Thread Makhoma



Agoldenquill wrote:
 
 
 dirac14 wrote:
 
 Hello there!
 I am a relatively new lyx user and this is my first post so please
 forgive my total ignorance..
 
 I ve searched for at least 3 hours to give myself the answer to the
 subject's question . . .  what do i have to do in order to install a new
 package and make it work as if it were preinstalled in lyx?
 
 I am in the same position as dirac14. I began using LyX about a month ago,
 but in that time I have yet to figure out how to install new packages. I
 searched everywhere, but all the LyX information seems written for
 programmer-types, or people who know LaTeX. Yet the LyX webpages said one
 does not need to know LaTeX in order to use LyX.
 
 Does anyone have simple, regular, end-user English instructions for
 installing new packages?
 Any help is appreciated.
 
 

you should have the packages installed into MikTex (that is where all my
packages are stored). In Lyx, go to Documents-Settings. In Settings, go to
the bottom of the list on the left side, Latex Preamble. highlight that
and there should be a big blank box to the right instead of other options.
In this box you write,
\usepackage{packagename}
where packagename is the name of the package you downloaded from CTAN.

Hope this works.

-- 
View this message in context: 
http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3638057.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to install new packages to Lyx?

2009-09-13 Thread Makhoma



Agoldenquill wrote:
> 
> 
> dirac14 wrote:
>> 
>> Hello there!
>> I am a relatively new lyx user and this is my first post so please
>> forgive my total ignorance..
>> 
>> I ve searched for at least 3 hours to give myself the answer to the
>> subject's question . . .  what do i have to do in order to install a new
>> package and make it work as if it were preinstalled in lyx?
> 
> I am in the same position as dirac14. I began using LyX about a month ago,
> but in that time I have yet to figure out how to install new packages. I
> searched everywhere, but all the LyX information seems written for
> programmer-types, or people who know LaTeX. Yet the LyX webpages said one
> does not need to know LaTeX in order to use LyX.
> 
> Does anyone have simple, regular, end-user English instructions for
> installing new packages?
> Any help is appreciated.
> 
> 

you should have the packages installed into MikTex (that is where all my
packages are stored). In Lyx, go to Documents->Settings. In Settings, go to
the bottom of the list on the left side, "Latex Preamble." highlight that
and there should be a big blank box to the right instead of other options.
In this box you write,
\usepackage{packagename}
where packagename is the name of the package you downloaded from CTAN.

Hope this works.

-- 
View this message in context: 
http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3638057.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to install new packages to Lyx?

2009-09-04 Thread Agoldenquill


dirac14 wrote:
 
 Hello there!
 I am a relatively new lyx user and this is my first post so please forgive
 my total ignorance..
 
 I ve searched for at least 3 hours to give myself the answer to the
 subject's question . . .  what do i have to do in order to install a new
 package and make it work as if it were preinstalled in lyx?

I am in the same position as dirac14. I began using LyX about a month ago,
but in that time I have yet to figure out how to install new packages. I
searched everywhere, but all the LyX information seems written for
programmer-types, or people who know LaTeX. Yet the LyX webpages said one
does not need to know LaTeX in order to use LyX.

Does anyone have simple, regular, end-user English instructions for
installing new packages?
Any help is appreciated.

-- 
View this message in context: 
http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to install new packages to Lyx?

2009-09-04 Thread Julio Rojas
I'm sorry to tell you this, but there is not such thing as Lyx
packages. All of them are Latex packages. So unfortunately you need
to, at least, know how to install and use a package in LaTeX, as there
is no easy way to interface a LaTeX package with Lyx. Installation
depends on your OS and LaTeX distribution. Usage is OS independent.

Please check this:
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages
http://www.artofproblemsolving.com/LaTeX/AoPS_L_GuidePack.php
http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm
http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 4, 2009 at 2:02 PM, Agoldenquillagoldenqu...@yahoo.com wrote:


 dirac14 wrote:

 Hello there!
 I am a relatively new lyx user and this is my first post so please forgive
 my total ignorance..

 I ve searched for at least 3 hours to give myself the answer to the
 subject's question . . .  what do i have to do in order to install a new
 package and make it work as if it were preinstalled in lyx?

 I am in the same position as dirac14. I began using LyX about a month ago,
 but in that time I have yet to figure out how to install new packages. I
 searched everywhere, but all the LyX information seems written for
 programmer-types, or people who know LaTeX. Yet the LyX webpages said one
 does not need to know LaTeX in order to use LyX.

 Does anyone have simple, regular, end-user English instructions for
 installing new packages?
 Any help is appreciated.

 --
 View this message in context: 
 http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
 Sent from the LyX - Users mailing list archive at Nabble.com.



Re: How to install new packages to Lyx?

2009-09-04 Thread Agoldenquill


dirac14 wrote:
 
 Hello there!
 I am a relatively new lyx user and this is my first post so please forgive
 my total ignorance..
 
 I ve searched for at least 3 hours to give myself the answer to the
 subject's question . . .  what do i have to do in order to install a new
 package and make it work as if it were preinstalled in lyx?

I am in the same position as dirac14. I began using LyX about a month ago,
but in that time I have yet to figure out how to install new packages. I
searched everywhere, but all the LyX information seems written for
programmer-types, or people who know LaTeX. Yet the LyX webpages said one
does not need to know LaTeX in order to use LyX.

Does anyone have simple, regular, end-user English instructions for
installing new packages?
Any help is appreciated.

-- 
View this message in context: 
http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to install new packages to Lyx?

2009-09-04 Thread Julio Rojas
I'm sorry to tell you this, but there is not such thing as Lyx
packages. All of them are Latex packages. So unfortunately you need
to, at least, know how to install and use a package in LaTeX, as there
is no easy way to interface a LaTeX package with Lyx. Installation
depends on your OS and LaTeX distribution. Usage is OS independent.

Please check this:
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages
http://www.artofproblemsolving.com/LaTeX/AoPS_L_GuidePack.php
http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm
http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 4, 2009 at 2:02 PM, Agoldenquillagoldenqu...@yahoo.com wrote:


 dirac14 wrote:

 Hello there!
 I am a relatively new lyx user and this is my first post so please forgive
 my total ignorance..

 I ve searched for at least 3 hours to give myself the answer to the
 subject's question . . .  what do i have to do in order to install a new
 package and make it work as if it were preinstalled in lyx?

 I am in the same position as dirac14. I began using LyX about a month ago,
 but in that time I have yet to figure out how to install new packages. I
 searched everywhere, but all the LyX information seems written for
 programmer-types, or people who know LaTeX. Yet the LyX webpages said one
 does not need to know LaTeX in order to use LyX.

 Does anyone have simple, regular, end-user English instructions for
 installing new packages?
 Any help is appreciated.

 --
 View this message in context: 
 http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
 Sent from the LyX - Users mailing list archive at Nabble.com.



Re: How to install new packages to Lyx?

2009-09-04 Thread Agoldenquill


dirac14 wrote:
> 
> Hello there!
> I am a relatively new lyx user and this is my first post so please forgive
> my total ignorance..
> 
> I ve searched for at least 3 hours to give myself the answer to the
> subject's question . . .  what do i have to do in order to install a new
> package and make it work as if it were preinstalled in lyx?

I am in the same position as dirac14. I began using LyX about a month ago,
but in that time I have yet to figure out how to install new packages. I
searched everywhere, but all the LyX information seems written for
programmer-types, or people who know LaTeX. Yet the LyX webpages said one
does not need to know LaTeX in order to use LyX.

Does anyone have simple, regular, end-user English instructions for
installing new packages?
Any help is appreciated.

-- 
View this message in context: 
http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to install new packages to Lyx?

2009-09-04 Thread Julio Rojas
I'm sorry to tell you this, but there is not such thing as Lyx
packages. All of them are Latex packages. So unfortunately you need
to, at least, know how to install and use a package in LaTeX, as there
is no easy way to interface a LaTeX package with Lyx. Installation
depends on your OS and LaTeX distribution. Usage is OS independent.

Please check this:
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages
http://www.artofproblemsolving.com/LaTeX/AoPS_L_GuidePack.php
http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm
http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 4, 2009 at 2:02 PM, Agoldenquill wrote:
>
>
> dirac14 wrote:
>>
>> Hello there!
>> I am a relatively new lyx user and this is my first post so please forgive
>> my total ignorance..
>>
>> I ve searched for at least 3 hours to give myself the answer to the
>> subject's question . . .  what do i have to do in order to install a new
>> package and make it work as if it were preinstalled in lyx?
>
> I am in the same position as dirac14. I began using LyX about a month ago,
> but in that time I have yet to figure out how to install new packages. I
> searched everywhere, but all the LyX information seems written for
> programmer-types, or people who know LaTeX. Yet the LyX webpages said one
> does not need to know LaTeX in order to use LyX.
>
> Does anyone have simple, regular, end-user English instructions for
> installing new packages?
> Any help is appreciated.
>
> --
> View this message in context: 
> http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
>


Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
 On 08/30/2009 05:13 PM, dirac14 wrote:
  I am a relatively new lyx user and this is my first post so please forgive
  my total ignorance..
 
  I ve searched for at least 3 hours to give myself the answer to the
  subject's question and there are two possible scenarios : either it is kind
  of trivial to install new packages to lyx and therefore i couldn't find any
  answer or i did find it but i wasn't able to make it work !!!
 
  The whole story began when i found out an outstanding package on CTAN for my
  work, called hep(high energy physics) which promised to let me use Feynman
  slashed characters and many more. But then i dealt with that horrible
  problem! How to do it work properly and use it through the lyx menus like
  all other stuff preinstalled in lyx??? And in general, what do i have to do
  in order to install a new package and make it work as if it were
  preinstalled in lyx?
 
 
 I'm afraid that this is not in general possible---unless you want to 
 write the source code yourself and contribute it to LyX, which of course 
 would be welcome. That is to say: Every package that LyX natively 
 supports, it supports only because someone wrote the code that makes LyX 
 support it. To get the various particle names to display properly, for 
 example, the names have to be added to the unicodesymbols file, together 
 with code points in various fonts, etc. So it's not a trivial matter at all.
 
 rh
 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a / on it. Thanks for the reply.




Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 09:17 AM, ilias andronos wrote:

Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
   

On 08/30/2009 05:13 PM, dirac14 wrote:
 

I am a relatively new lyx user and this is my first post so please forgive
my total ignorance..

I ve searched for at least 3 hours to give myself the answer to the
subject's question and there are two possible scenarios : either it is kind
of trivial to install new packages to lyx and therefore i couldn't find any
answer or i did find it but i wasn't able to make it work !!!

The whole story began when i found out an outstanding package on CTAN for my
work, called hep(high energy physics) which promised to let me use Feynman
slashed characters and many more. But then i dealt with that horrible
problem! How to do it work properly and use it through the lyx menus like
all other stuff preinstalled in lyx??? And in general, what do i have to do
in order to install a new package and make it work as if it were
preinstalled in lyx?


   

I'm afraid that this is not in general possible---unless you want to
write the source code yourself and contribute it to LyX, which of course
would be welcome. That is to say: Every package that LyX natively
supports, it supports only because someone wrote the code that makes LyX
support it. To get the various particle names to display properly, for
example, the names have to be added to the unicodesymbols file, together
with code points in various fonts, etc. So it's not a trivial matter at all.

rh

 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a / on it. Thanks for the reply.

   
You can use them as you wish, by entering whatever the raw LaTeX is. In 
math mode, you just type it; in non-math mode, you can enter the 
characters in ERT. You can do this with any LaTeX stuff that LyX does 
not support.


rh




Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 31-08-2009, ημέρα Δευ, και ώρα 13:08 -0400, ο/η rgheck έγραψε:
 On 08/31/2009 09:17 AM, ilias andronos wrote:
  Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
 
  On 08/30/2009 05:13 PM, dirac14 wrote:
   
  I am a relatively new lyx user and this is my first post so please forgive
  my total ignorance..
 
  I ve searched for at least 3 hours to give myself the answer to the
  subject's question and there are two possible scenarios : either it is 
  kind
  of trivial to install new packages to lyx and therefore i couldn't find 
  any
  answer or i did find it but i wasn't able to make it work !!!
 
  The whole story began when i found out an outstanding package on CTAN for 
  my
  work, called hep(high energy physics) which promised to let me use Feynman
  slashed characters and many more. But then i dealt with that horrible
  problem! How to do it work properly and use it through the lyx menus like
  all other stuff preinstalled in lyx??? And in general, what do i have to 
  do
  in order to install a new package and make it work as if it were
  preinstalled in lyx?
 
 
 
  I'm afraid that this is not in general possible---unless you want to
  write the source code yourself and contribute it to LyX, which of course
  would be welcome. That is to say: Every package that LyX natively
  supports, it supports only because someone wrote the code that makes LyX
  support it. To get the various particle names to display properly, for
  example, the names have to be added to the unicodesymbols file, together
  with code points in various fonts, etc. So it's not a trivial matter at 
  all.
 
  rh
 
   
  I 'm afraid that i can't write the source code for this... But then
  could you please find me any way to use slashed characters? That is any
  character(mainly letters) with a / on it. Thanks for the reply.
 
 
 You can use them as you wish, by entering whatever the raw LaTeX is. In 
 math mode, you just type it; in non-math mode, you can enter the 
 characters in ERT. You can do this with any LaTeX stuff that LyX does 
 not support.
 
 rh
 


 
sorry for insisting but i tried searching with google how to enter these
characters and i came accross hep package again..i don't
understand..what is ERT?what exactly do i have to type in math mode in
order to get the slashed characters?? 



Re: How to install new packages to Lyx?

2009-08-31 Thread Nikos Alexandris
dirac14:  
   I am a relatively new lyx user and this is my first post so please 
   forgive
   my total ignorance..
  
   I ve searched for at least 3 hours to give myself the answer to the
   subject's question and there are two possible scenarios : either it is 
   kind
   of trivial to install new packages to lyx and therefore i couldn't find 
   any
   answer or i did find it but i wasn't able to make it work !!!
  
   The whole story began when i found out an outstanding package on CTAN 
   for my
   work, called hep(high energy physics) which promised to let me use 
   Feynman
   slashed characters and many more. But then i dealt with that horrible
   problem! How to do it work properly and use it through the lyx menus 
   like
   all other stuff preinstalled in lyx??? And in general, what do i have 
   to do
   in order to install a new package and make it work as if it were
   preinstalled in lyx?

rgheck:
   I'm afraid that this is not in general possible---unless you want to
   write the source code yourself and contribute it to LyX, which of course
   would be welcome. That is to say: Every package that LyX natively
   supports, it supports only because someone wrote the code that makes LyX
   support it. To get the various particle names to display properly, for
   example, the names have to be added to the unicodesymbols file, together
   with code points in various fonts, etc. So it's not a trivial matter at 
   all.

ilias andronos:
   I 'm afraid that i can't write the source code for this... But then
   could you please find me any way to use slashed characters? That is any
   character(mainly letters) with a / on it. Thanks for the reply.

rgheck:
  You can use them as you wish, by entering whatever the raw LaTeX is. In 
  math mode, you just type it; in non-math mode, you can enter the 
  characters in ERT. You can do this with any LaTeX stuff that LyX does 
  not support.

ilias andronos:
 sorry for insisting but i tried searching with google how to enter these
 characters and i came accross hep package again..i don't
 understand..what is ERT?what exactly do i have to type in math mode in
 order to get the slashed characters?? 

Ηλία,

an ERT means (for some people) Evil Red Text that does the (La)TeX
magic within a LyX document [1].

Basically you press Ctrl+L ( or via the menu you go Insert  TeX Code )
and you enter... well, TeX Code! For example, if you press Ctrl+L and
enter within the (Evil) red box the command \dots (without the double
quotes) you will get three dots.

However, I have no idea what exactly you have to type to get the /
over a(ny) character.

Nikos
---

[1] http://wiki.lyx.org/FAQ/ERT

(
Ufortunately the link A Brief History of ERT seems to be broken :-(
)



Re: How to install new packages to Lyx?

2009-08-31 Thread Christian Liesen
Hi,


 sorry for insisting but i tried searching with google how to enter these
 characters and i came accross hep package again..i don't
 understand..


You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

You can then call the package in your document's preamble with
\usepackage{hep} or whatever's its name. Then, and only then, you can make
use of ERT to produce the characters you want.


 what is ERT?what exactly do i have to type in math mode in
 order to get the slashed characters??


ERT is explained in the LyX wiki (and many other very useful things are as
well), see http://wiki.lyx.org/FAQ/ERT. The basic idea is that you can enter
raw LaTeX-code anywhere in your document, an option that does come in handy
from time to time.

For example, your hep package may allow for something like, say, \coolsymbol
as a raw LaTeX-command in order to produce, well -- some cool symbol in the
PDF output. Simply enter \coolsymbol in ERT in your LyX document where you
want it (as explained by Nikos a couple minutes ago) to get the same result.

Hope this helps,
-- Christian


Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 06:22 PM, ilias andronos wrote:

sorry for insisting but i tried searching with google how to enter these
characters and i came accross hep package again..i don't
understand..what is ERT?what exactly do i have to type in math mode in
order to get the slashed characters??

   
Let's say a slashed a is entered in LaTeX as: \slasheda. (I have no 
idea what it really is. Presumably the hep manual will tell you.) Then 
in math mode, enter \slasheda and then a space. You'll see exactly 
that, but if you ViewDVI ir ViewPDF or whatever (and have 
\usepackage{hep} in your preamble), then you'll see the slashed 
character in the output. It's just that LyX doesn't know how to display 
it, so it displays the raw LaTeX.


As for ERT, this is also called TeX Mode, and it's activated by 
InsertTeX Mode. It again allows you to insert raw LaTeX into the document.


rh



Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 06:59 PM, Christian Liesen wrote:

You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

   
If it's just a random package that LyX doesn't know about, then you 
don't have to reconfigure LyX. LyX isn't hep aware, so it  What you 
will need to do, as always, is run texhash, or whatever, to update the 
LaTeX databases.


rh



Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
 On 08/30/2009 05:13 PM, dirac14 wrote:
  I am a relatively new lyx user and this is my first post so please forgive
  my total ignorance..
 
  I ve searched for at least 3 hours to give myself the answer to the
  subject's question and there are two possible scenarios : either it is kind
  of trivial to install new packages to lyx and therefore i couldn't find any
  answer or i did find it but i wasn't able to make it work !!!
 
  The whole story began when i found out an outstanding package on CTAN for my
  work, called hep(high energy physics) which promised to let me use Feynman
  slashed characters and many more. But then i dealt with that horrible
  problem! How to do it work properly and use it through the lyx menus like
  all other stuff preinstalled in lyx??? And in general, what do i have to do
  in order to install a new package and make it work as if it were
  preinstalled in lyx?
 
 
 I'm afraid that this is not in general possible---unless you want to 
 write the source code yourself and contribute it to LyX, which of course 
 would be welcome. That is to say: Every package that LyX natively 
 supports, it supports only because someone wrote the code that makes LyX 
 support it. To get the various particle names to display properly, for 
 example, the names have to be added to the unicodesymbols file, together 
 with code points in various fonts, etc. So it's not a trivial matter at all.
 
 rh
 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a / on it. Thanks for the reply.




Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 09:17 AM, ilias andronos wrote:

Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
   

On 08/30/2009 05:13 PM, dirac14 wrote:
 

I am a relatively new lyx user and this is my first post so please forgive
my total ignorance..

I ve searched for at least 3 hours to give myself the answer to the
subject's question and there are two possible scenarios : either it is kind
of trivial to install new packages to lyx and therefore i couldn't find any
answer or i did find it but i wasn't able to make it work !!!

The whole story began when i found out an outstanding package on CTAN for my
work, called hep(high energy physics) which promised to let me use Feynman
slashed characters and many more. But then i dealt with that horrible
problem! How to do it work properly and use it through the lyx menus like
all other stuff preinstalled in lyx??? And in general, what do i have to do
in order to install a new package and make it work as if it were
preinstalled in lyx?


   

I'm afraid that this is not in general possible---unless you want to
write the source code yourself and contribute it to LyX, which of course
would be welcome. That is to say: Every package that LyX natively
supports, it supports only because someone wrote the code that makes LyX
support it. To get the various particle names to display properly, for
example, the names have to be added to the unicodesymbols file, together
with code points in various fonts, etc. So it's not a trivial matter at all.

rh

 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a / on it. Thanks for the reply.

   
You can use them as you wish, by entering whatever the raw LaTeX is. In 
math mode, you just type it; in non-math mode, you can enter the 
characters in ERT. You can do this with any LaTeX stuff that LyX does 
not support.


rh




Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 31-08-2009, ημέρα Δευ, και ώρα 13:08 -0400, ο/η rgheck έγραψε:
 On 08/31/2009 09:17 AM, ilias andronos wrote:
  Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
 
  On 08/30/2009 05:13 PM, dirac14 wrote:
   
  I am a relatively new lyx user and this is my first post so please forgive
  my total ignorance..
 
  I ve searched for at least 3 hours to give myself the answer to the
  subject's question and there are two possible scenarios : either it is 
  kind
  of trivial to install new packages to lyx and therefore i couldn't find 
  any
  answer or i did find it but i wasn't able to make it work !!!
 
  The whole story began when i found out an outstanding package on CTAN for 
  my
  work, called hep(high energy physics) which promised to let me use Feynman
  slashed characters and many more. But then i dealt with that horrible
  problem! How to do it work properly and use it through the lyx menus like
  all other stuff preinstalled in lyx??? And in general, what do i have to 
  do
  in order to install a new package and make it work as if it were
  preinstalled in lyx?
 
 
 
  I'm afraid that this is not in general possible---unless you want to
  write the source code yourself and contribute it to LyX, which of course
  would be welcome. That is to say: Every package that LyX natively
  supports, it supports only because someone wrote the code that makes LyX
  support it. To get the various particle names to display properly, for
  example, the names have to be added to the unicodesymbols file, together
  with code points in various fonts, etc. So it's not a trivial matter at 
  all.
 
  rh
 
   
  I 'm afraid that i can't write the source code for this... But then
  could you please find me any way to use slashed characters? That is any
  character(mainly letters) with a / on it. Thanks for the reply.
 
 
 You can use them as you wish, by entering whatever the raw LaTeX is. In 
 math mode, you just type it; in non-math mode, you can enter the 
 characters in ERT. You can do this with any LaTeX stuff that LyX does 
 not support.
 
 rh
 


 
sorry for insisting but i tried searching with google how to enter these
characters and i came accross hep package again..i don't
understand..what is ERT?what exactly do i have to type in math mode in
order to get the slashed characters?? 



Re: How to install new packages to Lyx?

2009-08-31 Thread Nikos Alexandris
dirac14:  
   I am a relatively new lyx user and this is my first post so please 
   forgive
   my total ignorance..
  
   I ve searched for at least 3 hours to give myself the answer to the
   subject's question and there are two possible scenarios : either it is 
   kind
   of trivial to install new packages to lyx and therefore i couldn't find 
   any
   answer or i did find it but i wasn't able to make it work !!!
  
   The whole story began when i found out an outstanding package on CTAN 
   for my
   work, called hep(high energy physics) which promised to let me use 
   Feynman
   slashed characters and many more. But then i dealt with that horrible
   problem! How to do it work properly and use it through the lyx menus 
   like
   all other stuff preinstalled in lyx??? And in general, what do i have 
   to do
   in order to install a new package and make it work as if it were
   preinstalled in lyx?

rgheck:
   I'm afraid that this is not in general possible---unless you want to
   write the source code yourself and contribute it to LyX, which of course
   would be welcome. That is to say: Every package that LyX natively
   supports, it supports only because someone wrote the code that makes LyX
   support it. To get the various particle names to display properly, for
   example, the names have to be added to the unicodesymbols file, together
   with code points in various fonts, etc. So it's not a trivial matter at 
   all.

ilias andronos:
   I 'm afraid that i can't write the source code for this... But then
   could you please find me any way to use slashed characters? That is any
   character(mainly letters) with a / on it. Thanks for the reply.

rgheck:
  You can use them as you wish, by entering whatever the raw LaTeX is. In 
  math mode, you just type it; in non-math mode, you can enter the 
  characters in ERT. You can do this with any LaTeX stuff that LyX does 
  not support.

ilias andronos:
 sorry for insisting but i tried searching with google how to enter these
 characters and i came accross hep package again..i don't
 understand..what is ERT?what exactly do i have to type in math mode in
 order to get the slashed characters?? 

Ηλία,

an ERT means (for some people) Evil Red Text that does the (La)TeX
magic within a LyX document [1].

Basically you press Ctrl+L ( or via the menu you go Insert  TeX Code )
and you enter... well, TeX Code! For example, if you press Ctrl+L and
enter within the (Evil) red box the command \dots (without the double
quotes) you will get three dots.

However, I have no idea what exactly you have to type to get the /
over a(ny) character.

Nikos
---

[1] http://wiki.lyx.org/FAQ/ERT

(
Ufortunately the link A Brief History of ERT seems to be broken :-(
)



Re: How to install new packages to Lyx?

2009-08-31 Thread Christian Liesen
Hi,


 sorry for insisting but i tried searching with google how to enter these
 characters and i came accross hep package again..i don't
 understand..


You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

You can then call the package in your document's preamble with
\usepackage{hep} or whatever's its name. Then, and only then, you can make
use of ERT to produce the characters you want.


 what is ERT?what exactly do i have to type in math mode in
 order to get the slashed characters??


ERT is explained in the LyX wiki (and many other very useful things are as
well), see http://wiki.lyx.org/FAQ/ERT. The basic idea is that you can enter
raw LaTeX-code anywhere in your document, an option that does come in handy
from time to time.

For example, your hep package may allow for something like, say, \coolsymbol
as a raw LaTeX-command in order to produce, well -- some cool symbol in the
PDF output. Simply enter \coolsymbol in ERT in your LyX document where you
want it (as explained by Nikos a couple minutes ago) to get the same result.

Hope this helps,
-- Christian


Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 06:22 PM, ilias andronos wrote:

sorry for insisting but i tried searching with google how to enter these
characters and i came accross hep package again..i don't
understand..what is ERT?what exactly do i have to type in math mode in
order to get the slashed characters??

   
Let's say a slashed a is entered in LaTeX as: \slasheda. (I have no 
idea what it really is. Presumably the hep manual will tell you.) Then 
in math mode, enter \slasheda and then a space. You'll see exactly 
that, but if you ViewDVI ir ViewPDF or whatever (and have 
\usepackage{hep} in your preamble), then you'll see the slashed 
character in the output. It's just that LyX doesn't know how to display 
it, so it displays the raw LaTeX.


As for ERT, this is also called TeX Mode, and it's activated by 
InsertTeX Mode. It again allows you to insert raw LaTeX into the document.


rh



Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 06:59 PM, Christian Liesen wrote:

You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

   
If it's just a random package that LyX doesn't know about, then you 
don't have to reconfigure LyX. LyX isn't hep aware, so it  What you 
will need to do, as always, is run texhash, or whatever, to update the 
LaTeX databases.


rh



Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
> On 08/30/2009 05:13 PM, dirac14 wrote:
> > I am a relatively new lyx user and this is my first post so please forgive
> > my total ignorance..
> >
> > I ve searched for at least 3 hours to give myself the answer to the
> > subject's question and there are two possible scenarios : either it is kind
> > of trivial to install new packages to lyx and therefore i couldn't find any
> > answer or i did find it but i wasn't able to make it work !!!
> >
> > The whole story began when i found out an outstanding package on CTAN for my
> > work, called hep(high energy physics) which promised to let me use Feynman
> > slashed characters and many more. But then i dealt with that horrible
> > problem! How to do it work properly and use it through the lyx menus like
> > all other stuff preinstalled in lyx??? And in general, what do i have to do
> > in order to install a new package and make it work as if it were
> > preinstalled in lyx?
> >
> >
> I'm afraid that this is not in general possible---unless you want to 
> write the source code yourself and contribute it to LyX, which of course 
> would be welcome. That is to say: Every package that LyX natively 
> supports, it supports only because someone wrote the code that makes LyX 
> support it. To get the various particle names to display properly, for 
> example, the names have to be added to the unicodesymbols file, together 
> with code points in various fonts, etc. So it's not a trivial matter at all.
> 
> rh
> 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a "/" on it. Thanks for the reply.




Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 09:17 AM, ilias andronos wrote:

Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
   

On 08/30/2009 05:13 PM, dirac14 wrote:
 

I am a relatively new lyx user and this is my first post so please forgive
my total ignorance..

I ve searched for at least 3 hours to give myself the answer to the
subject's question and there are two possible scenarios : either it is kind
of trivial to install new packages to lyx and therefore i couldn't find any
answer or i did find it but i wasn't able to make it work !!!

The whole story began when i found out an outstanding package on CTAN for my
work, called hep(high energy physics) which promised to let me use Feynman
slashed characters and many more. But then i dealt with that horrible
problem! How to do it work properly and use it through the lyx menus like
all other stuff preinstalled in lyx??? And in general, what do i have to do
in order to install a new package and make it work as if it were
preinstalled in lyx?


   

I'm afraid that this is not in general possible---unless you want to
write the source code yourself and contribute it to LyX, which of course
would be welcome. That is to say: Every package that LyX natively
supports, it supports only because someone wrote the code that makes LyX
support it. To get the various particle names to display properly, for
example, the names have to be added to the unicodesymbols file, together
with code points in various fonts, etc. So it's not a trivial matter at all.

rh

 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a "/" on it. Thanks for the reply.

   
You can use them as you wish, by entering whatever the raw LaTeX is. In 
math mode, you just type it; in non-math mode, you can enter the 
characters in ERT. You can do this with any LaTeX stuff that LyX does 
not support.


rh




Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 31-08-2009, ημέρα Δευ, και ώρα 13:08 -0400, ο/η rgheck έγραψε:
> On 08/31/2009 09:17 AM, ilias andronos wrote:
> > Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
> >
> >> On 08/30/2009 05:13 PM, dirac14 wrote:
> >>  
> >>> I am a relatively new lyx user and this is my first post so please forgive
> >>> my total ignorance..
> >>>
> >>> I ve searched for at least 3 hours to give myself the answer to the
> >>> subject's question and there are two possible scenarios : either it is 
> >>> kind
> >>> of trivial to install new packages to lyx and therefore i couldn't find 
> >>> any
> >>> answer or i did find it but i wasn't able to make it work !!!
> >>>
> >>> The whole story began when i found out an outstanding package on CTAN for 
> >>> my
> >>> work, called hep(high energy physics) which promised to let me use Feynman
> >>> slashed characters and many more. But then i dealt with that horrible
> >>> problem! How to do it work properly and use it through the lyx menus like
> >>> all other stuff preinstalled in lyx??? And in general, what do i have to 
> >>> do
> >>> in order to install a new package and make it work as if it were
> >>> preinstalled in lyx?
> >>>
> >>>
> >>>
> >> I'm afraid that this is not in general possible---unless you want to
> >> write the source code yourself and contribute it to LyX, which of course
> >> would be welcome. That is to say: Every package that LyX natively
> >> supports, it supports only because someone wrote the code that makes LyX
> >> support it. To get the various particle names to display properly, for
> >> example, the names have to be added to the unicodesymbols file, together
> >> with code points in various fonts, etc. So it's not a trivial matter at 
> >> all.
> >>
> >> rh
> >>
> >>  
> > I 'm afraid that i can't write the source code for this... But then
> > could you please find me any way to use slashed characters? That is any
> > character(mainly letters) with a "/" on it. Thanks for the reply.
> >
> >
> You can use them as you wish, by entering whatever the raw LaTeX is. In 
> math mode, you just type it; in non-math mode, you can enter the 
> characters in ERT. You can do this with any LaTeX stuff that LyX does 
> not support.
> 
> rh
> 


> 
sorry for insisting but i tried searching with google how to enter these
characters and i came accross hep package again..i don't
understand..what is ERT?what exactly do i have to type in math mode in
order to get the slashed characters?? 



Re: How to install new packages to Lyx?

2009-08-31 Thread Nikos Alexandris
dirac14:  
> > >>> I am a relatively new lyx user and this is my first post so please 
> > >>> forgive
> > >>> my total ignorance..
> > >>>
> > >>> I ve searched for at least 3 hours to give myself the answer to the
> > >>> subject's question and there are two possible scenarios : either it is 
> > >>> kind
> > >>> of trivial to install new packages to lyx and therefore i couldn't find 
> > >>> any
> > >>> answer or i did find it but i wasn't able to make it work !!!
> > >>>
> > >>> The whole story began when i found out an outstanding package on CTAN 
> > >>> for my
> > >>> work, called hep(high energy physics) which promised to let me use 
> > >>> Feynman
> > >>> slashed characters and many more. But then i dealt with that horrible
> > >>> problem! How to do it work properly and use it through the lyx menus 
> > >>> like
> > >>> all other stuff preinstalled in lyx??? And in general, what do i have 
> > >>> to do
> > >>> in order to install a new package and make it work as if it were
> > >>> preinstalled in lyx?

rgheck:
> > >> I'm afraid that this is not in general possible---unless you want to
> > >> write the source code yourself and contribute it to LyX, which of course
> > >> would be welcome. That is to say: Every package that LyX natively
> > >> supports, it supports only because someone wrote the code that makes LyX
> > >> support it. To get the various particle names to display properly, for
> > >> example, the names have to be added to the unicodesymbols file, together
> > >> with code points in various fonts, etc. So it's not a trivial matter at 
> > >> all.

ilias andronos:
> > > I 'm afraid that i can't write the source code for this... But then
> > > could you please find me any way to use slashed characters? That is any
> > > character(mainly letters) with a "/" on it. Thanks for the reply.

rgheck:
> > You can use them as you wish, by entering whatever the raw LaTeX is. In 
> > math mode, you just type it; in non-math mode, you can enter the 
> > characters in ERT. You can do this with any LaTeX stuff that LyX does 
> > not support.

ilias andronos:
> sorry for insisting but i tried searching with google how to enter these
> characters and i came accross hep package again..i don't
> understand..what is ERT?what exactly do i have to type in math mode in
> order to get the slashed characters?? 

Ηλία,

an ERT means (for some people) "Evil Red Text" that does the (La)TeX
magic within a LyX document [1].

Basically you press Ctrl+L ( or via the menu you go Insert > TeX Code )
and you enter... well, TeX Code! For example, if you press Ctrl+L and
enter within the (Evil) red box the command "\dots" (without the double
quotes) you will get three dots.

However, I have no idea what exactly you have to type to get the "/"
over a(ny) character.

Nikos
---

[1] http://wiki.lyx.org/FAQ/ERT

(
Ufortunately the link "A Brief History of ERT" seems to be broken :-(
)



Re: How to install new packages to Lyx?

2009-08-31 Thread Christian Liesen
Hi,

>
> sorry for insisting but i tried searching with google how to enter these
> characters and i came accross hep package again..i don't
> understand..


You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

You can then call the package in your document's preamble with
\usepackage{hep} or whatever's its name. Then, and only then, you can make
use of ERT to produce the characters you want.


> what is ERT?what exactly do i have to type in math mode in
> order to get the slashed characters??
>

ERT is explained in the LyX wiki (and many other very useful things are as
well), see http://wiki.lyx.org/FAQ/ERT. The basic idea is that you can enter
raw LaTeX-code anywhere in your document, an option that does come in handy
from time to time.

For example, your hep package may allow for something like, say, \coolsymbol
as a raw LaTeX-command in order to produce, well -- some cool symbol in the
PDF output. Simply enter \coolsymbol in ERT in your LyX document where you
want it (as explained by Nikos a couple minutes ago) to get the same result.

Hope this helps,
-- Christian


Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 06:22 PM, ilias andronos wrote:

sorry for insisting but i tried searching with google how to enter these
characters and i came accross hep package again..i don't
understand..what is ERT?what exactly do i have to type in math mode in
order to get the slashed characters??

   
Let's say a slashed "a" is entered in LaTeX as: \slasheda. (I have no 
idea what it really is. Presumably the hep manual will tell you.) Then 
in math mode, enter "\slasheda" and then a space. You'll see exactly 
that, but if you View>DVI ir View>PDF or whatever (and have 
\usepackage{hep} in your preamble), then you'll see the slashed 
character in the output. It's just that LyX doesn't know how to display 
it, so it displays the raw LaTeX.


As for ERT, this is also called "TeX Mode", and it's activated by 
Insert>TeX Mode. It again allows you to insert raw LaTeX into the document.


rh



Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 06:59 PM, Christian Liesen wrote:

You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

   
If it's just a random package that LyX doesn't know about, then you 
don't have to reconfigure LyX. LyX isn't "hep aware", so it  What you 
will need to do, as always, is run texhash, or whatever, to update the 
LaTeX databases.


rh



Re: How to install new packages to Lyx?

2009-08-30 Thread rgheck

On 08/30/2009 05:13 PM, dirac14 wrote:

I am a relatively new lyx user and this is my first post so please forgive
my total ignorance..

I ve searched for at least 3 hours to give myself the answer to the
subject's question and there are two possible scenarios : either it is kind
of trivial to install new packages to lyx and therefore i couldn't find any
answer or i did find it but i wasn't able to make it work !!!

The whole story began when i found out an outstanding package on CTAN for my
work, called hep(high energy physics) which promised to let me use Feynman
slashed characters and many more. But then i dealt with that horrible
problem! How to do it work properly and use it through the lyx menus like
all other stuff preinstalled in lyx??? And in general, what do i have to do
in order to install a new package and make it work as if it were
preinstalled in lyx?

   
I'm afraid that this is not in general possible---unless you want to 
write the source code yourself and contribute it to LyX, which of course 
would be welcome. That is to say: Every package that LyX natively 
supports, it supports only because someone wrote the code that makes LyX 
support it. To get the various particle names to display properly, for 
example, the names have to be added to the unicodesymbols file, together 
with code points in various fonts, etc. So it's not a trivial matter at all.


rh



Re: How to install new packages to Lyx?

2009-08-30 Thread rgheck

On 08/30/2009 05:13 PM, dirac14 wrote:

I am a relatively new lyx user and this is my first post so please forgive
my total ignorance..

I ve searched for at least 3 hours to give myself the answer to the
subject's question and there are two possible scenarios : either it is kind
of trivial to install new packages to lyx and therefore i couldn't find any
answer or i did find it but i wasn't able to make it work !!!

The whole story began when i found out an outstanding package on CTAN for my
work, called hep(high energy physics) which promised to let me use Feynman
slashed characters and many more. But then i dealt with that horrible
problem! How to do it work properly and use it through the lyx menus like
all other stuff preinstalled in lyx??? And in general, what do i have to do
in order to install a new package and make it work as if it were
preinstalled in lyx?

   
I'm afraid that this is not in general possible---unless you want to 
write the source code yourself and contribute it to LyX, which of course 
would be welcome. That is to say: Every package that LyX natively 
supports, it supports only because someone wrote the code that makes LyX 
support it. To get the various particle names to display properly, for 
example, the names have to be added to the unicodesymbols file, together 
with code points in various fonts, etc. So it's not a trivial matter at all.


rh



Re: How to install new packages to Lyx?

2009-08-30 Thread rgheck

On 08/30/2009 05:13 PM, dirac14 wrote:

I am a relatively new lyx user and this is my first post so please forgive
my total ignorance..

I ve searched for at least 3 hours to give myself the answer to the
subject's question and there are two possible scenarios : either it is kind
of trivial to install new packages to lyx and therefore i couldn't find any
answer or i did find it but i wasn't able to make it work !!!

The whole story began when i found out an outstanding package on CTAN for my
work, called hep(high energy physics) which promised to let me use Feynman
slashed characters and many more. But then i dealt with that horrible
problem! How to do it work properly and use it through the lyx menus like
all other stuff preinstalled in lyx??? And in general, what do i have to do
in order to install a new package and make it work as if it were
preinstalled in lyx?

   
I'm afraid that this is not in general possible---unless you want to 
write the source code yourself and contribute it to LyX, which of course 
would be welcome. That is to say: Every package that LyX natively 
supports, it supports only because someone wrote the code that makes LyX 
support it. To get the various particle names to display properly, for 
example, the names have to be added to the unicodesymbols file, together 
with code points in various fonts, etc. So it's not a trivial matter at all.


rh