Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach

On 23.09.2011 02:18, Neal Becker wrote:

Why wouldn't you just save as svg?


If we just talk about an illustration, I would save it as pdf and then 
include the pdf. However, if the illustration contains anything in text, 
then if I saved it as a pdf I would have the text in the font that 
inkscape used. I believe that this looks ugly: Anything in the finished 
document should be in the same font.


So if I use this pdf+latex format, the text will be rendered by LaTeX, 
at the positions specified by inkscape, but using the documents font. 
Also, you can then use LaTeX-Commands in your illustration, for example 
the math mode...


If anyone is interested: something similar can be done with gnuplot, 
using the epslatex-terminal (then you just need to convert the eps-file 
to pdf), and also with dia.


Martin


Re: LyX and Inkscape

2011-09-23 Thread PhilipPirrip

On 09/23/2011 09:22 AM, Martin Hoßbach wrote:


If anyone is interested: something similar can be done with gnuplot,
using the epslatex-terminal (then you just need to convert the eps-file
to pdf), and also with dia.



Martin, can you please tell me what exactly one should do in LyX with 
those two files, a .pdf and a .tex?





Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach

On 23.09.2011 10:20, PhilipPirrip wrote:

Martin, can you please tell me what exactly one should do in LyX with
those two files, a .pdf and a .tex?


The files are used almost like a normal image. Instead of inserting 
the image (usually inside a float), you insert a child document, select 
the .tex-file, and switch to input instead of include. And then you 
do what I was told before, so that LyX knows where the pdf-file can be 
found... (-- TEXINPUTS)


Martin


--
Dipl.Inform. Martin Hoßbach
Research Assistant 'Cognitive Computing  Medical Imaging'

Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
Tel +49 6151 155-585  |  Fax +49 6151 155-480
martin.hossb...@igd.fraunhofer.de  |  www.igd.fraunhofer.de


Re: LyX and Inkscape

2011-09-23 Thread Julio Rojas
Martin, I have generated one testing image with a black square and a
test formula. I can see the formula in the PDF. I thought the formula
was added at compilation time with the PDF_Tex file. Isn't it so?

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 10:26 AM, Martin Hoßbach
martin.hossb...@igd.fraunhofer.de wrote:
 On 23.09.2011 10:20, PhilipPirrip wrote:

 Martin, can you please tell me what exactly one should do in LyX with
 those two files, a .pdf and a .tex?

 The files are used almost like a normal image. Instead of inserting the
 image (usually inside a float), you insert a child document, select the
 .tex-file, and switch to input instead of include. And then you do what
 I was told before, so that LyX knows where the pdf-file can be found... (--
 TEXINPUTS)

 Martin


 --
 Dipl.Inform. Martin Hoßbach
 Research Assistant 'Cognitive Computing  Medical Imaging'

 Fraunhofer-Institut für Graphische Datenverarbeitung IGD
 Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
 Tel +49 6151 155-585  |  Fax +49 6151 155-480
 martin.hossb...@igd.fraunhofer.de  |  www.igd.fraunhofer.de



Re: LyX and Inkscape

2011-09-23 Thread Mukhtar Ullah
 
 So, besides setting the TEXINPUTS, how do you include the image in your 
 document? Using \input or an external template?
 

I am using the \input command in ERT. You may try \input via child document as
Martin suggested.

Mukhtar




OT: STY location

2011-09-23 Thread Julio Rojas
Dear all, I have installed TexLive 2011 and because of it I have lost
the ability to install latex pacakges via apt-get. Where do I have to
put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
BTW.

Thanks in advance and sorry for the OT.
-
Julio Rojas
jcredbe...@gmail.com


Re: OT: STY location

2011-09-23 Thread Julio Rojas
Compiled it myself.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 12:21 PM, ehud.kap...@gmail.com
ehud.kap...@gmail.com wrote:
 Did you compile Texlive 2011? If not, where did you get it?
 EK

 On 9/23/2011 6:10 AM, Julio Rojas wrote:

 Dear all, I have installed TexLive 2011 and because of it I have lost
 the ability to install latex pacakges via apt-get. Where do I have to
 put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
 BTW.

 Thanks in advance and sorry for the OT.
 -
 Julio Rojas
 jcredbe...@gmail.com

 --
 Ehud Kaplan, Ph.D.
 Jules and Doris Stein Research to Prevent Blindness Professor
 Director, Center of Excellence for Computational  System neuroscience,
 The Friedman Brain Institute, MSSM
 Director, The laboratory of Visual  Computational Neuroscience
 Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
 The Mount Sinai School of Medicine
 One Gustave Levy Place
 New York, NY, 10029



Re: OT: STY location

2011-09-23 Thread Kornel Benko
Am Freitag, 23. September 2011 schrieb Julio Rojas:
 Dear all, I have installed TexLive 2011 and because of it I have lost
 the ability to install latex pacakges via apt-get. Where do I have to
 put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
 BTW.

All packages are update-able through tlmgr -gui. If you installed with 
sudo, so
you should use sudo tlmgr -gui.

 Thanks in advance and sorry for the OT.
 -
 Julio Rojas
 jcredbe...@gmail.com

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: OT: STY location

2011-09-23 Thread Julio Rojas
Not found. Was not part of TexLive 2011 or is not in the path.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 12:23 PM, Kornel Benko kornel.be...@berlin.de wrote:
 Am Freitag, 23. September 2011 schrieb Julio Rojas:

 Dear all, I have installed TexLive 2011 and because of it I have lost

 the ability to install latex pacakges via apt-get. Where do I have to

 put and sty file in order for texhash to find it? I'm on Ubuntu Natty,

 BTW.

 All packages are update-able through tlmgr -gui. If you installed with
 sudo, so

 you should use sudo tlmgr -gui.

 Thanks in advance and sorry for the OT.

 -

 Julio Rojas

 jcredbe...@gmail.com

 Kornel


Re: OT: STY location

2011-09-23 Thread Julio Rojas
Finally found it, searched for the package (undertilde). Two packages
which I don't recognize appeared. Installed both and voilá.

Thx!
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 12:25 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Not found. Was not part of TexLive 2011 or is not in the path.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Fri, Sep 23, 2011 at 12:23 PM, Kornel Benko kornel.be...@berlin.de wrote:
 Am Freitag, 23. September 2011 schrieb Julio Rojas:

 Dear all, I have installed TexLive 2011 and because of it I have lost

 the ability to install latex pacakges via apt-get. Where do I have to

 put and sty file in order for texhash to find it? I'm on Ubuntu Natty,

 BTW.

 All packages are update-able through tlmgr -gui. If you installed with
 sudo, so

 you should use sudo tlmgr -gui.

 Thanks in advance and sorry for the OT.

 -

 Julio Rojas

 jcredbe...@gmail.com

 Kornel



Re: OT: STY location

2011-09-23 Thread Kornel Benko
Am Freitag, 23. September 2011 schrieb Julio Rojas:
 Not found. Was not part of TexLive 2011 or is not in the path.

It _is_ part of texlive 2011. Here it is under
/usr/local/texlive/2011/bin/x86_64-linux/tlmgr
(Using natty too)

Kornel
 -
 Julio Rojas
 jcredbe...@gmail.com
 
 On Fri, Sep 23, 2011 at 12:23 PM, Kornel Benko kornel.be...@berlin.de wrote:
  Am Freitag, 23. September 2011 schrieb Julio Rojas:
  Dear all, I have installed TexLive 2011 and because of it I have lost
  
  the ability to install latex pacakges via apt-get. Where do I have to
  
  put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
  
  BTW.
  
  All packages are update-able through tlmgr -gui. If you installed with
  sudo, so
  
  you should use sudo tlmgr -gui.
  
  Thanks in advance and sorry for the OT.
  
  -
  
  Julio Rojas
  
  jcredbe...@gmail.com
  
  Kornel



signature.asc
Description: This is a digitally signed message part.


SV: indexes in texindy and utf8

2011-09-23 Thread Ingar Pareliussen
Hi

I have solved my problem, and learned somethings along the way, as it often 
goes :). (I use LyX 2.0.1 for Linux, btw)

To help others with indexes in Lyx. It seems that indexes are very fragile, 
especially if they are placed in other environments than standard, and one 
should also be aware that marking the insets with emphasis could break indexes. 
emphasis inside the insets are fine, it seems.

