Robert Orr | 1 Jun 17:01 2006
Picon

Re: How to import source codes


I'm going to give this a try.

But, where to get the highlight program?   

--- Gunnar <debian@...> wrote:

> I use a program called "highlight" to highlight the
> source code, and all this 
> is done by adding an external template (insert ->
> external template)
> 
> In the file .lyx/external_templates I add
> 
> Template CppKod
>         GuiName "[C++ $$Basename]"
>         HelpText
>                 Snyggar till C++ kod
>         HelpTextEnd
>         FileFilter "*"
>         ViewCommand "nedit $$FName"
>         EditCommand "nedit $$FName"
>         AutomaticProduction true
>         Format LaTeX
>                 Product "{\\small
> \\input{$$FName.tex} }"
>                 UpdateCommand "highlight -A -L -t 4
> -I -S cpp -f -r -q 
> $$FName -o $$FName.tex"
>                 UpdateResult "$$FName.tex"
(Continue reading)

Gunnar | 1 Jun 17:19 2006
Picon

Re: How to import source codes

> I'm going to give this a try.
>
> But, where to get the highlight program?
www.andre-simon.de

Robert Orr | 1 Jun 20:30 2006
Picon

Re: How to import source codes

OK -

I'm getting a little bit closer.....

I am able to import the external material into LyX but
I am not able to generate a DVI.   I'm getting some
errors like this ...

Undefined control sequence.
 \hlstd{}\hlstd{\ \ \ \ }\hlstd{yMap}\hlsym

{.}\hlstd{}\hlkwd{setDblRange...
(That makes 100 errors; please try again.)  

Are you putting anything special in the preamble.???

--- Gunnar <debian@...> wrote:

> > I'm going to give this a try.
> >
> > But, where to get the highlight program?
> www.andre-simon.de
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

(Continue reading)

Stephen Harris | 1 Jun 22:28 2006
Picon
Picon

Re: Installing LyX 1.3.7 on Windows 98 - no appropriate help found

Nico wrote:
At the end, LyX started, but with the error message "This is not a LyX
document", in a tiny, non-resizable window, and the error "bddraw = 0"
in the dos box, seemingly repeating itself whenever the mouse moves over
the LyX window.

------------------------------------------------------------

I also tried this on Win98, but with Enrico's Cygwin 1.4.1 release,
lyx-1.4.1-cygwin.tar.gz file at ftp://ftp.lyx.org/pub/lyx/bin/1.4.1
thinking that the X11 interface might overcome the drawing problem.
It failed like yours by generating a 4cm. x 12cm. rectangle; the splash 
screen showed "Welcome to LyX" and not much else. Also saw bddraw = 0

Trying to research, the bddraw error appears to left by a .dll file
and I saw iconv.dll (gettext project) mentioned once along with gnupg.

The Viewers/splash were disabled. But I could open a New file and
type one character per line and then view it with pdflatex (xpdf).

Regards,
Stephen

Raymond Brock | 2 Jun 00:55 2006
Picon

import LaTeX and encoding issues

Hi
I'm using Lyx1.4.1 on a mac running OS10.4.5...I'm trying to import a  
perfectly fine LaTeX file prepared in Texshop. My problem is that  
when the file comes in, every apostrophe and dash is encoded as  
nonsense character strings. I've tried setting Texshop to produce  
Unicode 8 and MacOSRoman, even Latin 1. And, I've tried to match up  
what Lyx says it will deal with in the Document preferences...but to  
no avail. Quotes, no problem. Apostrophes, a problem. An example:

Youâve all heard it; youâve probably uttered  (Latin I)

or

  thatÕs simply wrong.  (MacOSRoman in Texshop and Latex default in Lyx)

This is going to be a real pain...Any ideas?

thanks
---------------------------------------------------------------
Raymond Brock  *  Professor of Physics
Department of Physics and Astronomy
Michigan State University  *  East Lansing, MI  48824

Bennett Helm | 2 Jun 02:52 2006

Re: import LaTeX and encoding issues

On Jun 1, 2006, at 6:55 PM, Raymond Brock wrote:

> I'm using Lyx1.4.1 on a mac running OS10.4.5...I'm trying to import  
> a perfectly fine LaTeX file prepared in Texshop. My problem is that  
> when the file comes in, every apostrophe and dash is encoded as  
> nonsense character strings. I've tried setting Texshop to produce  
> Unicode 8 and MacOSRoman, even Latin 1. And, I've tried to match up  
> what Lyx says it will deal with in the Document preferences...but  
> to no avail. Quotes, no problem. Apostrophes, a problem. An example:
>
> Youâve all heard it; youâve probably uttered  (Latin I)
>
> or
>
>  thatÕs simply wrong.  (MacOSRoman in Texshop and Latex default in  
> Lyx)
>
> This is going to be a real pain...Any ideas?

Latin 1 works for me, properly importing apostrophes, dashes,  
accented characters, etc. Can you send a minimal test document that  
has this problem?

Bennett

----------
Bennett Helm
Department of Philosophy
Franklin & Marshall College
P. O. Box 3003
(Continue reading)

Angus Leeming | 2 Jun 03:01 2006

Re: PortableLyX?

Abdelrazak Younes <younes.a <at> ...> writes:
>> Now, having experienced the latest version of LyX,
>> I've tested 1.4.1 on a USB stick. All good, if there
>> wouldn't be the aspell dilemma! As LyX is compiled 
>> against libaspell.a and expects to find aspell
>> dictionaries and data files in a predefined location
>> portability has been lost.

> AFAIK, the problem is not within LyX but in Aspell. Indeed Aspell 
> dictionaries are not relocatable (under Windows); this means that they 
> must be installed in the same path where they have been compiled. One 
> needs to investigate Aspell source code as to know if this could be fixed.

I must be setting some sort of record in late replies here ;-)

