Re: ACM

2008-10-15 Thread Julio Rojas
Sorry Uwe, I never meant to point the problem towards tex2lyx. As a
matter of fact, I had a bad problem with my texlive installation, due
to some files left over the /etc/texmf/updmap.d folder that didn't let
me make the upgrades needed to render the PDF. I have solved the
problem of the fonts and I will download the new version of the
layout.

The only worrying point is that LyX never reported the fonts problem
while rendering the PDF. The PDF was rendered, but as the file sent to
the list show, it was badly generated. I tried compiling the tex file
by hand and the fonts problem was shown as messages. Why could this
happen?
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Oct 14, 2008 at 9:43 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 BTW, I'm using the ACM Sigplan layout and something weird, that can be
 related to the problem with tex2lyx, is happening. Whe compiling the
 sample document or just a basic document, no errors are produced but
 the PDF/DVI document seems to lack the fonts needed.

 I cannot reproduce this. All output formats are OK, seems that your LaTeX
 system has a problem.

 Why do you think this is related to tex2lyx? You haven't used tex2lyx and
 tex2lyx is a program of its own.

 I just updated the layout and template file you find at
 http://wiki.lyx.org/Examples/AcmSigplan
 So try out again using these files. Note that they are for LyX 1.5.6, not
 LyX 1.6 test releases.

 regards Uwe



Re: tex2lyx problem

2008-10-15 Thread Julio Rojas
Reported as bug 5364.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 2:11 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 I discovered the problem. I had folder names with spaces and accented
 letters. I renamed the folders and everything was alright. Seems that
 filenames don't have relative paths, but absolute ones, making tex2lyx
 crash in the process when the path has spaces. Is this a bug?

 Yes, this is a known bug. folder and file names must not have any non-ASCII
 character.
 But as tex2lyx is a program of its own, we need to fix this separately. Can
 you therefore please report this as new bug to bugzilla.lyx.org ?

 thanks and regards
 Uwe



Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Keith Roberts
I'm working my way through the first 3 documents under the 
help menu in LyX 1.5.6


In the meantime, can someone please tell me if it's possible 
to create hyper-linked cross-references that can be clicked 
on in a PDF file?


Here is an example of what I would like to do in a PDF 
document created using LyX:


http://download.virtualbox.org/virtualbox/2.0.2/UserManual.pdf

Kind Regards,

Keith Roberts

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

The mind of the prudent is ever getting knowledge, and the
eear of the wise is ever seeking, inquiring for and craving
knowledge. Pr. 18:15 Amp

Where will you spend Eternity?
http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-


Picture's background

2008-10-15 Thread Ralt

Hi,

I'm quite new to LyX, and I have so searched a lot in documentation. But it
hasn't helped me to know how to have a specific picture as background (JPEG,
PNG, w/e). So it's maybe very easy, if so I'm sorry, but I haven't found.

Can you please explain?

Regards,
Ralt.
-- 
View this message in context: 
http://n2.nabble.com/Picture%27s-background-tp1336800p1336800.html
Sent from the LyX - Users mailing list archive at Nabble.com.



a problem with preamble and header / footer

2008-10-15 Thread Erez Yerushalmi
Dear all,

I am using lyx 1.5.5 (still) , windows xp, document class article

I want to add some simple headers into the heading with the command  such
as:

 \rhead{Erez}

but I get an error such as :
undefined control sequence
LaTeX Error: Missing \begin{document}.

Can anyone tell me why??

Regards, Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Richard Heck

Keith Roberts wrote:
I'm working my way through the first 3 documents under the help menu 
in LyX 1.5.6


In the meantime, can someone please tell me if it's possible to create 
hyper-linked cross-references that can be clicked on in a PDF file?


Yes, you just have to use the hyperref package. There will be native 
support for this in 1.6. In 1.5, you have to include it manually in the 
preamble. There must be stuff on the wiki about this.


rh



Re: a problem with preamble and header / footer

2008-10-15 Thread Richard Heck

Erez Yerushalmi wrote:

Dear all,

I am using lyx 1.5.5 (still) , windows xp, document class article

I want to add some simple headers into the heading with the command  such
as:

 \rhead{Erez}

but I get an error such as :
undefined control sequence
LaTeX Error: Missing \begin{document}.

Can anyone tell me why??

  

You have to use the fancy page style.

rh



Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint

2008-10-15 Thread Manveru
2008/10/15 Abdelrazak Younes [EMAIL PROTECTED]:


 On 14/10/2008 13:15, Manveru wrote:
 The whole problem leads me to the question why LyX cannot have two
 tabs in preamble setting window, one for user preamble entries
 _BEFORE_ LyX generated and second for these _AFTER_ LyX generated?
 This could satisfy more advanced users; me too sometimes.

 That's an interesting idea actually. Indeed why not?

 Abdel.

As I personally like this idea... I've just add an enhancement request
to Bugzilla:
http://bugzilla.lyx.org/show_bug.cgi?id=5366

-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Uwe Stöhr

Keith Roberts schrieb:

In the meantime, can someone please tell me if it's possible to create 
hyper-linked cross-references that can be clicked on in a PDF file?


You have to use the LateX-package hyperref in the document preamble. For an example, have a look 
at the preamble of LyX's UserGuide and start with this code.


In the next release LyX 1.6.0 hyperref support is available in the document setting under 
PDF Options.

regards Uwe


Re: ACM

2008-10-15 Thread Julio Rojas
I have moved from my Ubuntu PC where everything was alright to my
Vista PC. I installed the class file and the LyX layout. Reconfigured
LyX, reconfigured MikTeX and when I try to open my file a message
appears telling me:

The document class sigplanconf could not be loaded.

If I try to manually set the class (via Document - Configuration) to
ACM SIGPLAN, the same message is presented and another one that says:

Unable to set the document class.

Any ideas?
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 2:46 PM, Julio Rojas [EMAIL PROTECTED] wrote:
 BTW, while using this layout I could see that inserting a Keywords
 environment inserts a Topics environment instead.
 -
 Julio Rojas
 [EMAIL PROTECTED]



 On Wed, Oct 15, 2008 at 10:00 AM, Julio Rojas [EMAIL PROTECTED] wrote:
 Sorry Uwe, I never meant to point the problem towards tex2lyx. As a
 matter of fact, I had a bad problem with my texlive installation, due
 to some files left over the /etc/texmf/updmap.d folder that didn't let
 me make the upgrades needed to render the PDF. I have solved the
 problem of the fonts and I will download the new version of the
 layout.

 The only worrying point is that LyX never reported the fonts problem
 while rendering the PDF. The PDF was rendered, but as the file sent to
 the list show, it was badly generated. I tried compiling the tex file
 by hand and the fonts problem was shown as messages. Why could this
 happen?
 -
 Julio Rojas
 [EMAIL PROTECTED]



 On Tue, Oct 14, 2008 at 9:43 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 BTW, I'm using the ACM Sigplan layout and something weird, that can be
 related to the problem with tex2lyx, is happening. Whe compiling the
 sample document or just a basic document, no errors are produced but
 the PDF/DVI document seems to lack the fonts needed.

 I cannot reproduce this. All output formats are OK, seems that your LaTeX
 system has a problem.

 Why do you think this is related to tex2lyx? You haven't used tex2lyx and
 tex2lyx is a program of its own.

 I just updated the layout and template file you find at
 http://wiki.lyx.org/Examples/AcmSigplan
 So try out again using these files. Note that they are for LyX 1.5.6, not
 LyX 1.6 test releases.

 regards Uwe





Different page margins in one document

2008-10-15 Thread Daniel Klein
Hi everybody,

I would like to have different page margins in the table section of my
document that in the rest of the documtent.

I added this before the Table section in ERT

\setlength{\evensidemargin}{-1cm}
\setlength{\oddsidemargin}{-1cm}
\addtolength{\textwidth}{2cm}

Unfortunately only everything else but the caption width adjusts. Any
suggestions to make the caption to adjust, too? Thanks in advance

Best
-Daniel
-- 

Daniel Klein
University of Mannheim
L9, 1-2 (Room 507), 68131 Mannheim
Phone: +49-(0)621-181-1974
Fax: +49-(0)621-181-1980


Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Erez Yerushalmi
Hi All,

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint, convert to jpg, and
finally import to my LyX document.


For example, see jpg drawing I've attached.

However, this is bad since Power Point is not good for math.
It would also be much easier to just copy and paste my LyX/latex code into
the PowerPoint presentation if possible.

Can anyone suggest a good drawing program?
Can Beamer do this??  I haven't used it yet (I admit).

Thanks, Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi
attachment: Inequality constraint case 1.jpg

Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Julio Rojas
Inkscape. Not direct latex code, but very very good.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 5:55 PM, Erez Yerushalmi
[EMAIL PROTECTED] wrote:
 Hi All,

 I'm an intermediate lyx user (1.5.5, windows).
 So far, I draw various pictures on MS PowerPoint, convert to jpg, and
 finally import to my LyX document.


 For example, see jpg drawing I've attached.

 However, this is bad since Power Point is not good for math.
 It would also be much easier to just copy and paste my LyX/latex code into
 the PowerPoint presentation if possible.

 Can anyone suggest a good drawing program?
 Can Beamer do this??  I haven't used it yet (I admit).

 Thanks, Erez

 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK
 http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi



Re: LaTeX Error with Curriculum Vitae (European)

2008-10-15 Thread Max Nabble


Jeby wrote:
 \usepackage
{geometry}
 The package inputenc has already been loaded with options:
   [utf8x]
 There has now been an attempt to load it with options
   [latin9]
 Adding the global options:
   utf8x,latin9
 to your \documentclass declaration may fix this.
 Try typing  return  to proceed.