Another stumbling block is that there are two places to put the options for the 
texindy, one in the lyx-setup and one in the document-setup. I did not have 
them in the document and thus the language option was not passed on to texindy.

I also learned that texindy uses LIRC format internally even if the TeX-file is 
in UTF8 when pdflatex is used. And thus only the language option needs to be 
passed along (-L norwegian). In XeTeX texindy uses utf8 and may need -C utf8 in 
addition but I have not tested this...

I hope this will be helpful for someone :).

Ingar Pareliussen

insert filename

2011-09-23 Thread Horst Jurkat

Hallo,

i use info-insert buffer name to insert the current filename in the 
document.


Is there a possibility to do that without the fileextension (*.lyx)?

Thanyou in advance.

Horst



Re: insert filename

2011-09-23 Thread Stephen Buonopane


On Sep 23, 2011, at 7:31 AM, Horst Jurkat wrote:

i use info-insert buffer name to insert the current filename in  
the document.

Is there a possibility to do that without the fileextension (*.lyx)?



in TexCode (ERT)
\jobname




Lyx color schemes and beamer class

2011-09-23 Thread Ibot
Hi all,

currently i'm trying to figure out how to change the lyx-editor-font-color
for the frame title when i use
the beamer-class.

In my case (lyx 2.0.1, ubuntu 10.04, dark-looks gnome-color-theme) this
color is blue
and i can't find the appropriate label under preference-lookfeel-colors to
change this color.

Does anyone know the appropriate label so that I maybe can assign via the
.lyx/preferences file
and the set_color command a different color for this particular element.

many thanks


Re: Lyx color schemes and beamer class

2011-09-23 Thread Jürgen Spitzmüller
Ibot wrote:
 Does anyone know the appropriate label so that I maybe can assign via the
 .lyx/preferences file
 and the set_color command a different color for this particular element.

You have to change the beamer.layout file. In the Style BeginFrame layout 
definition, change

Font
Series Bold
Size   Largest
Color  Blue
EndFont

to whatever you need.

For single documents, you can also paste something like

Style BeginFrame
  Font
Series Bold
Size   Largest
Color  Green
  EndFont
End

to Document  Seetings  Local Format, hit Validate and Apply.

HTH,
Jürgen




Re: Lyx color schemes and beamer class

2011-09-23 Thread David L. Johnson

On 09/23/2011 12:04 PM, Jürgen Spitzmüller wrote:

Ibot wrote:

Does anyone know the appropriate label so that I maybe can assign via the
.lyx/preferences file
and the set_color command a different color for this particular element.

You have to change the beamer.layout file. In the Style BeginFrame layout
definition, change

Font
 Series Bold
 Size   Largest
 Color  Blue
EndFont

to whatever you need.


You do have to be cautious about this, since an upgrade to a newer 
version of LyX will overwrite your changes.  Be sure at least to make a 
copy of any changes in any layout file.  Upgrades in most schemes will 
look for local changes in a configuration file and warn you before 
overwriting them, but not for basic system files such as this.


Can this be done in the user's preferences?


--

David L. Johnson

What am I on?  I'm on my bike, six hours a day, busting my ass.
What are you on?
--Lance Armstrong



Re: Lyx color schemes and beamer class

2011-09-23 Thread Jürgen Spitzmüller
David L. Johnson wrote:
 You do have to be cautious about this, since an upgrade to a newer 
 version of LyX will overwrite your changes.

Well, of course, the changed layout is to be put in the user directory, which 
will not be overriden (as opposed to the system directory).

Jürgen



Re: Lyx color schemes and beamer class

2011-09-23 Thread Ibot
Thank you,

this solved the problem. But I think this is very hard to be figured out
by an average user. I hope that using lyx color schemes will be somehow
easier/transparent in the future.

Many thanks and a nice weekend


On Fri, Sep 23, 2011 at 6:34 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 David L. Johnson wrote:
  You do have to be cautious about this, since an upgrade to a newer
  version of LyX will overwrite your changes.

 Well, of course, the changed layout is to be put in the user directory,
 which
 will not be overriden (as opposed to the system directory).

 Jürgen




Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Mukhtar Ullah mukhtar.ul...@informatik.uni-rostock.de írta:
 
 So, besides setting the TEXINPUTS, how do you include the image in your 
 document? Using \input or an external template?
 

I am using the \input command in ERT. You may try \input via child document 
as Martin suggested.

Hello:

I became interested in this one too.
However no matter whether I set the TEXINPUTS prefix or leave it as is
I always get error message:

!pdfTeX error: pdflatex (file ./inkscape.pdf): reading image file fail

I have linux, lyx-2.0.1 and texlive 2010-34.1.

What can be the problem?

Thanks,

bcsikos





Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Csikos Bela bcsikos...@freemail.hu írta:

I became interested in this one too.
However no matter whether I set the TEXINPUTS prefix or leave it as is
I always get error message:

!pdfTeX error: pdflatex (file ./inkscape.pdf): reading image file fail

I have linux, lyx-2.0.1 and texlive 2010-34.1.

What can be the problem?

I found what was the problem. The lyx file name and the pdf to be inserted
had the same file name (inkscape-try).

bcsikos



Re: insert filename

2011-09-23 Thread Guenter Milde
On 2011-09-23, Stephen Buonopane wrote:

 On Sep 23, 2011, at 7:31 AM, Horst Jurkat wrote:

 i use info-insert buffer name to insert the current filename in  
 the document.
 Is there a possibility to do that without the fileextension (*.lyx)?


 in TexCode (ERT)
 \jobname

Caveat: this does not work for a child document if the including parent is
translated: then the parents filename is the jobname.

Günter



Re: LyX and Inkscape

2011-09-23 Thread Guenter Milde
On 2011-09-23, Martin Hoßbach wrote:
 On 23.09.2011 10:20, PhilipPirrip wrote:
 Martin, can you please tell me what exactly one should do in LyX with
 those two files, a .pdf and a .tex?

 The files are used almost like a normal image. Instead of inserting 
 the image (usually inside a float), you insert a child document, select 
 the .tex-file, and switch to input instead of include. And then you 
 do what I was told before, so that LyX knows where the pdf-file can be 
 found... (-- TEXINPUTS)

Wouldn't this be a candidate for an external inset?
Then we might even have a preview in LyX.

Günter



LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-23 Thread Joe(theWordy)Philbrook

Hello. I'm a multi-boot, multi-Linux user. I chose LyX for a personal
writing project some time ago. And for the most part I've been happy with
that choice. But the spell checker in LyX2 is making me wish I knew how to
cleanly export my documents to LibreOffice. 

Now I'm not even talking about the horrible way the new spellchecker
responds to keyboard control. {Though some of it's shortcut keys conflict with
the ones in the pull down menu.  There doesn't appear to be a way to get
rid of it's sidebar when your done spellchecking without maneuvering the
mouse pointer to, and clicking on the little x icon} As much as I despise
that behavior it's nothing compared to the what it jumps around.

I have at times deliberately introduced non-words into my documents that I
don't want to permanently add to the dictionary. Sometimes it has to do
with quoting a character who doesn't spell (or speak) proper English.

Picture a big cartoon like character rubbing his head where somebody he
thought was a friend just broke a barstool over his head and the big guy turns
to his friend and says: Ya shoodna awda dun that Bobby! 

Now if that were actually part of my story, say in chapter 3, I'd have taken
care to spell check that part of the document while I was thinking about it so
that I would remember to use the ignore button... I always used to do this
by wrapping the part I wanted to spellcheck with lines like:

Spellcheck section begin gabaggge marker line
Spellcheck section end gabaggge marker line

Then I'd position the cursor someplace after the non-word gabaggge on
the first marker and press F7... Then as long as I remembered to stop
spellchecking when it reached the 2nd instance of gabaggge, I'd be
fine.

Well that doesn't work anymore. I might wrap chapter 10 in those
gabaggge lines and start spell checking chapter 10 only to suddenly
discover that all by itself the spellchecker decided to jump back to some
questionable word in chapter 3... sigh Even this wouldn't be so bad
except that many of the intentional non-words are a little less obvious
than the above fictional example. And in fact I'm not sure how many of them
I accidentally corrected before I noticed something distinctive that
couldn't have been in the section I thought I was spell checking. 

IS there a method to restrict the spellchecker to a limited range of the
document and/or to only check in a top to bottom in-line path that doesn't
skip around the document???

