Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Gunnar Lindholm
 Do both of these approaches work OK with producing sane-looking HTML as
 well as PDFs?
I have not experimented with HTML export with highlight, but I think it should 
be possible to add a converter to make highlight produce html output.

 Are then any examples of output from your 'highlight' approach, Gunnar?
See attached file



ex.pdf
Description: Adobe PDF document


Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Gunnar Lindholm
 This is great, do you know how to do on Windows?
 I did everything as you described (with Perl insted of C++), but if i
 want to see a dvi preview i get folowing error:
 LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found

 ...d__daten_prog_perl_myscript.tex}
   }
 ***(cannot \read drom terminal in nonstop modes)

You should add the same converter line for the plain Latex also!


Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Gunnar Lindholm
Robert, You should remove the -r switch in the converter!

To all that uses this.
If you get into problem with undefined sequences and you see the command \dq 
in the error report. Try remove the -r switch in the converter.

HTH
Gunnar.


CJK seems to be partially working in 1.5.0

2007-03-30 Thread Marc Flerackers
When setting the document encoding to utf8 I can paste Japanese from 
other programs like Firefox. The Japanese characters are displayed 
correctly, and I add \usepackage{CJK} to the preamble and put a 
\begin{CJK}{UTF8}{ipam} and \end{CJK} around the charecters so they are 
rendered correctly to dvi or pdf. However I can only render my document 
manually by exporting to latex and running latex and bibtex, as lyx 
seems to crash on an exception when pressing the render button:


lyx: Disabling LyX socket.
Consider installing the PyWin extension modules if you're irritated by 
windows appearing briefly.

pplatex.exe failed to compile 0lyxpreview.tex
pplatex: Process input file thesis.dvi
pplatex: Copy data to thesis.dvi
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

Completed

When running inside the vs2005 debugger I get:

Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: 
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar 
,boost::filesystem::path_traits  at memory location 0x00128f78..


First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ 
exception: 
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar 
,boost::filesystem::path_traits  at memory location 0x00128f78..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ 
exception: [rethrow] at memory location 0x..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ 
exception: [rethrow] at memory location 0x..
Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: 
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar 
,boost::filesystem::path_traits  at memory location 0x00128f78..

lyxc.exe has triggered a breakpoint
First-chance exception at 0x00405f72 in lyxc.exe: 0xC005: Access 
violation reading location 0x002b.


This crash doesn't happen when rendering documents without Japanese. 
Another CJK issue is that while I can type Japanese, I don't see the IME 
popup and I don't see what I am typing. Only when pressing enter, the 
text is inserted and visualized. Overal the 1.5.0 Beta 1 looks very 
promissing :).


--
Marc Flerackers ([EMAIL PROTECTED])
Software Engineer



[announce] new Windows development snaphot for LyX 1.5

2007-03-30 Thread Uwe Stöhr

Hello LyXers,

the first beta version of the upcoming LyX 1.5.0 was published a month ago. In the meantime we made 
big efforts toward a stable 1.5.0 release. To test it out I've published a new development snapshot 
of LyX 1.5svn:


http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=12545

The most important changes since LyX 1.5beta1 are:

- LyX 1.5svn from 30-03-2007
  - improved TOC dialog
  - fixes for RTL languages
  - antialiased symbols in math
  - new chapter in EmbeddedObjects manual
  - revised German Userguide
  - new syntax highlighting for document(LaTeX)-preamble
  - polished bookmark handling
  - new window style for View - View Source
  - many, many bug fixes

Win Installer changes:

- updated to ImageMagick 6.3.3-4: fix bug that transparent image pixels appear
 black in DVI or Postscript output
- updated to Ghostscript 8.56

- add missing DLL to run Python on all Win platforms
- add missing image files for EmbeddedObjects manual

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

--- disclaimer ---

LyX 1.5svn test builds are for testers and interested LyXers to see the new
features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! LyX 1.5svn is in beta state, that means that it is still under very
active development. So don't use LyX1.5svn, development snapshots and test 
builds for production!

happy testing and best regards
Uwe



Re: question about math commands in LyX1.5

2007-03-30 Thread Andre Poenitz
On Thu, Mar 29, 2007 at 06:18:34PM -0700, Brian Kidd wrote:
 I am trying out the beta version of 1.5 for a Mac Intel machine and  
 it seems that the opt-m g *, where * is a lowercase character,   
 command is disabled. this command previously created the greek letter  
 that corresponds to the lowercase letter and automatically enters the  
 math mode. Is there a reason this command is disabled?

None that I am aware of.

 Will it be enabled once the full version is released?

I just re-enabled it.

Andre'


Using apacite with other styles than Article (APA)?

2007-03-30 Thread Andreas Karlsson

Hi,

I am writing an article where the references should be in accordance with 
the APA system. I therefore want to use the apacite Bibtex style.


In LyX I have only succeeded in using apacite with the Article (APA) layout. 
What should I do to use apacite with other article classes?


Regards,
Andreas

_
Motionera roligare med MSN Hälsa http://e-health.msn.se/