Go to LyX - Document - Settings - Language and set the encoding to utf8x
if it is not already set. That should help. Generally, I recommend always to
use utf8x (or other unicode), other encodings are older and therefore more
limited and why should you limit yourself?

Max
-- 
View this message in context: 
http://n2.nabble.com/LaTeX-Error-with-Curriculum-Vitae-%28European%29-tp1330429p1336567.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Joost Verburg

Erez Yerushalmi wrote:

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint, convert to jpg, and 
finally import to my LyX document.


For vector images you'll get much better quality when you export to emf 
instead of jpg.


Joost



Re: ACM

2008-10-15 Thread Uwe Stöhr

Julio Rojas schrieb:


I have moved from my Ubuntu PC where everything was alright to my
Vista PC. I installed the class file and the LyX layout. Reconfigured
LyX, reconfigured MikTeX


You need to do the opposite: First refresh MiKTeX's file name databasse, then 
reconfigure LyX.


Any ideas?


Nothing further.

regards Uwe


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Ernesto Posse
Another possibility is to use Dia. In Dia, you can write latex
formulas in text boxes, and then you export them as Metapost macros
(mp). You then use metapost (mpost) to generate eps files (metapost
saves them with extensions .1, .2, etc, but then you simply rename
them to .eps and import them in Lyx).



On Wed, Oct 15, 2008 at 12:55 PM, Guy Rutenberg [EMAIL PROTECTED] wrote:
 Julio Rojas [EMAIL PROTECTED] writes:


 Inkscape. Not direct latex code, but very very good.
 -
 Julio Rojas
 [EMAIL PROTECTED]


 @Erez: Inkscape http://www.inkscape.org is a vector drawing program. It can
 generate .eps figures you can easily embed in you document (and they are
 resolution independent).

 Another great feature of Inkscape that makes it great tool for mathematical
 figures is it's ability (via plugins) to embed LaTeX formulas in the figures
 (great for labels).



 Regards,

 Guy

 
 http://www.guyrutenberg.com





-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: ACM

2008-10-15 Thread Julio Rojas
BTW, while using this layout I could see that inserting a Keywords
environment inserts a Topics environment instead.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 10:00 AM, Julio Rojas [EMAIL PROTECTED] wrote:
 Sorry Uwe, I never meant to point the problem towards tex2lyx. As a
 matter of fact, I had a bad problem with my texlive installation, due
 to some files left over the /etc/texmf/updmap.d folder that didn't let
 me make the upgrades needed to render the PDF. I have solved the
 problem of the fonts and I will download the new version of the
 layout.

 The only worrying point is that LyX never reported the fonts problem
 while rendering the PDF. The PDF was rendered, but as the file sent to
 the list show, it was badly generated. I tried compiling the tex file
 by hand and the fonts problem was shown as messages. Why could this
 happen?
 -
 Julio Rojas
 [EMAIL PROTECTED]



 On Tue, Oct 14, 2008 at 9:43 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 BTW, I'm using the ACM Sigplan layout and something weird, that can be
 related to the problem with tex2lyx, is happening. Whe compiling the
 sample document or just a basic document, no errors are produced but
 the PDF/DVI document seems to lack the fonts needed.

 I cannot reproduce this. All output formats are OK, seems that your LaTeX
 system has a problem.

 Why do you think this is related to tex2lyx? You haven't used tex2lyx and
 tex2lyx is a program of its own.

 I just updated the layout and template file you find at
 http://wiki.lyx.org/Examples/AcmSigplan
 So try out again using these files. Note that they are for LyX 1.5.6, not
 LyX 1.6 test releases.

 regards Uwe




Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Robert Orr


LaTeXDraw is something else you could try



--- On Wed, 10/15/08, Julio Rojas [EMAIL PROTECTED] wrote:

 From: Julio Rojas [EMAIL PROTECTED]
 Subject: Re: Can you suggest a good way to draw pictures with latex code?
 To: LyX User lyx-users@lists.lyx.org
 Date: Wednesday, October 15, 2008, 12:08 PM
 Inkscape. Not direct latex code, but very very good.
 -
 Julio Rojas
 [EMAIL PROTECTED]
 
 
 
 On Wed, Oct 15, 2008 at 5:55 PM, Erez Yerushalmi
 [EMAIL PROTECTED] wrote:
  Hi All,
 
  I'm an intermediate lyx user (1.5.5, windows).
  So far, I draw various pictures on MS PowerPoint,
 convert to jpg, and
  finally import to my LyX document.
 
 
  For example, see jpg drawing I've attached.
 
  However, this is bad since Power Point is not good for
 math.
  It would also be much easier to just copy and paste my
 LyX/latex code into
  the PowerPoint presentation if possible.
 
  Can anyone suggest a good drawing program?
  Can Beamer do this??  I haven't used it yet (I
 admit).
 
  Thanks, Erez
 
  --
  Erez Yerushalmi
  PhD Student
  Warwick University, UK
 
 http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi
 


  


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread A. Scottedward Hodel
Under Mac OS X and Linux I've used xfig for many years.   fig2dev  
allows direct translation to LaTeX code as either picture, epic, or  
eepic.


On Oct 15, 2008, at 12:47 PM, Robert Orr wrote:




LaTeXDraw is something else you could try



--- On Wed, 10/15/08, Julio Rojas [EMAIL PROTECTED] wrote:


From: Julio Rojas [EMAIL PROTECTED]
Subject: Re: Can you suggest a good way to draw pictures with latex  
code?

To: LyX User lyx-users@lists.lyx.org
Date: Wednesday, October 15, 2008, 12:08 PM
Inkscape. Not direct latex code, but very very good.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 5:55 PM, Erez Yerushalmi
[EMAIL PROTECTED] wrote:

Hi All,

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint,

convert to jpg, and

finally import to my LyX document.


For example, see jpg drawing I've attached.

However, this is bad since Power Point is not good for

math.

It would also be much easier to just copy and paste my

LyX/latex code into

the PowerPoint presentation if possible.

Can anyone suggest a good drawing program?
Can Beamer do this??  I haven't used it yet (I

admit).


Thanks, Erez

--
Erez Yerushalmi
PhD Student
Warwick University, UK


http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi








A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar





Re: tex2lyx problem

2008-10-15 Thread Uwe Stöhr

Julio Rojas schrieb:


I discovered the problem. I had folder names with spaces and accented
letters. I renamed the folders and everything was alright. Seems that
filenames don't have relative paths, but absolute ones, making tex2lyx
crash in the process when the path has spaces. Is this a bug?


Yes, this is a known bug. folder and file names must not have any non-ASCII 
character.
But as tex2lyx is a program of its own, we need to fix this separately. Can you therefore please 
report this as new bug to bugzilla.lyx.org ?


thanks and regards
Uwe


Re: tex2lyx problem

2008-10-15 Thread Julio Rojas
I discovered the problem. I had folder names with spaces and accented
letters. I renamed the folders and everything was alright. Seems that
filenames don't have relative paths, but absolute ones, making tex2lyx
crash in the process when the path has spaces. Is this a bug?
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 12:19 AM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 Nope. I even removed all the content, leaving the preamble and the
 abstract, but it didn't work. I have tried with a tex file generated
 from a lyx export and it worked fine.

 I have no problems to import the TeX file you sent me. When compiling the
 result to a PDF, I only get a LaTeX-error, that the keywords environment is
 unknown, but that is because you used the article document class.

 regards Uwe



.wmf graphics cannot be seen in lyx

2008-10-15 Thread Erez Yerushalmi
Dear All,

I'm using Lyx 1.5.5, windows xp.

At the moment, i'm saving MS powerpoint slides as .wmf and importing to LyX.
(Thanks to those giving me suggestions for other drawing programs. I've been
playing with a few of them, and will write later which one I feel is best)

*Here is my question:*
Can anyone tell me why LyX gives an error when it tries to enable me to *see
* the fig LyX.
The message I get is error converting to Loadable format
I don't get this message when imporing .jpg, and I see the figure.

The pdf output is with .wmf is beautiful, much better than a .jpg. (Thanks
Joost).

Kind Regards,  Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Lyx 1.5.6 Strange error message using wrong format by href

2008-10-15 Thread Yegor Yefremov

Hello,

if I try to view PDF (pdflatex) from this lyx-file I get the following 
message:


Lyx: Cannot view file
File does not exist: ..latex_error.pdf

I had the same problem in my document. At first I couldn't figure out 
what is the reason for that error, till I examined the Document-LaTeX 
Log and found out, that \href parameter had wrong format. At this point 
I would expect to get normal Lyx/Latex syntax error, but not the error 
message showing the consequences of the syntax error. Does Lyx 1.6 
behave in the same way?


I'm using Lyx 1.5.6 on Windows with Miktex 2.7

Best regards,
Yegor


latex_error.lyx
Description: application/lyx


Re: ACM

2008-10-15 Thread Julio Rojas
Done and still the same problem. Removed files, reconfigures, added
the files and reconfigured in the correct secuence and still the same
problem.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 6:56 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 I have moved from my Ubuntu PC where everything was alright to my
 Vista PC. I installed the class file and the LyX layout. Reconfigured
 LyX, reconfigured MikTeX

 You need to do the opposite: First refresh MiKTeX's file name databasse,
 then reconfigure LyX.

 Any ideas?

 Nothing further.

 regards Uwe



Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread cmiramon
Erez Yerushalmi wrote:

 
 Can anyone suggest a good drawing program?
 Can Beamer do this??  I haven't used it yet (I admit).
 