I really hope there is, because if there isn't I'm going to have to risk
damaging the .lyx file by using the command line version of Aspell on it...
Because I can't work with a spell checker that won't work where I tell it
to.

-- 
|  ~^~   ~^~
|  ?   ?   Joe (theWordy) Philbrook
|  ^J(tWdy)P
|\___/ jtw...@ttlc.net



Re: Iniciando

2011-09-23 Thread Arnold FERNÁNDEZ RIVAS
Hola LyX-eros, tengo una pequeñísima consulta, al generar una Bibliografía
automáticamente puedo hace citas a la misma, ¿cómo hago los mismo con las
figuras que voy agregando? Necesito que las imágenes esté en un capítulo
aparte y el texto en otro. Segura ya alguien resolvió este detalle. Saludos

Vicepresidente de la Comunidad de Software Libre de la Universidad Nacional
del Callao - UNACINUX.

*http://csl.unac.edu.pe

*
Miembro de Comité Directivo de la Escuela Profesional de Ingeniería
Ambiental y de Recursos Naturales de la UNAC


Re: LyX and Inkscape

2011-09-23 Thread Liviu Andronic
On Fri, Sep 23, 2011 at 11:19 PM, Guenter Milde mi...@users.berlios.de wrote:
 Wouldn't this be a candidate for an external inset?
 Then we might even have a preview in LyX.

Yes, I also thought that this may improve users' welfare.
Liviu


Re: LyX and Inkscape

2011-09-23 Thread Julien Rioux

On 23/09/2011 11:19 PM, Guenter Milde wrote:

On 2011-09-23, Martin Hoßbach wrote:

On 23.09.2011 10:20, PhilipPirrip wrote:

Martin, can you please tell me what exactly one should do in LyX with
those two files, a .pdf and a .tex?



The files are used almost like a normal image. Instead of inserting
the image (usually inside a float), you insert a child document, select
the .tex-file, and switch to input instead of include. And then you
do what I was told before, so that LyX knows where the pdf-file can be
found... (--  TEXINPUTS)


Wouldn't this be a candidate for an external inset?
Then we might even have a preview in LyX.

Günter




See this bug report: http://www.lyx.org/trac/ticket/7510
Basically, I was thinking the same as you, but was curious how people 
are using the format today even without a patch to LyX.


--
Julien



Re: Iniciando

2011-09-23 Thread Marcelo Acuña
 Hola ususarios de LyX, estoy iniciando el uso de LyX en la versión estable 
 según la fecha, tengo varias consultas que hacer, algunas de ellas son:


- ¿Cómo ingreso más de un autor cuando se usa la clase de documento book?
- ¿Cómo se colocan imágenes en la primera página, aparte del título, autor, 
fecha  cuando se usa la clase de documento book? Es el caso que se suele 
pedir escudos o logos de las Instituciones que participan o auspician los 
textos. 
- ¿Dónde puedo encontrar un foro en español que no solo se reduzca a esta 
lisata de correos?

Espero me puedan dar una ayuda, gracias.


 Hola,       vas a recibir mucha ayuda en esta lista si escribís tus consultas 
en inglés.
       No hay lista de correo de lyx en español, sólo hay un sitio con poca 
actividad sobre latex.
       Personalmente para la página de título utilizo otros programas más 
adecuados para el manejo de imágenes y luego genero con ellos archivos pdf que 
luego incluyo en el archivo lyx con la opción Insertar  Archivo  Material 
Externo.
       Muchos saben como hacerlo con lyx, pero como te digo, para obtener esas 
respuestas vas a tener que preguntar en inglés.
Saludos
Marcelo Acuña

Re: Iniciando

2011-09-23 Thread Marcelo Acuña
 Hola LyX-eros, tengo una pequeñísima consulta, al generar una Bibliografía 
 automáticamente puedo hace citas a la misma, ¿cómo hago los mismo con las 
 figuras que voy agregando? Necesito que las imágenes esté en un capítulo 
 aparte y el texto en otro. Segura ya alguien resolvió este detalle. Saludos



No entiendo la consulta, hay opción para índices de figuras separado del índice 
de contenido, no sé si eso es lo que buscás.
Saludos
Marcelo Acuña

Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-23 Thread Joe(theWordy)Philbrook

It would appear that on Sep 23, Joe(theWordy)Philbrook did say:

-snipped. .  .   .. .  .   .. .stuff

 IS there a method to restrict the spellchecker to a limited range of the
 document and/or to only check in a top to bottom in-line path that doesn't
 skip around the document???
 
 I really hope there is, because if there isn't I'm going to have to risk
 damaging the .lyx file by using the command line version of Aspell on it...
 Because I can't work with a spell checker that won't work where I tell it
 to.

While waiting in hopes of a better method, I figured out a very crude down
and dirty work around...

First, as previously described, I wrap the section of the document I intend to
spellcheck with the the begin and end marker lines. {with or without the
deliberately misspelled garbage word} But it MUST stand out visually. 

Then I open a garbage .lyx file and delete any existing content. Then I
switch back to the real file and mark  cut everything in between the
marker lines. Next I paste that into the garbage file and spellcheck that
file. When the spell checking is complete I can mark  cut the contents the
return to the real file, and paste the spellchecked content in between the
marker lines...

This at least works. But I shouldn't have to do it this way.

-- 
|^^^   ^^^
|o   o  Joe (theWordy) Philbrook
|^   J(tWdy)P
|   ___ jtw...@ttlc.net

   sigh



Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach

On 23.09.2011 02:18, Neal Becker wrote:

Why wouldn't you just save as svg?


If we just talk about an illustration, I would save it as pdf and then 
include the pdf. However, if the illustration contains anything in text, 
then if I saved it as a pdf I would have the text in the font that 
inkscape used. I believe that this looks ugly: Anything in the finished 
document should be in the same font.


So if I use this pdf+latex format, the text will be rendered by LaTeX, 
at the positions specified by inkscape, but using the documents font. 
Also, you can then use LaTeX-Commands in your illustration, for example 
the math mode...


If anyone is interested: something similar can be done with gnuplot, 
using the epslatex-terminal (then you just need to convert the eps-file 
to pdf), and also with dia.


Martin


Re: LyX and Inkscape

2011-09-23 Thread PhilipPirrip

On 09/23/2011 09:22 AM, Martin Hoßbach wrote:


If anyone is interested: something similar can be done with gnuplot,
using the epslatex-terminal (then you just need to convert the eps-file
to pdf), and also with dia.



Martin, can you please tell me what exactly one should do in LyX with 
those two files, a .pdf and a .tex?





Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach

On 23.09.2011 10:20, PhilipPirrip wrote:

Martin, can you please tell me what exactly one should do in LyX with
those two files, a .pdf and a .tex?


The files are used almost like a normal image. Instead of inserting 
the image (usually inside a float), you insert a child document, select 
the .tex-file, and switch to input instead of include. And then you 
do what I was told before, so that LyX knows where the pdf-file can be 
found... (-- TEXINPUTS)


Martin


--
Dipl.Inform. Martin Hoßbach
Research Assistant 'Cognitive Computing  Medical Imaging'

Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
Tel +49 6151 155-585  |  Fax +49 6151 155-480
martin.hossb...@igd.fraunhofer.de  |  www.igd.fraunhofer.de


Re: LyX and Inkscape

2011-09-23 Thread Julio Rojas
Martin, I have generated one testing image with a black square and a
test formula. I can see the formula in the PDF. I thought the formula
was added at compilation time with the PDF_Tex file. Isn't it so?

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 10:26 AM, Martin Hoßbach
martin.hossb...@igd.fraunhofer.de wrote:
 On 23.09.2011 10:20, PhilipPirrip wrote:

 Martin, can you please tell me what exactly one should do in LyX with
 those two files, a .pdf and a .tex?

 The files are used almost like a normal image. Instead of inserting the
 image (usually inside a float), you insert a child document, select the
 .tex-file, and switch to input instead of include. And then you do what
 I was told before, so that LyX knows where the pdf-file can be found... (--
 TEXINPUTS)

 Martin


 --
 Dipl.Inform. Martin Hoßbach
 Research Assistant 'Cognitive Computing  Medical Imaging'

 Fraunhofer-Institut für Graphische Datenverarbeitung IGD
 Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
 Tel +49 6151 155-585  |  Fax +49 6151 155-480
 martin.hossb...@igd.fraunhofer.de  |  www.igd.fraunhofer.de



