Change tracking ignoring spaces (RC5)

2008-11-04 Thread baseliner
Hello - while the other citation-related change tracking problem I reported a
couple days ago still exists in RC5, I came across another issue today. If I add
a space with track changes turned on, the space isn't showing up in the output
where I have "show changes in output" turned on. Is this a known bug?

Also, (and I know this is unrelated to the current issue) but I'm having a
problem where when I do an Update DVI after making a change, the DVI preview I
already have open does not update. I'm using TexShop on Mac OS X to preview the
DVI file.. does TexShop not automatically detect the changes? I have the option
for "Automation Preview Update" set in TexShop. Thanks!



Re: [Fwd: Re: Word processor bashing]

2008-11-04 Thread Michael Wojcik
rgheck wrote:
> I know a lot of people who use Word, etc, and I don't know a
> single person who regularly uses styles.

I do, but that's largely because I'm ornery, and will do things the
Right Way even when the tool discourages it. (I use Word for some work
documents, and Open Office for some academic documents, when interop
is a requirement.)

> Students and colleagues send me
> papers written in Word all the time, and I'm struggling to remember a
> single time any one of them sent me one that used styles.

This subject came up today on techrhet, the technology and rhetoric
list, and the prevailing opinion seems to be that, yes, students do
not use styles, and that training them to use styles would be a good
addition to composition curricula.

There's also a fair bit of sentiment that getting away from word
processors would be nice, but that's not really an option for
general-education composition today. Word processing - and
specifically Word - is essentially a general-ed skill in itself, in
today's job market. In advanced composition and digital-rhetoric
classes, many people are teaching other writing tools.

-- 
Michael Wojcik
Micro Focus
Rhetoric & Writing, Michigan State University



Re: Word processor bashing

2008-11-04 Thread Rich Shepard

On Wed, 5 Nov 2008, Uwe Stöhr wrote:


My experience is that you need the same time to learn Word and LyX. Many
people are using Word and don't known how it works. I get from students
lots of documents where they aren't even able to typeset a caption for an
image.  Some also pretends that Word cannot typeset formulas. But of
course Word can do all these things.

What we write in our Intro manual, is a teaser for new users. Someone who
really knows Word won't use LyX because he can do everything also with
Word.  (OK, that Word fails with large documents like books and has
problems with footnotes and bibliographies is another point.)


  Allow me to disagree. For the record, I've never used Word. I used
WordPerfect (DOS and Linux) for 14 years, then moved to OpenOffice.org and
AbiWord. And I used line-oriented editors such as TDP (Text and Document
Processor) on the HP/3000 minicomputers; did my dissertation in that pig,
too.

  While one could argue both ways about doing the same tasks with a word
processor as with LaTeX/LyX, that's not the issue. The word processor unit
for formatting is the line while that of TeX is the paragraph and the page.
TeX also makes micro-adjustments to interletter spaces (kerning) and uses
typographic conventions when setting diphongs and other multiletter
combinations.

  The appearance of the typeset page is quite different to the educated eye.
It may appear subtle at first, but looking at a typeset document is much
different from looking at a word processed document. I've seen commercial
trade books produced from a word processed document and they are noticably
more difficult to read.

  Do the test yourself. Type a full page or two in a text editor, then
import it in Wurd or another word processor and print it. Do the same text
with LyX and look at that output side-by-side with the word processed
document. Use the same typeface and font for both pages. You'll readily see
the differences.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

[Fwd: Re: Word processor bashing]

2008-11-04 Thread rgheck


Since Uwe moved this to users, I'll forward my comments here as well.

 Original Message 
Subject:Re: Word processor bashing
Date:   Mon, 03 Nov 2008 17:06:13 -0500
From:   RGH <[EMAIL PROTECTED]>
To: Patrick Camilleri <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
References: <[EMAIL PROTECTED]@ovgu.de>



Patrick Camilleri wrote:

Dear Sir,

  Though I find LaTeX + LyX to be a very good typesetting system, I don’t