If you want to draw / code technical drawings and plots try tikz / pgf. It
will work well with beamer because both packages are done by the same
author, Till Tantau.

Look  http://www.texample.net/tikz/examples/ to see what you can do with
tikz

The documentation is very good and the syntax is nice.

Similar to tikz / pgf but older, pstricks is quite popular and well
documented. 

You have also Asymptote.

Cheers,
Charles



Re: ACM

2008-10-15 Thread Julio Rojas
This is the ouput generated by LyX:

Unable to convert C:/Program Files/LyX
1.6.0rc3/bin/../Resources/layouts/sigplanconf.layout to format 8
Error reading `[layouts/sigplanconf.layout]'
(Check `sigplanconf')
Check your installation and try Options/Reconfigure...
Error: Could not load class

The document class sigplanconf could not be loaded.
Error: Error

Unable to set document class.

It seems like a LyX can't read the layout. Any ideas?
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 9:49 PM, Julio Rojas [EMAIL PROTECTED] wrote:
 Done and still the same problem. Removed files, reconfigures, added
 the files and reconfigured in the correct secuence and still the same
 problem.
 -
 Julio Rojas
 [EMAIL PROTECTED]



 On Wed, Oct 15, 2008 at 6:56 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 I have moved from my Ubuntu PC where everything was alright to my
 Vista PC. I installed the class file and the LyX layout. Reconfigured
 LyX, reconfigured MikTeX

 You need to do the opposite: First refresh MiKTeX's file name databasse,
 then reconfigure LyX.

 Any ideas?

 Nothing further.

 regards Uwe




Re: .wmf graphics cannot be seen in lyx

2008-10-15 Thread Julio Rojas
I guess WMF is not a supported file type. Try using PDF or EPS plots.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 8:56 PM, Erez Yerushalmi
[EMAIL PROTECTED] wrote:
 Dear All,

 I'm using Lyx 1.5.5, windows xp.

 At the moment, i'm saving MS powerpoint slides as .wmf and importing to LyX.
 (Thanks to those giving me suggestions for other drawing programs. I've been
 playing with a few of them, and will write later which one I feel is best)

 *Here is my question:*
 Can anyone tell me why LyX gives an error when it tries to enable me to *see
 * the fig LyX.
 The message I get is error converting to Loadable format
 I don't get this message when imporing .jpg, and I see the figure.

 The pdf output is with .wmf is beautiful, much better than a .jpg. (Thanks
 Joost).

 Kind Regards,  Erez

 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK
 http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi



Setting two character styles at once

2008-10-15 Thread Michael Brown
Greetings,

I'm currently writing up a document and I'm trying to do something
relatively simple (considering what else I've done :).

I'd like to write text that is both in the typewriter face and bolded.
Using LyX, what I end up with is:

 \texttt{\textbf{0x2E}}: Constant   ..

and the resulting output is in typewriter style but not bolded. Is there
any way to do both?

Thanks,

Michael


Re: Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Keith Roberts

On Wed, 15 Oct 2008, Uwe Stöhr wrote:


To: Keith Roberts [EMAIL PROTECTED]
From: Uwe Stöhr [EMAIL PROTECTED]
Subject: Re: Hyperlinked cross-references inside PDF documents?

Keith Roberts schrieb:

In the meantime, can someone please tell me if it's possible to create 
hyper-linked cross-references that can be clicked on in a PDF file?


You have to use the LateX-package hyperref in the document preamble. 
For an example, have a look at the preamble of LyX's UserGuide and start 
with this code.


In the next release LyX 1.6.0 hyperref support is available in the 
document setting under PDF Options.


regards Uwe


Thanks Richard and Uwe for your replies. I'll take alook at 
the preamble code for the UserGuide soon and let you know 
how I get on.


Now I know that it's possible to use such href links with 
LyX, I can get on learning the documentation :)


Kind Regards,

Keith

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

The mind of the prudent is ever getting knowledge, and the
eear of the wise is ever seeking, inquiring for and craving
knowledge. Pr. 18:15 Amp

Where will you spend Eternity?
http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Abdelrazak Younes

On 15/10/2008 17:55, Erez Yerushalmi wrote:


Can anyone suggest a good drawing program?


jfig is nice (clone of xfig written in Java). And LyX has direct support 
for fig format...


Abdel.



Re: Picture's background

2008-10-15 Thread Yago