Re: LyX and Inkscape

2011-09-23 Thread Mukhtar Ullah
 
 So, besides setting the TEXINPUTS, how do you include the image in your 
 document? Using \input or an external template?
 

I am using the \input command in ERT. You may try \input via child document as
Martin suggested.

Mukhtar




OT: STY location

2011-09-23 Thread Julio Rojas
Dear all, I have installed TexLive 2011 and because of it I have lost
the ability to install latex pacakges via apt-get. Where do I have to
put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
BTW.

Thanks in advance and sorry for the OT.
-
Julio Rojas
jcredbe...@gmail.com


Re: OT: STY location

2011-09-23 Thread Julio Rojas
Compiled it myself.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 12:21 PM, ehud.kap...@gmail.com
ehud.kap...@gmail.com wrote:
 Did you compile Texlive 2011? If not, where did you get it?
 EK

 On 9/23/2011 6:10 AM, Julio Rojas wrote:

 Dear all, I have installed TexLive 2011 and because of it I have lost
 the ability to install latex pacakges via apt-get. Where do I have to
 put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
 BTW.

 Thanks in advance and sorry for the OT.
 -
 Julio Rojas
 jcredbe...@gmail.com

 --
 Ehud Kaplan, Ph.D.
 Jules and Doris Stein Research to Prevent Blindness Professor
 Director, Center of Excellence for Computational  System neuroscience,
 The Friedman Brain Institute, MSSM
 Director, The laboratory of Visual  Computational Neuroscience
 Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
 The Mount Sinai School of Medicine
 One Gustave Levy Place
 New York, NY, 10029



Re: OT: STY location

2011-09-23 Thread Kornel Benko
Am Freitag, 23. September 2011 schrieb Julio Rojas:
 Dear all, I have installed TexLive 2011 and because of it I have lost
 the ability to install latex pacakges via apt-get. Where do I have to
 put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
 BTW.

All packages are update-able through tlmgr -gui. If you installed with 
sudo, so
you should use sudo tlmgr -gui.

 Thanks in advance and sorry for the OT.
 -
 Julio Rojas
 jcredbe...@gmail.com

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: OT: STY location

2011-09-23 Thread Julio Rojas
Not found. Was not part of TexLive 2011 or is not in the path.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 12:23 PM, Kornel Benko kornel.be...@berlin.de wrote:
 Am Freitag, 23. September 2011 schrieb Julio Rojas:

 Dear all, I have installed TexLive 2011 and because of it I have lost

 the ability to install latex pacakges via apt-get. Where do I have to

 put and sty file in order for texhash to find it? I'm on Ubuntu Natty,

 BTW.

 All packages are update-able through tlmgr -gui. If you installed with
 sudo, so

 you should use sudo tlmgr -gui.

 Thanks in advance and sorry for the OT.

 -

 Julio Rojas

 jcredbe...@gmail.com

 Kornel


Re: OT: STY location

2011-09-23 Thread Julio Rojas
Finally found it, searched for the package (undertilde). Two packages
which I don't recognize appeared. Installed both and voilá.

Thx!
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 12:25 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Not found. Was not part of TexLive 2011 or is not in the path.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Fri, Sep 23, 2011 at 12:23 PM, Kornel Benko kornel.be...@berlin.de wrote:
 Am Freitag, 23. September 2011 schrieb Julio Rojas:

 Dear all, I have installed TexLive 2011 and because of it I have lost

 the ability to install latex pacakges via apt-get. Where do I have to

 put and sty file in order for texhash to find it? I'm on Ubuntu Natty,

 BTW.

 All packages are update-able through tlmgr -gui. If you installed with
 sudo, so

 you should use sudo tlmgr -gui.

 Thanks in advance and sorry for the OT.

 -

 Julio Rojas

 jcredbe...@gmail.com

 Kornel



Re: OT: STY location

2011-09-23 Thread Kornel Benko
Am Freitag, 23. September 2011 schrieb Julio Rojas:
 Not found. Was not part of TexLive 2011 or is not in the path.

It _is_ part of texlive 2011. Here it is under
/usr/local/texlive/2011/bin/x86_64-linux/tlmgr
(Using natty too)

Kornel
 -
 Julio Rojas
 jcredbe...@gmail.com
 
 On Fri, Sep 23, 2011 at 12:23 PM, Kornel Benko kornel.be...@berlin.de wrote:
  Am Freitag, 23. September 2011 schrieb Julio Rojas:
  Dear all, I have installed TexLive 2011 and because of it I have lost
  
  the ability to install latex pacakges via apt-get. Where do I have to
  
  put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
  
  BTW.
  
  All packages are update-able through tlmgr -gui. If you installed with
  sudo, so
  
  you should use sudo tlmgr -gui.
  
  Thanks in advance and sorry for the OT.
  
  -
  
  Julio Rojas
  
  jcredbe...@gmail.com
  
  Kornel



signature.asc
Description: This is a digitally signed message part.


SV: indexes in texindy and utf8

2011-09-23 Thread Ingar Pareliussen
Hi

I have solved my problem, and learned somethings along the way, as it often 
goes :). (I use LyX 2.0.1 for Linux, btw)

To help others with indexes in Lyx. It seems that indexes are very fragile, 
especially if they are placed in other environments than standard, and one 
should also be aware that marking the insets with emphasis could break indexes. 
emphasis inside the insets are fine, it seems.

Another stumbling block is that there are two places to put the options for the 
texindy, one in the lyx-setup and one in the document-setup. I did not have 
them in the document and thus the language option was not passed on to texindy.

I also learned that texindy uses LIRC format internally even if the TeX-file is 
in UTF8 when pdflatex is used. And thus only the language option needs to be 
passed along (-L norwegian). In XeTeX texindy uses utf8 and may need -C utf8 in 
addition but I have not tested this...

I hope this will be helpful for someone :).

Ingar Pareliussen

insert filename

2011-09-23 Thread Horst Jurkat

Hallo,

i use info-insert buffer name to insert the current filename in the 
document.


Is there a possibility to do that without the fileextension (*.lyx)?

Thanyou in advance.

Horst



Re: insert filename

2011-09-23 Thread Stephen Buonopane


On Sep 23, 2011, at 7:31 AM, Horst Jurkat wrote:

i use info-insert buffer name to insert the current filename in  
the document.

Is there a possibility to do that without the fileextension (*.lyx)?



in TexCode (ERT)
\jobname




Lyx color schemes and beamer class

2011-09-23 Thread Ibot
Hi all,

currently i'm trying to figure out how to change the lyx-editor-font-color
for the frame title when i use
the beamer-class.

In my case (lyx 2.0.1, ubuntu 10.04, dark-looks gnome-color-theme) this
color is blue
and i can't find the appropriate label under preference-lookfeel-colors to
change this color.

Does anyone know the appropriate label so that I maybe can assign via the
.lyx/preferences file
and the set_color command a different color for this particular element.

many thanks


Re: Lyx color schemes and beamer class

2011-09-23 Thread Jürgen Spitzmüller
Ibot wrote:
 Does anyone know the appropriate label so that I maybe can assign via the
 .lyx/preferences file
 and the set_color command a different color for this particular element.

You have to change the beamer.layout file. In the Style BeginFrame layout 
definition, change

Font
Series Bold
Size   Largest
Color  Blue
EndFont

to whatever you need.

For single documents, you can also paste something like

Style BeginFrame
  Font
Series Bold
Size   Largest
Color  Green
  EndFont
End

to Document  Seetings  Local Format, hit Validate and Apply.

HTH,
Jürgen




Re: Lyx color schemes and beamer class

2011-09-23 Thread David L. Johnson

On 09/23/2011 12:04 PM, Jürgen Spitzmüller wrote:

Ibot wrote:

Does anyone know the appropriate label so that I maybe can assign via the
.lyx/preferences file
and the set_color command a different color for this particular element.

You have to change the beamer.layout file. In the Style BeginFrame layout
definition, change

Font
 Series Bold
 Size   Largest
 Color  Blue
EndFont

to whatever you need.


You do have to be cautious about this, since an upgrade to a newer 
version of LyX will overwrite your changes.  Be sure at least to make a 
copy of any changes in any layout file.  Upgrades in most schemes will 
look for local changes in a configuration file and warn you before 
overwriting them, but not for basic system files such as this.