Re: CJK seems to be partially working in 1.5.0

2007-03-30 Thread Stacia Hartleben

Let me know how you progress and maybe post this on
http://bugzilla.lyx.org . That would be amazing if CJK was
working...maybe support for the CJK package could be added so you
don't have to put something around every character.

On 3/30/07, Marc Flerackers [EMAIL PROTECTED] wrote:

When setting the document encoding to utf8 I can paste Japanese from
other programs like Firefox. The Japanese characters are displayed
correctly, and I add \usepackage{CJK} to the preamble and put a
\begin{CJK}{UTF8}{ipam} and \end{CJK} around the charecters so they are
rendered correctly to dvi or pdf. However I can only render my document
manually by exporting to latex and running latex and bibtex, as lyx
seems to crash on an exception when pressing the render button:

lyx: Disabling LyX socket.
Consider installing the PyWin extension modules if you're irritated by
windows appearing briefly.
pplatex.exe failed to compile 0lyxpreview.tex
pplatex: Process input file thesis.dvi
pplatex: Copy data to thesis.dvi
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

Completed

When running inside the vs2005 debugger I get:

Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception:
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar
 ,boost::filesystem::path_traits  at memory location 0x00128f78..

First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++
exception:
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar
 ,boost::filesystem::path_traits  at memory location 0x00128f78..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++
exception: [rethrow] at memory location 0x..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++
exception: [rethrow] at memory location 0x..
Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception:
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar
 ,boost::filesystem::path_traits  at memory location 0x00128f78..
lyxc.exe has triggered a breakpoint
First-chance exception at 0x00405f72 in lyxc.exe: 0xC005: Access
violation reading location 0x002b.

This crash doesn't happen when rendering documents without Japanese.
Another CJK issue is that while I can type Japanese, I don't see the IME
popup and I don't see what I am typing. Only when pressing enter, the
text is inserted and visualized. Overal the 1.5.0 Beta 1 looks very
promissing :).

--
Marc Flerackers ([EMAIL PROTECTED])
Software Engineer




fiddly little figures

2007-03-30 Thread Stacia Hartleben

Hi guys. I've never done a paper with figures before so I'm slowly
figuring things out.

Figures seem to like to go on the top of the page, above any text. I
guess this is if you want to intersperse the figures throughout the
paper, which I don't want to do. Okay fine, so I put them all at the
end with a newpage command. Only problem here is that they're all on
separate pages. Some of them are kind of small and it seems like a
waste to me. I'm pretty sure that more than one can fit on each page.
How do I make it do this?


Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Robert Orr
Gunnar -

Right on!  Perfect.
thank you for the help.   It is really appreciated.  

I have wanted to have this capability for the longest
time.   I have used the listing package but I always
felt that it was difficult.   Often I needed to dig
out the documentation to find out how to do this or
that.Highlight is so much easier.




--- Gunnar Lindholm [EMAIL PROTECTED] wrote:

 Robert, You should remove the -r switch in the
 converter!
 
 To all that uses this.
 If you get into problem with undefined sequences and
 you see the command \dq 
 in the error report. Try remove the -r switch in the
 converter.
 
 HTH
 Gunnar.
 



 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php


Re: Cannot start LyX

2007-03-30 Thread Paul A. Rubin

Lars Sjögren wrote:

Hi,