You can see the package wallpaper.
- Original Message - 
From: Ralt [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Wednesday, October 15, 2008 3:43 PM
Subject: Picture's background




Hi,

I'm quite new to LyX, and I have so searched a lot in documentation. But 
it
hasn't helped me to know how to have a specific picture as background 
(JPEG,

PNG, w/e). So it's maybe very easy, if so I'm sorry, but I haven't found.

Can you please explain?

Regards,
Ralt.
--
View this message in context: 
http://n2.nabble.com/Picture%27s-background-tp1336800p1336800.html

Sent from the LyX - Users mailing list archive at Nabble.com.


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3524 (20081015) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread wangyq

Someone suggests me to use asymptote.  Their graphs are really wonderful! 
Moreover, asymptote supports 3d-drawing.


http://asymptote.sourceforge.net/ 


2008-10-16 



wangyq 



发件人: Erez Yerushalmi 
发送时间: 2008-10-15  23:55:53 
收件人: LyX User 
抄送: 
主题: Can you suggest a good way to draw pictures with latex code? 
 
Hi All,

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint, convert to jpg, and finally 
import to my LyX document.


For example, see jpg drawing I've attached.

However, this is bad since Power Point is not good for math.
It would also be much easier to just copy and paste my LyX/latex code into the 
PowerPoint presentation if possible.

Can anyone suggest a good drawing program?
Can Beamer do this??  I haven't used it yet (I admit).

Thanks, Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: Setting two character styles at once

2008-10-15 Thread cmiramon
Michael Brown wrote:

 Greetings,
 
 I'm currently writing up a document and I'm trying to do something
 relatively simple (considering what else I've done :).
 
 I'd like to write text that is both in the typewriter face and bolded.
 Using LyX, what I end up with is:
 
  \texttt{\textbf{0x2E}}: Constant   ..
 
 and the resulting output is in typewriter style but not bolded. Is there
 any way to do both?
 

The default LaTeX Fixed font does not have bold glyphs. But if you choose
Courier in the fonts combo, it should work.

Cheers,
Charles



Re: ACM

2008-10-15 Thread Julio Rojas
Sorry Uwe, I never meant to point the problem towards tex2lyx. As a
matter of fact, I had a bad problem with my texlive installation, due
to some files left over the /etc/texmf/updmap.d folder that didn't let
me make the upgrades needed to render the PDF. I have solved the
problem of the fonts and I will download the new version of the
layout.

The only worrying point is that LyX never reported the fonts problem
while rendering the PDF. The PDF was rendered, but as the file sent to
the list show, it was badly generated. I tried compiling the tex file
by hand and the fonts problem was shown as messages. Why could this
happen?
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Oct 14, 2008 at 9:43 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 BTW, I'm using the ACM Sigplan layout and something weird, that can be
 related to the problem with tex2lyx, is happening. Whe compiling the
 sample document or just a basic document, no errors are produced but
 the PDF/DVI document seems to lack the fonts needed.

 I cannot reproduce this. All output formats are OK, seems that your LaTeX
 system has a problem.

 Why do you think this is related to tex2lyx? You haven't used tex2lyx and
 tex2lyx is a program of its own.

 I just updated the layout and template file you find at
 http://wiki.lyx.org/Examples/AcmSigplan
 So try out again using these files. Note that they are for LyX 1.5.6, not
 LyX 1.6 test releases.

 regards Uwe



Re: tex2lyx problem

2008-10-15 Thread Julio Rojas
Reported as bug 5364.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 2:11 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 I discovered the problem. I had folder names with spaces and accented
 letters. I renamed the folders and everything was alright. Seems that
 filenames don't have relative paths, but absolute ones, making tex2lyx
 crash in the process when the path has spaces. Is this a bug?

 Yes, this is a known bug. folder and file names must not have any non-ASCII
 character.
 But as tex2lyx is a program of its own, we need to fix this separately. Can
 you therefore please report this as new bug to bugzilla.lyx.org ?

 thanks and regards
 Uwe



Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Keith Roberts
I'm working my way through the first 3 documents under the 
help menu in LyX 1.5.6


In the meantime, can someone please tell me if it's possible 
to create hyper-linked cross-references that can be clicked 
on in a PDF file?


Here is an example of what I would like to do in a PDF 
document created using LyX:


http://download.virtualbox.org/virtualbox/2.0.2/UserManual.pdf

Kind Regards,

Keith Roberts

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

The mind of the prudent is ever getting knowledge, and the
eear of the wise is ever seeking, inquiring for and craving
knowledge. Pr. 18:15 Amp

Where will you spend Eternity?
http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-


Picture's background

2008-10-15 Thread Ralt

Hi,

I'm quite new to LyX, and I have so searched a lot in documentation. But it
hasn't helped me to know how to have a specific picture as background (JPEG,
PNG, w/e). So it's maybe very easy, if so I'm sorry, but I haven't found.

Can you please explain?

Regards,
Ralt.
-- 
View this message in context: 
http://n2.nabble.com/Picture%27s-background-tp1336800p1336800.html
Sent from the LyX - Users mailing list archive at Nabble.com.



a problem with preamble and header / footer

2008-10-15 Thread Erez Yerushalmi
Dear all,

I am using lyx 1.5.5 (still) , windows xp, document class article

I want to add some simple headers into the heading with the command  such
as:

 \rhead{Erez}

but I get an error such as :
undefined control sequence
LaTeX Error: Missing \begin{document}.

Can anyone tell me why??

Regards, Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Richard Heck

Keith Roberts wrote:
I'm working my way through the first 3 documents under the help menu 
in LyX 1.5.6


In the meantime, can someone please tell me if it's possible to create 
hyper-linked cross-references that can be clicked on in a PDF file?


Yes, you just have to use the hyperref package. There will be native 
support for this in 1.6. In 1.5, you have to include it manually in the 
preamble. There must be stuff on the wiki about this.


rh



Re: a problem with preamble and header / footer

2008-10-15 Thread Richard Heck

Erez Yerushalmi wrote:

Dear all,

I am using lyx 1.5.5 (still) , windows xp, document class article

I want to add some simple headers into the heading with the command  such
as:

 \rhead{Erez}

but I get an error such as :
undefined control sequence
LaTeX Error: Missing \begin{document}.

Can anyone tell me why??

  

You have to use the fancy page style.

rh



Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint

2008-10-15 Thread Manveru
2008/10/15 Abdelrazak Younes [EMAIL PROTECTED]:


 On 14/10/2008 13:15, Manveru wrote:
 The whole problem leads me to the question why LyX cannot have two
 tabs in preamble setting window, one for user preamble entries
 _BEFORE_ LyX generated and second for these _AFTER_ LyX generated?
 This could satisfy more advanced users; me too sometimes.

 That's an interesting idea actually. Indeed why not?

 Abdel.

As I personally like this idea... I've just add an enhancement request
to Bugzilla:
http://bugzilla.lyx.org/show_bug.cgi?id=5366

-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Uwe Stöhr

Keith Roberts schrieb:

In the meantime, can someone please tell me if it's possible to create 
hyper-linked cross-references that can be clicked on in a PDF file?


You have to use the LateX-package hyperref in the document preamble. For an example, have a look 
at the preamble of LyX's UserGuide and start with this code.


In the next release LyX 1.6.0 hyperref support is available in the document setting under 
PDF Options.

regards Uwe


Re: ACM

2008-10-15 Thread Julio Rojas
I have moved from my Ubuntu PC where everything was alright to my
Vista PC. I installed the class file and the LyX layout. Reconfigured
LyX, reconfigured MikTeX and when I try to open my file a message
appears telling me:

The document class sigplanconf could not be loaded.

If I try to manually set the class (via Document - Configuration) to
ACM SIGPLAN, the same message is presented and another one that says:

Unable to set the document class.

Any ideas?
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 2:46 PM, Julio Rojas [EMAIL PROTECTED] wrote:
 BTW, while using this layout I could see that inserting a Keywords
 environment inserts a Topics environment instead.
 -
 Julio Rojas
 [EMAIL PROTECTED]



 On Wed, Oct 15, 2008 at 10:00 AM, Julio Rojas [EMAIL PROTECTED] wrote:
 Sorry Uwe, I never meant to point the problem towards tex2lyx. As a
 matter of fact, I had a bad problem with my texlive installation, due
 to some files left over the /etc/texmf/updmap.d folder that didn't let
 me make the upgrades needed to render the PDF. I have solved the
 problem of the fonts and I will download the new version of the
 layout.

 The only worrying point is that LyX never reported the fonts problem
 while rendering the PDF. The PDF was rendered, but as the file sent to
 the list show, it was badly generated. I tried compiling the tex file
 by hand and the fonts problem was shown as messages. Why could this
 happen?
 -
 Julio Rojas
 [EMAIL PROTECTED]



 On Tue, Oct 14, 2008 at 9:43 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 BTW, I'm using the ACM Sigplan layout and something weird, that can be
 related to the problem with tex2lyx, is happening. Whe compiling the
 sample document or just a basic document, no errors are produced but
 the PDF/DVI document seems to lack the fonts needed.

 I cannot reproduce this. All output formats are OK, seems that your LaTeX
 system has a problem.

 Why do you think this is related to tex2lyx? You haven't used tex2lyx and
 tex2lyx is a program of its own.

 I just updated the layout and template file you find at
 http://wiki.lyx.org/Examples/AcmSigplan
 So try out again using these files. Note that they are for LyX 1.5.6, not
 LyX 1.6 test releases.

 regards Uwe





Different page margins in one document

2008-10-15 Thread Daniel Klein
Hi everybody,

I would like to have different page margins in the table section of my
document that in the rest of the documtent.

I added this before the Table section in ERT

\setlength{\evensidemargin}{-1cm}
\setlength{\oddsidemargin}{-1cm}
\addtolength{\textwidth}{2cm}

Unfortunately only everything else but the caption width adjusts. Any
suggestions to make the caption to adjust, too? Thanks in advance

Best
-Daniel
-- 

Daniel Klein
University of Mannheim
L9, 1-2 (Room 507), 68131 Mannheim
Phone: +49-(0)621-181-1974
Fax: +49-(0)621-181-1980


Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Erez Yerushalmi
Hi All,

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint, convert to jpg, and
finally import to my LyX document.


For example, see jpg drawing I've attached.

However, this is bad since Power Point is not good for math.
It would also be much easier to just copy and paste my LyX/latex code into
the PowerPoint presentation if possible.

Can anyone suggest a good drawing program?
Can Beamer do this??  I haven't used it yet (I admit).

Thanks, Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi
attachment: Inequality constraint case 1.jpg

Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Julio Rojas
Inkscape. Not direct latex code, but very very good.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 5:55 PM, Erez Yerushalmi
[EMAIL PROTECTED] wrote:
 Hi All,

 I'm an intermediate lyx user (1.5.5, windows).
 So far, I draw various pictures on MS PowerPoint, convert to jpg, and
 finally import to my LyX document.


 For example, see jpg drawing I've attached.

 However, this is bad since Power Point is not good for math.
 It would also be much easier to just copy and paste my LyX/latex code into
 the PowerPoint presentation if possible.

 Can anyone suggest a good drawing program?
 Can Beamer do this??  I haven't used it yet (I admit).

 Thanks, Erez

 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK
 http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi



Re: LaTeX Error with Curriculum Vitae (European)

2008-10-15 Thread Max Nabble


Jeby wrote:
 \usepackage
{geometry}
 The package inputenc has already been loaded with options:
   [utf8x]
 There has now been an attempt to load it with options
   [latin9]
 Adding the global options:
   utf8x,latin9
 to your \documentclass declaration may fix this.
 Try typing  return  to proceed.

Go to LyX - Document - Settings - Language and set the encoding to utf8x
if it is not already set. That should help. Generally, I recommend always to
use utf8x (or other unicode), other encodings are older and therefore more
limited and why should you limit yourself?

Max
-- 
View this message in context: 
http://n2.nabble.com/LaTeX-Error-with-Curriculum-Vitae-%28European%29-tp1330429p1336567.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Joost Verburg

Erez Yerushalmi wrote:

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint, convert to jpg, and 
finally import to my LyX document.


For vector images you'll get much better quality when you export to emf 
instead of jpg.


Joost



Re: ACM

2008-10-15 Thread Uwe Stöhr

Julio Rojas schrieb:


I have moved from my Ubuntu PC where everything was alright to my
Vista PC. I installed the class file and the LyX layout. Reconfigured
LyX, reconfigured MikTeX


You need to do the opposite: First refresh MiKTeX's file name databasse, then 
reconfigure LyX.


Any ideas?


Nothing further.

regards Uwe


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Ernesto Posse
Another possibility is to use Dia. In Dia, you can write latex
formulas in text boxes, and then you export them as Metapost macros
(mp). You then use metapost (mpost) to generate eps files (metapost
saves them with extensions .1, .2, etc, but then you simply rename
them to .eps and import them in Lyx).



On Wed, Oct 15, 2008 at 12:55 PM, Guy Rutenberg [EMAIL PROTECTED] wrote:
 Julio Rojas [EMAIL PROTECTED] writes:


 Inkscape. Not direct latex code, but very very good.
 -
 Julio Rojas
 [EMAIL PROTECTED]


 @Erez: Inkscape http://www.inkscape.org is a vector drawing program. It can
 generate .eps figures you can easily embed in you document (and they are
 resolution independent).

 Another great feature of Inkscape that makes it great tool for mathematical
 figures is it's ability (via plugins) to embed LaTeX formulas in the figures
 (great for labels).



 Regards,

 Guy

 
 http://www.guyrutenberg.com





-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: ACM

2008-10-15 Thread Julio Rojas
BTW, while using this layout I could see that inserting a Keywords
environment inserts a Topics environment instead.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 10:00 AM, Julio Rojas [EMAIL PROTECTED] wrote:
 Sorry Uwe, I never meant to point the problem towards tex2lyx. As a
 matter of fact, I had a bad problem with my texlive installation, due
 to some files left over the /etc/texmf/updmap.d folder that didn't let
 me make the upgrades needed to render the PDF. I have solved the
 problem of the fonts and I will download the new version of the
 layout.

 The only worrying point is that LyX never reported the fonts problem
 while rendering the PDF. The PDF was rendered, but as the file sent to
 the list show, it was badly generated. I tried compiling the tex file
 by hand and the fonts problem was shown as messages. Why could this
 happen?
 -
 Julio Rojas
 [EMAIL PROTECTED]



 On Tue, Oct 14, 2008 at 9:43 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 BTW, I'm using the ACM Sigplan layout and something weird, that can be
 related to the problem with tex2lyx, is happening. Whe compiling the
 sample document or just a basic document, no errors are produced but
 the PDF/DVI document seems to lack the fonts needed.

 I cannot reproduce this. All output formats are OK, seems that your LaTeX
 system has a problem.

 Why do you think this is related to tex2lyx? You haven't used tex2lyx and
 tex2lyx is a program of its own.

 I just updated the layout and template file you find at
 http://wiki.lyx.org/Examples/AcmSigplan
 So try out again using these files. Note that they are for LyX 1.5.6, not
 LyX 1.6 test releases.

 regards Uwe




Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Robert Orr


LaTeXDraw is something else you could try



--- On Wed, 10/15/08, Julio Rojas [EMAIL PROTECTED] wrote:

 From: Julio Rojas [EMAIL PROTECTED]
 Subject: Re: Can you suggest a good way to draw pictures with latex code?
 To: LyX User lyx-users@lists.lyx.org
 Date: Wednesday, October 15, 2008, 12:08 PM
 Inkscape. Not direct latex code, but very very good.
 -
 Julio Rojas
 [EMAIL PROTECTED]
 
 
 
 On Wed, Oct 15, 2008 at 5:55 PM, Erez Yerushalmi
 [EMAIL PROTECTED] wrote:
  Hi All,
 
  I'm an intermediate lyx user (1.5.5, windows).
  So far, I draw various pictures on MS PowerPoint,
 convert to jpg, and
  finally import to my LyX document.
 
 
  For example, see jpg drawing I've attached.
 
  However, this is bad since Power Point is not good for
 math.
  It would also be much easier to just copy and paste my
 LyX/latex code into
  the PowerPoint presentation if possible.
 
  Can anyone suggest a good drawing program?
  Can Beamer do this??  I haven't used it yet (I
 admit).
 
  Thanks, Erez
 
  --
  Erez Yerushalmi
  PhD Student
  Warwick University, UK
 
 http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi
 


  


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread A. Scottedward Hodel
Under Mac OS X and Linux I've used xfig for many years.   fig2dev  
allows direct translation to LaTeX code as either picture, epic, or  
eepic.