Can this be done in the user's preferences?


--

David L. Johnson

What am I on?  I'm on my bike, six hours a day, busting my ass.
What are you on?
--Lance Armstrong



Re: Lyx color schemes and beamer class

2011-09-23 Thread Jürgen Spitzmüller
David L. Johnson wrote:
 You do have to be cautious about this, since an upgrade to a newer 
 version of LyX will overwrite your changes.

Well, of course, the changed layout is to be put in the user directory, which 
will not be overriden (as opposed to the system directory).

Jürgen



Re: Lyx color schemes and beamer class

2011-09-23 Thread Ibot
Thank you,

this solved the problem. But I think this is very hard to be figured out
by an average user. I hope that using lyx color schemes will be somehow
easier/transparent in the future.

Many thanks and a nice weekend


On Fri, Sep 23, 2011 at 6:34 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 David L. Johnson wrote:
  You do have to be cautious about this, since an upgrade to a newer
  version of LyX will overwrite your changes.

 Well, of course, the changed layout is to be put in the user directory,
 which
 will not be overriden (as opposed to the system directory).

 Jürgen




Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Mukhtar Ullah mukhtar.ul...@informatik.uni-rostock.de írta:
 
 So, besides setting the TEXINPUTS, how do you include the image in your 
 document? Using \input or an external template?
 

I am using the \input command in ERT. You may try \input via child document 
as Martin suggested.

Hello:

I became interested in this one too.
However no matter whether I set the TEXINPUTS prefix or leave it as is
I always get error message:

!pdfTeX error: pdflatex (file ./inkscape.pdf): reading image file fail

I have linux, lyx-2.0.1 and texlive 2010-34.1.

What can be the problem?

Thanks,

bcsikos





Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Csikos Bela bcsikos...@freemail.hu írta:

I became interested in this one too.
However no matter whether I set the TEXINPUTS prefix or leave it as is
I always get error message:

!pdfTeX error: pdflatex (file ./inkscape.pdf): reading image file fail

I have linux, lyx-2.0.1 and texlive 2010-34.1.

What can be the problem?

I found what was the problem. The lyx file name and the pdf to be inserted
had the same file name (inkscape-try).

bcsikos



Re: insert filename

2011-09-23 Thread Guenter Milde
On 2011-09-23, Stephen Buonopane wrote:

 On Sep 23, 2011, at 7:31 AM, Horst Jurkat wrote:

 i use info-insert buffer name to insert the current filename in  
 the document.
 Is there a possibility to do that without the fileextension (*.lyx)?


 in TexCode (ERT)
 \jobname

Caveat: this does not work for a child document if the including parent is
translated: then the parents filename is the jobname.

Günter



Re: LyX and Inkscape

2011-09-23 Thread Guenter Milde
On 2011-09-23, Martin Hoßbach wrote:
 On 23.09.2011 10:20, PhilipPirrip wrote:
 Martin, can you please tell me what exactly one should do in LyX with
 those two files, a .pdf and a .tex?

 The files are used almost like a normal image. Instead of inserting 
 the image (usually inside a float), you insert a child document, select 
 the .tex-file, and switch to input instead of include. And then you 
 do what I was told before, so that LyX knows where the pdf-file can be 
 found... (-- TEXINPUTS)

Wouldn't this be a candidate for an external inset?
Then we might even have a preview in LyX.

Günter



LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-23 Thread Joe(theWordy)Philbrook

Hello. I'm a multi-boot, multi-Linux user. I chose LyX for a personal
writing project some time ago. And for the most part I've been happy with
that choice. But the spell checker in LyX2 is making me wish I knew how to
cleanly export my documents to LibreOffice. 

Now I'm not even talking about the horrible way the new spellchecker
responds to keyboard control. {Though some of it's shortcut keys conflict with
the ones in the pull down menu.  There doesn't appear to be a way to get
rid of it's sidebar when your done spellchecking without maneuvering the
mouse pointer to, and clicking on the little x icon} As much as I despise
that behavior it's nothing compared to the what it jumps around.

I have at times deliberately introduced non-words into my documents that I
don't want to permanently add to the dictionary. Sometimes it has to do
with quoting a character who doesn't spell (or speak) proper English.

Picture a big cartoon like character rubbing his head where somebody he
thought was a friend just broke a barstool over his head and the big guy turns
to his friend and says: Ya shoodna awda dun that Bobby! 

Now if that were actually part of my story, say in chapter 3, I'd have taken
care to spell check that part of the document while I was thinking about it so
that I would remember to use the ignore button... I always used to do this
by wrapping the part I wanted to spellcheck with lines like:

Spellcheck section begin gabaggge marker line
Spellcheck section end gabaggge marker line

Then I'd position the cursor someplace after the non-word gabaggge on
the first marker and press F7... Then as long as I remembered to stop
spellchecking when it reached the 2nd instance of gabaggge, I'd be
fine.

Well that doesn't work anymore. I might wrap chapter 10 in those
gabaggge lines and start spell checking chapter 10 only to suddenly
discover that all by itself the spellchecker decided to jump back to some
questionable word in chapter 3... sigh Even this wouldn't be so bad
except that many of the intentional non-words are a little less obvious
than the above fictional example. And in fact I'm not sure how many of them
I accidentally corrected before I noticed something distinctive that
couldn't have been in the section I thought I was spell checking. 

IS there a method to restrict the spellchecker to a limited range of the
document and/or to only check in a top to bottom in-line path that doesn't
skip around the document???

I really hope there is, because if there isn't I'm going to have to risk
damaging the .lyx file by using the command line version of Aspell on it...
Because I can't work with a spell checker that won't work where I tell it
to.

-- 
|  ~^~   ~^~
|  ?   ?   Joe (theWordy) Philbrook
|  ^J(tWdy)P
|\___/ jtw...@ttlc.net



Re: Iniciando

2011-09-23 Thread Arnold FERNÁNDEZ RIVAS
Hola LyX-eros, tengo una pequeñísima consulta, al generar una Bibliografía
automáticamente puedo hace citas a la misma, ¿cómo hago los mismo con las
figuras que voy agregando? Necesito que las imágenes esté en un capítulo
aparte y el texto en otro. Segura ya alguien resolvió este detalle. Saludos

Vicepresidente de la Comunidad de Software Libre de la Universidad Nacional
del Callao - UNACINUX.

*http://csl.unac.edu.pe

*
Miembro de Comité Directivo de la Escuela Profesional de Ingeniería
Ambiental y de Recursos Naturales de la UNAC


Re: LyX and Inkscape

2011-09-23 Thread Liviu Andronic
On Fri, Sep 23, 2011 at 11:19 PM, Guenter Milde mi...@users.berlios.de wrote:
 Wouldn't this be a candidate for an external inset?
 Then we might even have a preview in LyX.

Yes, I also thought that this may improve users' welfare.
Liviu


Re: LyX and Inkscape

2011-09-23 Thread Julien Rioux

On 23/09/2011 11:19 PM, Guenter Milde wrote:

On 2011-09-23, Martin Hoßbach wrote:

On 23.09.2011 10:20, PhilipPirrip wrote:

Martin, can you please tell me what exactly one should do in LyX with
those two files, a .pdf and a .tex?



The files are used almost like a normal image. Instead of inserting
the image (usually inside a float), you insert a child document, select
the .tex-file, and switch to input instead of include. And then you
do what I was told before, so that LyX knows where the pdf-file can be
found... (--  TEXINPUTS)


Wouldn't this be a candidate for an external inset?
Then we might even have a preview in LyX.

Günter




See this bug report: http://www.lyx.org/trac/ticket/7510
Basically, I was thinking the same as you, but was curious how people 
are using the format today even without a patch to LyX.


--
Julien



Re: Iniciando

2011-09-23 Thread Marcelo Acuña
 Hola ususarios de LyX, estoy iniciando el uso de LyX en la versión estable 
 según la fecha, tengo varias consultas que hacer, algunas de ellas son:


- ¿Cómo ingreso más de un autor cuando se usa la clase de documento book?
- ¿Cómo se colocan imágenes en la primera página, aparte del título, autor, 
fecha  cuando se usa la clase de documento book? Es el caso que se suele 
pedir escudos o logos de las Instituciones que participan o auspician los 
textos. 
- ¿Dónde puedo encontrar un foro en español que no solo se reduzca a esta 
lisata de correos?

