PDF figures automatically rastertized to PNG images, included in PDF document

2010-10-14 Thread Brendon Higgins
Hi list,

I'm wondering what might be wrong here. I have a lyx document which includes 
figures that are in PDF format. Whenever I try to compile to a PDF (preview or 
export), LyX converts these figures into low resolution PNG files. This fact is 
made clear when I try to export to Latex (pdflatex). It seems pdflatex uses 
those PNG files rather than the PDF files when it generates the document, and 
that makes the result look horrible. So what do you suppose is at fault, here? 
Bad LyX config? LyX bug? pdflatex bug?

LyX 1.6.7 on Debian Squeeze. Please CC as I'm not subscribed. :-)

Peace,
Brendon


Version control

2010-10-14 Thread Emil Pavlov

Hello everybody,

What is the main difference between RCS, CVS and SVN? Is there some easy 
way to configure any of them on Ubuntu? And a follow-up question: How 
does version control works when I am using master and child documents?


Thanks.

Best Regards,
Emil Pavlov


Re: Version control

2010-10-14 Thread Pavel Sanda
Emil Pavlov wrote:
 Hello everybody,

 What is the main difference between RCS, CVS and SVN? Is there some easy 

rcs is good for single files, does not need much to setup. not good for sharing 
between colaborators.

svn is 'better' version of cvs (cvs is not much supported by lyx anyway).
it needs more expertise to setup, but its can track the whole archive of
files (child documents,pictures,bibtex files etc).

 way to configure any of them on Ubuntu?

for rcs only installing is enough. you can immediately use register in lyx VC 
menu.
be careful only single document file is tracked, not its pictures...

for svn you need to google some svn guide.

And a follow-up question: How does 
 version control works when I am using master and child documents?

you need to register all childern as well.
pavel


Figure labelling

2010-10-14 Thread Grzegorz Sadlok
Dear LyX community,

Im a PhD student working in paleontology and I currently discover LyX.
This is a nice tool especially  for those working in science, so I'm
going to use LyX as my primary editor during thesis preparation. As far,
I find only one problem I could not solve by myself. In LyX there is a
grate tool: automatic numbering and referring to figures that one may
need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I
need to inform I'm a polish user of LyX (Ubuntu OS) since I feel this
can have an impact on the way in which the problem can be solved. I will
not need to switch between LyX and OpenOffice Word Editor (for editing
of labels) if only I have the problem of labelling solved.

Best wishes!

Gregory


Re: Figure labelling

2010-10-14 Thread Pavel Sanda
Grzegorz Sadlok wrote:
 need to put in the manuscript (I certainly need). I use the standard
 article class where the default label for figures is ''Figure''. Is it
 possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I

does this help?
http://wiki.lyx.org/LyX/Figures#toc11

pavel


Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto

 does this help?
 http://wiki.lyx.org/LyX/Figures#toc11


and for the cross references in the text, you can modify by using
hyperref package, the example is here:

http://sites.google.com/site/lyxthesistemplate/4-cross-references

The cross reference uses formated reference (InsertCross reference)

Regards
waluyo


Re: Figure labelling

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 16:09, schrieb Pavel Sanda:


need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.?


One method is to use what Pavel wrote in his post. There is also another 
method that will additionally automatically write the name Fig.. This 
has the advantage that you can later change the name of all references 
in your document. This method is described in sec. 3.4.2 Automatic 
Reference Naming Of the EmbeddedObjects manual that you find in LyX's 
Help menu.


regards Uwe


Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread iustifico
Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?

Perhaps like in here: http://bit.ly/belSIj

It would be great if something like Input: and Output: were implemented...

Regards,
iustifico






Re: PDF figures automatically rastertized to PNG images, included in PDF document

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 08:38, schrieb Brendon Higgins:


I'm wondering what might be wrong here. I have a lyx document which includes
figures that are in PDF format. Whenever I try to compile to a PDF (preview or
export), LyX converts these figures into low resolution PNG files. This fact is
made clear when I try to export to Latex (pdflatex). It seems pdflatex uses
those PNG files rather than the PDF files when it generates the document,


pdflatex will use PDF, PNG, JPG and GIF images directly. Images in other 
formats are converted to PNG.
But perhaps your PDF images are corrupted so that they are not 
recognized as PDF. Can you post one of your images?


regards Uwe


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Richard Heck

On 10/14/2010 01:19 PM, iustifico wrote:

Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?

Perhaps like in here: http://bit.ly/belSIj

It would be great if something like Input: and Output: were implemented...

   

LyX supports the listings package, so I'd look into that.

rh



Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto
On 15 October 2010 00:24, Waluyo Adi Siswanto was.u...@gmail.com wrote:

 does this help?
 http://wiki.lyx.org/LyX/Figures#toc11


 and for the cross references in the text, you can modify by using
 hyperref package, the example is here:

 http://sites.google.com/site/lyxthesistemplate/4-cross-references

 The cross reference uses formated reference (InsertCross reference)

 Regards
 waluyo


Ooops sorry... I mean prettyref not hyperref !

Regards, waluyo


New PDF Conversions on Windows

2010-10-14 Thread Rob Oakes
 Dear LyX Users,

I've run into a bit of a problem and I am wondering if anyone else has
seen it before.  I'm trying to compile test documents on Windows with
LyX 2.0 and MikTeX 2.8.  The documents all compile without trouble, but
I'm having a devil of a time with PDF images.

The document converter is being tremendously finicky with any PDF that
is greater than version 1.4.  Versions 1.5 and 1.6 (which are created by
most applications by default) are simply not included in the output. 
When I look at the output (from LyX debug window), it says that it is
unable to find a compatible converter.  In the final PDF, there is a
space for the graphic that is the right size, but the actual graphic
does not appear.  It's just a big white rectangle.