understand all this bashing at other word processors in your ‘Introduction
to LyX’ document. In my opinion if one took at least ¼ the amount of time
one needed to learn LaTeX, one would find out that modern Word Processors
are indeed very capable tools. Styles have been supported, at least in Word,
since quite some time and not just in ‘most recent versions’ as quoted in
the footnote on page 2. I already remember using Styles in Word 97 and
frankly I can’t imagine anybody writing anything longer than 4 pages without
having any concept of Styles. You would go crazy! 

  
I'd have to go back and look at the Intro to see precisely what it says, 
so I won't defend it (yet). But I will take exception to this last 
claim. I know a lot of people who use Word, etc, and I don't know a 
single person who regularly uses styles. Students and colleagues send me 
papers written in Word all the time, and I'm struggling to remember a 
single time any one of them sent me one that used styles. So, yes, 
certainly styles exist in Word, et al, but those tools do not encourage, 
let alone enforce, the use of such styles, and that is an important 
difference between LyX and standard word processors: LyX is style-based, 
from the ground up, not a finger-painting tool with styles grafted onto 
it. That's why learning to use LyX, even to write a letter, is such a 
big adjustment for people. Speaking as a teacher, I often worry that my 
students are themselves much too worried about formatting even while 
they are writing first drafts, and this is in large part because WYSIWYG 
tools present writing and formatting as one thing and not as two.


For what it's worth, I do use OpenOffice Writer for some things, but 
these are mostly DTP type applications, such as a church bulletin or a 
news letter, and I'd probably be better off using Scribus (say) if I 
only I weren't too lazy to learn how to use it. (Yesterday, I used OOo 
to make a table comparing prices at different grocery stores. I guess it 
was good for that, too. But that's really killing a gnat with a nuke.) 
OOo is fine for dashing off quick letters, too. But really, I'd hate to 
have to go back to writing real papers in such a thing, and that's even 
true when I'm not using math, in large part because...



So in my opinion this isn’t really one of the strong points of LaTeX. Rather I 
find the ability of being able to typeset mathematical equations as being one 
of the strongest points of LaTeX, together with being able to seamlessly insert
bibliographies and cross-references. 

  
of how good the reference support is. The bibliography support in LyX 
is, in my view, every bit as good and probably better than what's 
commercially available. The only downside to what's freely available is 
that it is still too hard to write your own reference format. But 
BibLaTeX will go a good distance toward resolving that. Maybe so much so 
that some kind of GUI can even be imagined.



This comment is more directed to LaTeX advocates rather than LyX since LyX
helps alleviate this problem. I really don’t understand all these people
saying that LaTeX is a far superior system because it lets you concentrate
on your writing. 

  
I'm not sure who was saying that. Not us, as you say. The point of LaTeX 
is surely NOT that it lets you concentrate on writing.


rh



Re: Word processor bashing

2008-11-04 Thread Uwe Stöhr

I'm moving this discussion to the users list:

Patrick Camilleri wrote:


  Though I find LaTeX + LyX to be a very good typesetting system, I don’t
understand all this bashing at other word processors in your ‘Introduction
to LyX’ document. In my opinion if one took at least ¼ the amount of time
one needed to learn LaTeX, one would find out that modern Word Processors
are indeed very capable tools.


My experience is that you need the same time to learn Word and LyX. Many people are using Word and 
don't known how it works. I get from students lots of documents where they aren't even able to 
typeset a caption for an image. Some also pretends that Word cannot typeset formulas. But of course 
Word can do all these things.


What we write in our Intro manual, is a teaser for new users. Someone who really knows Word won't 
use LyX because he can do everything also with Word. (OK, that Word fails with large documents like 
books and has problems with footnotes and bibliographies is another point.)



I really don’t understand all these people
saying that LaTeX is a far superior system because it lets you concentrate
on your writing. I can’t understand how an article full of markup lets you
concentrate on your writing rather than on the details! It’s like saying I
prefer writing my papers and publications in html rather than using a simple
word processor since I don’t have to worry about the layout.


But that's why LyX was created. The Intro is talking about LyX not LaTeX as "superior" system, 
because it lets you use LaTeX as easily as you use other wordprocessors like Word.


regards Uwe


Re: Adding directory listings to a document

2008-11-04 Thread Keith Roberts

On Tue, 4 Nov 2008, Paul A. Rubin wrote:


To: lyx-users@lists.lyx.org
From: Paul A. Rubin <[EMAIL PROTECTED]>
Subject: Re: Adding directory listings to a document

Keith Roberts wrote:

On Mon, 3 Nov 2008, Paul A. Rubin wrote:






Try the LyX-Code environment from the environment drop-down list.




I tried that Paul. But when I paste the code into it, LyX reformats it 
all like a standard section.


Even if you use Ctrl-Shift-v (Edit -> Paste special -> Plain text)? Works 
for me.


/Paul


Yes, that's working now Paul. Will save me alot of time 
reformating it all by hand.


Kind Regards,

Keith Roberts

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

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

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


Re: Lost th CUA key-binding short cuts

2008-11-04 Thread Keith Roberts

On Mon, 3 Nov 2008, Paul A. Rubin wrote:


To: lyx-users@lists.lyx.org
From: Paul A. Rubin <[EMAIL PROTECTED]>
Subject: Re: Lost th CUA key-binding short cuts

Keith Roberts wrote:
Can anyone direct me to where the CUA key short cut reference is in the 
manual? I did skim over it, but cannot locate it now - duh!




Is Appendix A.3.2 in the Customization manual what you're talking about?

/Paul


Yes that is it thanks Paul.

Keith

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

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

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


Re: Adding directory listings to a document

2008-11-04 Thread Paul A. Rubin

Keith Roberts wrote:

On Mon, 3 Nov 2008, Paul A. Rubin wrote:






Try the LyX-Code environment from the environment drop-down list.




I tried that Paul. But when I paste the code into it, LyX reformats it 
all like a standard section.


Even if you use Ctrl-Shift-v (Edit -> Paste special -> Plain text)? 
Works for me.


/Paul



Re: How to insert colored program listing in LYX

2008-11-04 Thread Keith Roberts

On Tue, 4 Nov 2008, Siegfried MEUNIER-GUTTIN-CLUZEL wrote:


To: Md. Golam Parvez <[EMAIL PROTECTED]>
From: Siegfried MEUNIER-GUTTIN-CLUZEL <[EMAIL PROTECTED]>
Subject: Re: How to insert colored program listing in LYX

Hello,

You can use the listings package ( Insert > Listings ).
If you right-clic on the listing insert box, you can choose the language 
you use and the syntax will be highlighted.
In the listings manual there are many options, so I suppose you can 
change the colors if you really want.


Hope it helps.

Siegfried.


Hi Siegfried. Would the listings package insert some code 
verbatim, without affecting the layout or format of the 
code?


Regards,

Keith

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

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

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




Re: Problem with geometry package (urgent)

2008-11-04 Thread Les Denham
On Tuesday 04 November 2008, a e wrote:
> Sorry if this has an stupid answer but I'm burned out triying to set up the
> correct margins for my document. I'm using Lyx 1.5.5 working with  two
> sided document (Document->Page layout-> two sided) (book class) and using
> "geometry" package with the following options.
>
> \usepackage[a4paper,twoside,includeall,outer= 2.5 cm,inner= 0.75 cm,
>  vmarginratio=4:5,textheight= 25 cm,ignoremp,bindingoffset= 0.5
> cm,pdftex]{geometry}

I tried using these options myself on a test document, and I get the correct 
margins.  I'm using LyX 1.5.4.  Can you post a minimal document which has the 
problem?

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Adding directory listings to a document

2008-11-04 Thread Keith Roberts

On Mon, 3 Nov 2008, Paul A. Rubin wrote:


To: lyx-users@lists.lyx.org
From: Paul A. Rubin <[EMAIL PROTECTED]>
Subject: Re: Adding directory listings to a document

Keith Roberts wrote:

phing-2.2.0
├── CHANGELOG
├── CREDITS
├── INSTALL.UNIX
├── INSTALL.WIN32
├── LICENSE
├── README
├── TODO
├── bin
│  ├── pear-phing
│  ├── phing
│ └── phing.php
├── classes
└phing
└── run-tests.php

I'm trying to add a directory listing like the above to a LyX document 
to preserve the layout. Is this possible in LyX please?


I've tried the program listing but this alters the layout.