I downloaded the lyx-144-4-bundle.exe from this location
(http://wiki.lyx.org/Windows/Windows). Installed it, and it will not
start. I receive the error message discussed at
http://wiki.lyx.org/LyX/Troubleshooting. I tried downloading and
installing the fonts mentioned in problems with fonts in math
environment, but to no avail. I run MS Windows XP.



Do you mean that LyX immediately crashes with a message saying the 
application as asked the runtime to terminate it?  If so, this has 
nothing to do with the screen fonts.  (The Wiki page may be a bit 
deceptive.  The font discussion follows immediately after the runtime 
error message but deals with a separate, unrelated problem.)


I ran into the runtime problem with version 1.4.4-2, I think (as did a 
few other people).  Installing a later build (the official installer, 
not the combined bundle) cured it for me, but I don't think we every 
figured out what the problem was.


I suggest you uninstall LyX, delete anything LyX wrote in the user 
directory (usually C:\Documents and Settings\your id\Application 
Data\LyX1.4.x by default), then download the official installer 
(ftp://ftp.lyx.org/pub/lyx/bin/1.4.4/lyx-144-4.exe) and try that.  It 
might not be a bad idea to verify that MikTeX is working, and that 
MikTeX's bin directory is on your system command path, first.  (A quick 
check is to run 'latex --version' at a command prompt.)


/Paul



Can .layout file go with my .lyx file?

2007-03-30 Thread Yu, James
I found it would be good to allow LyX to 'use' layout file which is in 
the same folder as user's LyX file, in addition to LyX system's foders 
(/usr/share/lyx/layout and ~/.lyx/layout).


Say, I am editing my LyX file /home/myname/mydoc/myreport.lyx. I 
previously have created a special layout file called myreport.layout.  I 
hope the two files are sitting together in one folder. This way, I have 
convenience of backing them up  together, or sending to friends together.


Thanks,
james


Re: Can .layout file go with my .lyx file?

2007-03-30 Thread Steve Litt
On Friday 30 March 2007 20:03, Yu, James wrote:
 I found it would be good to allow LyX to 'use' layout file which is in
 the same folder as user's LyX file, in addition to LyX system's foders
 (/usr/share/lyx/layout and ~/.lyx/layout).

 Say, I am editing my LyX file /home/myname/mydoc/myreport.lyx. I
 previously have created a special layout file called myreport.layout.  I
 hope the two files are sitting together in one folder. This way, I have
 convenience of backing them up  together, or sending to friends together.

 Thanks,
 james

Yes it can. I do exactly that all the time. Here's how I do it, assuming your 
directory layout:

ln -s  /home/myself/mydoc/myreport.layout 
/home/myself/.lyx/layouts/myreport.layout

HTH

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Bounding box on OpenOffice PDFs

2007-03-30 Thread John Pye
Hi all

Any time I export a 'Draw' page from OpenOffice as a PDF, and then try
to import it with LyX, LyX fails to correctly find the Bounding Box.

If I open the PDF with Evince it shows the correct bounding box.

Is there something that I can do to make LyX correctly detect the
bounding box? Have other people seen this?

I'm using LyX 1.4.3 on Ubuntu 6.10.

FWIW I saw this thread and it seems it might also be a problem with 1.4.4.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg54249.html

Cheers
JP





-- 
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/



pushing bibtex references crashes lyx 1.5.0beta1-1

2007-03-30 Thread Russell Davie
Hi 

Pushing bibtex references to lyx 1.5.0beta1 makes lyx completely crash.
This has no warning dialog popup and no rescue file saved, lyx just dies. This 
is using Jabref and
Pybligrapher.

LyX was compiled using this config:
$ ./configure  --with-qt-dir=/usr/share/qt4 --enable-optimization=-O3
--prefix=/usr/local 

version of Pybliographer:
pybliographer 1.2.6.2-1

version of Jabref:
jabref 2.1-3

the OS:
Linux 2.6.15-28-386 Ubuntu/dapper

Any assistance on how this can be fixed is appreciated!

TIA

Russell

-- 
Please, if possible, don't send me MS Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
Why? See: http://www.gnu.org/philosophy/sylvester-response.html


Re: CJK seems to be partially working in 1.5.0

2007-03-30 Thread Angus Leeming
Marc Flerackers [EMAIL PROTECTED] writes:
 However I can only render my document 
 manually by exporting to latex and running latex and bibtex, as lyx 
 seems to crash on an exception when pressing the render button:

Hi, Marc.

Could you repost this to the lyx-devel list. Given that you're running inside
the debugger, it'd be good if you good ascertain the path that boost::filesystem
is complaining about.

 This crash doesn't happen when rendering documents without Japanese. 
 Another CJK issue is that while I can type Japanese, I don't see the IME 
 popup and I don't see what I am typing. Only when pressing enter, the 
 text is inserted and visualized.

http://wiki.lyx.org/LyX.NewInLyX15#cjk

Regards,
Angus



Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Gunnar Lindholm
 Do both of these approaches work OK with producing sane-looking HTML as
 well as PDFs?
I have not experimented with HTML export with highlight, but I think it should 
be possible to add a converter to make highlight produce html output.

 Are then any examples of output from your 'highlight' approach, Gunnar?
See attached file



ex.pdf
Description: Adobe PDF document


Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Gunnar Lindholm
 This is great, do you know how to do on Windows?
 I did everything as you described (with Perl insted of C++), but if i
 want to see a dvi preview i get folowing error:
 LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found

 ...d__daten_prog_perl_myscript.tex}
   }
 ***(cannot \read drom terminal in nonstop modes)

You should add the same converter line for the plain Latex also!


Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Gunnar Lindholm
Robert, You should remove the -r switch in the converter!

To all that uses this.
If you get into problem with undefined sequences and you see the command \dq 
in the error report. Try remove the -r switch in the converter.

HTH
Gunnar.


CJK seems to be partially working in 1.5.0

2007-03-30 Thread Marc Flerackers
When setting the document encoding to utf8 I can paste Japanese from 
other programs like Firefox. The Japanese characters are displayed 
correctly, and I add \usepackage{CJK} to the preamble and put a 
\begin{CJK}{UTF8}{ipam} and \end{CJK} around the charecters so they are 
rendered correctly to dvi or pdf. However I can only render my document 
manually by exporting to latex and running latex and bibtex, as lyx 
seems to crash on an exception when pressing the render button:


lyx: Disabling LyX socket.
Consider installing the PyWin extension modules if you're irritated by 
windows appearing briefly.

pplatex.exe failed to compile 0lyxpreview.tex
pplatex: Process input file thesis.dvi
pplatex: Copy data to thesis.dvi
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

Completed

When running inside the vs2005 debugger I get:

Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: 
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar 
,boost::filesystem::path_traits  at memory location 0x00128f78..