Espero me puedan dar una ayuda, gracias.


 Hola,       vas a recibir mucha ayuda en esta lista si escribís tus consultas 
en inglés.
       No hay lista de correo de lyx en español, sólo hay un sitio con poca 
actividad sobre latex.
       Personalmente para la página de título utilizo otros programas más 
adecuados para el manejo de imágenes y luego genero con ellos archivos pdf que 
luego incluyo en el archivo lyx con la opción Insertar  Archivo  Material 
Externo.
       Muchos saben como hacerlo con lyx, pero como te digo, para obtener esas 
respuestas vas a tener que preguntar en inglés.
Saludos
Marcelo Acuña

Re: Iniciando

2011-09-23 Thread Marcelo Acuña
 Hola LyX-eros, tengo una pequeñísima consulta, al generar una Bibliografía 
 automáticamente puedo hace citas a la misma, ¿cómo hago los mismo con las 
 figuras que voy agregando? Necesito que las imágenes esté en un capítulo 
 aparte y el texto en otro. Segura ya alguien resolvió este detalle. Saludos



No entiendo la consulta, hay opción para índices de figuras separado del índice 
de contenido, no sé si eso es lo que buscás.
Saludos
Marcelo Acuña

Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-23 Thread Joe(theWordy)Philbrook

It would appear that on Sep 23, Joe(theWordy)Philbrook did say:

-snipped. .  .   .. .  .   .. .stuff

 IS there a method to restrict the spellchecker to a limited range of the
 document and/or to only check in a top to bottom in-line path that doesn't
 skip around the document???
 
 I really hope there is, because if there isn't I'm going to have to risk
 damaging the .lyx file by using the command line version of Aspell on it...
 Because I can't work with a spell checker that won't work where I tell it
 to.

While waiting in hopes of a better method, I figured out a very crude down
and dirty work around...

First, as previously described, I wrap the section of the document I intend to
spellcheck with the the begin and end marker lines. {with or without the
deliberately misspelled garbage word} But it MUST stand out visually. 

Then I open a garbage .lyx file and delete any existing content. Then I
switch back to the real file and mark  cut everything in between the
marker lines. Next I paste that into the garbage file and spellcheck that
file. When the spell checking is complete I can mark  cut the contents the
return to the real file, and paste the spellchecked content in between the
marker lines...

This at least works. But I shouldn't have to do it this way.

-- 
|^^^   ^^^
|o   o  Joe (theWordy) Philbrook
|^   J(tWdy)P
|   ___ jtw...@ttlc.net

   sigh



Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach

On 23.09.2011 02:18, Neal Becker wrote:

Why wouldn't you just save as svg?


If we just talk about an illustration, I would save it as pdf and then 
include the pdf. However, if the illustration contains anything in text, 
then if I saved it as a pdf I would have the text in the font that 
inkscape used. I believe that this looks ugly: Anything in the finished 
document should be in the same font.


So if I use this pdf+latex format, the text will be rendered by LaTeX, 
at the positions specified by inkscape, but using the documents font. 
Also, you can then use LaTeX-Commands in your illustration, for example 
the math mode...


If anyone is interested: something similar can be done with gnuplot, 
using the epslatex-terminal (then you just need to convert the eps-file 
to pdf), and also with dia.


Martin


Re: LyX and Inkscape

2011-09-23 Thread PhilipPirrip

On 09/23/2011 09:22 AM, Martin Hoßbach wrote:


If anyone is interested: something similar can be done with gnuplot,
using the epslatex-terminal (then you just need to convert the eps-file
to pdf), and also with dia.



Martin, can you please tell me what exactly one should do in LyX with 
those two files, a .pdf and a .tex?





Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach

On 23.09.2011 10:20, PhilipPirrip wrote:

Martin, can you please tell me what exactly one should do in LyX with
those two files, a .pdf and a .tex?


The files are used almost like a "normal image". Instead of inserting 
the image (usually inside a float), you insert a child document, select 
the .tex-file, and switch to "input" instead of "include". And then you 
do what I was told before, so that LyX knows where the pdf-file can be 
found... (--> TEXINPUTS)


Martin


--
Dipl.Inform. Martin Hoßbach
Research Assistant 'Cognitive Computing & Medical Imaging'

Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
Tel +49 6151 155-585  |  Fax +49 6151 155-480
martin.hossb...@igd.fraunhofer.de  |  www.igd.fraunhofer.de


Re: LyX and Inkscape

2011-09-23 Thread Julio Rojas
Martin, I have generated one testing image with a black square and a
test formula. I can see the formula in the PDF. I thought the formula
was added at compilation time with the PDF_Tex file. Isn't it so?

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 10:26 AM, Martin Hoßbach
 wrote:
> On 23.09.2011 10:20, PhilipPirrip wrote:
>>
>> Martin, can you please tell me what exactly one should do in LyX with
>> those two files, a .pdf and a .tex?
>
> The files are used almost like a "normal image". Instead of inserting the
> image (usually inside a float), you insert a child document, select the
> .tex-file, and switch to "input" instead of "include". And then you do what
> I was told before, so that LyX knows where the pdf-file can be found... (-->
> TEXINPUTS)
>
> Martin
>
>
> --
> Dipl.Inform. Martin Hoßbach
> Research Assistant 'Cognitive Computing & Medical Imaging'
>
> Fraunhofer-Institut für Graphische Datenverarbeitung IGD
> Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
> Tel +49 6151 155-585  |  Fax +49 6151 155-480
> martin.hossb...@igd.fraunhofer.de  |  www.igd.fraunhofer.de
>


Re: LyX and Inkscape

2011-09-23 Thread Mukhtar Ullah
 
> So, besides setting the TEXINPUTS, how do you include the image in your 
> document? Using \input or an external template?
> 

I am using the \input command in ERT. You may try \input via child document as
Martin suggested.

Mukhtar




OT: STY location

2011-09-23 Thread Julio Rojas
Dear all, I have installed TexLive 2011 and because of it I have lost
the ability to install latex pacakges via apt-get. Where do I have to
put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
BTW.

Thanks in advance and sorry for the OT.
-
Julio Rojas
jcredbe...@gmail.com


Re: OT: STY location

2011-09-23 Thread Julio Rojas
Compiled it myself.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 12:21 PM, ehud.kap...@gmail.com
 wrote:
> Did you compile Texlive 2011? If not, where did you get it?
> EK
>
> On 9/23/2011 6:10 AM, Julio Rojas wrote:
>
> Dear all, I have installed TexLive 2011 and because of it I have lost
> the ability to install latex pacakges via apt-get. Where do I have to
> put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
> BTW.
>
> Thanks in advance and sorry for the OT.
> -
> Julio Rojas
> jcredbe...@gmail.com
>
> --
> Ehud Kaplan, Ph.D.
> Jules and Doris Stein Research to Prevent Blindness Professor
> Director, Center of Excellence for Computational & System neuroscience,
> The Friedman Brain Institute, MSSM
> Director, The laboratory of Visual & Computational Neuroscience
> Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
> The Mount Sinai School of Medicine
> One Gustave Levy Place
> New York, NY, 10029
>


Re: OT: STY location

2011-09-23 Thread Kornel Benko
Am Freitag, 23. September 2011 schrieb Julio Rojas:
> Dear all, I have installed TexLive 2011 and because of it I have lost
> the ability to install latex pacakges via apt-get. Where do I have to
> put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
> BTW.

All packages are update-able through "tlmgr -gui". If you installed with 
"sudo", so
you should use "sudo tlmgr -gui".

> Thanks in advance and sorry for the OT.
> -
> Julio Rojas
> jcredbe...@gmail.com

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: OT: STY location

2011-09-23 Thread Julio Rojas
Not found. Was not part of TexLive 2011 or is not in the path.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 12:23 PM, Kornel Benko  wrote:
> Am Freitag, 23. September 2011 schrieb Julio Rojas:
>
>> Dear all, I have installed TexLive 2011 and because of it I have lost
>
>> the ability to install latex pacakges via apt-get. Where do I have to
>
>> put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
>
>> BTW.
>
> All packages are update-able through "tlmgr -gui". If you installed with
> "sudo", so
>
> you should use "sudo tlmgr -gui".
>
>> Thanks in advance and sorry for the OT.
>
>> -
>
>> Julio Rojas
>
>> jcredbe...@gmail.com
>
> Kornel