Actually, Abdel, the fault is all LyX's. Aspell is perfectly configurable, but
LyX doesn't have any code to push its buttons.

A long time ago, I wrote this:
http://marc.theaimsgroup.com/?l=lyx-devel&m=111954451507730&w=2

Somewhat more recently, I seem to remember expounding further on this subject
but I can't find the post in the archives. Insufficient searching skills ;-)

If you read the aspell docs, you'll find that aspell can be controlled
programmatically through the library's API; you can most definitely tell the
library where to find its data files.

Perhaps this will inspire someone who's frustrated by the current C:/Aspell
limitation to dig deeper...
(Continue reading)

David Neeley | 2 Jun 03:27 2006
Picon

Re: PortableLyX?

I don't run Windows any longer, but could you put the Aspell stuff in
the same directory as the Lyx code on a USB stick? Many programs will
look first in the directory the program is running in before seeking
an external location, after all.

Anyway, just an idle thought about a (rather messy!) workaround that
may be worth looking at.

David

On 6/1/06, Angus Leeming <leeming@...> wrote:
> Abdelrazak Younes <younes.a <at> ...> writes:

>
> > AFAIK, the problem is not within LyX but in Aspell. Indeed Aspell
> > dictionaries are not relocatable (under Windows); this means that they
> > must be installed in the same path where they have been compiled. One
> > needs to investigate Aspell source code as to know if this could be fixed.

Adinda Praditya | 2 Jun 04:55 2006
Picon

Is there LyX-1.4.1 for SuSE 10.x i586 ?

Hi list,...

I went to ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/ and found only the 64 bit
version of lyx for suse 10.x. So, is there its i586 version?

Regards,

Dida
Stephen Harris | 2 Jun 05:37 2006
Picon
Picon

Re: PortableLyX?

Angus Leeming wrote:
> Abdelrazak Younes <younes.a <at> ...> writes:
>>> Now, having experienced the latest version of LyX,
>>> I've tested 1.4.1 on a USB stick. All good, if there
>>> wouldn't be the aspell dilemma! As LyX is compiled 
>>> against libaspell.a and expects to find aspell
>>> dictionaries and data files in a predefined location
>>> portability has been lost.
> 
>> AFAIK, the problem is not within LyX but in Aspell. Indeed Aspell 
>> dictionaries are not relocatable (under Windows); this means that they 
>> must be installed in the same path where they have been compiled. One 
>> needs to investigate Aspell source code as to know if this could be fixed.
> 
> I must be setting some sort of record in late replies here ;-)
> 
> Actually, Abdel, the fault is all LyX's. Aspell is perfectly configurable, but
> LyX doesn't have any code to push its buttons.
> 
> A long time ago, I wrote this:
> http://marc.theaimsgroup.com/?l=lyx-devel&m=111954451507730&w=2
> 
> Somewhat more recently, I seem to remember expounding further on this subject
> but I can't find the post in the archives. Insufficient searching skills ;-)
> 
> If you read the aspell docs, you'll find that aspell can be controlled
> programmatically through the library's API; you can most definitely tell the
> library where to find its data files.
> 
> Perhaps this will inspire someone who's frustrated by the current C:/Aspell
(Continue reading)


Gmane