On Oct 15, 2008, at 12:47 PM, Robert Orr wrote:




LaTeXDraw is something else you could try



--- On Wed, 10/15/08, Julio Rojas [EMAIL PROTECTED] wrote:


From: Julio Rojas [EMAIL PROTECTED]
Subject: Re: Can you suggest a good way to draw pictures with latex  
code?

To: LyX User lyx-users@lists.lyx.org
Date: Wednesday, October 15, 2008, 12:08 PM
Inkscape. Not direct latex code, but very very good.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 5:55 PM, Erez Yerushalmi
[EMAIL PROTECTED] wrote:

Hi All,

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint,

convert to jpg, and

finally import to my LyX document.


For example, see jpg drawing I've attached.

However, this is bad since Power Point is not good for

math.

It would also be much easier to just copy and paste my

LyX/latex code into

the PowerPoint presentation if possible.

Can anyone suggest a good drawing program?
Can Beamer do this??  I haven't used it yet (I

admit).


Thanks, Erez

--
Erez Yerushalmi
PhD Student
Warwick University, UK


http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi








A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar





Re: tex2lyx problem

2008-10-15 Thread Uwe Stöhr

Julio Rojas schrieb:


I discovered the problem. I had folder names with spaces and accented
letters. I renamed the folders and everything was alright. Seems that
filenames don't have relative paths, but absolute ones, making tex2lyx
crash in the process when the path has spaces. Is this a bug?


Yes, this is a known bug. folder and file names must not have any non-ASCII 
character.
But as tex2lyx is a program of its own, we need to fix this separately. Can you therefore please 
report this as new bug to bugzilla.lyx.org ?


thanks and regards
Uwe


Re: tex2lyx problem

2008-10-15 Thread Julio Rojas
I discovered the problem. I had folder names with spaces and accented
letters. I renamed the folders and everything was alright. Seems that
filenames don't have relative paths, but absolute ones, making tex2lyx
crash in the process when the path has spaces. Is this a bug?
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 12:19 AM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 Nope. I even removed all the content, leaving the preamble and the
 abstract, but it didn't work. I have tried with a tex file generated
 from a lyx export and it worked fine.

 I have no problems to import the TeX file you sent me. When compiling the
 result to a PDF, I only get a LaTeX-error, that the keywords environment is
 unknown, but that is because you used the article document class.

 regards Uwe



.wmf graphics cannot be seen in lyx

2008-10-15 Thread Erez Yerushalmi
Dear All,

I'm using Lyx 1.5.5, windows xp.

At the moment, i'm saving MS powerpoint slides as .wmf and importing to LyX.
(Thanks to those giving me suggestions for other drawing programs. I've been
playing with a few of them, and will write later which one I feel is best)

*Here is my question:*
Can anyone tell me why LyX gives an error when it tries to enable me to *see
* the fig LyX.
The message I get is error converting to Loadable format
I don't get this message when imporing .jpg, and I see the figure.

The pdf output is with .wmf is beautiful, much better than a .jpg. (Thanks
Joost).

Kind Regards,  Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Lyx 1.5.6 Strange error message using wrong format by href

2008-10-15 Thread Yegor Yefremov

Hello,

if I try to view PDF (pdflatex) from this lyx-file I get the following 
message:


Lyx: Cannot view file
File does not exist: ..latex_error.pdf

I had the same problem in my document. At first I couldn't figure out 
what is the reason for that error, till I examined the Document-LaTeX 
Log and found out, that \href parameter had wrong format. At this point 
I would expect to get normal Lyx/Latex syntax error, but not the error 
message showing the consequences of the syntax error. Does Lyx 1.6 
behave in the same way?


I'm using Lyx 1.5.6 on Windows with Miktex 2.7

Best regards,
Yegor


latex_error.lyx
Description: application/lyx


Re: ACM

2008-10-15 Thread Julio Rojas
Done and still the same problem. Removed files, reconfigures, added
the files and reconfigured in the correct secuence and still the same
problem.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 6:56 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 I have moved from my Ubuntu PC where everything was alright to my
 Vista PC. I installed the class file and the LyX layout. Reconfigured
 LyX, reconfigured MikTeX

 You need to do the opposite: First refresh MiKTeX's file name databasse,
 then reconfigure LyX.

 Any ideas?

 Nothing further.

 regards Uwe



Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread cmiramon
Erez Yerushalmi wrote:

 
 Can anyone suggest a good drawing program?
 Can Beamer do this??  I haven't used it yet (I admit).
 

If you want to draw / code technical drawings and plots try tikz / pgf. It
will work well with beamer because both packages are done by the same
author, Till Tantau.

Look  http://www.texample.net/tikz/examples/ to see what you can do with
tikz

The documentation is very good and the syntax is nice.

Similar to tikz / pgf but older, pstricks is quite popular and well
documented. 

You have also Asymptote.

Cheers,
Charles



Re: ACM

2008-10-15 Thread Julio Rojas
This is the ouput generated by LyX:

Unable to convert C:/Program Files/LyX
1.6.0rc3/bin/../Resources/layouts/sigplanconf.layout to format 8
Error reading `[layouts/sigplanconf.layout]'
(Check `sigplanconf')
Check your installation and try Options/Reconfigure...
Error: Could not load class

The document class sigplanconf could not be loaded.
Error: Error

Unable to set document class.

It seems like a LyX can't read the layout. Any ideas?
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 9:49 PM, Julio Rojas [EMAIL PROTECTED] wrote:
 Done and still the same problem. Removed files, reconfigures, added
 the files and reconfigured in the correct secuence and still the same
 problem.
 -
 Julio Rojas
 [EMAIL PROTECTED]



 On Wed, Oct 15, 2008 at 6:56 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Julio Rojas schrieb:

 I have moved from my Ubuntu PC where everything was alright to my
 Vista PC. I installed the class file and the LyX layout. Reconfigured
 LyX, reconfigured MikTeX

 You need to do the opposite: First refresh MiKTeX's file name databasse,
 then reconfigure LyX.

 Any ideas?

 Nothing further.

 regards Uwe




Re: .wmf graphics cannot be seen in lyx

2008-10-15 Thread Julio Rojas
I guess WMF is not a supported file type. Try using PDF or EPS plots.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 8:56 PM, Erez Yerushalmi
[EMAIL PROTECTED] wrote:
 Dear All,

 I'm using Lyx 1.5.5, windows xp.

 At the moment, i'm saving MS powerpoint slides as .wmf and importing to LyX.
 (Thanks to those giving me suggestions for other drawing programs. I've been
 playing with a few of them, and will write later which one I feel is best)

 *Here is my question:*
 Can anyone tell me why LyX gives an error when it tries to enable me to *see
 * the fig LyX.
 The message I get is error converting to Loadable format
 I don't get this message when imporing .jpg, and I see the figure.

 The pdf output is with .wmf is beautiful, much better than a .jpg. (Thanks
 Joost).

 Kind Regards,  Erez

 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK
 http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi



Setting two character styles at once

2008-10-15 Thread Michael Brown
Greetings,