Re: OT: STY location

2011-09-23 Thread Julio Rojas
Finally found it, searched for the package (undertilde). Two packages
which I don't recognize appeared. Installed both and voilá.

Thx!
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 23, 2011 at 12:25 PM, Julio Rojas  wrote:
> Not found. Was not part of TexLive 2011 or is not in the path.
> -
> Julio Rojas
> jcredbe...@gmail.com
>
>
>
> On Fri, Sep 23, 2011 at 12:23 PM, Kornel Benko  wrote:
>> Am Freitag, 23. September 2011 schrieb Julio Rojas:
>>
>>> Dear all, I have installed TexLive 2011 and because of it I have lost
>>
>>> the ability to install latex pacakges via apt-get. Where do I have to
>>
>>> put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
>>
>>> BTW.
>>
>> All packages are update-able through "tlmgr -gui". If you installed with
>> "sudo", so
>>
>> you should use "sudo tlmgr -gui".
>>
>>> Thanks in advance and sorry for the OT.
>>
>>> -
>>
>>> Julio Rojas
>>
>>> jcredbe...@gmail.com
>>
>> Kornel
>


Re: OT: STY location

2011-09-23 Thread Kornel Benko
Am Freitag, 23. September 2011 schrieb Julio Rojas:
> Not found. Was not part of TexLive 2011 or is not in the path.

It _is_ part of texlive 2011. Here it is under
/usr/local/texlive/2011/bin/x86_64-linux/tlmgr
(Using natty too)

Kornel
> -
> Julio Rojas
> jcredbe...@gmail.com
> 
> On Fri, Sep 23, 2011 at 12:23 PM, Kornel Benko  wrote:
> > Am Freitag, 23. September 2011 schrieb Julio Rojas:
> >> Dear all, I have installed TexLive 2011 and because of it I have lost
> >> 
> >> the ability to install latex pacakges via apt-get. Where do I have to
> >> 
> >> put and sty file in order for texhash to find it? I'm on Ubuntu Natty,
> >> 
> >> BTW.
> > 
> > All packages are update-able through "tlmgr -gui". If you installed with
> > "sudo", so
> > 
> > you should use "sudo tlmgr -gui".
> > 
> >> Thanks in advance and sorry for the OT.
> >> 
> >> -
> >> 
> >> Julio Rojas
> >> 
> >> jcredbe...@gmail.com
> > 
> > Kornel



signature.asc
Description: This is a digitally signed message part.


SV: indexes in texindy and utf8

2011-09-23 Thread Ingar Pareliussen
Hi

I have solved my problem, and learned somethings along the way, as it often 
goes :). (I use LyX 2.0.1 for Linux, btw)

To help others with indexes in Lyx. It seems that indexes are very fragile, 
especially if they are placed in other environments than standard, and one 
should also be aware that marking the insets with emphasis could break indexes. 
emphasis inside the insets are fine, it seems.

Another stumbling block is that there are two places to put the options for the 
texindy, one in the lyx-setup and one in the document-setup. I did not have 
them in the document and thus the language option was not passed on to texindy.

I also learned that texindy uses LIRC format internally even if the TeX-file is 
in UTF8 when pdflatex is used. And thus only the language option needs to be 
passed along (-L norwegian). In XeTeX texindy uses utf8 and may need -C utf8 in 
addition but I have not tested this...

I hope this will be helpful for someone :).

Ingar Pareliussen

insert filename

2011-09-23 Thread Horst Jurkat

Hallo,

i use "info-insert buffer name" to insert the current filename in the 
document.


Is there a possibility to do that without the fileextension (*.lyx)?

Thanyou in advance.

Horst



Re: insert filename

2011-09-23 Thread Stephen Buonopane


On Sep 23, 2011, at 7:31 AM, Horst Jurkat wrote:

i use "info-insert buffer name" to insert the current filename in  
the document.

Is there a possibility to do that without the fileextension (*.lyx)?



in TexCode (ERT)
\jobname




Lyx color schemes and beamer class

2011-09-23 Thread Ibot
Hi all,

currently i'm trying to figure out how to change the lyx-editor-font-color
for the frame title when i use
the beamer-class.

In my case (lyx 2.0.1, ubuntu 10.04, dark-looks gnome-color-theme) this
color is blue
and i can't find the appropriate label under preference->look to
change this color.

Does anyone know the appropriate label so that I maybe can assign via the
.lyx/preferences file
and the set_color command a different color for this particular element.

many thanks


Re: Lyx color schemes and beamer class

2011-09-23 Thread Jürgen Spitzmüller
Ibot wrote:
> Does anyone know the appropriate label so that I maybe can assign via the
> .lyx/preferences file
> and the set_color command a different color for this particular element.

You have to change the beamer.layout file. In the "Style BeginFrame" layout 
definition, change

Font
Series Bold
Size   Largest
Color  Blue
EndFont

to whatever you need.

For single documents, you can also paste something like

Style BeginFrame
  Font
Series Bold
Size   Largest
Color  Green
  EndFont
End

to Document > Seetings > Local Format, hit "Validate" and "Apply".

HTH,
Jürgen




Re: Lyx color schemes and beamer class

2011-09-23 Thread David L. Johnson

On 09/23/2011 12:04 PM, Jürgen Spitzmüller wrote:

Ibot wrote:

Does anyone know the appropriate label so that I maybe can assign via the
.lyx/preferences file
and the set_color command a different color for this particular element.

You have to change the beamer.layout file. In the "Style BeginFrame" layout
definition, change

Font
 Series Bold
 Size   Largest
 Color  Blue
EndFont

to whatever you need.


You do have to be cautious about this, since an upgrade to a newer 
version of LyX will overwrite your changes.  Be sure at least to make a 
copy of any changes in any layout file.  Upgrades in most schemes will 
look for local changes in a configuration file and warn you before 
overwriting them, but not for basic system files such as this.


Can this be done in the user's preferences?


--

David L. Johnson

"What am I on?  I'm on my bike, six hours a day, busting my ass.
What are you on?"
--Lance Armstrong



Re: Lyx color schemes and beamer class

2011-09-23 Thread Jürgen Spitzmüller
David L. Johnson wrote:
> You do have to be cautious about this, since an upgrade to a newer 
> version of LyX will overwrite your changes.

Well, of course, the changed layout is to be put in the user directory, which 
will not be overriden (as opposed to the system directory).

Jürgen



Re: Lyx color schemes and beamer class

2011-09-23 Thread Ibot
Thank you,

this solved the problem. But I think this is very hard to be figured out
by an average user. I hope that using "lyx color schemes" will be somehow
easier/transparent in the future.

Many thanks and a nice weekend


On Fri, Sep 23, 2011 at 6:34 PM, Jürgen Spitzmüller  wrote:

> David L. Johnson wrote:
> > You do have to be cautious about this, since an upgrade to a newer
> > version of LyX will overwrite your changes.
>
> Well, of course, the changed layout is to be put in the user directory,
> which
> will not be overriden (as opposed to the system directory).
>
> Jürgen
>
>


Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Mukhtar Ullah  írta:
> >
> So, besides setting the TEXINPUTS, how do you include the image in your >
> document? Using \input or an external template?>
> >
>
>I am using the \input command in ERT. You may try \input via child document 
>>as Martin suggested.

Hello:

I became interested in this one too.
However no matter whether I set the TEXINPUTS prefix or leave it as is
I always get error message:

!pdfTeX error: pdflatex (file ./inkscape.pdf): reading image file fail

I have linux, lyx-2.0.1 and texlive 2010-34.1.

What can be the problem?

Thanks,

bcsikos





Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Csikos Bela  írta:

>I became interested in this one too.
>However no matter whether I set the TEXINPUTS prefix or leave it as is
>I always get error message:>
>
>!pdfTeX error: pdflatex (file ./inkscape.pdf): reading image file fail
>
>I have linux, lyx-2.0.1 and texlive 2010-34.1.
>
>What can be the problem?

I found what was the problem. The lyx file name and the pdf to be inserted
had the same file name (inkscape-try).

bcsikos



Re: insert filename

2011-09-23 Thread Guenter Milde
On 2011-09-23, Stephen Buonopane wrote:

> On Sep 23, 2011, at 7:31 AM, Horst Jurkat wrote:

>> i use "info-insert buffer name" to insert the current filename in  
>> the document.
>> Is there a possibility to do that without the fileextension (*.lyx)?