Does anyone know what the root of the problem is?  Is this is LyX issue,
or a MikTeX issue, or a Ghostscript issue?  Or do I need to add a
converter somewhere?  (Converting all of the offending PDFs to version
1.4 really isn't an option, there are several hundred of them.)

This problem only appears on Windows.  Compiling the exact same document
in Ubuntu or Mac OS X works just fine.  (Which makes me believe its a
MikTeX problem.)

Anyone seen something similar and come up with a way to remedy the
problem?  Any thoughts would be appreciated.

Cheers,

Rob


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 19:19, schrieb iustifico:


Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?


Yes, see chap. 7 Program Code Listings of the EmbeddedObjects manual 
that you find in LyX's help menu.


regards Uwe


Re: New PDF Conversions on Windows

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 19:43, schrieb Rob Oakes:


I've run into a bit of a problem and I am wondering if anyone else has
seen it before.  I'm trying to compile test documents on Windows with
LyX 2.0 and MikTeX 2.8.  The documents all compile without trouble, but
I'm having a devil of a time with PDF images.


Please note that LyX 2.0 is not even in beta state and my installer for 
alpha 6 contains major upgrades in third-party programs like ImageMagick 
and Ghostscript. These programs in combination are not well tested and I 
won't wonder when this is causing your problem.


Therefore use LyX 1.6.7 except you want to test LyX 2.0.

Can you nevertheless please send me a PDF image that doesn't work?


(Converting all of the offending PDFs to version
1.4 really isn't an option, there are several hundred of them.)


This should be easy using Ghostscript. Open a console, change to the 
directory of the PDFs and execute the Ghostscript command to convert all 
PDF files to version 1.4. But I wouldn't do this as long as it works for 
you in LyX 1.6.7.


thanks and regards
Uwe


Re: New PDF Conversions on Windows

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 20:25, schrieb Uwe Stöhr:

Does adding this line to your document preamble fix the problem:

\pdfminorversion=6

regards Uwe


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread iustifico
Thank you, that is exactly what I am looking for. I see, that it is also
possible to chose a language and lyx highlightens the keywords. That is
nice!

But I only want to write Pseudecode. Which of these available languages
suits for that?

Another question: Is it possible to write mathsymbols into this environment?
CMD-M (MacOSX) doesn't seem to work...

Regards,
iustifico

2010/10/14 Uwe Stöhr uwesto...@web.de

 Am 14.10.2010 19:19, schrieb iustifico:


  Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?


 Yes, see chap. 7 Program Code Listings of the EmbeddedObjects manual that
 you find in LyX's help menu.

 regards Uwe



Re: Version control

2010-10-14 Thread Liviu Andronic
On Thu, Oct 14, 2010 at 3:05 PM, Pavel Sanda sa...@lyx.org wrote:
 way to configure any of them on Ubuntu?

 for rcs only installing is enough. you can immediately use register in lyx 
 VC menu.
 be careful only single document file is tracked, not its pictures...

 for svn you need to google some svn guide.

I very much like Rob's series of articles [1] on subversion. Before
you read this guide [2] in full, check the comments section.
Liviu

[1] http://blog.oak-tree.us/index.php/science-and-technology/svn
[2] http://blog.oak-tree.us/index.php/2009/02/17/backup-part3


Re: what is a good lyx layout for notetaking?

2010-10-14 Thread Abdelrazak Younes

On 14/10/2010 03:15, Telmo Amaral wrote:


Personally, I use LyX as a simple note taking tool because I like to be able to
associate labels with my notes and to quickly find all notes marked with a
certain label. LyX's labels can be used for that purpose very effectively.
Basically, at the top of my notes file, I create a list of labels with Insert
Label. Then, anywhere I wish to label a note, I do Insert  Cross-Reference and
choose the appropriate label. By keeping the Document  Outline window open
displaying Labels and References, I can see a list of all references to each
label, and quickly jump to any such reference.


Hey, this was mostly the reason why I implemented the ref support for 
labels and references, it's good to know that this is useful to other 
people for the very same purpose :-)


Abdel.


Marginal Note Format

2010-10-14 Thread Bruce Pourciau
Expecting the default format for a Marginal Note to be ragged right  
(when it's in the right margin) and Small text size (like footnotes),  
I was surprised to see full justification, which produced huge spaces  
between words of course, and normal size text. How do I make my  
marginal notes ragged right and small text size, without applying this  
format to each individual marginal note?


Bruce


Marginal Note Format

2010-10-14 Thread Bruce Pourciau
I forgot, I also want the line spacing to be smaller than it is in the  
body text. I guess I want the Marginal Note to have the format of a  
footnote, except it should be ragged right, rather than justified.


Bruce

Expecting the default format for a Marginal Note to be ragged right  
(when it's in the right margin) and Small text size (like  
footnotes), I was surprised to see full justification, which  
produced huge spaces between words of course, and normal size text.  
How do I make my marginal notes ragged right and small text size,  
without applying this format to each individual marginal note?


Bruce


Re: what is a good lyx layout for notetaking?

2010-10-14 Thread Jacob Bishop
On Wed, Oct 13, 2010 at 9:35 PM, Steve Litt sl...@troubleshooters.comwrote:

 VimOutliner

 http://www.vimoutliner.net


Steve,

I looked at VimOutliner last night and have begun using it. I watched your
video, and it has been easy to get started since I already use vim every
day, and have already been using it to generate outlines, just without the
folding and other nice features VimOutliner provides. It really is nice.
Thanks.

Telmo,

I appreciate your input, I have not used the labels and references part of
the outline view. It defaults to table of contents so I hadn't realized it
could be used in this way. Good tip. Looks like it's time for me to go
through the documentation a bit more thoroughly.

All,

While I use vim for many tasks, I have still never found a program as good
as LyX when it comes to taking notes for classes. It's the only program I'm
aware of that a skilled user (not me, I'm not quite fast enough yet) can
keep up taking notes on a computer in a Mathematics or Engineering class.
You just can't get the equations and formulas in quickly enough with
anything else. Go LyX!


Jacob


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Paul Rubin
iustifico iustifico at gmail.com writes:

 Thank you, that is exactly what I am looking for. I see, that it is also
 possible to chose a language and lyx highlightens the keywords. That is nice!
 
 But I only want to write Pseudecode. Which of these available languages 
 suits for that?

It depends on whether you want keywords (such as if or for) highlighted
by a special font.  If no, then you can leave the language box at no language
selected.  If yes, you want to look for a language that considers the 
keywords in your pseudocode to be reserved words.  You might try Python or
maybe sh to start.  I typically use no language or else experiment.
 
 Another question: Is it possible to write mathsymbols into this environment?
CMD-M (MacOSX) doesn't seem to work...

Go to the advanced tab of the listing settings dialog and put mathescape=true in
the right side pane.  You will need to enter the math in raw LaTeX, not using
the math editor.  A trick I use is to use the math editor to type the
math in a math inset, then copy it and paste it into the listings box.  (I
still have to supply the dollar signs myself.)

/Paul




Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 21:09, schrieb iustifico:


But I only want to write Pseudecode. Which of these available languages
suits for that?


This depend on the keywords that listings should recognize. Personally, 
I use Pascal for writing pseudocode.



Another question: Is it possible to write mathsymbols into this
environment? CMD-M (MacOSX) doesn't seem to work...


This is possible, see the attached LyX file:

- set the option
  mathescape = true
  for the listing
- create the formula outside of the listing
- copy the content of the formula (not the formula inset) to the
  clipboard via Ctrl-c
- in the listing write
  $$
  and paste between the dollar signs via Ctrl-v

I'll add this info to the manual for LyX 1.6.8.

regards Uwe


ListingsMath.lyx
Description: application/lyx


Re: Marginal Note Format

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 23:00, schrieb Bruce Pourciau:


How do I make my marginal notes ragged right and small text size, without 
applying this format to
each individual marginal note?


Both is explained in sec. 4.3 Margin Notes of the EmbeddedObjects 
manual that you find in LyX's help menu.


regards Uwe


Re: New PDF Conversions on Windows

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 21:26, schrieb Rob Oakes:


I appreciate that.  The same images don't appear to working in LyX 1.6.7 either.


Your image works fine for me in LyX 1.6.7 and also in LyX 2.0svn using 
pdflatex and standard settings for MiKTeX 2.8.



 I think it is a quirk with XeLaTeX under MikTeX.


How do you use XeTeX with LyX 1.6.7?


Unfortunately, using pdfminor version did not help resolve the problem. It 
looks as though XeLaTeX doesn't respect the command.


Then it is indeed a problem of XeTeX. You should report that on the 
MiKTeX users list. I guess they have a solution for that or know if the 
upcoming MiKTeX 2.9 will fix this.

If you found a workaround, can you please report back?

regards Uwe


Re: PDF figures automatically rastertized to PNG images, included in PDF document

2010-10-14 Thread Brendon Higgins
Uwe Stöhr wrote (2010-10-15 03:26):
 pdflatex will use PDF, PNG, JPG and GIF images directly. Images in other
 formats are converted to PNG.
 But perhaps your PDF images are corrupted so that they are not
 recognized as PDF. Can you post one of your images?

I just created a test PDF figure which also exhibits this problem. The figure I 
was originally having the problem with was created by someone else (so I'd 
rather not share it), but using completely different software to what I used to 
create the attached.

Thus I doubt that corrupt PDFs are the problem. I don't know for certain, but 
it would make sense for LyX to convert vector formats to PNG so that it can 
display them. But then it seems that pdflatex uses those PNGs, too.

When I do Export-Latex (pdflatex) the PNG image files are also created. Unless 
I delete them, when I run pdflatex it includes the PNG files, not the PDFs. 
When 
I delete the PNG files, pdflatex includes the PDF files just fine. (Indeed, 
this 
is how I work around the problem.)

Is pdflatex supposed to guarantee the order in which it searches through 
extensions for figure files? Does LyX assume that order is sensible?

Peace,
Brendon


testfig.pdf
Description: Adobe PDF document


test.lyx
Description: application/lyx


Re: Problems with Lyx 1.6.7 under Windows 7 64bit

2010-10-14 Thread Bert Morio

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
On 13.10.2010 22:32, Tennessee Carmel-Veilleux wrote:
 On 13 October 2010 16:16, Bert Morio bert.mo...@arcor.de
 mailto:bert.mo...@arcor.de wrote:


 Had no problems with older versions of Lyx, but with Lyx 1.6.7 it is
 impossible to use the FILE OPEN or the FILE SAVE AS dialog. No new
 window for file select pops up. Various de- and reinstalls
 didn't help.


 Another user had this problem recently. The solution was to enable
 the Tablet PC Input service of Windows.

Thank you, problem solved

Bert Morio



-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAky32FMACgkQZv/ZJuZiaZ/wNwCfSGhTQET6dhGE6YiSGOIGy2TJ
OecAnRuTptFRPmp0uGPbUP/kHycDNM9s
=pl5M
-END PGP SIGNATURE-



PDF figures automatically rastertized to PNG images, included in PDF document

2010-10-14 Thread Brendon Higgins
Hi list,

I'm wondering what might be wrong here. I have a lyx document which includes 
figures that are in PDF format. Whenever I try to compile to a PDF (preview or 
export), LyX converts these figures into low resolution PNG files. This fact is 
made clear when I try to export to Latex (pdflatex). It seems pdflatex uses 
those PNG files rather than the PDF files when it generates the document, and 
that makes the result look horrible. So what do you suppose is at fault, here? 
Bad LyX config? LyX bug? pdflatex bug?

LyX 1.6.7 on Debian Squeeze. Please CC as I'm not subscribed. :-)

Peace,
Brendon


Version control

2010-10-14 Thread Emil Pavlov

Hello everybody,

What is the main difference between RCS, CVS and SVN? Is there some easy 
way to configure any of them on Ubuntu? And a follow-up question: How 
does version control works when I am using master and child documents?


Thanks.

Best Regards,
Emil Pavlov


Re: Version control

2010-10-14 Thread Pavel Sanda
Emil Pavlov wrote:
 Hello everybody,

 What is the main difference between RCS, CVS and SVN? Is there some easy 

rcs is good for single files, does not need much to setup. not good for sharing 
between colaborators.

svn is 'better' version of cvs (cvs is not much supported by lyx anyway).
it needs more expertise to setup, but its can track the whole archive of
files (child documents,pictures,bibtex files etc).

 way to configure any of them on Ubuntu?

for rcs only installing is enough. you can immediately use register in lyx VC 
menu.
be careful only single document file is tracked, not its pictures...

for svn you need to google some svn guide.

And a follow-up question: How does 
 version control works when I am using master and child documents?

you need to register all childern as well.
pavel


Figure labelling

2010-10-14 Thread Grzegorz Sadlok
Dear LyX community,

Im a PhD student working in paleontology and I currently discover LyX.
This is a nice tool especially  for those working in science, so I'm
going to use LyX as my primary editor during thesis preparation. As far,
I find only one problem I could not solve by myself. In LyX there is a
grate tool: automatic numbering and referring to figures that one may
need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I
need to inform I'm a polish user of LyX (Ubuntu OS) since I feel this
can have an impact on the way in which the problem can be solved. I will
not need to switch between LyX and OpenOffice Word Editor (for editing
of labels) if only I have the problem of labelling solved.

Best wishes!

Gregory


Re: Figure labelling

2010-10-14 Thread Pavel Sanda
Grzegorz Sadlok wrote:
 need to put in the manuscript (I certainly need). I use the standard
 article class where the default label for figures is ''Figure''. Is it
 possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I

does this help?
http://wiki.lyx.org/LyX/Figures#toc11

pavel


Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto

 does this help?
 http://wiki.lyx.org/LyX/Figures#toc11


and for the cross references in the text, you can modify by using
hyperref package, the example is here:

http://sites.google.com/site/lyxthesistemplate/4-cross-references

The cross reference uses formated reference (InsertCross reference)

Regards
waluyo


Re: Figure labelling

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 16:09, schrieb Pavel Sanda:


need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.?


One method is to use what Pavel wrote in his post. There is also another 
method that will additionally automatically write the name Fig.. This 
has the advantage that you can later change the name of all references 
in your document. This method is described in sec. 3.4.2 Automatic 
Reference Naming Of the EmbeddedObjects manual that you find in LyX's 
Help menu.


regards Uwe


Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread iustifico
Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?

Perhaps like in here: http://bit.ly/belSIj

It would be great if something like Input: and Output: were implemented...

Regards,
iustifico






Re: PDF figures automatically rastertized to PNG images, included in PDF document

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 08:38, schrieb Brendon Higgins:


I'm wondering what might be wrong here. I have a lyx document which includes
figures that are in PDF format. Whenever I try to compile to a PDF (preview or
export), LyX converts these figures into low resolution PNG files. This fact is
made clear when I try to export to Latex (pdflatex). It seems pdflatex uses
those PNG files rather than the PDF files when it generates the document,


pdflatex will use PDF, PNG, JPG and GIF images directly. Images in other 
formats are converted to PNG.
But perhaps your PDF images are corrupted so that they are not 
recognized as PDF. Can you post one of your images?


regards Uwe


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Richard Heck

On 10/14/2010 01:19 PM, iustifico wrote:

Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?

Perhaps like in here: http://bit.ly/belSIj

It would be great if something like Input: and Output: were implemented...

   

LyX supports the listings package, so I'd look into that.

rh



Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto
On 15 October 2010 00:24, Waluyo Adi Siswanto was.u...@gmail.com wrote:

 does this help?
 http://wiki.lyx.org/LyX/Figures#toc11


 and for the cross references in the text, you can modify by using
 hyperref package, the example is here:

 http://sites.google.com/site/lyxthesistemplate/4-cross-references

 The cross reference uses formated reference (InsertCross reference)

 Regards
 waluyo


Ooops sorry... I mean prettyref not hyperref !

Regards, waluyo


New PDF Conversions on Windows

2010-10-14 Thread Rob Oakes
 Dear LyX Users,

I've run into a bit of a problem and I am wondering if anyone else has
seen it before.  I'm trying to compile test documents on Windows with
LyX 2.0 and MikTeX 2.8.  The documents all compile without trouble, but
I'm having a devil of a time with PDF images.

The document converter is being tremendously finicky with any PDF that
is greater than version 1.4.  Versions 1.5 and 1.6 (which are created by
most applications by default) are simply not included in the output. 
When I look at the output (from LyX debug window), it says that it is
unable to find a compatible converter.  In the final PDF, there is a
space for the graphic that is the right size, but the actual graphic
does not appear.  It's just a big white rectangle.

Does anyone know what the root of the problem is?  Is this is LyX issue,
or a MikTeX issue, or a Ghostscript issue?  Or do I need to add a
converter somewhere?  (Converting all of the offending PDFs to version
1.4 really isn't an option, there are several hundred of them.)

This problem only appears on Windows.  Compiling the exact same document
in Ubuntu or Mac OS X works just fine.  (Which makes me believe its a
MikTeX problem.)

Anyone seen something similar and come up with a way to remedy the
problem?  Any thoughts would be appreciated.

Cheers,

Rob


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 19:19, schrieb iustifico:


Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?


Yes, see chap. 7 Program Code Listings of the EmbeddedObjects manual 
that you find in LyX's help menu.


regards Uwe


Re: New PDF Conversions on Windows

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 19:43, schrieb Rob Oakes:


I've run into a bit of a problem and I am wondering if anyone else has
seen it before.  I'm trying to compile test documents on Windows with
LyX 2.0 and MikTeX 2.8.  The documents all compile without trouble, but
I'm having a devil of a time with PDF images.


Please note that LyX 2.0 is not even in beta state and my installer for 
alpha 6 contains major upgrades in third-party programs like ImageMagick 
and Ghostscript. These programs in combination are not well tested and I 
won't wonder when this is causing your problem.


Therefore use LyX 1.6.7 except you want to test LyX 2.0.

Can you nevertheless please send me a PDF image that doesn't work?


(Converting all of the offending PDFs to version
1.4 really isn't an option, there are several hundred of them.)


This should be easy using Ghostscript. Open a console, change to the 
directory of the PDFs and execute the Ghostscript command to convert all 
PDF files to version 1.4. But I wouldn't do this as long as it works for 
you in LyX 1.6.7.


thanks and regards
Uwe


Re: New PDF Conversions on Windows

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 20:25, schrieb Uwe Stöhr:

Does adding this line to your document preamble fix the problem:

\pdfminorversion=6

regards Uwe


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread iustifico
Thank you, that is exactly what I am looking for. I see, that it is also
possible to chose a language and lyx highlightens the keywords. That is
nice!

But I only want to write Pseudecode. Which of these available languages
suits for that?

Another question: Is it possible to write mathsymbols into this environment?
CMD-M (MacOSX) doesn't seem to work...

Regards,
iustifico

2010/10/14 Uwe Stöhr uwesto...@web.de

 Am 14.10.2010 19:19, schrieb iustifico:


  Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?


 Yes, see chap. 7 Program Code Listings of the EmbeddedObjects manual that
 you find in LyX's help menu.

 regards Uwe



Re: Version control

2010-10-14 Thread Liviu Andronic
On Thu, Oct 14, 2010 at 3:05 PM, Pavel Sanda sa...@lyx.org wrote:
 way to configure any of them on Ubuntu?

 for rcs only installing is enough. you can immediately use register in lyx 
 VC menu.
 be careful only single document file is tracked, not its pictures...

 for svn you need to google some svn guide.

I very much like Rob's series of articles [1] on subversion. Before
you read this guide [2] in full, check the comments section.
Liviu

[1] http://blog.oak-tree.us/index.php/science-and-technology/svn
[2] http://blog.oak-tree.us/index.php/2009/02/17/backup-part3


Re: what is a good lyx layout for notetaking?

2010-10-14 Thread Abdelrazak Younes

On 14/10/2010 03:15, Telmo Amaral wrote:


Personally, I use LyX as a simple note taking tool because I like to be able to
associate labels with my notes and to quickly find all notes marked with a
certain label. LyX's labels can be used for that purpose very effectively.
Basically, at the top of my notes file, I create a list of labels with Insert
Label. Then, anywhere I wish to label a note, I do Insert  Cross-Reference and
choose the appropriate label. By keeping the Document  Outline window open
displaying Labels and References, I can see a list of all references to each
label, and quickly jump to any such reference.


Hey, this was mostly the reason why I implemented the ref support for 
labels and references, it's good to know that this is useful to other 
people for the very same purpose :-)


Abdel.


Marginal Note Format

2010-10-14 Thread Bruce Pourciau
Expecting the default format for a Marginal Note to be ragged right  
(when it's in the right margin) and Small text size (like footnotes),  
I was surprised to see full justification, which produced huge spaces  
between words of course, and normal size text. How do I make my  
marginal notes ragged right and small text size, without applying this  
format to each individual marginal note?


Bruce


Marginal Note Format

2010-10-14 Thread Bruce Pourciau
I forgot, I also want the line spacing to be smaller than it is in the  
body text. I guess I want the Marginal Note to have the format of a  
footnote, except it should be ragged right, rather than justified.


Bruce

Expecting the default format for a Marginal Note to be ragged right  
(when it's in the right margin) and Small text size (like  
footnotes), I was surprised to see full justification, which  
produced huge spaces between words of course, and normal size text.  
How do I make my marginal notes ragged right and small text size,  
without applying this format to each individual marginal note?


Bruce


Re: what is a good lyx layout for notetaking?

2010-10-14 Thread Jacob Bishop
On Wed, Oct 13, 2010 at 9:35 PM, Steve Litt sl...@troubleshooters.comwrote:

 VimOutliner

 http://www.vimoutliner.net


Steve,

I looked at VimOutliner last night and have begun using it. I watched your
video, and it has been easy to get started since I already use vim every
day, and have already been using it to generate outlines, just without the
folding and other nice features VimOutliner provides. It really is nice.
Thanks.

Telmo,

I appreciate your input, I have not used the labels and references part of
the outline view. It defaults to table of contents so I hadn't realized it
could be used in this way. Good tip. Looks like it's time for me to go
through the documentation a bit more thoroughly.

All,

While I use vim for many tasks, I have still never found a program as good
as LyX when it comes to taking notes for classes. It's the only program I'm
aware of that a skilled user (not me, I'm not quite fast enough yet) can
keep up taking notes on a computer in a Mathematics or Engineering class.
You just can't get the equations and formulas in quickly enough with
anything else. Go LyX!


Jacob


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Paul Rubin
iustifico iustifico at gmail.com writes:

 Thank you, that is exactly what I am looking for. I see, that it is also
 possible to chose a language and lyx highlightens the keywords. That is nice!
 
 But I only want to write Pseudecode. Which of these available languages 
 suits for that?

It depends on whether you want keywords (such as if or for) highlighted
by a special font.  If no, then you can leave the language box at no language
selected.  If yes, you want to look for a language that considers the 
keywords in your pseudocode to be reserved words.  You might try Python or
maybe sh to start.  I typically use no language or else experiment.
 
 Another question: Is it possible to write mathsymbols into this environment?
CMD-M (MacOSX) doesn't seem to work...

Go to the advanced tab of the listing settings dialog and put mathescape=true in
the right side pane.  You will need to enter the math in raw LaTeX, not using
the math editor.  A trick I use is to use the math editor to type the
math in a math inset, then copy it and paste it into the listings box.  (I
still have to supply the dollar signs myself.)

/Paul




Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 21:09, schrieb iustifico:


But I only want to write Pseudecode. Which of these available languages
suits for that?


This depend on the keywords that listings should recognize. Personally, 
I use Pascal for writing pseudocode.



Another question: Is it possible to write mathsymbols into this
environment? CMD-M (MacOSX) doesn't seem to work...


This is possible, see the attached LyX file:

- set the option
  mathescape = true
  for the listing
- create the formula outside of the listing
- copy the content of the formula (not the formula inset) to the
  clipboard via Ctrl-c
- in the listing write
  $$
  and paste between the dollar signs via Ctrl-v

I'll add this info to the manual for LyX 1.6.8.

regards Uwe


ListingsMath.lyx
Description: application/lyx


Re: Marginal Note Format

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 23:00, schrieb Bruce Pourciau:


How do I make my marginal notes ragged right and small text size, without 
applying this format to
each individual marginal note?


Both is explained in sec. 4.3 Margin Notes of the EmbeddedObjects 
manual that you find in LyX's help menu.


regards Uwe


Re: New PDF Conversions on Windows

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 21:26, schrieb Rob Oakes:


I appreciate that.  The same images don't appear to working in LyX 1.6.7 either.


Your image works fine for me in LyX 1.6.7 and also in LyX 2.0svn using 
pdflatex and standard settings for MiKTeX 2.8.



 I think it is a quirk with XeLaTeX under MikTeX.


How do you use XeTeX with LyX 1.6.7?


Unfortunately, using pdfminor version did not help resolve the problem. It 
looks as though XeLaTeX doesn't respect the command.


Then it is indeed a problem of XeTeX. You should report that on the 
MiKTeX users list. I guess they have a solution for that or know if the 
upcoming MiKTeX 2.9 will fix this.

If you found a workaround, can you please report back?

regards Uwe


Re: PDF figures automatically rastertized to PNG images, included in PDF document

2010-10-14 Thread Brendon Higgins
Uwe Stöhr wrote (2010-10-15 03:26):
 pdflatex will use PDF, PNG, JPG and GIF images directly. Images in other
 formats are converted to PNG.
 But perhaps your PDF images are corrupted so that they are not
 recognized as PDF. Can you post one of your images?

I just created a test PDF figure which also exhibits this problem. The figure I 
was originally having the problem with was created by someone else (so I'd 
rather not share it), but using completely different software to what I used to 
create the attached.

Thus I doubt that corrupt PDFs are the problem. I don't know for certain, but 
it would make sense for LyX to convert vector formats to PNG so that it can 
display them. But then it seems that pdflatex uses those PNGs, too.

When I do Export-Latex (pdflatex) the PNG image files are also created. Unless 
I delete them, when I run pdflatex it includes the PNG files, not the PDFs. 
When 
I delete the PNG files, pdflatex includes the PDF files just fine. (Indeed, 
this 
is how I work around the problem.)

Is pdflatex supposed to guarantee the order in which it searches through 
extensions for figure files? Does LyX assume that order is sensible?

Peace,
Brendon


testfig.pdf
Description: Adobe PDF document


test.lyx
Description: application/lyx


Re: Problems with Lyx 1.6.7 under Windows 7 64bit

2010-10-14 Thread Bert Morio

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
On 13.10.2010 22:32, Tennessee Carmel-Veilleux wrote:
 On 13 October 2010 16:16, Bert Morio bert.mo...@arcor.de
 mailto:bert.mo...@arcor.de wrote:


 Had no problems with older versions of Lyx, but with Lyx 1.6.7 it is
 impossible to use the FILE OPEN or the FILE SAVE AS dialog. No new
 window for file select pops up. Various de- and reinstalls
 didn't help.


 Another user had this problem recently. The solution was to enable
 the Tablet PC Input service of Windows.

Thank you, problem solved

Bert Morio



-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAky32FMACgkQZv/ZJuZiaZ/wNwCfSGhTQET6dhGE6YiSGOIGy2TJ
OecAnRuTptFRPmp0uGPbUP/kHycDNM9s
=pl5M
-END PGP SIGNATURE-



PDF figures automatically rastertized to PNG images, included in PDF document

2010-10-14 Thread Brendon Higgins
Hi list,

I'm wondering what might be wrong here. I have a lyx document which includes 
figures that are in PDF format. Whenever I try to compile to a PDF (preview or 
export), LyX converts these figures into low resolution PNG files. This fact is 
made clear when I try to export to Latex (pdflatex). It seems pdflatex uses 
those PNG files rather than the PDF files when it generates the document, and 
that makes the result look horrible. So what do you suppose is at fault, here? 
Bad LyX config? LyX bug? pdflatex bug?

LyX 1.6.7 on Debian Squeeze. Please CC as I'm not subscribed. :-)

Peace,
Brendon


Version control

2010-10-14 Thread Emil Pavlov

Hello everybody,

What is the main difference between RCS, CVS and SVN? Is there some easy 
way to configure any of them on Ubuntu? And a follow-up question: How 
does version control works when I am using master and child documents?


Thanks.

Best Regards,
Emil Pavlov


Re: Version control

2010-10-14 Thread Pavel Sanda
Emil Pavlov wrote:
> Hello everybody,
>
> What is the main difference between RCS, CVS and SVN? Is there some easy 

rcs is good for single files, does not need much to setup. not good for sharing 
between colaborators.

svn is 'better' version of cvs (cvs is not much supported by lyx anyway).
it needs more expertise to setup, but its can track the whole archive of
files (child documents,pictures,bibtex files etc).

> way to configure any of them on Ubuntu?

for rcs only installing is enough. you can immediately use "register" in lyx VC 
menu.
be careful only single document file is tracked, not its pictures...

for svn you need to google some svn guide.

>And a follow-up question: How does 
> version control works when I am using master and child documents?

you need to register all childern as well.
pavel


Figure labelling

2010-10-14 Thread Grzegorz Sadlok
Dear LyX community,

Im a PhD student working in paleontology and I currently discover LyX.
This is a nice tool especially  for those working in science, so I'm
going to use LyX as my primary editor during thesis preparation. As far,
I find only one problem I could not solve by myself. In LyX there is a
grate tool: automatic numbering and referring to figures that one may
need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I
need to inform I'm a polish user of LyX (Ubuntu OS) since I feel this
can have an impact on the way in which the problem can be solved. I will
not need to switch between LyX and OpenOffice Word Editor (for editing
of labels) if only I have the problem of labelling solved.

Best wishes!

Gregory


Re: Figure labelling

2010-10-14 Thread Pavel Sanda
Grzegorz Sadlok wrote:
> need to put in the manuscript (I certainly need). I use the standard
> article class where the default label for figures is ''Figure''. Is it
> possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I

does this help?
http://wiki.lyx.org/LyX/Figures#toc11

pavel


Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto
>
> does this help?
> http://wiki.lyx.org/LyX/Figures#toc11
>

and for the cross references in the text, you can modify by using
hyperref package, the example is here:

http://sites.google.com/site/lyxthesistemplate/4-cross-references

The cross reference uses formated reference (Insert>Cross reference)

Regards
waluyo


Re: Figure labelling

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 16:09, schrieb Pavel Sanda:


need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.?


One method is to use what Pavel wrote in his post. There is also another 
method that will additionally automatically write the name "Fig.". This 
has the advantage that you can later change the name of all references 
in your document. This method is described in sec. 3.4.2 "Automatic 
Reference Naming" Of the EmbeddedObjects manual that you find in LyX's 
Help menu.


regards Uwe


Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread iustifico
Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?

Perhaps like in here: http://bit.ly/belSIj

It would be great if something like "Input:" and "Output:" were implemented...

Regards,
iustifico






Re: PDF figures automatically rastertized to PNG images, included in PDF document

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 08:38, schrieb Brendon Higgins:


I'm wondering what might be wrong here. I have a lyx document which includes
figures that are in PDF format. Whenever I try to compile to a PDF (preview or
export), LyX converts these figures into low resolution PNG files. This fact is
made clear when I try to export to Latex (pdflatex). It seems pdflatex uses
those PNG files rather than the PDF files when it generates the document,


pdflatex will use PDF, PNG, JPG and GIF images directly. Images in other 
formats are converted to PNG.
But perhaps your PDF images are corrupted so that they are not 
recognized as PDF. Can you post one of your images?


regards Uwe


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Richard Heck

On 10/14/2010 01:19 PM, iustifico wrote:

Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?

Perhaps like in here: http://bit.ly/belSIj

It would be great if something like "Input:" and "Output:" were implemented...

   

LyX supports the listings package, so I'd look into that.

rh



Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto
On 15 October 2010 00:24, Waluyo Adi Siswanto  wrote:
>>
>> does this help?
>> http://wiki.lyx.org/LyX/Figures#toc11
>>
>
> and for the cross references in the text, you can modify by using
> hyperref package, the example is here:
>
> http://sites.google.com/site/lyxthesistemplate/4-cross-references
>
> The cross reference uses formated reference (Insert>Cross reference)
>
> Regards
> waluyo
>

Ooops sorry... I mean prettyref not hyperref !

Regards, waluyo


New PDF Conversions on Windows

2010-10-14 Thread Rob Oakes
 Dear LyX Users,

I've run into a bit of a problem and I am wondering if anyone else has
seen it before.  I'm trying to compile test documents on Windows with
LyX 2.0 and MikTeX 2.8.  The documents all compile without trouble, but
I'm having a devil of a time with PDF images.

The document converter is being tremendously finicky with any PDF that
is greater than version 1.4.  Versions 1.5 and 1.6 (which are created by
most applications by default) are simply not included in the output. 
When I look at the output (from LyX debug window), it says that it is
unable to find a compatible converter.  In the final PDF, there is a
space for the graphic that is the right size, but the actual graphic
does not appear.  It's just a big white rectangle.

Does anyone know what the root of the problem is?  Is this is LyX issue,
or a MikTeX issue, or a Ghostscript issue?  Or do I need to add a
converter somewhere?  (Converting all of the offending PDFs to version
1.4 really isn't an option, there are several hundred of them.)

This problem only appears on Windows.  Compiling the exact same document
in Ubuntu or Mac OS X works just fine.  (Which makes me believe its a
MikTeX problem.)

Anyone seen something similar and come up with a way to remedy the
problem?  Any thoughts would be appreciated.

Cheers,

Rob


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 19:19, schrieb iustifico:


Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?


Yes, see chap. 7 "Program Code Listings" of the EmbeddedObjects manual 
that you find in LyX's help menu.


regards Uwe


Re: New PDF Conversions on Windows

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 19:43, schrieb Rob Oakes:


I've run into a bit of a problem and I am wondering if anyone else has
seen it before.  I'm trying to compile test documents on Windows with
LyX 2.0 and MikTeX 2.8.  The documents all compile without trouble, but
I'm having a devil of a time with PDF images.


Please note that LyX 2.0 is not even in beta state and my installer for 
alpha 6 contains major upgrades in third-party programs like ImageMagick 
and Ghostscript. These programs in combination are not well tested and I 
won't wonder when this is causing your problem.


Therefore use LyX 1.6.7 except you want to test LyX 2.0.

Can you nevertheless please send me a PDF image that doesn't work?


(Converting all of the offending PDFs to version
1.4 really isn't an option, there are several hundred of them.)


This should be easy using Ghostscript. Open a console, change to the 
directory of the PDFs and execute the Ghostscript command to convert all 
PDF files to version 1.4. But I wouldn't do this as long as it works for 
you in LyX 1.6.7.


thanks and regards
Uwe


Re: New PDF Conversions on Windows

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 20:25, schrieb Uwe Stöhr:

Does adding this line to your document preamble fix the problem:

\pdfminorversion=6

regards Uwe


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread iustifico
Thank you, that is exactly what I am looking for. I see, that it is also
possible to chose a language and lyx highlightens the keywords. That is
nice!

But I only want to write Pseudecode. Which of these available languages
suits for that?

Another question: Is it possible to write mathsymbols into this environment?
CMD-M (MacOSX) doesn't seem to work...

Regards,
iustifico

2010/10/14 Uwe Stöhr 

> Am 14.10.2010 19:19, schrieb iustifico:
>
>
>  Is there a nice way to display Algorithms in Pseudocode-Algorithms in Lyx?
>>
>
> Yes, see chap. 7 "Program Code Listings" of the EmbeddedObjects manual that
> you find in LyX's help menu.
>
> regards Uwe
>


Re: Version control

2010-10-14 Thread Liviu Andronic
On Thu, Oct 14, 2010 at 3:05 PM, Pavel Sanda  wrote:
>> way to configure any of them on Ubuntu?
>
> for rcs only installing is enough. you can immediately use "register" in lyx 
> VC menu.
> be careful only single document file is tracked, not its pictures...
>
> for svn you need to google some svn guide.
>
I very much like Rob's series of articles [1] on subversion. Before
you read this guide [2] in full, check the comments section.
Liviu

[1] http://blog.oak-tree.us/index.php/science-and-technology/svn
[2] http://blog.oak-tree.us/index.php/2009/02/17/backup-part3


Re: what is a good lyx layout for notetaking?

2010-10-14 Thread Abdelrazak Younes

On 14/10/2010 03:15, Telmo Amaral wrote:


Personally, I use LyX as a simple note taking tool because I like to be able to
associate labels with my notes and to quickly find all notes marked with a
certain label. LyX's labels can be used for that purpose very effectively.
Basically, at the top of my notes file, I create a list of labels with Insert>
Label. Then, anywhere I wish to label a note, I do Insert>  Cross-Reference and
choose the appropriate label. By keeping the Document>  Outline window open
displaying Labels and References, I can see a list of all references to each
label, and quickly jump to any such reference.


Hey, this was mostly the reason why I implemented the ref support for 
labels and references, it's good to know that this is useful to other 
people for the very same purpose :-)


Abdel.


Marginal Note Format

2010-10-14 Thread Bruce Pourciau
Expecting the default format for a Marginal Note to be ragged right  
(when it's in the right margin) and Small text size (like footnotes),  
I was surprised to see full justification, which produced huge spaces  
between words of course, and normal size text. How do I make my  
marginal notes ragged right and small text size, without applying this  
format to each individual marginal note?


Bruce


Marginal Note Format

2010-10-14 Thread Bruce Pourciau
I forgot, I also want the line spacing to be smaller than it is in the  
body text. I guess I want the Marginal Note to have the format of a  
footnote, except it should be ragged right, rather than justified.


Bruce

Expecting the default format for a Marginal Note to be ragged right  
(when it's in the right margin) and Small text size (like  
footnotes), I was surprised to see full justification, which  
produced huge spaces between words of course, and normal size text.  
How do I make my marginal notes ragged right and small text size,  
without applying this format to each individual marginal note?


Bruce


Re: what is a good lyx layout for notetaking?

2010-10-14 Thread Jacob Bishop
On Wed, Oct 13, 2010 at 9:35 PM, Steve Litt wrote:

> VimOutliner
>
> http://www.vimoutliner.net
>

Steve,

I looked at VimOutliner last night and have begun using it. I watched your
video, and it has been easy to get started since I already use vim every
day, and have already been using it to generate outlines, just without the
folding and other nice features VimOutliner provides. It really is nice.
Thanks.

Telmo,

I appreciate your input, I have not used the "labels and references" part of
the outline view. It defaults to "table of contents" so I hadn't realized it
could be used in this way. Good tip. Looks like it's time for me to go
through the documentation a bit more thoroughly.

All,

While I use vim for many tasks, I have still never found a program as good
as LyX when it comes to taking notes for classes. It's the only program I'm
aware of that a skilled user (not me, I'm not quite fast enough yet) can
keep up taking notes on a computer in a Mathematics or Engineering class.
You just can't get the equations and formulas in quickly enough with
anything else. Go LyX!


Jacob


Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Paul Rubin
iustifico  gmail.com> writes:

> Thank you, that is exactly what I am looking for. I see, that it is also
> possible to chose a language and lyx highlightens the keywords. That is nice!
> 
> But I only want to write Pseudecode. Which of these available languages 
> suits for that?

It depends on whether you want "keywords" (such as "if" or "for") highlighted
by a special font.  If no, then you can leave the language box at "no language
selected".  If yes, you want to look for a language that considers the 
keywords in your pseudocode to be reserved words.  You might try Python or
maybe sh to start.  I typically use "no language" or else experiment.
> 
> Another question: Is it possible to write mathsymbols into this environment?
CMD-M (MacOSX) doesn't seem to work...

Go to the advanced tab of the listing settings dialog and put mathescape=true in
the right side pane.  You will need to enter the math in raw LaTeX, not using
the math editor.  A trick I use is to use the math editor to type the
math in a math inset, then copy it and paste it into the listings box.  (I
still have to supply the dollar signs myself.)

/Paul




Re: Display Pseudocode-Algorithms in Lyx

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 21:09, schrieb iustifico:


But I only want to write Pseudecode. Which of these available languages
suits for that?


This depend on the keywords that listings should recognize. Personally, 
I use Pascal for writing pseudocode.



Another question: Is it possible to write mathsymbols into this
environment? CMD-M (MacOSX) doesn't seem to work...


This is possible, see the attached LyX file:

- set the option
  mathescape = true
  for the listing
- create the formula outside of the listing
- copy the content of the formula (not the formula inset) to the
  clipboard via Ctrl-c
- in the listing write
  $$
  and paste between the dollar signs via Ctrl-v

I'll add this info to the manual for LyX 1.6.8.

regards Uwe


ListingsMath.lyx
Description: application/lyx


Re: Marginal Note Format

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 23:00, schrieb Bruce Pourciau:


How do I make my marginal notes ragged right and small text size, without 
applying this format to
each individual marginal note?


Both is explained in sec. 4.3 "Margin Notes" of the EmbeddedObjects 
manual that you find in LyX's help menu.


regards Uwe


Re: New PDF Conversions on Windows

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 21:26, schrieb Rob Oakes:


I appreciate that.  The same images don't appear to working in LyX 1.6.7 either.


Your image works fine for me in LyX 1.6.7 and also in LyX 2.0svn using 
pdflatex and standard settings for MiKTeX 2.8.



 I think it is a quirk with XeLaTeX under MikTeX.


How do you use XeTeX with LyX 1.6.7?


Unfortunately, using pdfminor version did not help resolve the problem. It 
looks as though XeLaTeX doesn't respect the command.


Then it is indeed a problem of XeTeX. You should report that on the 
MiKTeX users list. I guess they have a solution for that or know if the 
upcoming MiKTeX 2.9 will fix this.

If you found a workaround, can you please report back?

regards Uwe


Re: PDF figures automatically rastertized to PNG images, included in PDF document

2010-10-14 Thread Brendon Higgins
Uwe Stöhr wrote (2010-10-15 03:26):
> pdflatex will use PDF, PNG, JPG and GIF images directly. Images in other
> formats are converted to PNG.
> But perhaps your PDF images are corrupted so that they are not
> recognized as PDF. Can you post one of your images?

I just created a test PDF figure which also exhibits this problem. The figure I 
was originally having the problem with was created by someone else (so I'd 
rather not share it), but using completely different software to what I used to 
create the attached.

Thus I doubt that corrupt PDFs are the problem. I don't know for certain, but 
it would make sense for LyX to convert vector formats to PNG so that it can 
display them. But then it seems that pdflatex uses those PNGs, too.

When I do Export->Latex (pdflatex) the PNG image files are also created. Unless 
I delete them, when I run pdflatex it includes the PNG files, not the PDFs. 
When 
I delete the PNG files, pdflatex includes the PDF files just fine. (Indeed, 
this 
is how I work around the problem.)

Is pdflatex supposed to guarantee the order in which it searches through 
extensions for figure files? Does LyX assume that order is sensible?

Peace,
Brendon


testfig.pdf
Description: Adobe PDF document


test.lyx
Description: application/lyx


Re: Problems with Lyx 1.6.7 under Windows 7 64bit

2010-10-14 Thread Bert Morio

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
On 13.10.2010 22:32, Tennessee Carmel-Veilleux wrote:
> On 13 October 2010 16:16, Bert Morio  > wrote:
>
>
> Had no problems with older versions of Lyx, but with Lyx 1.6.7 it is
> impossible to use the FILE OPEN or the FILE SAVE AS dialog. No new
> window for file select pops up. Various de- and reinstalls
> didn't help.
>
>
> Another user had this problem recently. The solution was to enable
> the "Tablet PC Input" service of Windows.
>
Thank you, problem solved

Bert Morio



-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAky32FMACgkQZv/ZJuZiaZ/wNwCfSGhTQET6dhGE6YiSGOIGy2TJ
OecAnRuTptFRPmp0uGPbUP/kHycDNM9s
=pl5M
-END PGP SIGNATURE-