I'm currently writing up a document and I'm trying to do something
relatively simple (considering what else I've done :).

I'd like to write text that is both in the typewriter face and bolded.
Using LyX, what I end up with is:

 \texttt{\textbf{0x2E}}: Constant   ..

and the resulting output is in typewriter style but not bolded. Is there
any way to do both?

Thanks,

Michael


Re: Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Keith Roberts

On Wed, 15 Oct 2008, Uwe Stöhr wrote:


To: Keith Roberts [EMAIL PROTECTED]
From: Uwe Stöhr [EMAIL PROTECTED]
Subject: Re: Hyperlinked cross-references inside PDF documents?

Keith Roberts schrieb:

In the meantime, can someone please tell me if it's possible to create 
hyper-linked cross-references that can be clicked on in a PDF file?


You have to use the LateX-package hyperref in the document preamble. 
For an example, have a look at the preamble of LyX's UserGuide and start 
with this code.


In the next release LyX 1.6.0 hyperref support is available in the 
document setting under PDF Options.


regards Uwe


Thanks Richard and Uwe for your replies. I'll take alook at 
the preamble code for the UserGuide soon and let you know 
how I get on.


Now I know that it's possible to use such href links with 
LyX, I can get on learning the documentation :)


Kind Regards,

Keith

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

The mind of the prudent is ever getting knowledge, and the
eear of the wise is ever seeking, inquiring for and craving
knowledge. Pr. 18:15 Amp

Where will you spend Eternity?
http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Abdelrazak Younes

On 15/10/2008 17:55, Erez Yerushalmi wrote:


Can anyone suggest a good drawing program?


jfig is nice (clone of xfig written in Java). And LyX has direct support 
for fig format...


Abdel.



Re: Picture's background

2008-10-15 Thread Yago