First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ 
exception: 
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar 
,boost::filesystem::path_traits  at memory location 0x00128f78..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ 
exception: [rethrow] at memory location 0x..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ 
exception: [rethrow] at memory location 0x..
Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: 
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar 
,boost::filesystem::path_traits  at memory location 0x00128f78..

lyxc.exe has triggered a breakpoint
First-chance exception at 0x00405f72 in lyxc.exe: 0xC005: Access 
violation reading location 0x002b.


This crash doesn't happen when rendering documents without Japanese. 
Another CJK issue is that while I can type Japanese, I don't see the IME 
popup and I don't see what I am typing. Only when pressing enter, the 
text is inserted and visualized. Overal the 1.5.0 Beta 1 looks very 
promissing :).


--
Marc Flerackers ([EMAIL PROTECTED])
Software Engineer



[announce] new Windows development snaphot for LyX 1.5

2007-03-30 Thread Uwe Stöhr

Hello LyXers,

the first beta version of the upcoming LyX 1.5.0 was published a month ago. In the meantime we made 
big efforts toward a stable 1.5.0 release. To test it out I've published a new development snapshot 
of LyX 1.5svn:


http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=12545

The most important changes since LyX 1.5beta1 are:

- LyX 1.5svn from 30-03-2007
  - improved TOC dialog
  - fixes for RTL languages
  - antialiased symbols in math
  - new chapter in EmbeddedObjects manual
  - revised German Userguide
  - new syntax highlighting for document(LaTeX)-preamble
  - polished bookmark handling
  - new window style for View - View Source
  - many, many bug fixes

Win Installer changes:

- updated to ImageMagick 6.3.3-4: fix bug that transparent image pixels appear
 black in DVI or Postscript output
- updated to Ghostscript 8.56

- add missing DLL to run Python on all Win platforms
- add missing image files for EmbeddedObjects manual

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

--- disclaimer ---

LyX 1.5svn test builds are for testers and interested LyXers to see the new
features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! LyX 1.5svn is in beta state, that means that it is still under very
active development. So don't use LyX1.5svn, development snapshots and test 
builds for production!

happy testing and best regards
Uwe



Re: question about math commands in LyX1.5

2007-03-30 Thread Andre Poenitz
On Thu, Mar 29, 2007 at 06:18:34PM -0700, Brian Kidd wrote:
 I am trying out the beta version of 1.5 for a Mac Intel machine and  
 it seems that the opt-m g *, where * is a lowercase character,   
 command is disabled. this command previously created the greek letter  
 that corresponds to the lowercase letter and automatically enters the  
 math mode. Is there a reason this command is disabled?

None that I am aware of.

 Will it be enabled once the full version is released?

I just re-enabled it.

Andre'


Using apacite with other styles than Article (APA)?

2007-03-30 Thread Andreas Karlsson

Hi,

I am writing an article where the references should be in accordance with 
the APA system. I therefore want to use the apacite Bibtex style.


In LyX I have only succeeded in using apacite with the Article (APA) layout. 
What should I do to use apacite with other article classes?


Regards,
Andreas

_
Motionera roligare med MSN Hälsa http://e-health.msn.se/



Re: CJK seems to be partially working in 1.5.0

2007-03-30 Thread Stacia Hartleben

Let me know how you progress and maybe post this on
http://bugzilla.lyx.org . That would be amazing if CJK was
working...maybe support for the CJK package could be added so you
don't have to put something around every character.

On 3/30/07, Marc Flerackers [EMAIL PROTECTED] wrote:

When setting the document encoding to utf8 I can paste Japanese from
other programs like Firefox. The Japanese characters are displayed
correctly, and I add \usepackage{CJK} to the preamble and put a
\begin{CJK}{UTF8}{ipam} and \end{CJK} around the charecters so they are
rendered correctly to dvi or pdf. However I can only render my document
manually by exporting to latex and running latex and bibtex, as lyx
seems to crash on an exception when pressing the render button:

lyx: Disabling LyX socket.
Consider installing the PyWin extension modules if you're irritated by
windows appearing briefly.
pplatex.exe failed to compile 0lyxpreview.tex
pplatex: Process input file thesis.dvi
pplatex: Copy data to thesis.dvi
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

Completed

When running inside the vs2005 debugger I get:

Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception:
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar
 ,boost::filesystem::path_traits  at memory location 0x00128f78..

First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++
exception:
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar
 ,boost::filesystem::path_traits  at memory location 0x00128f78..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++
exception: [rethrow] at memory location 0x..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++
exception: [rethrow] at memory location 0x..
Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception:
boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::basic_stringchar,std::char_traitschar,std::allocatorchar
 ,boost::filesystem::path_traits  at memory location 0x00128f78..
lyxc.exe has triggered a breakpoint
First-chance exception at 0x00405f72 in lyxc.exe: 0xC005: Access
violation reading location 0x002b.