> in TexCode (ERT)
> \jobname

Caveat: this does not work for a child document if the including parent is
translated: then the parents filename is the jobname.

Günter



Re: LyX and Inkscape

2011-09-23 Thread Guenter Milde
On 2011-09-23, Martin Hoßbach wrote:
> On 23.09.2011 10:20, PhilipPirrip wrote:
>> Martin, can you please tell me what exactly one should do in LyX with
>> those two files, a .pdf and a .tex?

> The files are used almost like a "normal image". Instead of inserting 
> the image (usually inside a float), you insert a child document, select 
> the .tex-file, and switch to "input" instead of "include". And then you 
> do what I was told before, so that LyX knows where the pdf-file can be 
> found... (--> TEXINPUTS)

Wouldn't this be a candidate for an external inset?
Then we might even have a preview in LyX.

Günter



LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-23 Thread Joe(theWordy)Philbrook

Hello. I'm a multi-boot, multi-Linux user. I chose LyX for a personal
writing project some time ago. And for the most part I've been happy with
that choice. But the spell checker in LyX2 is making me wish I knew how to
cleanly export my documents to LibreOffice. 

Now I'm not even talking about the horrible way the new spellchecker
responds to keyboard control. {Though some of it's shortcut keys conflict with
the ones in the pull down menu. & There doesn't appear to be a way to get
rid of it's sidebar when your done spellchecking without maneuvering the
mouse pointer to, and clicking on the little x icon} As much as I despise
that behavior it's nothing compared to the what it jumps around.

I have at times deliberately introduced non-words into my documents that I
don't want to permanently add to the dictionary. Sometimes it has to do
with quoting a character who doesn't spell (or speak) proper English.

Picture a big cartoon like character rubbing his head where somebody he
thought was a friend just broke a barstool over his head and the big guy turns
to his friend and says: "Ya shoodna awda dun that Bobby!" 

Now if that were actually part of my "story", say in chapter 3, I'd have taken
care to spell check that part of the document while I was thinking about it so
that I would remember to use the ignore button... I always used to do this
by wrapping the part I wanted to spellcheck with lines like:

Spellcheck section begin gabaggge marker line
Spellcheck section end gabaggge marker line

Then I'd position the cursor someplace after the non-word "gabaggge" on
the first marker and press F7... Then as long as I remembered to stop
spellchecking when it reached the 2nd instance of gabaggge, I'd be
fine.

Well that doesn't work anymore. I might wrap chapter 10 in those
gabaggge lines and start spell checking chapter 10 only to suddenly
discover that all by itself the spellchecker decided to jump back to some
questionable word in chapter 3...  Even this wouldn't be so bad
except that many of the intentional non-words are a little less obvious
than the above fictional example. And in fact I'm not sure how many of them
I accidentally corrected before I noticed something distinctive that
couldn't have been in the section I thought I was spell checking. 

IS there a method to restrict the spellchecker to a limited range of the
document and/or to only check in a top to bottom in-line path that doesn't
skip around the document???

I really hope there is, because if there isn't I'm going to have to risk
damaging the .lyx file by using the command line version of Aspell on it...
Because I can't work with a spell checker that won't work where I tell it
to.

-- 
|  ~^~   ~^~
|Joe (theWordy) Philbrook
|  ^J(tWdy)P
|\___/ <>



Re: Iniciando

2011-09-23 Thread Arnold FERNÁNDEZ RIVAS
Hola LyX-eros, tengo una pequeñísima consulta, al generar una Bibliografía
automáticamente puedo hace citas a la misma, ¿cómo hago los mismo con las
figuras que voy agregando? Necesito que las imágenes esté en un capítulo
aparte y el texto en otro. Segura ya alguien resolvió este detalle. Saludos

Vicepresidente de la Comunidad de Software Libre de la Universidad Nacional
del Callao - UNACINUX.

*http://csl.unac.edu.pe

*
Miembro de Comité Directivo de la Escuela Profesional de Ingeniería
Ambiental y de Recursos Naturales de la UNAC


Re: LyX and Inkscape

2011-09-23 Thread Liviu Andronic
On Fri, Sep 23, 2011 at 11:19 PM, Guenter Milde  wrote:
> Wouldn't this be a candidate for an external inset?
> Then we might even have a preview in LyX.
>
Yes, I also thought that this may improve users' welfare.
Liviu


Re: LyX and Inkscape

2011-09-23 Thread Julien Rioux

On 23/09/2011 11:19 PM, Guenter Milde wrote:

On 2011-09-23, Martin Hoßbach wrote:

On 23.09.2011 10:20, PhilipPirrip wrote:

Martin, can you please tell me what exactly one should do in LyX with
those two files, a .pdf and a .tex?



The files are used almost like a "normal image". Instead of inserting
the image (usually inside a float), you insert a child document, select
the .tex-file, and switch to "input" instead of "include". And then you
do what I was told before, so that LyX knows where the pdf-file can be
found... (-->  TEXINPUTS)


Wouldn't this be a candidate for an external inset?
Then we might even have a preview in LyX.

Günter




See this bug report: http://www.lyx.org/trac/ticket/7510
Basically, I was thinking the same as you, but was curious how people 
are using the format today even without a patch to LyX.


--
Julien



Re: Iniciando

2011-09-23 Thread Marcelo Acuña
> Hola ususarios de LyX, estoy iniciando el uso de LyX en la versión estable 
> según la fecha, tengo varias consultas que hacer, algunas de ellas son:

>
>- ¿Cómo ingreso más de un autor cuando se usa la clase de documento "book"?
>- ¿Cómo se colocan imágenes en la primera página, aparte del título, autor, 
>fecha  cuando se usa la clase de documento "book"? Es el caso que se suele 
>pedir> escudos o logos de las Instituciones que participan o auspician los 
>textos. 
>- ¿Dónde puedo encontrar un foro en español que no solo se reduzca a esta 
>lisata de correos?
>
>Espero me puedan dar una ayuda, gracias.


 Hola,       vas a recibir mucha ayuda en esta lista si escribís tus consultas 
en inglés.
       No hay lista de correo de lyx en español, sólo hay un sitio con poca 
actividad sobre latex.
       Personalmente para la página de título utilizo otros programas más 
adecuados para el manejo de imágenes y luego genero con ellos archivos pdf que 
luego incluyo en el archivo lyx con la opción Insertar > Archivo > Material 
Externo.
       Muchos saben como hacerlo con lyx, pero como te digo, para obtener esas 
respuestas vas a tener que preguntar en inglés.
Saludos
Marcelo Acuña

Re: Iniciando

2011-09-23 Thread Marcelo Acuña
> Hola LyX-eros, tengo una pequeñísima consulta, al generar una Bibliografía 
> automáticamente puedo hace citas a la misma, ¿cómo hago los mismo con las 
> >figuras que voy agregando? Necesito que las imágenes esté en un capítulo 
> aparte y el texto en otro. Segura ya alguien resolvió este detalle. Saludos



No entiendo la consulta, hay opción para índices de figuras separado del índice 
de contenido, no sé si eso es lo que buscás.
Saludos
Marcelo Acuña

Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-23 Thread Joe(theWordy)Philbrook

It would appear that on Sep 23, Joe(theWordy)Philbrook did say:

-snipped. .  .   .. .  .   .. .stuff

> IS there a method to restrict the spellchecker to a limited range of the
> document and/or to only check in a top to bottom in-line path that doesn't
> skip around the document???
> 
> I really hope there is, because if there isn't I'm going to have to risk
> damaging the .lyx file by using the command line version of Aspell on it...
> Because I can't work with a spell checker that won't work where I tell it
> to.

While waiting in hopes of a better method, I figured out a very crude down
and dirty work around...

First, as previously described, I wrap the section of the document I intend to
spellcheck with the the begin and end marker lines. {with or without the
deliberately misspelled garbage word} But it MUST stand out visually. 

Then I open a garbage .lyx file and delete any existing content. Then I
switch back to the real file and mark & cut everything in between the
marker lines. Next I paste that into the garbage file and spellcheck that
file. When the spell checking is complete I can mark & cut the contents the
return to the real file, and paste the spellchecked content in between the
marker lines...

This at least works. But I shouldn't have to do it this way.

-- 
|^^^   ^^^
| Joe (theWordy) Philbrook
|^   J(tWdy)P
|   ___ <>