You can see the package wallpaper.
- Original Message - 
From: Ralt [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Wednesday, October 15, 2008 3:43 PM
Subject: Picture's background




Hi,

I'm quite new to LyX, and I have so searched a lot in documentation. But 
it
hasn't helped me to know how to have a specific picture as background 
(JPEG,

PNG, w/e). So it's maybe very easy, if so I'm sorry, but I haven't found.

Can you please explain?

Regards,
Ralt.
--
View this message in context: 
http://n2.nabble.com/Picture%27s-background-tp1336800p1336800.html

Sent from the LyX - Users mailing list archive at Nabble.com.


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3524 (20081015) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread wangyq

Someone suggests me to use asymptote.  Their graphs are really wonderful! 
Moreover, asymptote supports 3d-drawing.


http://asymptote.sourceforge.net/ 


2008-10-16 



wangyq 



发件人: Erez Yerushalmi 
发送时间: 2008-10-15  23:55:53 
收件人: LyX User 
抄送: 
主题: Can you suggest a good way to draw pictures with latex code? 
 
Hi All,

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint, convert to jpg, and finally 
import to my LyX document.


For example, see jpg drawing I've attached.

However, this is bad since Power Point is not good for math.
It would also be much easier to just copy and paste my LyX/latex code into the 
PowerPoint presentation if possible.

Can anyone suggest a good drawing program?
Can Beamer do this??  I haven't used it yet (I admit).

Thanks, Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: Setting two character styles at once

2008-10-15 Thread cmiramon
Michael Brown wrote:

 Greetings,
 
 I'm currently writing up a document and I'm trying to do something
 relatively simple (considering what else I've done :).
 
 I'd like to write text that is both in the typewriter face and bolded.
 Using LyX, what I end up with is:
 
  \texttt{\textbf{0x2E}}: Constant   ..
 
 and the resulting output is in typewriter style but not bolded. Is there
 any way to do both?
 

The default LaTeX Fixed font does not have bold glyphs. But if you choose
Courier in the fonts combo, it should work.

Cheers,
Charles



Re: ACM

2008-10-15 Thread Julio Rojas
Sorry Uwe, I never meant to point the problem towards tex2lyx. As a
matter of fact, I had a bad problem with my texlive installation, due
to some files left over the /etc/texmf/updmap.d folder that didn't let
me make the upgrades needed to render the PDF. I have solved the
problem of the fonts and I will download the new version of the
layout.

The only worrying point is that LyX never reported the fonts problem
while rendering the PDF. The PDF was rendered, but as the file sent to
the list show, it was badly generated. I tried compiling the tex file
by hand and the fonts problem was shown as messages. Why could this
happen?
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Oct 14, 2008 at 9:43 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Julio Rojas schrieb:
>
>> BTW, I'm using the ACM Sigplan layout and something weird, that can be
>> related to the problem with tex2lyx, is happening. Whe compiling the
>> sample document or just a basic document, no errors are produced but
>> the PDF/DVI document seems to lack the fonts needed.
>
> I cannot reproduce this. All output formats are OK, seems that your LaTeX
> system has a problem.
>
> Why do you think this is related to tex2lyx? You haven't used tex2lyx and
> tex2lyx is a program of its own.
>
> I just updated the layout and template file you find at
> http://wiki.lyx.org/Examples/AcmSigplan
> So try out again using these files. Note that they are for LyX 1.5.6, not
> LyX 1.6 test releases.
>
> regards Uwe
>


Re: tex2lyx problem

2008-10-15 Thread Julio Rojas
Reported as bug 5364.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 2:11 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Julio Rojas schrieb:
>
>> I discovered the problem. I had folder names with spaces and accented
>> letters. I renamed the folders and everything was alright. Seems that
>> filenames don't have relative paths, but absolute ones, making tex2lyx
>> crash in the process when the path has spaces. Is this a bug?
>
> Yes, this is a known bug. folder and file names must not have any non-ASCII
> character.
> But as tex2lyx is a program of its own, we need to fix this separately. Can
> you therefore please report this as new bug to bugzilla.lyx.org ?
>
> thanks and regards
> Uwe
>


Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Keith Roberts
I'm working my way through the first 3 documents under the 
help menu in LyX 1.5.6


In the meantime, can someone please tell me if it's possible 
to create hyper-linked cross-references that can be clicked 
on in a PDF file?


Here is an example of what I would like to do in a PDF 
document created using LyX:


http://download.virtualbox.org/virtualbox/2.0.2/UserManual.pdf

Kind Regards,

Keith Roberts

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

The mind of the prudent is ever getting knowledge, and the
eear of the wise is ever seeking, inquiring for and craving
knowledge. Pr. 18:15 Amp

Where will you spend Eternity?
http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-


Picture's background

2008-10-15 Thread Ralt

Hi,

I'm quite new to LyX, and I have so searched a lot in documentation. But it
hasn't helped me to know how to have a specific picture as background (JPEG,
PNG, w/e). So it's maybe very easy, if so I'm sorry, but I haven't found.

Can you please explain?

Regards,
Ralt.
-- 
View this message in context: 
http://n2.nabble.com/Picture%27s-background-tp1336800p1336800.html
Sent from the LyX - Users mailing list archive at Nabble.com.



a problem with preamble and header / footer

2008-10-15 Thread Erez Yerushalmi
Dear all,

I am using lyx 1.5.5 (still) , windows xp, document class "article"

I want to add some simple headers into the heading with the command  such
as:

 \rhead{Erez}

but I get an error such as :
undefined control sequence
LaTeX Error: Missing \begin{document}.

Can anyone tell me why??

Regards, Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Richard Heck

Keith Roberts wrote:
I'm working my way through the first 3 documents under the help menu 
in LyX 1.5.6


In the meantime, can someone please tell me if it's possible to create 
hyper-linked cross-references that can be clicked on in a PDF file?


Yes, you just have to use the hyperref package. There will be native 
support for this in 1.6. In 1.5, you have to include it manually in the 
preamble. There must be stuff on the wiki about this.


rh



Re: a problem with preamble and header / footer

2008-10-15 Thread Richard Heck

Erez Yerushalmi wrote:

Dear all,

I am using lyx 1.5.5 (still) , windows xp, document class "article"

I want to add some simple headers into the heading with the command  such
as:

 \rhead{Erez}

but I get an error such as :
undefined control sequence
LaTeX Error: Missing \begin{document}.

Can anyone tell me why??

  

You have to use the "fancy" page style.

rh



Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint

2008-10-15 Thread Manveru
2008/10/15 Abdelrazak Younes <[EMAIL PROTECTED]>:
>
>
> On 14/10/2008 13:15, Manveru wrote:
>> The whole problem leads me to the question why LyX cannot have two
>> tabs in preamble setting window, one for user preamble entries
>> _BEFORE_ LyX generated and second for these _AFTER_ LyX generated?
>> This could satisfy more advanced users; me too sometimes.
>
> That's an interesting idea actually. Indeed why not?
>
> Abdel.

As I personally like this idea... I've just add an enhancement request
to Bugzilla:
http://bugzilla.lyx.org/show_bug.cgi?id=5366

-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Uwe Stöhr

Keith Roberts schrieb:

In the meantime, can someone please tell me if it's possible to create 
hyper-linked cross-references that can be clicked on in a PDF file?


You have to use the LateX-package "hyperref" in the document preamble. For an example, have a look 
at the preamble of LyX's UserGuide and start with this code.


In the next release LyX 1.6.0 hyperref support is available in the document setting under 
"PDF Options".

regards Uwe


Re: ACM

2008-10-15 Thread Julio Rojas
I have moved from my Ubuntu PC where everything was alright to my
Vista PC. I installed the class file and the LyX layout. Reconfigured
LyX, reconfigured MikTeX and when I try to open my file a message
appears telling me:

The document class sigplanconf could not be loaded.

If I try to manually set the class (via Document -> Configuration) to
ACM SIGPLAN, the same message is presented and another one that says:

Unable to set the document class.

Any ideas?
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 2:46 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:
> BTW, while using this layout I could see that inserting a Keywords
> environment inserts a Topics environment instead.
> -
> Julio Rojas
> [EMAIL PROTECTED]
>
>
>
> On Wed, Oct 15, 2008 at 10:00 AM, Julio Rojas <[EMAIL PROTECTED]> wrote:
>> Sorry Uwe, I never meant to point the problem towards tex2lyx. As a
>> matter of fact, I had a bad problem with my texlive installation, due
>> to some files left over the /etc/texmf/updmap.d folder that didn't let
>> me make the upgrades needed to render the PDF. I have solved the
>> problem of the fonts and I will download the new version of the
>> layout.
>>
>> The only worrying point is that LyX never reported the fonts problem
>> while rendering the PDF. The PDF was rendered, but as the file sent to
>> the list show, it was badly generated. I tried compiling the tex file
>> by hand and the fonts problem was shown as messages. Why could this
>> happen?
>> -
>> Julio Rojas
>> [EMAIL PROTECTED]
>>
>>
>>
>> On Tue, Oct 14, 2008 at 9:43 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
>>> Julio Rojas schrieb:
>>>
 BTW, I'm using the ACM Sigplan layout and something weird, that can be
 related to the problem with tex2lyx, is happening. Whe compiling the
 sample document or just a basic document, no errors are produced but
 the PDF/DVI document seems to lack the fonts needed.
>>>
>>> I cannot reproduce this. All output formats are OK, seems that your LaTeX
>>> system has a problem.
>>>
>>> Why do you think this is related to tex2lyx? You haven't used tex2lyx and
>>> tex2lyx is a program of its own.
>>>
>>> I just updated the layout and template file you find at
>>> http://wiki.lyx.org/Examples/AcmSigplan
>>> So try out again using these files. Note that they are for LyX 1.5.6, not
>>> LyX 1.6 test releases.
>>>
>>> regards Uwe
>>>
>>
>


Different page margins in one document

2008-10-15 Thread Daniel Klein
Hi everybody,

I would like to have different page margins in the table section of my
document that in the rest of the documtent.

I added this before the Table section in ERT

\setlength{\evensidemargin}{-1cm}
\setlength{\oddsidemargin}{-1cm}
\addtolength{\textwidth}{2cm}

Unfortunately only everything else but the caption width adjusts. Any
suggestions to make the caption to adjust, too? Thanks in advance

Best
-Daniel
-- 

Daniel Klein
University of Mannheim
L9, 1-2 (Room 507), 68131 Mannheim
Phone: +49-(0)621-181-1974
Fax: +49-(0)621-181-1980


Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Erez Yerushalmi
Hi All,

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint, convert to jpg, and
finally import to my LyX document.


For example, see jpg drawing I've attached.

However, this is bad since Power Point is not good for math.
It would also be much easier to just copy and paste my LyX/latex code into
the PowerPoint presentation if possible.

Can anyone suggest a good drawing program?
Can Beamer do this??  I haven't used it yet (I admit).

Thanks, Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi
<>

Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Julio Rojas
Inkscape. Not direct latex code, but very very good.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 5:55 PM, Erez Yerushalmi
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm an intermediate lyx user (1.5.5, windows).
> So far, I draw various pictures on MS PowerPoint, convert to jpg, and
> finally import to my LyX document.
>
>
> For example, see jpg drawing I've attached.
>
> However, this is bad since Power Point is not good for math.
> It would also be much easier to just copy and paste my LyX/latex code into
> the PowerPoint presentation if possible.
>
> Can anyone suggest a good drawing program?
> Can Beamer do this??  I haven't used it yet (I admit).
>
> Thanks, Erez
>
> --
> Erez Yerushalmi
> PhD Student
> Warwick University, UK
> http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi
>


Re: LaTeX Error with Curriculum Vitae (European)

2008-10-15 Thread Max Nabble


Jeby wrote:
> "\usepackage
>{geometry}
> The package inputenc has already been loaded with options:
>   [utf8x]
> There has now been an attempt to load it with options
>   [latin9]
> Adding the global options:
>   utf8x,latin9
> to your \documentclass declaration may fix this.
> Try typingto proceed."

Go to LyX -> Document -> Settings -> Language and set the encoding to utf8x
if it is not already set. That should help. Generally, I recommend always to
use utf8x (or other unicode), other encodings are older and therefore more
limited and why should you limit yourself?

Max
-- 
View this message in context: 
http://n2.nabble.com/LaTeX-Error-with-Curriculum-Vitae-%28European%29-tp1330429p1336567.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Joost Verburg

Erez Yerushalmi wrote:

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint, convert to jpg, and 
finally import to my LyX document.


For vector images you'll get much better quality when you export to emf 
instead of jpg.


Joost



Re: ACM

2008-10-15 Thread Uwe Stöhr

Julio Rojas schrieb:


I have moved from my Ubuntu PC where everything was alright to my
Vista PC. I installed the class file and the LyX layout. Reconfigured
LyX, reconfigured MikTeX


You need to do the opposite: First refresh MiKTeX's file name databasse, then 
reconfigure LyX.


Any ideas?


Nothing further.

regards Uwe


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Ernesto Posse
Another possibility is to use Dia. In Dia, you can write latex
formulas in text boxes, and then you export them as Metapost macros
(mp). You then use metapost (mpost) to generate eps files (metapost
saves them with extensions .1, .2, etc, but then you simply rename
them to .eps and import them in Lyx).



On Wed, Oct 15, 2008 at 12:55 PM, Guy Rutenberg <[EMAIL PROTECTED]> wrote:
> Julio Rojas <[EMAIL PROTECTED]> writes:
>
>>
>> Inkscape. Not direct latex code, but very very good.
>> -
>> Julio Rojas
>> [EMAIL PROTECTED]
>>
>
> @Erez: Inkscape  is a vector drawing program. It can
> generate .eps figures you can easily embed in you document (and they are
> resolution independent).
>
> Another great feature of Inkscape that makes it great tool for mathematical
> figures is it's ability (via plugins) to embed LaTeX formulas in the figures
> (great for labels).
>
>
>
> Regards,
>
> Guy
>
> 
> http://www.guyrutenberg.com
>
>



-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: ACM

2008-10-15 Thread Julio Rojas
BTW, while using this layout I could see that inserting a Keywords
environment inserts a Topics environment instead.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 10:00 AM, Julio Rojas <[EMAIL PROTECTED]> wrote:
> Sorry Uwe, I never meant to point the problem towards tex2lyx. As a
> matter of fact, I had a bad problem with my texlive installation, due
> to some files left over the /etc/texmf/updmap.d folder that didn't let
> me make the upgrades needed to render the PDF. I have solved the
> problem of the fonts and I will download the new version of the
> layout.
>
> The only worrying point is that LyX never reported the fonts problem
> while rendering the PDF. The PDF was rendered, but as the file sent to
> the list show, it was badly generated. I tried compiling the tex file
> by hand and the fonts problem was shown as messages. Why could this
> happen?
> -
> Julio Rojas
> [EMAIL PROTECTED]
>
>
>
> On Tue, Oct 14, 2008 at 9:43 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
>> Julio Rojas schrieb:
>>
>>> BTW, I'm using the ACM Sigplan layout and something weird, that can be
>>> related to the problem with tex2lyx, is happening. Whe compiling the
>>> sample document or just a basic document, no errors are produced but
>>> the PDF/DVI document seems to lack the fonts needed.
>>
>> I cannot reproduce this. All output formats are OK, seems that your LaTeX
>> system has a problem.
>>
>> Why do you think this is related to tex2lyx? You haven't used tex2lyx and
>> tex2lyx is a program of its own.
>>
>> I just updated the layout and template file you find at
>> http://wiki.lyx.org/Examples/AcmSigplan
>> So try out again using these files. Note that they are for LyX 1.5.6, not
>> LyX 1.6 test releases.
>>
>> regards Uwe
>>
>


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Robert Orr


LaTeXDraw is something else you could try



--- On Wed, 10/15/08, Julio Rojas <[EMAIL PROTECTED]> wrote:

> From: Julio Rojas <[EMAIL PROTECTED]>
> Subject: Re: Can you suggest a good way to draw pictures with latex code?
> To: "LyX User" 
> Date: Wednesday, October 15, 2008, 12:08 PM
> Inkscape. Not direct latex code, but very very good.
> -
> Julio Rojas
> [EMAIL PROTECTED]
> 
> 
> 
> On Wed, Oct 15, 2008 at 5:55 PM, Erez Yerushalmi
> <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I'm an intermediate lyx user (1.5.5, windows).
> > So far, I draw various pictures on MS PowerPoint,
> convert to jpg, and
> > finally import to my LyX document.
> >
> >
> > For example, see jpg drawing I've attached.
> >
> > However, this is bad since Power Point is not good for
> math.
> > It would also be much easier to just copy and paste my
> LyX/latex code into
> > the PowerPoint presentation if possible.
> >
> > Can anyone suggest a good drawing program?
> > Can Beamer do this??  I haven't used it yet (I
> admit).
> >
> > Thanks, Erez
> >
> > --
> > Erez Yerushalmi
> > PhD Student
> > Warwick University, UK
> >
> http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi
> >


  


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread A. Scottedward Hodel
Under Mac OS X and Linux I've used xfig for many years.   fig2dev  
allows direct translation to LaTeX code as either picture, epic, or  
eepic.


On Oct 15, 2008, at 12:47 PM, Robert Orr wrote:




LaTeXDraw is something else you could try



--- On Wed, 10/15/08, Julio Rojas <[EMAIL PROTECTED]> wrote:


From: Julio Rojas <[EMAIL PROTECTED]>
Subject: Re: Can you suggest a good way to draw pictures with latex  
code?

To: "LyX User" 
Date: Wednesday, October 15, 2008, 12:08 PM
Inkscape. Not direct latex code, but very very good.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 5:55 PM, Erez Yerushalmi
<[EMAIL PROTECTED]> wrote:

Hi All,

I'm an intermediate lyx user (1.5.5, windows).
So far, I draw various pictures on MS PowerPoint,

convert to jpg, and

finally import to my LyX document.


For example, see jpg drawing I've attached.

However, this is bad since Power Point is not good for

math.

It would also be much easier to just copy and paste my

LyX/latex code into

the PowerPoint presentation if possible.

Can anyone suggest a good drawing program?
Can Beamer do this??  I haven't used it yet (I

admit).


Thanks, Erez

--
Erez Yerushalmi
PhD Student
Warwick University, UK


http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi








A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar





Re: tex2lyx problem

2008-10-15 Thread Uwe Stöhr

Julio Rojas schrieb:


I discovered the problem. I had folder names with spaces and accented
letters. I renamed the folders and everything was alright. Seems that
filenames don't have relative paths, but absolute ones, making tex2lyx
crash in the process when the path has spaces. Is this a bug?


Yes, this is a known bug. folder and file names must not have any non-ASCII 
character.
But as tex2lyx is a program of its own, we need to fix this separately. Can you therefore please 
report this as new bug to bugzilla.lyx.org ?


thanks and regards
Uwe


Re: tex2lyx problem

2008-10-15 Thread Julio Rojas
I discovered the problem. I had folder names with spaces and accented
letters. I renamed the folders and everything was alright. Seems that
filenames don't have relative paths, but absolute ones, making tex2lyx
crash in the process when the path has spaces. Is this a bug?
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 12:19 AM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Julio Rojas schrieb:
>
>> Nope. I even removed all the content, leaving the preamble and the
>> abstract, but it didn't work. I have tried with a tex file generated
>> from a lyx export and it worked fine.
>
> I have no problems to import the TeX file you sent me. When compiling the
> result to a PDF, I only get a LaTeX-error, that the keywords environment is
> unknown, but that is because you used the article document class.
>
> regards Uwe
>


.wmf graphics cannot be seen in lyx

2008-10-15 Thread Erez Yerushalmi
Dear All,

I'm using Lyx 1.5.5, windows xp.

At the moment, i'm saving MS powerpoint slides as .wmf and importing to LyX.
(Thanks to those giving me suggestions for other drawing programs. I've been
playing with a few of them, and will write later which one I feel is best)

*Here is my question:*
Can anyone tell me why LyX gives an error when it tries to enable me to *see
* the fig LyX.
The message I get is "error converting to Loadable format"
I don't get this message when imporing .jpg, and I see the figure.

The pdf output is with .wmf is beautiful, much better than a .jpg. (Thanks
Joost).

Kind Regards,  Erez

-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Lyx 1.5.6 Strange error message using wrong format by href

2008-10-15 Thread Yegor Yefremov

Hello,

if I try to view PDF (pdflatex) from this lyx-file I get the following 
message:


Lyx: Cannot view file
File does not exist: ..latex_error.pdf

I had the same problem in my document. At first I couldn't figure out 
what is the reason for that error, till I examined the Document->LaTeX 
Log and found out, that \href parameter had wrong format. At this point 
I would expect to get normal Lyx/Latex syntax error, but not the error 
message showing the consequences of the syntax error. Does Lyx 1.6 
behave in the same way?


I'm using Lyx 1.5.6 on Windows with Miktex 2.7

Best regards,
Yegor


latex_error.lyx
Description: application/lyx


Re: ACM

2008-10-15 Thread Julio Rojas
Done and still the same problem. Removed files, reconfigures, added
the files and reconfigured in the correct secuence and still the same
problem.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 6:56 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Julio Rojas schrieb:
>
>> I have moved from my Ubuntu PC where everything was alright to my
>> Vista PC. I installed the class file and the LyX layout. Reconfigured
>> LyX, reconfigured MikTeX
>
> You need to do the opposite: First refresh MiKTeX's file name databasse,
> then reconfigure LyX.
>
>> Any ideas?
>
> Nothing further.
>
> regards Uwe
>


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread cmiramon
Erez Yerushalmi wrote:

> 
> Can anyone suggest a good drawing program?
> Can Beamer do this??  I haven't used it yet (I admit).
> 

If you want to draw / code technical drawings and plots try tikz / pgf. It
will work well with beamer because both packages are done by the same
author, Till Tantau.

Look  http://www.texample.net/tikz/examples/ to see what you can do with
tikz

The documentation is very good and the syntax is nice.

Similar to tikz / pgf but older, pstricks is quite popular and well
documented. 

You have also Asymptote.

Cheers,
Charles



Re: ACM

2008-10-15 Thread Julio Rojas
This is the ouput generated by LyX:

Unable to convert C:/Program Files/LyX
1.6.0rc3/bin/../Resources/layouts/sigplanconf.layout to format 8
Error reading `[layouts/sigplanconf.layout]'
(Check `sigplanconf')
Check your installation and try Options/Reconfigure...
Error: Could not load class

The document class sigplanconf could not be loaded.
Error: Error

Unable to set document class.

It seems like a LyX can't read the layout. Any ideas?
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 9:49 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:
> Done and still the same problem. Removed files, reconfigures, added
> the files and reconfigured in the correct secuence and still the same
> problem.
> -
> Julio Rojas
> [EMAIL PROTECTED]
>
>
>
> On Wed, Oct 15, 2008 at 6:56 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
>> Julio Rojas schrieb:
>>
>>> I have moved from my Ubuntu PC where everything was alright to my
>>> Vista PC. I installed the class file and the LyX layout. Reconfigured
>>> LyX, reconfigured MikTeX
>>
>> You need to do the opposite: First refresh MiKTeX's file name databasse,
>> then reconfigure LyX.
>>
>>> Any ideas?
>>
>> Nothing further.
>>
>> regards Uwe
>>
>


Re: .wmf graphics cannot be seen in lyx

2008-10-15 Thread Julio Rojas
I guess WMF is not a supported file type. Try using PDF or EPS plots.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 8:56 PM, Erez Yerushalmi
<[EMAIL PROTECTED]> wrote:
> Dear All,
>
> I'm using Lyx 1.5.5, windows xp.
>
> At the moment, i'm saving MS powerpoint slides as .wmf and importing to LyX.
> (Thanks to those giving me suggestions for other drawing programs. I've been
> playing with a few of them, and will write later which one I feel is best)
>
> *Here is my question:*
> Can anyone tell me why LyX gives an error when it tries to enable me to *see
> * the fig LyX.
> The message I get is "error converting to Loadable format"
> I don't get this message when imporing .jpg, and I see the figure.
>
> The pdf output is with .wmf is beautiful, much better than a .jpg. (Thanks
> Joost).
>
> Kind Regards,  Erez
>
> --
> Erez Yerushalmi
> PhD Student
> Warwick University, UK
> http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi
>


Setting two character styles at once

2008-10-15 Thread Michael Brown
Greetings,

I'm currently writing up a document and I'm trying to do something
relatively simple (considering what else I've done :).

I'd like to write text that is both in the typewriter face and bolded.
Using LyX, what I end up with is:

 \texttt{\textbf{0x2E}}: Constant   ..

and the resulting output is in typewriter style but not bolded. Is there
any way to do both?

Thanks,

Michael


Re: Hyperlinked cross-references inside PDF documents?

2008-10-15 Thread Keith Roberts

On Wed, 15 Oct 2008, Uwe Stöhr wrote:


To: Keith Roberts <[EMAIL PROTECTED]>
From: Uwe Stöhr <[EMAIL PROTECTED]>
Subject: Re: Hyperlinked cross-references inside PDF documents?

Keith Roberts schrieb:

In the meantime, can someone please tell me if it's possible to create 
hyper-linked cross-references that can be clicked on in a PDF file?


You have to use the LateX-package "hyperref" in the document preamble. 
For an example, have a look at the preamble of LyX's UserGuide and start 
with this code.


In the next release LyX 1.6.0 hyperref support is available in the 
document setting under "PDF Options".


regards Uwe


Thanks Richard and Uwe for your replies. I'll take alook at 
the preamble code for the UserGuide soon and let you know 
how I get on.


Now I know that it's possible to use such href links with 
LyX, I can get on learning the documentation :)


Kind Regards,

Keith

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

The mind of the prudent is ever getting knowledge, and the
eear of the wise is ever seeking, inquiring for and craving
knowledge. Pr. 18:15 Amp

Where will you spend Eternity?
http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-


Re: Can you suggest a good way to draw pictures with latex code?

2008-10-15 Thread Abdelrazak Younes

On 15/10/2008 17:55, Erez Yerushalmi wrote:


Can anyone suggest a good drawing program?


jfig is nice (clone of xfig written in Java). And LyX has direct support 
for fig format...


Abdel.



Re: Picture's background

2008-10-15 Thread Yago

You can see the package wallpaper.
- Original Message - 
From: "Ralt" <[EMAIL PROTECTED]>

To: <lyx-users@lists.lyx.org>
Sent: Wednesday, October 15, 2008 3:43 PM
Subject: Picture's background




Hi,

I'm quite new to LyX, and I have so searched a lot in documentation. But 
it
hasn't helped me to know how to have a specific picture as background 
(JPEG,

PNG, w/e). So it's maybe very easy, if so I'm sorry, but I haven't found.

Can you please explain?

Regards,
Ralt.
--
View this message in context: 
http://n2.nabble.com/Picture%27s-background-tp1336800p1336800.html

Sent from the LyX - Users mailing list archive at Nabble.com.


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3524 (20081015) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






  1   2   >