This crash doesn't happen when rendering documents without Japanese.
Another CJK issue is that while I can type Japanese, I don't see the IME
popup and I don't see what I am typing. Only when pressing enter, the
text is inserted and visualized. Overal the 1.5.0 Beta 1 looks very
promissing :).

--
Marc Flerackers ([EMAIL PROTECTED])
Software Engineer




fiddly little figures

2007-03-30 Thread Stacia Hartleben

Hi guys. I've never done a paper with figures before so I'm slowly
figuring things out.

Figures seem to like to go on the top of the page, above any text. I
guess this is if you want to intersperse the figures throughout the
paper, which I don't want to do. Okay fine, so I put them all at the
end with a newpage command. Only problem here is that they're all on
separate pages. Some of them are kind of small and it seems like a
waste to me. I'm pretty sure that more than one can fit on each page.
How do I make it do this?


Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Robert Orr
Gunnar -

Right on!  Perfect.
thank you for the help.   It is really appreciated.  

I have wanted to have this capability for the longest
time.   I have used the listing package but I always
felt that it was difficult.   Often I needed to dig
out the documentation to find out how to do this or
that.Highlight is so much easier.




--- Gunnar Lindholm [EMAIL PROTECTED] wrote:

 Robert, You should remove the -r switch in the
 converter!
 
 To all that uses this.
 If you get into problem with undefined sequences and
 you see the command \dq 
 in the error report. Try remove the -r switch in the
 converter.
 
 HTH
 Gunnar.
 



 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php


Re: Cannot start LyX

2007-03-30 Thread Paul A. Rubin

Lars Sjögren wrote:

Hi,

I downloaded the lyx-144-4-bundle.exe from this location
(http://wiki.lyx.org/Windows/Windows). Installed it, and it will not
start. I receive the error message discussed at
http://wiki.lyx.org/LyX/Troubleshooting. I tried downloading and
installing the fonts mentioned in problems with fonts in math
environment, but to no avail. I run MS Windows XP.



Do you mean that LyX immediately crashes with a message saying the 
application as asked the runtime to terminate it?  If so, this has 
nothing to do with the screen fonts.  (The Wiki page may be a bit 
deceptive.  The font discussion follows immediately after the runtime 
error message but deals with a separate, unrelated problem.)


I ran into the runtime problem with version 1.4.4-2, I think (as did a 
few other people).  Installing a later build (the official installer, 
not the combined bundle) cured it for me, but I don't think we every 
figured out what the problem was.


I suggest you uninstall LyX, delete anything LyX wrote in the user 
directory (usually C:\Documents and Settings\your id\Application 
Data\LyX1.4.x by default), then download the official installer 
(ftp://ftp.lyx.org/pub/lyx/bin/1.4.4/lyx-144-4.exe) and try that.  It 
might not be a bad idea to verify that MikTeX is working, and that 
MikTeX's bin directory is on your system command path, first.  (A quick 
check is to run 'latex --version' at a command prompt.)


/Paul



Can .layout file go with my .lyx file?

2007-03-30 Thread Yu, James
I found it would be good to allow LyX to 'use' layout file which is in 
the same folder as user's LyX file, in addition to LyX system's foders 
(/usr/share/lyx/layout and ~/.lyx/layout).


Say, I am editing my LyX file /home/myname/mydoc/myreport.lyx. I 
previously have created a special layout file called myreport.layout.  I 
hope the two files are sitting together in one folder. This way, I have 
convenience of backing them up  together, or sending to friends together.


Thanks,
james


Re: Can .layout file go with my .lyx file?

2007-03-30 Thread Steve Litt
On Friday 30 March 2007 20:03, Yu, James wrote:
 I found it would be good to allow LyX to 'use' layout file which is in
 the same folder as user's LyX file, in addition to LyX system's foders
 (/usr/share/lyx/layout and ~/.lyx/layout).

 Say, I am editing my LyX file /home/myname/mydoc/myreport.lyx. I
 previously have created a special layout file called myreport.layout.  I
 hope the two files are sitting together in one folder. This way, I have
 convenience of backing them up  together, or sending to friends together.

 Thanks,
 james

Yes it can. I do exactly that all the time. Here's how I do it, assuming your 
directory layout:

ln -s  /home/myself/mydoc/myreport.layout 
/home/myself/.lyx/layouts/myreport.layout

HTH

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Bounding box on OpenOffice PDFs

2007-03-30 Thread John Pye
Hi all

Any time I export a 'Draw' page from OpenOffice as a PDF, and then try
to import it with LyX, LyX fails to correctly find the Bounding Box.

If I open the PDF with Evince it shows the correct bounding box.

Is there something that I can do to make LyX correctly detect the
bounding box? Have other people seen this?

I'm using LyX 1.4.3 on Ubuntu 6.10.

FWIW I saw this thread and it seems it might also be a problem with 1.4.4.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg54249.html

Cheers
JP





-- 
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/



pushing bibtex references crashes lyx 1.5.0beta1-1

2007-03-30 Thread Russell Davie
Hi 

Pushing bibtex references to lyx 1.5.0beta1 makes lyx completely crash.
This has no warning dialog popup and no rescue file saved, lyx just dies. This 
is using Jabref and
Pybligrapher.

LyX was compiled using this config:
$ ./configure  --with-qt-dir=/usr/share/qt4 --enable-optimization=-O3
--prefix=/usr/local 

version of Pybliographer:
pybliographer 1.2.6.2-1

version of Jabref:
jabref 2.1-3

the OS:
Linux 2.6.15-28-386 Ubuntu/dapper

Any assistance on how this can be fixed is appreciated!

TIA

Russell

-- 
Please, if possible, don't send me MS Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
Why? See: http://www.gnu.org/philosophy/sylvester-response.html


Re: CJK seems to be partially working in 1.5.0

2007-03-30 Thread Angus Leeming
Marc Flerackers [EMAIL PROTECTED] writes:
 However I can only render my document 
 manually by exporting to latex and running latex and bibtex, as lyx 
 seems to crash on an exception when pressing the render button:

Hi, Marc.

Could you repost this to the lyx-devel list. Given that you're running inside
the debugger, it'd be good if you good ascertain the path that boost::filesystem
is complaining about.

 This crash doesn't happen when rendering documents without Japanese. 
 Another CJK issue is that while I can type Japanese, I don't see the IME 
 popup and I don't see what I am typing. Only when pressing enter, the 
 text is inserted and visualized.

http://wiki.lyx.org/LyX.NewInLyX15#cjk

Regards,
Angus



Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Gunnar Lindholm
> Do both of these approaches work OK with producing sane-looking HTML as
> well as PDFs?
I have not experimented with HTML export with highlight, but I think it should 
be possible to add a converter to make highlight produce html output.

> Are then any examples of output from your 'highlight' approach, Gunnar?
See attached file



ex.pdf
Description: Adobe PDF document


Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Gunnar Lindholm
> This is great, do you know how to do on Windows?
> I did everything as you described (with Perl insted of C++), but if i
> want to see a dvi preview i get folowing error:
> LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found
>
> ...d__daten_prog_perl_myscript.tex}
>   }
> ***(cannot \read drom terminal in nonstop modes)