Is there something like a web forum [code]...[/code] construct that I 
can use in Lyx?




Try the LyX-Code environment from the environment drop-down list.

/Paul


I tried that Paul. But when I paste the code into it, LyX 
reformats it all like a standard section. So I still loose 
the layout. I'm getting on with it now, just using the 
stansard environment.


Thanks,

Keith

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

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

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



Re: Biography with a box "Place your photo here" help-milkykung

2008-11-04 Thread Konrad Hofbauer

milkykung wrote:

Currently, I have a doubt to place my photo in my document created from
IEEETran template. 


See IEEEtran_HOWTO.pdf what it should look like in LyX's View->Source


This happens to be in "Biography" section at the end of
document. I could not simply insert>float>figure both inside {} and outside.


In front of the two braces {}, insert the image with Insert->Graphics 
(not float!), and put an ERT before and after the image with [{ and }] 
respectively. So it should look like this in the end:


[{ IMAGE }]{ Your Name } Your short bio ...

with all the brackets and braces in ERT, and the paragraph style set to 
biography. For several biographies, you need to insert a --Separator-- 
paragraph inbetween.


I tried and it works.

/Konrad



Problem with geometry package (urgent)

2008-11-04 Thread a e
Hi everybody:

Sorry if this has an stupid answer but I'm burned out triying to set up the 
correct margins for my document. I'm using Lyx 1.5.5 working with  two sided 
document (Document->Page layout-> two sided) (book class) and using "geometry" 
package with the following options.

\usepackage[a4paper,twoside,includeall,outer= 2.5 cm,inner= 0.75 cm,  
vmarginratio=4:5,textheight= 25 cm,ignoremp,bindingoffset= 0.5 
cm,pdftex]{geometry}

However when I generate the pdf file. I get 

even pages

3.2 cm as outer margin
5.8 cm as inner margin

odd pages

2.0 cm as inner margin
7.0 cm as outer margin

When it should be (at least is what I want):

even pages

2.5 cm as outer margin
1.25 cm as inner margin

odd pages

1.25 cm as inner margin
2.5 cm as outer margin

In such way I should get a book document with the same central spacing as the 
outer margins. 

[0.75 + 0.5 (binding) ] x 2 = 2.5 cm = outer margin

I've checked that the pagenumber is correct, so the even pages are the even 
ones and odd the odd.
Any idea about what I'm doing wrong? I've tried so many things... 

Thank you for advance


  

Biography with a box "Place your photo here" help-milkykung

2008-11-04 Thread milkykung

Hi gurus,
I am using Lyx 1.5.6, of which considered to be the fullest pleasure in
benefits of professional typesetting for me. I prefer Lyx over traditional
LaTex as it does not always makes me dizzy.

Currently, I have a doubt to place my photo in my document created from
IEEETran template. This happens to be in "Biography" section at the end of
document. I could not simply insert>float>figure both inside {} and outside.
It generates a document in Biography portion as a rectangle with "Place
photo here". I have no clue as a note is not provided on this. I can simply
change it to be "BiographyNoPhoto" without problems but it is better to sort
this out and attach my photo there :-)

inside
http://n2.nabble.com/file/n1455784/Lyx_in.gif 

outside
http://n2.nabble.com/file/n1455784/Lyx_out.gif 

Putting inside created error, putting outside did not replace that
rectangle(as shown above) :,(

Please help me out. Thank you very much in advance =)

Regards,
Milkykung, Uk
-- 
View this message in context: 
http://n2.nabble.com/Biography-with-a-box-%22Place-your-photo-here%22-help-milkykung-tp1455784p1455784.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: How to insert colored program listing in LYX

2008-11-04 Thread Guenter Milde
Md. Golam Parvez schrieb:

> I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert
> colored program listing. Thanks in advanced.

a) use the listings package
   http://dante.ctan.org/CTAN/help/Catalogue/entries/listings.html with
   Insert>Listing or Insert>File>Listing (names may vary, my LyX speaks
   German) or raw LaTeX (ERT).
   
   Read its documentation to find out how to style the code with colours
   (in the documents LaTeX preamble or the listing settings field under
   Document>Settings>Text Format).
   