You should add the same converter line for the plain Latex also!


Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Gunnar Lindholm
Robert, You should remove the -r switch in the converter!

To all that uses this.
If you get into problem with undefined sequences and you see the command "\dq" 
in the error report. Try remove the -r switch in the converter.

HTH
Gunnar.


CJK seems to be partially working in 1.5.0

2007-03-30 Thread Marc Flerackers
When setting the document encoding to utf8 I can paste Japanese from 
other programs like Firefox. The Japanese characters are displayed 
correctly, and I add \usepackage{CJK} to the preamble and put a 
\begin{CJK}{UTF8}{ipam} and \end{CJK} around the charecters so they are 
rendered correctly to dvi or pdf. However I can only render my document 
manually by exporting to latex and running latex and bibtex, as lyx 
seems to crash on an exception when pressing the render button:


lyx: Disabling LyX socket.
Consider installing the PyWin extension modules if you're irritated by 
windows appearing briefly.

pplatex.exe failed to compile 0lyxpreview.tex
pplatex: Process input file thesis.dvi
pplatex: Copy data to thesis.dvi
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

Completed

When running inside the vs2005 debugger I get:

Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: 
boost::filesystem::basic_filesystem_error,boost::filesystem::path_traits> > at memory location 0x00128f78..


First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ 
exception: 
boost::filesystem::basic_filesystem_error,boost::filesystem::path_traits> > at memory location 0x00128f78..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ 
exception: [rethrow] at memory location 0x..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ 
exception: [rethrow] at memory location 0x..
Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: 
boost::filesystem::basic_filesystem_error,boost::filesystem::path_traits> > at memory location 0x00128f78..

lyxc.exe has triggered a breakpoint
First-chance exception at 0x00405f72 in lyxc.exe: 0xC005: Access 
violation reading location 0x002b.


This crash doesn't happen when rendering documents without Japanese. 
Another CJK issue is that while I can type Japanese, I don't see the IME 
popup and I don't see what I am typing. Only when pressing enter, the 
text is inserted and visualized. Overal the 1.5.0 Beta 1 looks very 
promissing :).


--
Marc Flerackers ([EMAIL PROTECTED])
Software Engineer



[announce] new Windows development snaphot for LyX 1.5

2007-03-30 Thread Uwe Stöhr

Hello LyXers,

the first beta version of the upcoming LyX 1.5.0 was published a month ago. In the meantime we made 
big efforts toward a stable 1.5.0 release. To test it out I've published a new development snapshot 
of LyX 1.5svn:


http://developer.berlios.de/project/showfiles.php?group_id=5117_id=12545

The most important changes since LyX 1.5beta1 are:

- LyX 1.5svn from 30-03-2007
  - improved TOC dialog
  - fixes for RTL languages
  - antialiased symbols in math
  - new chapter in EmbeddedObjects manual
  - revised German Userguide
  - new syntax highlighting for document(LaTeX)-preamble
  - polished bookmark handling
  - new window style for View -> View Source
  - many, many bug fixes

Win Installer changes:

- updated to ImageMagick 6.3.3-4: fix bug that transparent image pixels appear
 black in DVI or Postscript output
- updated to Ghostscript 8.56

- add missing DLL to run Python on all Win platforms
- add missing image files for EmbeddedObjects manual

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

--- disclaimer ---

LyX 1.5svn test builds are for testers and interested LyXers to see the new
features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! LyX 1.5svn is in beta state, that means that it is still under very
active development. So don't use LyX1.5svn, development snapshots and test 
builds for production!

happy testing and best regards
Uwe



Re: question about math commands in LyX1.5

2007-03-30 Thread Andre Poenitz
On Thu, Mar 29, 2007 at 06:18:34PM -0700, Brian Kidd wrote:
> I am trying out the beta version of 1.5 for a Mac Intel machine and  
> it seems that the opt-m g *, where * is a lowercase character,   
> command is disabled. this command previously created the greek letter  
> that corresponds to the lowercase letter and automatically enters the  
> math mode. Is there a reason this command is disabled?

None that I am aware of.

> Will it be enabled once the full version is released?

I just re-enabled it.

Andre'


Using apacite with other styles than Article (APA)?

2007-03-30 Thread Andreas Karlsson

Hi,

I am writing an article where the references should be in accordance with 
the APA system. I therefore want to use the apacite Bibtex style.


In LyX I have only succeeded in using apacite with the Article (APA) layout. 
What should I do to use apacite with other article classes?


Regards,
Andreas

_
Motionera roligare med MSN Hälsa http://e-health.msn.se/



Re: CJK seems to be partially working in 1.5.0

2007-03-30 Thread Stacia Hartleben

Let me know how you progress and maybe post this on
http://bugzilla.lyx.org . That would be amazing if CJK was
working...maybe support for the CJK package could be added so you
don't have to put something around every character.

On 3/30/07, Marc Flerackers <[EMAIL PROTECTED]> wrote:

When setting the document encoding to utf8 I can paste Japanese from
other programs like Firefox. The Japanese characters are displayed
correctly, and I add \usepackage{CJK} to the preamble and put a
\begin{CJK}{UTF8}{ipam} and \end{CJK} around the charecters so they are
rendered correctly to dvi or pdf. However I can only render my document
manually by exporting to latex and running latex and bibtex, as lyx
seems to crash on an exception when pressing the render button:

lyx: Disabling LyX socket.
Consider installing the PyWin extension modules if you're irritated by
windows appearing briefly.
pplatex.exe failed to compile 0lyxpreview.tex
pplatex: Process input file thesis.dvi
pplatex: Copy data to thesis.dvi
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

Completed

When running inside the vs2005 debugger I get:

Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception:
boost::filesystem::basic_filesystem_error,boost::filesystem::path_traits> > at memory location 0x00128f78..

First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++
exception:
boost::filesystem::basic_filesystem_error,boost::filesystem::path_traits> > at memory location 0x00128f78..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++
exception: [rethrow] at memory location 0x..
First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++
exception: [rethrow] at memory location 0x..
Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception:
boost::filesystem::basic_filesystem_error,boost::filesystem::path_traits> > at memory location 0x00128f78..
lyxc.exe has triggered a breakpoint
First-chance exception at 0x00405f72 in lyxc.exe: 0xC005: Access
violation reading location 0x002b.

This crash doesn't happen when rendering documents without Japanese.
Another CJK issue is that while I can type Japanese, I don't see the IME
popup and I don't see what I am typing. Only when pressing enter, the
text is inserted and visualized. Overal the 1.5.0 Beta 1 looks very
promissing :).

--
Marc Flerackers ([EMAIL PROTECTED])
Software Engineer




fiddly little figures

2007-03-30 Thread Stacia Hartleben

Hi guys. I've never done a paper with figures before so I'm slowly
figuring things out.

Figures seem to like to go on the top of the page, above any text. I
guess this is if you want to intersperse the figures throughout the
paper, which I don't want to do. Okay fine, so I put them all at the
end with a newpage command. Only problem here is that they're all on
separate pages. Some of them are kind of small and it seems like a
waste to me. I'm pretty sure that more than one can fit on each page.
How do I make it do this?


Re: Embedding highlighed external source code files in a LyX document

2007-03-30 Thread Robert Orr
Gunnar -

Right on!  Perfect.
thank you for the help.   It is really appreciated.  

I have wanted to have this capability for the longest
time.   I have used the listing package but I always
felt that it was difficult.   Often I needed to dig
out the documentation to find out how to do this or
that.Highlight is so much easier.




--- Gunnar Lindholm <[EMAIL PROTECTED]> wrote:

> Robert, You should remove the -r switch in the
> converter!
> 
> To all that uses this.
> If you get into problem with undefined sequences and
> you see the command "\dq" 
> in the error report. Try remove the -r switch in the
> converter.
> 
> HTH
> Gunnar.
> 



 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php


Re: Cannot start LyX