b) use Pygments http://pygments.org to generate LaTeX code for a coloured
   listing and insert as ERT or as Subdocument.
   
c) use some other tool to generate a PDF or PS version of the listing
   and insert as graphic.
   
Günter



Re: Lost th CUA key-binding short cuts

2008-11-04 Thread Paul A. Rubin

Keith Roberts wrote:
Can anyone direct me to where the CUA key short cut reference is in the 
manual? I did skim over it, but cannot locate it now - duh!




Is Appendix A.3.2 in the Customization manual what you're talking about?

/Paul



Re: How to insert colored program listing in LYX

2008-11-04 Thread Paul A. Rubin

Md. Golam Parvez wrote:

Hi
I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert
colored program listing. Thanks in advanced.

Golam Parvez



First, make sure you have the listings LaTeX package (listings.sty) 
installed, as well as one of the color packages (color.sty or xcolor.sty).


In LyX, use Document -> Settings -> Preamble to load the color package 
(e.g., \usepackage{xcolor}).


Now use Insert -> Program Listing to get a listing inset, into which you 
insert your code.  Right-click the handle (the word "Listing") to get 
the settings dialog.  In the Main Settings tab, use the lower left 
portion to select your language and, if necessary, dialect.  In the 
Advanced tab, type in parameters from the listings.sty LaTeX package to 
control colors.  For instance, 'keywordstyle=\color{blue}' will set 
keywords in a blue font.  Consult the documentation of the listings 
package for possible color settings.


/Paul



Re: Finding arbitrary text with given style

2008-11-04 Thread Charles de Miramon


Great stuff. I was hoping for a better search and replace in LyX since many
yeard.

I hope it could be merged in trunk for 1.6.1


Cheers,
Charles
-- 
http://www.kde-france.org



Re: Adding directory listings to a document

2008-11-04 Thread Paul A. Rubin

Keith Roberts wrote:

phing-2.2.0
├── CHANGELOG
├── CREDITS
├── INSTALL.UNIX
├── INSTALL.WIN32
├── LICENSE
├── README
├── TODO
├── bin
│  ├── pear-phing
│  ├── phing
│ └── phing.php
├── classes
└phing
└── run-tests.php

I'm trying to add a directory listing like the above to a LyX document 
to preserve the layout. Is this possible in LyX please?


I've tried the program listing but this alters the layout.

Is there something like a web forum [code]...[/code] construct that I 
can use in Lyx?




Try the LyX-Code environment from the environment drop-down list.

/Paul



Re: Adding directory listings to a document

2008-11-04 Thread Guenter Milde
Keith Roberts schrieb:

> I'm trying to add a directory listing like the above to=20
> a LyX document to preserve the layout. Is this possible in=20
> LyX please?

> I've tried the program listing but this alters the layout.

Try the LyX-Code paragraph style.

Günter



Re: How to insert colored program listing in LYX

2008-11-04 Thread Robert Orr
I have used this Highlight converter with good results.

http://www.andre-simon.de/

Output in Latex and then import into your LyX document.


--- On Tue, 11/4/08, Ernesto Posse <[EMAIL PROTECTED]> wrote:

> From: Ernesto Posse <[EMAIL PROTECTED]>
> Subject: Re: How to insert colored program listing in LYX
> To: lyx-users@lists.lyx.org
> Cc: "Md. Golam Parvez" <[EMAIL PROTECTED]>
> Date: Tuesday, November 4, 2008, 8:52 AM
> And if your language is not on the list, and you know a
> little Python,
> I recommend Pygments (http://pygments.org) a very nice
> syntax
> colouring package that generates, among other things, LaTeX
> which you
> then can include as a file in your LyX document.
> 
> 
> 
> On Tue, Nov 4, 2008 at 7:54 AM, Siegfried
> MEUNIER-GUTTIN-CLUZEL
> <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > You can use the listings package ( Insert >
> Listings ).
> > If you right-clic on the listing insert box, you can
> choose the language you
> > use and the syntax will be highlighted.
> > In the listings manual there are many options, so I
> suppose you can change
> > the colors if you really want.
> >
> > Hope it helps.
> >
> > Siegfried.
> >
> 
> 
> 
> -- 
> Ernesto Posse
> 
> Applied Formal Methods Group - Software Technology Lab
> School of Computing
> Queen's University - Kingston, Ontario, Canada


  


Re: Koma-Script Letter 2 - Align logo to top of page, add space between closing statement and signature

2008-11-04 Thread Jean-Marie Pacquet

Rich Shepard a écrit :

On Tue, 4 Nov 2008, Nick Bell wrote:


What I still haven't got is the steps to put the logo up in the top left
corner (margin corner, not page corner). Could you highlight the 
steps to

do this?


Nick,

  No. My company logo is centered along the top. But, when I try to 
increase

the size of the image it moves off center and I cannot readjust it. After
futzing with it for too long, I gave up and left it at the smaller 
size. It

still works, but the logo doesn't extend fully across the horizontal text
space. No one's complained so I am not going to do anything more other 
than

continue to use it.

Rich


Have a look at the professional letter ksl2pro here:
http://wiki.lyx.org/Examples/KomaLetter2#toc6
The logo is in the top left corner...
HTH
--
jmp


Re: Re: Koma-Script Letter 2 - Align logo to top of page, add space between closing statement and signature

2008-11-04 Thread Rich Shepard

On Tue, 4 Nov 2008, Nick Bell wrote:


What I still haven't got is the steps to put the logo up in the top left
corner (margin corner, not page corner). Could you highlight the steps to
do this?


Nick,

  No. My company logo is centered along the top. But, when I try to increase
the size of the image it moves off center and I cannot readjust it. After
futzing with it for too long, I gave up and left it at the smaller size. It
still works, but the logo doesn't extend fully across the horizontal text
space. No one's complained so I am not going to do anything more other than
continue to use it.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: How to insert colored program listing in LYX

2008-11-04 Thread Ernesto Posse
And if your language is not on the list, and you know a little Python,
I recommend Pygments (http://pygments.org) a very nice syntax
colouring package that generates, among other things, LaTeX which you
then can include as a file in your LyX document.



On Tue, Nov 4, 2008 at 7:54 AM, Siegfried MEUNIER-GUTTIN-CLUZEL
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> You can use the listings package ( Insert > Listings ).
> If you right-clic on the listing insert box, you can choose the language you
> use and the syntax will be highlighted.
> In the listings manual there are many options, so I suppose you can change
> the colors if you really want.
>
> Hope it helps.
>
> Siegfried.
>



-- 
Ernesto Posse

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


Re: How to insert colored program listing in LYX

2008-11-04 Thread Siegfried MEUNIER-GUTTIN-CLUZEL

Hello,

You can use the listings package ( Insert > Listings ).
If you right-clic on the listing insert box, you can choose the language 
you use and the syntax will be highlighted.
In the listings manual there are many options, so I suppose you can 
change the colors if you really want.


Hope it helps.

Siegfried.


Re: Adding directory listings to a document

2008-11-04 Thread Siegfried MEUNIER-GUTTIN-CLUZEL

Hello,

I'm on Windows, so what I say must be adapted to linux.

On Windows the command is tree and I used it and suceeded to import my 
tree in LyX using either LyX Code or listings.

The pdf looks OK, so everything seems to work. Here's what I did :

With LyX Code
I switch to LyX Code environnement and then I paste the tree ( 
Shift-Control V on windows ).

I return to standard environnement.

Note : you MUST be in the LyX Code environnement when you paste because 
else LyX will supress all multiple spaces !


With the Listings package, first  Insert > Listing and then paste.

Hope it helps.

Siegfried.


Re: Re: Koma-Script Letter 2 - Align logo to top of page, add space between closing statement and signature

2008-11-04 Thread Nick Bell

Rich Shepard wrote:


> If you need more let me know.
>
> Rich
>

So, simply put,

 % Add 2cm gap before signature
 \makeatletter
 [EMAIL PROTECTED]

... in the preamble adds the 2cm gap I need. Great! I also increased the
amount by which the fold marks are nudged in from the page edge using:

 [EMAIL PROTECTED]

What I still haven't got is the steps to put the logo up in the top left
corner (margin corner, not page corner). Could you highlight the steps
to do this?

Many thanks indeed

Nick