2007-03-30 Thread Paul A. Rubin

Lars Sjögren wrote:

Hi,

I downloaded the lyx-144-4-bundle.exe from this location
(http://wiki.lyx.org/Windows/Windows). Installed it, and it will not
start. I receive the error message discussed at
http://wiki.lyx.org/LyX/Troubleshooting. I tried downloading and
installing the fonts mentioned in "problems with fonts in math
environment", but to no avail. I run MS Windows XP.



Do you mean that LyX immediately crashes with a message saying the 
application as asked the runtime to terminate it?  If so, this has 
nothing to do with the screen fonts.  (The Wiki page may be a bit 
deceptive.  The font discussion follows immediately after the runtime 
error message but deals with a separate, unrelated problem.)


I ran into the runtime problem with version 1.4.4-2, I think (as did a 
few other people).  Installing a later build (the "official" installer, 
not the combined bundle) cured it for me, but I don't think we every 
figured out what the problem was.


I suggest you uninstall LyX, delete anything LyX wrote in the user 
directory (usually C:\Documents and Settings\\Application 
Data\LyX1.4.x by default), then download the "official" installer 
(ftp://ftp.lyx.org/pub/lyx/bin/1.4.4/lyx-144-4.exe) and try that.  It 
might not be a bad idea to verify that MikTeX is working, and that 
MikTeX's bin directory is on your system command path, first.  (A quick 
check is to run 'latex --version' at a command prompt.)


/Paul



Can .layout file go with my .lyx file?

2007-03-30 Thread Yu, James
I found it would be good to allow LyX to 'use' layout file which is in 
the same folder as user's LyX file, in addition to LyX system's foders 
(/usr/share/lyx/layout and ~/.lyx/layout).


Say, I am editing my LyX file /home/myname/mydoc/myreport.lyx. I 
previously have created a special layout file called myreport.layout.  I 
hope the two files are sitting together in one folder. This way, I have 
convenience of backing them up  together, or sending to friends together.


Thanks,
james


Re: Can .layout file go with my .lyx file?

2007-03-30 Thread Steve Litt
On Friday 30 March 2007 20:03, Yu, James wrote:
> I found it would be good to allow LyX to 'use' layout file which is in
> the same folder as user's LyX file, in addition to LyX system's foders
> (/usr/share/lyx/layout and ~/.lyx/layout).
>
> Say, I am editing my LyX file /home/myname/mydoc/myreport.lyx. I
> previously have created a special layout file called myreport.layout.  I
> hope the two files are sitting together in one folder. This way, I have
> convenience of backing them up  together, or sending to friends together.
>
> Thanks,
> james

Yes it can. I do exactly that all the time. Here's how I do it, assuming your 
directory layout:

ln -s  /home/myself/mydoc/myreport.layout 
/home/myself/.lyx/layouts/myreport.layout

HTH

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Bounding box on OpenOffice PDFs

2007-03-30 Thread John Pye
Hi all

Any time I export a 'Draw' page from OpenOffice as a PDF, and then try
to import it with LyX, LyX fails to correctly find the Bounding Box.

If I open the PDF with Evince it shows the correct bounding box.

Is there something that I can do to make LyX correctly detect the
bounding box? Have other people seen this?

I'm using LyX 1.4.3 on Ubuntu 6.10.

FWIW I saw this thread and it seems it might also be a problem with 1.4.4.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg54249.html

Cheers
JP





-- 
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/



pushing bibtex references crashes lyx 1.5.0beta1-1

2007-03-30 Thread Russell Davie
Hi 

Pushing bibtex references to lyx 1.5.0beta1 makes lyx completely crash.
This has no warning dialog popup and no rescue file saved, lyx just dies. This 
is using Jabref and
Pybligrapher.

LyX was compiled using this config:
$ ./configure  --with-qt-dir=/usr/share/qt4 --enable-optimization=-O3
--prefix=/usr/local 

version of Pybliographer:
pybliographer 1.2.6.2-1

version of Jabref:
jabref 2.1-3

the OS:
Linux 2.6.15-28-386 Ubuntu/dapper

Any assistance on how this can be fixed is appreciated!

TIA

Russell

-- 
Please, if possible, don't send me MS Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
Why? See: http://www.gnu.org/philosophy/sylvester-response.html


Re: CJK seems to be partially working in 1.5.0

2007-03-30 Thread Angus Leeming
Marc Flerackers <[EMAIL PROTECTED]> writes:
> However I can only render my document 
> manually by exporting to latex and running latex and bibtex, as lyx 
> seems to crash on an exception when pressing the render button:

Hi, Marc.

Could you repost this to the lyx-devel list. Given that you're running inside
the debugger, it'd be good if you good ascertain the path that boost::filesystem
is complaining about.

> This crash doesn't happen when rendering documents without Japanese. 
> Another CJK issue is that while I can type Japanese, I don't see the IME 
> popup and I don't see what I am typing. Only when pressing enter, the 
> text is inserted and visualized.

http://wiki.lyx.org/LyX.NewInLyX15#cjk

Regards,
Angus