Re: SVGs with alpha channel transparency

2006-06-22 Thread Jean-Pierre Chretien

Date: Wed, 21 Jun 2006 17:56:40 +0200 (MEST)
From: Jean-Pierre Chretien [EMAIL PROTECTED]
Subject: Re: SVGs with alpha channel transparency
To: lyx-users@lists.lyx.org


Date: Wed, 21 Jun 2006 09:57:10 +1000
From: John Pye [EMAIL PROTECTED]
To: Jean-Pierre Chretien [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: SVGs with alpha channel transparency

Hi Jean-Pierre,
[...]
A side conclusion of this thread (which was about svg export in general, not 
specific to transparency),
it came out that inkscape export could only provide transparency with bitmap 
output (png). 

Uwe pointed out that a recent version of inkscape provides a transparent pdf 
output.

Another pointer, borrowed from the TexLive mailing list:
http://www.inf.bme.hu/~pts/sam2p/

I read there that 
sam2p can create EPS and PDF images with transparency
Alas, sam2p starts from bitmaps, not from vector graphics...

-- 
Jean-Pierre



Dash double size

2006-06-22 Thread icebna

Hi all
I need that the dash ( - ) to separate words, for example : In the
country - near of the coast - a village ... have a double size. It's
possible in lyx - 1.3.7 ?

Thanks advanced

Miguel


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Dash double size

2006-06-22 Thread Anders Dahnielson

On 6/22/06, icebna [EMAIL PROTECTED] wrote:


Hi all
I need that the dash ( - ) to separate words, for example : In the
country - near of the coast - a village ... have a double size. It's
possible in lyx - 1.3.7 ?

Thanks advanced

Miguel




To get an N-dash type -- (that's two dashes in a row) in LyX.

To get a M-dash type --- (that's three dashes in a row) in LyX.


--
Anders Dahnielson
[EMAIL PROTECTED]


Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-22 Thread Helge Hafting

Jeremy Wells wrote:
For some time I have been evaluating Lyx as an academic word 
processor, but find it wanting in a few critical areas.


For instance, the stated goal of Lyx is to spend more time writing, 
but less time on formatting. Based on my experience, however, and from 
posts to this list, a great deal of time is spent inserting LaTeX tags 
into documents. 

It certainly seems like that, when reading this list.  For inserting latex
tags is the one operation that people really need help with.
The many people who just write and don't use latex tags, don't post much
questions either.
In fact, my assessment is that more time is spent making Lyx work 
properly than is spent in dealing with a traditional word-processing 
environment, be it MS Word or OpenOffice. Moreover, a significant time 
investment is required to research the format of the tag and where to 
insert it, and then to debug the results. How does this save time?
You write lots of documents, all with different and very specific layout 
needs?

Then you might need a writing tool more oriented towards layout tweaking.
Lyx may not be the tool if every new document needs a radically different
layout.



Is the eventual goal of Lyx to GUIfy more of the LaTeX backend to 
avoid having to delve into adding tags? Or will this tool remain 
relatively marginalized, only used by those willing to undertake the 
significant time overhead needed to actually do productive work?

Supporting more of latex is indeed one goal.  But don't expect GUI
support for everything that is possible to do in latex - that isn't doable.
GUI support for more of what writers usually need, (and which have a
straightforward graphical representation) will happen as developers
have time for it.

Note that many people are productive using lyx.  Either because they
don't need to tweak the built-in document classes, or because
they are done with their extensive tweaks, and now produce document
after document using their finished custom layout.

Helge Hafting


Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-22 Thread Jean-Marc Lasgouttes
 Rich == Rich Shepard [EMAIL PROTECTED] writes:

Rich   I still don't care about the differences between \textellipsis
Rich and \ldots. :-)

How did you come up with these \textellipsis, then? InsertSp. CharsEllipsis
uses \ldots.

JMarc


Re: Easing the editing/correction of LyX documents

2006-06-22 Thread Helge Hafting

Peter Bowyer wrote:

Hi,

I am one of  the people who cannot finds editing documents hard on 
screen - I end up printing a copy and then working through it with a 
pen, making changes and restructuring, and then typing the changes up.


I didn't find this a problem when using Word because what was 
on-screen looked like the paper copy, so I didn't have to think hard 
about which parts matched up.  However with LyX this has become much 
more difficult, because the printed copy and the editable copy don't 
look similar.

Paper is something I usually only use for final output. I use view-pdf
or view-dvi when I want an exact preview.

Still, I know the problem very well.  I wrote a book, and went through 
several

iterations where the publisher sent back a printout where all sorts of
corrections were marked with a pen.

The paper was not like the screen, but seriously, it is not with other word
processors either.  It may be the same when you start doing corrections,
but after fixing stuff on pages 1 and 2, the line and page breaking becomes
different througout the rest of the chapter anyway.

Instead of considering where on the page is this error, I looked for
where is the error relative to the previous (or next) heading.
Finding a heading is easy enough, counting paragraphs from there
is simple too.  Finally, finding the correct place in the paragraph is easy
as paragraphs are so small.  Don't count lines in a big paragraph,
just estimate wheter the place you want is in the first, second or last 
third of the paragraph.


My book also uses numbered headings, that makes it easier too.

Now I know that people have been writing documents this way for much 
longer than word processors have been around, (think of raw TeX) which 
suggests it's a problem with my approach.  Do you have any tips or 
suggestions for making the editing process smoother?

Well, it is not that hard, you just have to get used to not using the
where on the sheet is this approach.  If you need to find something
far away in a big document, use the search function.  Press ctrl+f,
and enter part of the sentence you are looking for.  Then lyx goes
right there.  Otherwise, counting headers and paragraphs works.  They
are the same on paper and screen, although the shape differ a bit.


Helge Hafting


Re: SVGs with alpha channel transparency

2006-06-22 Thread Helge Hafting

John Pye wrote:
Your approach defeats the purpose of using SVG in the first place, and 
will result in much large PDF files that I am currently getting. I 
really want to work out how use my SVG-with-alpha directly in LyX, or 
at least some vector format that will look OK.


I wonder if there's an SVG-to-EPS converter that doesn't something 
smart with regard to alpha channels? It would need to flatten the 
layers of the vector image in a vectorised way, rather than the 
bitmapped way that most renderers no double work.

If you're making a PDF, don't bother with EPS if you don't have to.
Can your SVG be converted to PDF directly?  pdflatex likes figures in
pdf format.  xfig drawings are treated this way already.

Helge Hafting


Re: index

2006-06-22 Thread Jean-Marc Lasgouttes
 Wolfgang == Wolfgang Engelmann [EMAIL PROTECTED] writes:

Wolfgang if i search for a sequence of words where an index word is
Wolfgang inserted, it is not found.

Wolfgang Is this intended?

No, it is not intended... I can see that some insets should be
skipped, indeed.

Wolfgang If i index a word which should be emphasized because it is a
Wolfgang scientific name it is shown in the Index at the begin of the
Wolfgang index correctly emphasized but independent of its
Wolfgang alphabetical status -which is ok. However, the names are
Wolfgang shown according to their sequential occurrance, not
Wolfgang according to their alphabet:

How do you index? The right way would be to use Xanthium|emph as
index key. If this puzzles you, then you should read the makeindex
manual for more info.

JMarc



Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-22 Thread Steve Litt
On Thursday 22 June 2006 07:22 am, Helge Hafting wrote:
 Jeremy Wells wrote:
  For some time I have been evaluating Lyx as an academic word
  processor, but find it wanting in a few critical areas.
 
  For instance, the stated goal of Lyx is to spend more time writing,
  but less time on formatting. Based on my experience, however, and from
  posts to this list, a great deal of time is spent inserting LaTeX tags
  into documents.

 It certainly seems like that, when reading this list.  For inserting latex
 tags is the one operation that people really need help with.
 The many people who just write and don't use latex tags, don't post much
 questions either.

I think what most people need help with is creating layouts. Few people insert 
LaTeX inline into the document. There's a reason it's called EVIL Red Text.


  In fact, my assessment is that more time is spent making Lyx work
  properly than is spent in dealing with a traditional word-processing
  environment, be it MS Word or OpenOffice. Moreover, a significant time
  investment is required to research the format of the tag and where to
  insert it, and then to debug the results. How does this save time?

 You write lots of documents, all with different and very specific layout
 needs?
 Then you might need a writing tool more oriented towards layout tweaking.
 Lyx may not be the tool if every new document needs a radically different
 layout.

That isn't how it works for me. For me, LyX is good even if every book has a 
different layout file. Every one of my books has a different layout, because 
every one has a slightly different intended audience. Yet, every document is 
consistent *within itself*. If it takes 3 months to write a book and you need 
to spend 1 solid week making the layout, is that one week really all that 
significant?

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



bibtex my.bst

2006-06-22 Thread Wolfgang Engelmann
Springer publisher wants a certain style for references. I tried to make one 
by using 
latex makebst
It produced springer.dbj. springer .bst and springer.log  in my home.

Now I am confused how to proceed. 
The existing bst files are spread in 
/usr/local/texlive/..
/usr/share/texmf/..
/usr/Tex/texmf-dist/bibtex/..

Where should I transfer the produced springer.dbj. springer .bst and 
springer.log?

Sofar I used in the preamble
\usepackage[authoryear,comma]{natbib}
and
\bibpunct{}{}{}{a}{}{}

What is the procedure to get the new .bst working? 
\usepackage{springer}
after texhash?

\bibpunct determines the way the references are cited in the text?

I would appreciate your help

Wolfgang


Typographical/graphical analysis of a document

2006-06-22 Thread Martin A. Hansen

Hello All,


I found this document on the BBC news website, which I have reposted here:

http://130.226.106.174/~paste/cgi-bin/20_06_06_iap_evolution.pdf

And after reading it I thought it would be an interesting exercise to
present it to the LyX-users list for thorough criticism with respect to
typographical and graphical layout. I think we could learn some interesting
things here (at least I could).

I shall not go into the content of the document, but only say that in my
opinion, this document is of major importance and therefore ought to have
perfect layout. However, looking closely at the document it is clear that it
was not prepared using LyX! I have this feeling that, apart from several
errors, a lot of typographical rules have been broken or ignored - and also
some graphical ones when considering the letterhead.

In my opinion the letterhead is poorly designed. The little black bar in the
top left corner annoys me, why is it there? The line reading (The Academy
for Sciences for the Developing World) seem badly placed shifting the
entire block right of the vertical bar.

The document contains several errors as far as I can tell: there is a white
space missing after (ii) and the vertical white space between 67. and 68.
institutions should not be there.  Furthermore, I am not sure I like the
choice of fonts (and the high number of fonts used). Finally, I have this
feeling that all blocks of text are aligned in an unpleasing way, but I
cannot say what exactly triggers this feeling. Perhaps somebody can?



Martin


Re: index

2006-06-22 Thread Wolfgang Engelmann
Am Donnerstag, 22. Juni 2006 13:52 schrieb Jean-Marc Lasgouttes:
  Wolfgang == Wolfgang Engelmann [EMAIL PROTECTED] writes:

 Wolfgang if i search for a sequence of words where an index word is
 Wolfgang inserted, it is not found.

 Wolfgang Is this intended?

 No, it is not intended... I can see that some insets should be
 skipped, indeed.

 Wolfgang If i index a word which should be emphasized because it is a
 Wolfgang scientific name it is shown in the Index at the begin of the
 Wolfgang index correctly emphasized but independent of its
 Wolfgang alphabetical status -which is ok. However, the names are
 Wolfgang shown according to their sequential occurrance, not
 Wolfgang according to their alphabet:

 How do you index? The right way would be to use Xanthium|emph as
 index key. If this puzzles you, then you should read the makeindex
 manual for more info.

 JMarc

 Jean-Marc, 
thanks for your pointer. However, if I use your proposal 
Xanthium|emph
the Index does not show the word emphasized, but normal (and alphabetically 
correct). 
So far I used
\emph{Xanthium} in the index box in the text
which gave me the emphasized appearance but at the begin of the index.
I will check the manual, but if it is just a minor point I would appreciate 
your help.

Wolfgang


Re: SVGs with alpha channel transparency

2006-06-22 Thread Paul Smith

Could somebody please illustrate us about what is alpha-channel
transparency? I have searched for it through Google, but found
nothing instructive.

Paul


Re: index

2006-06-22 Thread Wolfgang Engelmann
Am Donnerstag, 22. Juni 2006 13:52 schrieb Jean-Marc Lasgouttes:
  Wolfgang == Wolfgang Engelmann [EMAIL PROTECTED] writes:

 Wolfgang if i search for a sequence of words where an index word is
 Wolfgang inserted, it is not found.

 Wolfgang Is this intended?

 No, it is not intended... I can see that some insets should be
 skipped, indeed.

 Wolfgang If i index a word which should be emphasized because it is a
 Wolfgang scientific name it is shown in the Index at the begin of the
 Wolfgang index correctly emphasized but independent of its
 Wolfgang alphabetical status -which is ok. However, the names are
 Wolfgang shown according to their sequential occurrance, not
 Wolfgang according to their alphabet:

 How do you index? The right way would be to use Xanthium|emph as
 index key. If this puzzles you, then you should read the makeindex
 manual for more info.

I just see the misunderstanding. Jean-Marcs proposal converts the page number 
from normal to emphasized. What I want is to convert the indexed word into 
emphasized. 

Wolfgang


Re: Typographical/graphical analysis of a document

2006-06-22 Thread Les Denham
On Thursday 22 June 2006 07:54, Martin A. Hansen wrote:
 Hello All,


 I found this document on the BBC news website, which I have reposted here:

 http://130.226.106.174/~paste/cgi-bin/20_06_06_iap_evolution.pdf

 And after reading it I thought it would be an interesting exercise to
 present it to the LyX-users list for thorough criticism with respect to
 typographical and graphical layout. I think we could learn some interesting
 things here (at least I could).

 I shall not go into the content of the document, but only say that in my
 opinion, this document is of major importance and therefore ought to have
 perfect layout. However, looking closely at the document it is clear that
 it was not prepared using LyX! I have this feeling that, apart from several
 errors, a lot of typographical rules have been broken or ignored - and also
 some graphical ones when considering the letterhead.

 In my opinion the letterhead is poorly designed. The little black bar in
 the top left corner annoys me, why is it there? The line reading (The
 Academy for Sciences for the Developing World) seem badly placed shifting
 the entire block right of the vertical bar.

 The document contains several errors as far as I can tell: there is a white
 space missing after (ii) and the vertical white space between 67. and 68.
 institutions should not be there.  Furthermore, I am not sure I like the
 choice of fonts (and the high number of fonts used). Finally, I have this
 feeling that all blocks of text are aligned in an unpleasing way, but I
 cannot say what exactly triggers this feeling. Perhaps somebody can?

I agree on all the points you have made.

One aspect which I find particularly offensive is the use of upper case where 
lower case would traditionally be used and lower case where upper case would 
traditionally be used.

The general feeling of unpleasing alignment is, in my opinion, due to three 
features: justification is by varying word spacing only; kerning is not used 
(look at the spacing of V in the last word of the title); and a sans serif 
font (Officina Sans-Book I'd guess, from the fonts listed by Adobe Reader) is 
used for the bulk of the document, made worse by putting the first page in 
bold.  There's a reason why most printed blocks of text have used a serif 
font for the last three centuries or more: it's easier to read.

Les

-- 
L. R. Denham

Gentoo Linux 2005.1 Kernel 2.6.10-gentoo-r6
KDE 3.3.2
Athlon XP 3200+
1 GB Dual Channel PC2700 RAM
Maxtor 120 GB (Partitions EXT3)
Sony CRX300E CD-RW/DVD-ROM
OPTORITE DVD RW DD1205
Gainward GeForce4 64MB MX440
EPox 8RDA3+ Motherboard


Re: index

2006-06-22 Thread Jean-Marc Lasgouttes
 Wolfgang == Wolfgang Engelmann [EMAIL PROTECTED] writes:

  How do you index? The right way would be to use Xanthium|emph as
 index key. If this puzzles you, then you should read the makeindex
 manual for more info.

Wolfgang I just see the misunderstanding. Jean-Marcs proposal
Wolfgang converts the page number from normal to emphasized. What I
Wolfgang want is to convert the indexed word into emphasized.

You are right, sorry. Try [EMAIL PROTECTED].

JMarc


Re: bibtex my.bst

2006-06-22 Thread Paul A. Rubin

Wolfgang Engelmann wrote:
Springer publisher wants a certain style for references. I tried to make one 
by using 
latex makebst

It produced springer.dbj. springer .bst and springer.log  in my home.

Now I am confused how to proceed. 
The existing bst files are spread in 
/usr/local/texlive/..

/usr/share/texmf/..
/usr/Tex/texmf-dist/bibtex/..

Where should I transfer the produced springer.dbj. springer .bst and 
springer.log?


There's usually a localtexmf directory somewhere.  I'm not a TeXLive 
user, but I suspect it creates an environment variable showing the 
location of localtexmf.  My preference is to create a bibtex directory 
under localtexmf, then create subdirectories for each style I create 
(e.g., .../localtexmf/bibtex/springer).  I don't know if the log file is 
worth keeping, but the other two are.  Once you've placed them there, 
run texhash to update the TeX file database, and then I think you'll 
need to reconfigure LyX so that it sees the .bst file.


Sofar I used in the preamble
\usepackage[authoryear,comma]{natbib}
and
\bibpunct{}{}{}{a}{}{}

What is the procedure to get the new .bst working? 
\usepackage{springer}

after texhash?


After reconfiguring LyX, you should be able to select the .bst file from 
the drop down list of choices.  Unless you are using a Springer style 
file, there is no need for \usepackage{springer}.


\bibpunct determines the way the references are cited in the text?


Yes.

/Paul



Re: bibtex my.bst

2006-06-22 Thread Wolfgang Engelmann


 After reconfiguring LyX, you should be able to select the .bst file from
 the drop down list of choices.  Unless you are using a Springer style
 file, there is no need for \usepackage{springer}.


Jean-Marc,

I followed your advice (thanks) and got this error message:

LaTeX Error: File `babelbst.tex' not found.
 \input{babelbst.tex}
^^M
*** (cannot \read from terminal in nonstop modes)

Google tells me:
No need for creating babelbst.tex anymore. Changing language .mbs option
in makebst resulted in a working .bst file.

But how do I change language .mbs option in makebst?

In the .bst file is e.g.:

%% merlin.mbs  (with options: 
`babel,ay,nat,vonx,nm-rvx,jnrlst,keyxyr,dt-beg,yr-par,yrp-x,note-yr,jttl-rm,vnum-x,num-xser,jnm-x,btit-rm,bt-rm,bkpg-x,blk-com,com-blank,in-col,injnl,fin-bare,pp,ed,abr,ednx,mth-bare,ord,jabr,amper,xand')


Wolfgang


minipage question

2006-06-22 Thread jouke hijlkema

Hello all

Is there a lyx way to have a minipage spanning multiple pages ??

Thanks in advance


Re: minipage question

2006-06-22 Thread Ingo Klöcker
Am Donnerstag, 22. Juni 2006 17:18 schrieb jouke hijlkema:
 Is there a lyx way to have a minipage spanning multiple pages ??

A minipage is just like any other box treated by TeX/LaTeX as a single 
character. As such, by definition, it cannot span multiple pages.

Maybe using a table is a possible alternative?

Regards,
Ingo


pgpCkuMuB5Eie.pgp
Description: PGP signature


Re: SVGs with alpha channel transparency

2006-06-22 Thread Paul Smith

On 6/22/06, John Pye [EMAIL PROTECTED] wrote:

It's when you have 4 channels to describe each color: red, green, blue
and alpha. alpha is the opacity. If it's 1.0, then you color will show
up just as you expect. If it's zero you can see right through to
whatever's behind. Software that supports this needs to compose an image
for you by working out the combined color at each spot as the
combination of all the layers and their respective alpha values.

http://en.wikipedia.org/wiki/Alpha_channel


I understand now it. Thanks, John.

Paul


Re: Windows XP: Aspell for Opera and Lyx conflict

2006-06-22 Thread David Finlayson

You are right. I was able to install both to the same folder c:\aspell and
it Opera and Lyx found the versions they were needing.

I didn't know about the bug in lyx windows that causes Aspell to ignore the
first misspelled word in a document. I was testing it with only one
misspelled word in my sentence.

Thanks for your help

David

On 6/21/06, Stephen Harris [EMAIL PROTECTED] wrote:


David Finlayson wrote:
 Maybe some of you use Opera browser as well as Lyx on Windows XP?

 I can't seem to get Opera to find the custom Aspell 0.6 built for Lyx,
 and I can't get Lyx to work with Aspell 0.5 which Opera can use
 (installed in C:\Aspell in both cases). Finally, it doesn't seem like
 you can have both Aspell versions installed because Opera uses
 c:\Aspell no matter where an alternate version is placed. Grrr.

 Is it really true that I can only have spell checking in my email
 client or my word processor but not both at the same time?


Joost has fixed it so Aspell can be installed where you want it.
Probably available in the next LyX release. You can have two
versions of Aspell installed for LyX, so I don't see why it
wouldn't work for LyX and Opera. The traditional 0.5 should work
with Opera or LyX1.3.7 -- and 0.6 should work with LyX1.4.1 --
they share the same parent folder, C:\Aspell but are installed
in different folders after that with different dictionaries.
They don't conflict for the two LyX versions. I don't have
Opera, but a full path specified to the 0.53 Aspell should work.

Regards,
Stephen





--
David Finlayson


Re: minipage question

2006-06-22 Thread Andre Poenitz
On Thu, Jun 22, 2006 at 05:18:13PM +0200, jouke hijlkema wrote:
 Hello all
 
 Is there a lyx way to have a minipage spanning multiple pages ??

There isn't even a LaTeX way.

_mini_pages fit onto one page.

Andre'


using image created with inkscape

2006-06-22 Thread Jeremy C. Reed
I created a 4-inch wide image in inkscape (using public domain clipart 
from openclipart.org).

I have copies of it here in inkscape SVG format, Tex format using pstricks 
(as saved by inkscape) and PNG (es exported by inkscape):

http://pilchuck.reedmedia.net/jeremy/tmp-x47856vukwakbjejhr/

1) First I tried to use the tex version in lyx, but lyx said:

[1]   Segmentation fault (core dumped) convert -depth 8...
/usr/pkg/share/lyx/scripts/convertDefault.sh ERROR
Execution of convert failed.

And I have a core dump from convert. It is from ImageMagick-6.2.5.0.
gdb says Signal 11 and
#0  0x in ?? ()
#1  0x48843b9a in _init () from /usr/pkg/lib/libXau.so.6
#2  0x488438c5 in _init () from /usr/pkg/lib/libXau.so.6
#3  0x4804c706 in _rtld_call_init_functions () from /usr/libexec/ld.elf_so

(Problem probably not related to ImageMagick nor the image itself.)

2) Next I tried the png image. It is blurry and seemed to scale somewhat 
too big.

Any suggestions or pointers on creating good graphics to be used by LyX 
that will print well for a book?

Thanks,

 Jeremy C. Reed

echo '9,J8HD,[EMAIL PROTECTED]:[EMAIL PROTECTED];[EMAIL 
PROTECTED]@5GBIELD54DL@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'


Re: using image created with inkscape

2006-06-22 Thread Rich Shepard

On Thu, 22 Jun 2006, Jeremy C. Reed wrote:


Any suggestions or pointers on creating good graphics to be used by LyX
that will print well for a book?


Jeremy,

  I'm far from a graphics expert, but I know that .eps files easily integrate
into a .lyx document and look great in a professionally printed book -- or a
locally printed one using the laser printer. I've also integrated .pdf files
and they work very well, too.

  I did not like the results when I tried a .png image.

  Since SVG is vector format, and so is .eps, it may be possible to get
Inkscape to produce the latter directly. Otherwise, 'convert' will do its
magic on the image.

HTH,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: using image created with inkscape

2006-06-22 Thread Jeremy C. Reed
I exported my graphic with inkscape to both EPS and Postscript. They both 
look good when viewed with gv.

But they won't load with LyX's Insert-Graphics.

They both cause a convert failed. I see that the convertDefault.sh says:

# The default converter if no other has been defined by the user from the
# Conversion-Converter tab of the Preferences dialog.

I don't have any Conversion choice. But I do have Converters.

I am not sure what the target it is converting to. So I modified the 
script to output. It said:

convert -depth 8 eps:/home/reed/book/pf-book/images/example-diagram.eps \
 ppm:/tmp/lyx_tmpdir2682126821a/example-diagram2682126821e.ppm

So it wants to convert the postscript or EPS to bitmap PPM. So that is not 
for the LyX export, but for displaying in LyX interface itself. So I 
unchecked the Show in LyX checkbox.

And the image actually displayed well in my exported PDF (pdf2latex was 
used).

The EPS was sideways but looked good. So I chose Rotation Angle of 90 in 
the LyX: Graphics gui and this seems fine.

Thank you, Rich, for reminding me try Postscript.

I also tried to use the tex version (generated by inkscape) but LyX 
complained that now converter was setup for it.

 Jeremy C. Reed

echo '9,J8HD,[EMAIL PROTECTED]:[EMAIL PROTECTED];[EMAIL 
PROTECTED]@5GBIELD54DL@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'


Re: using image created with inkscape

2006-06-22 Thread John Coppens
On Thu, 22 Jun 2006 20:44:06 -0700 (PDT)
Jeremy C. Reed [EMAIL PROTECTED] wrote:

 I exported my graphic with inkscape to both EPS and Postscript. They
 both look good when viewed with gv.
 
 But they won't load with LyX's Insert-Graphics.


Maybe a bit far-fetched, but 'skencil' loads SVG images, and can save in
PS/EPS format. I suspect Sodipodi (a native SVG editor) can load them and
print them to PS too.

This of any help?

John


Re: SVGs with alpha channel transparency

2006-06-22 Thread Jean-Pierre Chretien

Date: Wed, 21 Jun 2006 17:56:40 +0200 (MEST)
From: Jean-Pierre Chretien [EMAIL PROTECTED]
Subject: Re: SVGs with alpha channel transparency
To: lyx-users@lists.lyx.org


Date: Wed, 21 Jun 2006 09:57:10 +1000
From: John Pye [EMAIL PROTECTED]
To: Jean-Pierre Chretien [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: SVGs with alpha channel transparency

Hi Jean-Pierre,
[...]
A side conclusion of this thread (which was about svg export in general, not 
specific to transparency),
it came out that inkscape export could only provide transparency with bitmap 
output (png). 

Uwe pointed out that a recent version of inkscape provides a transparent pdf 
output.

Another pointer, borrowed from the TexLive mailing list:
http://www.inf.bme.hu/~pts/sam2p/

I read there that 
sam2p can create EPS and PDF images with transparency
Alas, sam2p starts from bitmaps, not from vector graphics...

-- 
Jean-Pierre



Dash double size

2006-06-22 Thread icebna

Hi all
I need that the dash ( - ) to separate words, for example : In the
country - near of the coast - a village ... have a double size. It's
possible in lyx - 1.3.7 ?

Thanks advanced

Miguel


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Dash double size

2006-06-22 Thread Anders Dahnielson

On 6/22/06, icebna [EMAIL PROTECTED] wrote:


Hi all
I need that the dash ( - ) to separate words, for example : In the
country - near of the coast - a village ... have a double size. It's
possible in lyx - 1.3.7 ?

Thanks advanced

Miguel




To get an N-dash type -- (that's two dashes in a row) in LyX.

To get a M-dash type --- (that's three dashes in a row) in LyX.


--
Anders Dahnielson
[EMAIL PROTECTED]


Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-22 Thread Helge Hafting

Jeremy Wells wrote:
For some time I have been evaluating Lyx as an academic word 
processor, but find it wanting in a few critical areas.


For instance, the stated goal of Lyx is to spend more time writing, 
but less time on formatting. Based on my experience, however, and from 
posts to this list, a great deal of time is spent inserting LaTeX tags 
into documents. 

It certainly seems like that, when reading this list.  For inserting latex
tags is the one operation that people really need help with.
The many people who just write and don't use latex tags, don't post much
questions either.
In fact, my assessment is that more time is spent making Lyx work 
properly than is spent in dealing with a traditional word-processing 
environment, be it MS Word or OpenOffice. Moreover, a significant time 
investment is required to research the format of the tag and where to 
insert it, and then to debug the results. How does this save time?
You write lots of documents, all with different and very specific layout 
needs?

Then you might need a writing tool more oriented towards layout tweaking.
Lyx may not be the tool if every new document needs a radically different
layout.



Is the eventual goal of Lyx to GUIfy more of the LaTeX backend to 
avoid having to delve into adding tags? Or will this tool remain 
relatively marginalized, only used by those willing to undertake the 
significant time overhead needed to actually do productive work?

Supporting more of latex is indeed one goal.  But don't expect GUI
support for everything that is possible to do in latex - that isn't doable.
GUI support for more of what writers usually need, (and which have a
straightforward graphical representation) will happen as developers
have time for it.

Note that many people are productive using lyx.  Either because they
don't need to tweak the built-in document classes, or because
they are done with their extensive tweaks, and now produce document
after document using their finished custom layout.

Helge Hafting


Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-22 Thread Jean-Marc Lasgouttes
 Rich == Rich Shepard [EMAIL PROTECTED] writes:

Rich   I still don't care about the differences between \textellipsis
Rich and \ldots. :-)

How did you come up with these \textellipsis, then? InsertSp. CharsEllipsis
uses \ldots.

JMarc


Re: Easing the editing/correction of LyX documents

2006-06-22 Thread Helge Hafting

Peter Bowyer wrote:

Hi,

I am one of  the people who cannot finds editing documents hard on 
screen - I end up printing a copy and then working through it with a 
pen, making changes and restructuring, and then typing the changes up.


I didn't find this a problem when using Word because what was 
on-screen looked like the paper copy, so I didn't have to think hard 
about which parts matched up.  However with LyX this has become much 
more difficult, because the printed copy and the editable copy don't 
look similar.

Paper is something I usually only use for final output. I use view-pdf
or view-dvi when I want an exact preview.

Still, I know the problem very well.  I wrote a book, and went through 
several

iterations where the publisher sent back a printout where all sorts of
corrections were marked with a pen.

The paper was not like the screen, but seriously, it is not with other word
processors either.  It may be the same when you start doing corrections,
but after fixing stuff on pages 1 and 2, the line and page breaking becomes
different througout the rest of the chapter anyway.

Instead of considering where on the page is this error, I looked for
where is the error relative to the previous (or next) heading.
Finding a heading is easy enough, counting paragraphs from there
is simple too.  Finally, finding the correct place in the paragraph is easy
as paragraphs are so small.  Don't count lines in a big paragraph,
just estimate wheter the place you want is in the first, second or last 
third of the paragraph.


My book also uses numbered headings, that makes it easier too.

Now I know that people have been writing documents this way for much 
longer than word processors have been around, (think of raw TeX) which 
suggests it's a problem with my approach.  Do you have any tips or 
suggestions for making the editing process smoother?

Well, it is not that hard, you just have to get used to not using the
where on the sheet is this approach.  If you need to find something
far away in a big document, use the search function.  Press ctrl+f,
and enter part of the sentence you are looking for.  Then lyx goes
right there.  Otherwise, counting headers and paragraphs works.  They
are the same on paper and screen, although the shape differ a bit.


Helge Hafting


Re: SVGs with alpha channel transparency

2006-06-22 Thread Helge Hafting

John Pye wrote:
Your approach defeats the purpose of using SVG in the first place, and 
will result in much large PDF files that I am currently getting. I 
really want to work out how use my SVG-with-alpha directly in LyX, or 
at least some vector format that will look OK.


I wonder if there's an SVG-to-EPS converter that doesn't something 
smart with regard to alpha channels? It would need to flatten the 
layers of the vector image in a vectorised way, rather than the 
bitmapped way that most renderers no double work.

If you're making a PDF, don't bother with EPS if you don't have to.
Can your SVG be converted to PDF directly?  pdflatex likes figures in
pdf format.  xfig drawings are treated this way already.

Helge Hafting


Re: index

2006-06-22 Thread Jean-Marc Lasgouttes
 Wolfgang == Wolfgang Engelmann [EMAIL PROTECTED] writes:

Wolfgang if i search for a sequence of words where an index word is
Wolfgang inserted, it is not found.

Wolfgang Is this intended?

No, it is not intended... I can see that some insets should be
skipped, indeed.

Wolfgang If i index a word which should be emphasized because it is a
Wolfgang scientific name it is shown in the Index at the begin of the
Wolfgang index correctly emphasized but independent of its
Wolfgang alphabetical status -which is ok. However, the names are
Wolfgang shown according to their sequential occurrance, not
Wolfgang according to their alphabet:

How do you index? The right way would be to use Xanthium|emph as
index key. If this puzzles you, then you should read the makeindex
manual for more info.

JMarc



Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-22 Thread Steve Litt
On Thursday 22 June 2006 07:22 am, Helge Hafting wrote:
 Jeremy Wells wrote:
  For some time I have been evaluating Lyx as an academic word
  processor, but find it wanting in a few critical areas.
 
  For instance, the stated goal of Lyx is to spend more time writing,
  but less time on formatting. Based on my experience, however, and from
  posts to this list, a great deal of time is spent inserting LaTeX tags
  into documents.

 It certainly seems like that, when reading this list.  For inserting latex
 tags is the one operation that people really need help with.
 The many people who just write and don't use latex tags, don't post much
 questions either.

I think what most people need help with is creating layouts. Few people insert 
LaTeX inline into the document. There's a reason it's called EVIL Red Text.


  In fact, my assessment is that more time is spent making Lyx work
  properly than is spent in dealing with a traditional word-processing
  environment, be it MS Word or OpenOffice. Moreover, a significant time
  investment is required to research the format of the tag and where to
  insert it, and then to debug the results. How does this save time?

 You write lots of documents, all with different and very specific layout
 needs?
 Then you might need a writing tool more oriented towards layout tweaking.
 Lyx may not be the tool if every new document needs a radically different
 layout.

That isn't how it works for me. For me, LyX is good even if every book has a 
different layout file. Every one of my books has a different layout, because 
every one has a slightly different intended audience. Yet, every document is 
consistent *within itself*. If it takes 3 months to write a book and you need 
to spend 1 solid week making the layout, is that one week really all that 
significant?

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



bibtex my.bst

2006-06-22 Thread Wolfgang Engelmann
Springer publisher wants a certain style for references. I tried to make one 
by using 
latex makebst
It produced springer.dbj. springer .bst and springer.log  in my home.

Now I am confused how to proceed. 
The existing bst files are spread in 
/usr/local/texlive/..
/usr/share/texmf/..
/usr/Tex/texmf-dist/bibtex/..

Where should I transfer the produced springer.dbj. springer .bst and 
springer.log?

Sofar I used in the preamble
\usepackage[authoryear,comma]{natbib}
and
\bibpunct{}{}{}{a}{}{}

What is the procedure to get the new .bst working? 
\usepackage{springer}
after texhash?

\bibpunct determines the way the references are cited in the text?

I would appreciate your help

Wolfgang


Typographical/graphical analysis of a document

2006-06-22 Thread Martin A. Hansen

Hello All,


I found this document on the BBC news website, which I have reposted here:

http://130.226.106.174/~paste/cgi-bin/20_06_06_iap_evolution.pdf

And after reading it I thought it would be an interesting exercise to
present it to the LyX-users list for thorough criticism with respect to
typographical and graphical layout. I think we could learn some interesting
things here (at least I could).

I shall not go into the content of the document, but only say that in my
opinion, this document is of major importance and therefore ought to have
perfect layout. However, looking closely at the document it is clear that it
was not prepared using LyX! I have this feeling that, apart from several
errors, a lot of typographical rules have been broken or ignored - and also
some graphical ones when considering the letterhead.

In my opinion the letterhead is poorly designed. The little black bar in the
top left corner annoys me, why is it there? The line reading (The Academy
for Sciences for the Developing World) seem badly placed shifting the
entire block right of the vertical bar.

The document contains several errors as far as I can tell: there is a white
space missing after (ii) and the vertical white space between 67. and 68.
institutions should not be there.  Furthermore, I am not sure I like the
choice of fonts (and the high number of fonts used). Finally, I have this
feeling that all blocks of text are aligned in an unpleasing way, but I
cannot say what exactly triggers this feeling. Perhaps somebody can?



Martin


Re: index

2006-06-22 Thread Wolfgang Engelmann
Am Donnerstag, 22. Juni 2006 13:52 schrieb Jean-Marc Lasgouttes:
  Wolfgang == Wolfgang Engelmann [EMAIL PROTECTED] writes:

 Wolfgang if i search for a sequence of words where an index word is
 Wolfgang inserted, it is not found.

 Wolfgang Is this intended?

 No, it is not intended... I can see that some insets should be
 skipped, indeed.

 Wolfgang If i index a word which should be emphasized because it is a
 Wolfgang scientific name it is shown in the Index at the begin of the
 Wolfgang index correctly emphasized but independent of its
 Wolfgang alphabetical status -which is ok. However, the names are
 Wolfgang shown according to their sequential occurrance, not
 Wolfgang according to their alphabet:

 How do you index? The right way would be to use Xanthium|emph as
 index key. If this puzzles you, then you should read the makeindex
 manual for more info.

 JMarc

 Jean-Marc, 
thanks for your pointer. However, if I use your proposal 
Xanthium|emph
the Index does not show the word emphasized, but normal (and alphabetically 
correct). 
So far I used
\emph{Xanthium} in the index box in the text
which gave me the emphasized appearance but at the begin of the index.
I will check the manual, but if it is just a minor point I would appreciate 
your help.

Wolfgang


Re: SVGs with alpha channel transparency

2006-06-22 Thread Paul Smith

Could somebody please illustrate us about what is alpha-channel
transparency? I have searched for it through Google, but found
nothing instructive.

Paul


Re: index

2006-06-22 Thread Wolfgang Engelmann
Am Donnerstag, 22. Juni 2006 13:52 schrieb Jean-Marc Lasgouttes:
  Wolfgang == Wolfgang Engelmann [EMAIL PROTECTED] writes:

 Wolfgang if i search for a sequence of words where an index word is
 Wolfgang inserted, it is not found.

 Wolfgang Is this intended?

 No, it is not intended... I can see that some insets should be
 skipped, indeed.

 Wolfgang If i index a word which should be emphasized because it is a
 Wolfgang scientific name it is shown in the Index at the begin of the
 Wolfgang index correctly emphasized but independent of its
 Wolfgang alphabetical status -which is ok. However, the names are
 Wolfgang shown according to their sequential occurrance, not
 Wolfgang according to their alphabet:

 How do you index? The right way would be to use Xanthium|emph as
 index key. If this puzzles you, then you should read the makeindex
 manual for more info.

I just see the misunderstanding. Jean-Marcs proposal converts the page number 
from normal to emphasized. What I want is to convert the indexed word into 
emphasized. 

Wolfgang


Re: Typographical/graphical analysis of a document

2006-06-22 Thread Les Denham
On Thursday 22 June 2006 07:54, Martin A. Hansen wrote:
 Hello All,


 I found this document on the BBC news website, which I have reposted here:

 http://130.226.106.174/~paste/cgi-bin/20_06_06_iap_evolution.pdf

 And after reading it I thought it would be an interesting exercise to
 present it to the LyX-users list for thorough criticism with respect to
 typographical and graphical layout. I think we could learn some interesting
 things here (at least I could).

 I shall not go into the content of the document, but only say that in my
 opinion, this document is of major importance and therefore ought to have
 perfect layout. However, looking closely at the document it is clear that
 it was not prepared using LyX! I have this feeling that, apart from several
 errors, a lot of typographical rules have been broken or ignored - and also
 some graphical ones when considering the letterhead.

 In my opinion the letterhead is poorly designed. The little black bar in
 the top left corner annoys me, why is it there? The line reading (The
 Academy for Sciences for the Developing World) seem badly placed shifting
 the entire block right of the vertical bar.

 The document contains several errors as far as I can tell: there is a white
 space missing after (ii) and the vertical white space between 67. and 68.
 institutions should not be there.  Furthermore, I am not sure I like the
 choice of fonts (and the high number of fonts used). Finally, I have this
 feeling that all blocks of text are aligned in an unpleasing way, but I
 cannot say what exactly triggers this feeling. Perhaps somebody can?

I agree on all the points you have made.

One aspect which I find particularly offensive is the use of upper case where 
lower case would traditionally be used and lower case where upper case would 
traditionally be used.

The general feeling of unpleasing alignment is, in my opinion, due to three 
features: justification is by varying word spacing only; kerning is not used 
(look at the spacing of V in the last word of the title); and a sans serif 
font (Officina Sans-Book I'd guess, from the fonts listed by Adobe Reader) is 
used for the bulk of the document, made worse by putting the first page in 
bold.  There's a reason why most printed blocks of text have used a serif 
font for the last three centuries or more: it's easier to read.

Les

-- 
L. R. Denham

Gentoo Linux 2005.1 Kernel 2.6.10-gentoo-r6
KDE 3.3.2
Athlon XP 3200+
1 GB Dual Channel PC2700 RAM
Maxtor 120 GB (Partitions EXT3)
Sony CRX300E CD-RW/DVD-ROM
OPTORITE DVD RW DD1205
Gainward GeForce4 64MB MX440
EPox 8RDA3+ Motherboard


Re: index

2006-06-22 Thread Jean-Marc Lasgouttes
 Wolfgang == Wolfgang Engelmann [EMAIL PROTECTED] writes:

  How do you index? The right way would be to use Xanthium|emph as
 index key. If this puzzles you, then you should read the makeindex
 manual for more info.

Wolfgang I just see the misunderstanding. Jean-Marcs proposal
Wolfgang converts the page number from normal to emphasized. What I
Wolfgang want is to convert the indexed word into emphasized.

You are right, sorry. Try [EMAIL PROTECTED].

JMarc


Re: bibtex my.bst

2006-06-22 Thread Paul A. Rubin

Wolfgang Engelmann wrote:
Springer publisher wants a certain style for references. I tried to make one 
by using 
latex makebst

It produced springer.dbj. springer .bst and springer.log  in my home.

Now I am confused how to proceed. 
The existing bst files are spread in 
/usr/local/texlive/..

/usr/share/texmf/..
/usr/Tex/texmf-dist/bibtex/..

Where should I transfer the produced springer.dbj. springer .bst and 
springer.log?


There's usually a localtexmf directory somewhere.  I'm not a TeXLive 
user, but I suspect it creates an environment variable showing the 
location of localtexmf.  My preference is to create a bibtex directory 
under localtexmf, then create subdirectories for each style I create 
(e.g., .../localtexmf/bibtex/springer).  I don't know if the log file is 
worth keeping, but the other two are.  Once you've placed them there, 
run texhash to update the TeX file database, and then I think you'll 
need to reconfigure LyX so that it sees the .bst file.


Sofar I used in the preamble
\usepackage[authoryear,comma]{natbib}
and
\bibpunct{}{}{}{a}{}{}

What is the procedure to get the new .bst working? 
\usepackage{springer}

after texhash?


After reconfiguring LyX, you should be able to select the .bst file from 
the drop down list of choices.  Unless you are using a Springer style 
file, there is no need for \usepackage{springer}.


\bibpunct determines the way the references are cited in the text?


Yes.

/Paul



Re: bibtex my.bst

2006-06-22 Thread Wolfgang Engelmann


 After reconfiguring LyX, you should be able to select the .bst file from
 the drop down list of choices.  Unless you are using a Springer style
 file, there is no need for \usepackage{springer}.


Jean-Marc,

I followed your advice (thanks) and got this error message:

LaTeX Error: File `babelbst.tex' not found.
 \input{babelbst.tex}
^^M
*** (cannot \read from terminal in nonstop modes)

Google tells me:
No need for creating babelbst.tex anymore. Changing language .mbs option
in makebst resulted in a working .bst file.

But how do I change language .mbs option in makebst?

In the .bst file is e.g.:

%% merlin.mbs  (with options: 
`babel,ay,nat,vonx,nm-rvx,jnrlst,keyxyr,dt-beg,yr-par,yrp-x,note-yr,jttl-rm,vnum-x,num-xser,jnm-x,btit-rm,bt-rm,bkpg-x,blk-com,com-blank,in-col,injnl,fin-bare,pp,ed,abr,ednx,mth-bare,ord,jabr,amper,xand')


Wolfgang


minipage question

2006-06-22 Thread jouke hijlkema

Hello all

Is there a lyx way to have a minipage spanning multiple pages ??

Thanks in advance


Re: minipage question

2006-06-22 Thread Ingo Klöcker
Am Donnerstag, 22. Juni 2006 17:18 schrieb jouke hijlkema:
 Is there a lyx way to have a minipage spanning multiple pages ??

A minipage is just like any other box treated by TeX/LaTeX as a single 
character. As such, by definition, it cannot span multiple pages.

Maybe using a table is a possible alternative?

Regards,
Ingo


pgpCkuMuB5Eie.pgp
Description: PGP signature


Re: SVGs with alpha channel transparency

2006-06-22 Thread Paul Smith

On 6/22/06, John Pye [EMAIL PROTECTED] wrote:

It's when you have 4 channels to describe each color: red, green, blue
and alpha. alpha is the opacity. If it's 1.0, then you color will show
up just as you expect. If it's zero you can see right through to
whatever's behind. Software that supports this needs to compose an image
for you by working out the combined color at each spot as the
combination of all the layers and their respective alpha values.

http://en.wikipedia.org/wiki/Alpha_channel


I understand now it. Thanks, John.

Paul


Re: Windows XP: Aspell for Opera and Lyx conflict

2006-06-22 Thread David Finlayson

You are right. I was able to install both to the same folder c:\aspell and
it Opera and Lyx found the versions they were needing.

I didn't know about the bug in lyx windows that causes Aspell to ignore the
first misspelled word in a document. I was testing it with only one
misspelled word in my sentence.

Thanks for your help

David

On 6/21/06, Stephen Harris [EMAIL PROTECTED] wrote:


David Finlayson wrote:
 Maybe some of you use Opera browser as well as Lyx on Windows XP?

 I can't seem to get Opera to find the custom Aspell 0.6 built for Lyx,
 and I can't get Lyx to work with Aspell 0.5 which Opera can use
 (installed in C:\Aspell in both cases). Finally, it doesn't seem like
 you can have both Aspell versions installed because Opera uses
 c:\Aspell no matter where an alternate version is placed. Grrr.

 Is it really true that I can only have spell checking in my email
 client or my word processor but not both at the same time?


Joost has fixed it so Aspell can be installed where you want it.
Probably available in the next LyX release. You can have two
versions of Aspell installed for LyX, so I don't see why it
wouldn't work for LyX and Opera. The traditional 0.5 should work
with Opera or LyX1.3.7 -- and 0.6 should work with LyX1.4.1 --
they share the same parent folder, C:\Aspell but are installed
in different folders after that with different dictionaries.
They don't conflict for the two LyX versions. I don't have
Opera, but a full path specified to the 0.53 Aspell should work.

Regards,
Stephen





--
David Finlayson


Re: minipage question

2006-06-22 Thread Andre Poenitz
On Thu, Jun 22, 2006 at 05:18:13PM +0200, jouke hijlkema wrote:
 Hello all
 
 Is there a lyx way to have a minipage spanning multiple pages ??

There isn't even a LaTeX way.

_mini_pages fit onto one page.

Andre'


using image created with inkscape

2006-06-22 Thread Jeremy C. Reed
I created a 4-inch wide image in inkscape (using public domain clipart 
from openclipart.org).

I have copies of it here in inkscape SVG format, Tex format using pstricks 
(as saved by inkscape) and PNG (es exported by inkscape):

http://pilchuck.reedmedia.net/jeremy/tmp-x47856vukwakbjejhr/

1) First I tried to use the tex version in lyx, but lyx said:

[1]   Segmentation fault (core dumped) convert -depth 8...
/usr/pkg/share/lyx/scripts/convertDefault.sh ERROR
Execution of convert failed.

And I have a core dump from convert. It is from ImageMagick-6.2.5.0.
gdb says Signal 11 and
#0  0x in ?? ()
#1  0x48843b9a in _init () from /usr/pkg/lib/libXau.so.6
#2  0x488438c5 in _init () from /usr/pkg/lib/libXau.so.6
#3  0x4804c706 in _rtld_call_init_functions () from /usr/libexec/ld.elf_so

(Problem probably not related to ImageMagick nor the image itself.)

2) Next I tried the png image. It is blurry and seemed to scale somewhat 
too big.

Any suggestions or pointers on creating good graphics to be used by LyX 
that will print well for a book?

Thanks,

 Jeremy C. Reed

echo '9,J8HD,[EMAIL PROTECTED]:[EMAIL PROTECTED];[EMAIL 
PROTECTED]@5GBIELD54DL@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'


Re: using image created with inkscape

2006-06-22 Thread Rich Shepard

On Thu, 22 Jun 2006, Jeremy C. Reed wrote:


Any suggestions or pointers on creating good graphics to be used by LyX
that will print well for a book?


Jeremy,

  I'm far from a graphics expert, but I know that .eps files easily integrate
into a .lyx document and look great in a professionally printed book -- or a
locally printed one using the laser printer. I've also integrated .pdf files
and they work very well, too.

  I did not like the results when I tried a .png image.

  Since SVG is vector format, and so is .eps, it may be possible to get
Inkscape to produce the latter directly. Otherwise, 'convert' will do its
magic on the image.

HTH,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: using image created with inkscape

2006-06-22 Thread Jeremy C. Reed
I exported my graphic with inkscape to both EPS and Postscript. They both 
look good when viewed with gv.

But they won't load with LyX's Insert-Graphics.

They both cause a convert failed. I see that the convertDefault.sh says:

# The default converter if no other has been defined by the user from the
# Conversion-Converter tab of the Preferences dialog.

I don't have any Conversion choice. But I do have Converters.

I am not sure what the target it is converting to. So I modified the 
script to output. It said:

convert -depth 8 eps:/home/reed/book/pf-book/images/example-diagram.eps \
 ppm:/tmp/lyx_tmpdir2682126821a/example-diagram2682126821e.ppm

So it wants to convert the postscript or EPS to bitmap PPM. So that is not 
for the LyX export, but for displaying in LyX interface itself. So I 
unchecked the Show in LyX checkbox.

And the image actually displayed well in my exported PDF (pdf2latex was 
used).

The EPS was sideways but looked good. So I chose Rotation Angle of 90 in 
the LyX: Graphics gui and this seems fine.

Thank you, Rich, for reminding me try Postscript.

I also tried to use the tex version (generated by inkscape) but LyX 
complained that now converter was setup for it.

 Jeremy C. Reed

echo '9,J8HD,[EMAIL PROTECTED]:[EMAIL PROTECTED];[EMAIL 
PROTECTED]@5GBIELD54DL@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'


Re: using image created with inkscape

2006-06-22 Thread John Coppens
On Thu, 22 Jun 2006 20:44:06 -0700 (PDT)
Jeremy C. Reed [EMAIL PROTECTED] wrote:

 I exported my graphic with inkscape to both EPS and Postscript. They
 both look good when viewed with gv.
 
 But they won't load with LyX's Insert-Graphics.


Maybe a bit far-fetched, but 'skencil' loads SVG images, and can save in
PS/EPS format. I suspect Sodipodi (a native SVG editor) can load them and
print them to PS too.

This of any help?

John


Re: SVGs with alpha channel transparency

2006-06-22 Thread Jean-Pierre Chretien

>>Date: Wed, 21 Jun 2006 17:56:40 +0200 (MEST)
>>From: Jean-Pierre Chretien <[EMAIL PROTECTED]>
>>Subject: Re: SVGs with alpha channel transparency
>>To: lyx-users@lists.lyx.org
>>
>>
Date: Wed, 21 Jun 2006 09:57:10 +1000
From: John Pye <[EMAIL PROTECTED]>
To: Jean-Pierre Chretien <[EMAIL PROTECTED]>
CC: lyx-users@lists.lyx.org
Subject: Re: SVGs with alpha channel transparency

Hi Jean-Pierre,
[...]
>>A side conclusion of this thread (which was about svg export in general, not 
>>specific to transparency),
>>it came out that inkscape export could only provide transparency with bitmap 
>>output (png). 
>>
>>Uwe pointed out that a recent version of inkscape provides a transparent pdf 
>>output.

Another pointer, borrowed from the TexLive mailing list:
http://www.inf.bme.hu/~pts/sam2p/

I read there that 
"sam2p can create EPS and PDF images with transparency"
Alas, sam2p starts from bitmaps, not from vector graphics...

-- 
Jean-Pierre



Dash double size

2006-06-22 Thread icebna

Hi all
I need that the dash ( - ) to separate words, for example : In the
country - near of the coast - a village ... have a double size. It's
possible in lyx - 1.3.7 ?

Thanks advanced

Miguel


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Dash double size

2006-06-22 Thread Anders Dahnielson

On 6/22/06, icebna <[EMAIL PROTECTED]> wrote:


Hi all
I need that the dash ( - ) to separate words, for example : In the
country - near of the coast - a village ... have a double size. It's
possible in lyx - 1.3.7 ?

Thanks advanced

Miguel




To get an N-dash type -- (that's two dashes in a row) in LyX.

To get a M-dash type --- (that's three dashes in a row) in LyX.


--
Anders Dahnielson
<[EMAIL PROTECTED]>


Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-22 Thread Helge Hafting

Jeremy Wells wrote:
For some time I have been evaluating Lyx as an academic word 
processor, but find it wanting in a few critical areas.


For instance, the stated goal of Lyx is to spend more time writing, 
but less time on formatting. Based on my experience, however, and from 
posts to this list, a great deal of time is spent inserting LaTeX tags 
into documents. 

It certainly seems like that, when reading this list.  For inserting latex
tags is the one operation that people really need help with.
The many people who just write and don't use latex tags, don't post much
questions either.
In fact, my assessment is that more time is spent making Lyx work 
properly than is spent in dealing with a traditional word-processing 
environment, be it MS Word or OpenOffice. Moreover, a significant time 
investment is required to research the format of the tag and where to 
insert it, and then to debug the results. How does this save time?
You write lots of documents, all with different and very specific layout 
needs?

Then you might need a writing tool more oriented towards layout tweaking.
Lyx may not be the tool if every new document needs a radically different
layout.



Is the eventual goal of Lyx to "GUIfy" more of the LaTeX backend to 
avoid having to delve into adding tags? Or will this tool remain 
relatively marginalized, only used by those willing to undertake the 
significant time overhead needed to actually do productive work?

Supporting more of latex is indeed one goal.  But don't expect GUI
support for everything that is possible to do in latex - that isn't doable.
GUI support for more of what writers usually need, (and which have a
straightforward graphical representation) will happen as developers
have time for it.

Note that many people are productive using lyx.  Either because they
don't need to tweak the built-in document classes, or because
they are done with their extensive tweaks, and now produce document
after document using their finished custom layout.

Helge Hafting


Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-22 Thread Jean-Marc Lasgouttes
> "Rich" == Rich Shepard <[EMAIL PROTECTED]> writes:

Rich>   I still don't care about the differences between \textellipsis
Rich> and \ldots. :-)

How did you come up with these \textellipsis, then? Insert>Sp. Chars>Ellipsis
uses \ldots.

JMarc


Re: Easing the editing/correction of LyX documents

2006-06-22 Thread Helge Hafting

Peter Bowyer wrote:

Hi,

I am one of  the people who cannot finds editing documents hard on 
screen - I end up printing a copy and then working through it with a 
pen, making changes and restructuring, and then typing the changes up.


I didn't find this a problem when using Word because what was 
on-screen looked like the paper copy, so I didn't have to think hard 
about which parts matched up.  However with LyX this has become much 
more difficult, because the printed copy and the editable copy don't 
look similar.

Paper is something I usually only use for final output. I use view->pdf
or view->dvi when I want an exact preview.

Still, I know the problem very well.  I wrote a book, and went through 
several

iterations where the publisher sent back a printout where all sorts of
corrections were marked with a pen.

The paper was not like the screen, but seriously, it is not with other word
processors either.  It may be the same when you start doing corrections,
but after fixing stuff on pages 1 and 2, the line and page breaking becomes
different througout the rest of the chapter anyway.

Instead of considering "where on the page is this error", I looked for
"where is the error relative to the previous (or next) heading.
Finding a heading is easy enough, counting paragraphs from there
is simple too.  Finally, finding the correct place in the paragraph is easy
as paragraphs are so small.  Don't count lines in a big paragraph,
just estimate wheter the place you want is in the first, second or last 
third of the paragraph.


My book also uses numbered headings, that makes it easier too.

Now I know that people have been writing documents this way for much 
longer than word processors have been around, (think of raw TeX) which 
suggests it's a problem with my approach.  Do you have any tips or 
suggestions for making the editing process smoother?

Well, it is not that hard, you just have to get used to not using the
"where on the sheet is this" approach.  If you need to find something
far away in a big document, use the search function.  Press ctrl+f,
and enter part of the sentence you are looking for.  Then lyx goes
right there.  Otherwise, counting headers and paragraphs works.  They
are the same on paper and screen, although the shape differ a bit.


Helge Hafting


Re: SVGs with alpha channel transparency

2006-06-22 Thread Helge Hafting

John Pye wrote:
Your approach defeats the purpose of using SVG in the first place, and 
will result in much large PDF files that I am currently getting. I 
really want to work out how use my SVG-with-alpha directly in LyX, or 
at least some vector format that will look OK.


I wonder if there's an SVG-to-EPS converter that doesn't something 
smart with regard to alpha channels? It would need to flatten the 
layers of the vector image in a vectorised way, rather than the 
bitmapped way that most renderers no double work.

If you're making a PDF, don't bother with EPS if you don't have to.
Can your SVG be converted to PDF directly?  pdflatex likes figures in
pdf format.  xfig drawings are treated this way already.

Helge Hafting


Re: index

2006-06-22 Thread Jean-Marc Lasgouttes
> "Wolfgang" == Wolfgang Engelmann <[EMAIL PROTECTED]> writes:

Wolfgang> if i search for a sequence of words where an index word is
Wolfgang> inserted, it is not found.

Wolfgang> Is this intended?

No, it is not intended... I can see that some insets should be
skipped, indeed.

Wolfgang> If i index a word which should be emphasized because it is a
Wolfgang> scientific name it is shown in the Index at the begin of the
Wolfgang> index correctly emphasized but independent of its
Wolfgang> alphabetical status -which is ok. However, the names are
Wolfgang> shown according to their sequential occurrance, not
Wolfgang> according to their alphabet:

How do you index? The right way would be to use "Xanthium|emph" as
index key. If this puzzles you, then you should read the makeindex
manual for more info.

JMarc



Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-22 Thread Steve Litt
On Thursday 22 June 2006 07:22 am, Helge Hafting wrote:
> Jeremy Wells wrote:
> > For some time I have been evaluating Lyx as an academic word
> > processor, but find it wanting in a few critical areas.
> >
> > For instance, the stated goal of Lyx is to spend more time writing,
> > but less time on formatting. Based on my experience, however, and from
> > posts to this list, a great deal of time is spent inserting LaTeX tags
> > into documents.
>
> It certainly seems like that, when reading this list.  For inserting latex
> tags is the one operation that people really need help with.
> The many people who just write and don't use latex tags, don't post much
> questions either.

I think what most people need help with is creating layouts. Few people insert 
LaTeX inline into the document. There's a reason it's called EVIL Red Text.

>
> > In fact, my assessment is that more time is spent making Lyx work
> > properly than is spent in dealing with a traditional word-processing
> > environment, be it MS Word or OpenOffice. Moreover, a significant time
> > investment is required to research the format of the tag and where to
> > insert it, and then to debug the results. How does this save time?
>
> You write lots of documents, all with different and very specific layout
> needs?
> Then you might need a writing tool more oriented towards layout tweaking.
> Lyx may not be the tool if every new document needs a radically different
> layout.

That isn't how it works for me. For me, LyX is good even if every book has a 
different layout file. Every one of my books has a different layout, because 
every one has a slightly different intended audience. Yet, every document is 
consistent *within itself*. If it takes 3 months to write a book and you need 
to spend 1 solid week making the layout, is that one week really all that 
significant?

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



bibtex my.bst

2006-06-22 Thread Wolfgang Engelmann
Springer publisher wants a certain style for references. I tried to make one 
by using 
latex makebst
It produced springer.dbj. springer .bst and springer.log  in my home.

Now I am confused how to proceed. 
The existing bst files are spread in 
/usr/local/texlive/..
/usr/share/texmf/..
/usr/Tex/texmf-dist/bibtex/..

Where should I transfer the produced springer.dbj. springer .bst and 
springer.log?

Sofar I used in the preamble
\usepackage[authoryear,comma]{natbib}
and
\bibpunct{}{}{}{a}{}{}

What is the procedure to get the new .bst working? 
\usepackage{springer}
after texhash?

\bibpunct determines the way the references are cited in the text?

I would appreciate your help

Wolfgang


Typographical/graphical analysis of a document

2006-06-22 Thread Martin A. Hansen

Hello All,


I found this document on the BBC news website, which I have reposted here:

http://130.226.106.174/~paste/cgi-bin/20_06_06_iap_evolution.pdf

And after reading it I thought it would be an interesting exercise to
present it to the LyX-users list for thorough criticism with respect to
typographical and graphical layout. I think we could learn some interesting
things here (at least I could).

I shall not go into the content of the document, but only say that in my
opinion, this document is of major importance and therefore ought to have
perfect layout. However, looking closely at the document it is clear that it
was not prepared using LyX! I have this feeling that, apart from several
errors, a lot of typographical rules have been broken or ignored - and also
some graphical ones when considering the letterhead.

In my opinion the letterhead is poorly designed. The little black bar in the
top left corner annoys me, why is it there? The line reading "(The Academy
for Sciences for the Developing World)" seem badly placed shifting the
entire block right of the vertical bar.

The document contains several errors as far as I can tell: there is a white
space missing after (ii) and the vertical white space between 67. and 68.
institutions should not be there.  Furthermore, I am not sure I like the
choice of fonts (and the high number of fonts used). Finally, I have this
feeling that all blocks of text are aligned in an unpleasing way, but I
cannot say what exactly triggers this feeling. Perhaps somebody can?



Martin


Re: index

2006-06-22 Thread Wolfgang Engelmann
Am Donnerstag, 22. Juni 2006 13:52 schrieb Jean-Marc Lasgouttes:
> > "Wolfgang" == Wolfgang Engelmann <[EMAIL PROTECTED]> writes:
>
> Wolfgang> if i search for a sequence of words where an index word is
> Wolfgang> inserted, it is not found.
>
> Wolfgang> Is this intended?
>
> No, it is not intended... I can see that some insets should be
> skipped, indeed.
>
> Wolfgang> If i index a word which should be emphasized because it is a
> Wolfgang> scientific name it is shown in the Index at the begin of the
> Wolfgang> index correctly emphasized but independent of its
> Wolfgang> alphabetical status -which is ok. However, the names are
> Wolfgang> shown according to their sequential occurrance, not
> Wolfgang> according to their alphabet:
>
> How do you index? The right way would be to use "Xanthium|emph" as
> index key. If this puzzles you, then you should read the makeindex
> manual for more info.
>
> JMarc

 Jean-Marc, 
thanks for your pointer. However, if I use your proposal 
Xanthium|emph
the Index does not show the word emphasized, but normal (and alphabetically 
correct). 
So far I used
\emph{Xanthium} in the index box in the text
which gave me the emphasized appearance but at the begin of the index.
I will check the manual, but if it is just a minor point I would appreciate 
your help.

Wolfgang


Re: SVGs with alpha channel transparency

2006-06-22 Thread Paul Smith

Could somebody please illustrate us about what is "alpha-channel
transparency"? I have searched for it through Google, but found
nothing instructive.

Paul


Re: index

2006-06-22 Thread Wolfgang Engelmann
Am Donnerstag, 22. Juni 2006 13:52 schrieb Jean-Marc Lasgouttes:
> > "Wolfgang" == Wolfgang Engelmann <[EMAIL PROTECTED]> writes:
>
> Wolfgang> if i search for a sequence of words where an index word is
> Wolfgang> inserted, it is not found.
>
> Wolfgang> Is this intended?
>
> No, it is not intended... I can see that some insets should be
> skipped, indeed.
>
> Wolfgang> If i index a word which should be emphasized because it is a
> Wolfgang> scientific name it is shown in the Index at the begin of the
> Wolfgang> index correctly emphasized but independent of its
> Wolfgang> alphabetical status -which is ok. However, the names are
> Wolfgang> shown according to their sequential occurrance, not
> Wolfgang> according to their alphabet:
>
> How do you index? The right way would be to use "Xanthium|emph" as
> index key. If this puzzles you, then you should read the makeindex
> manual for more info.

I just see the misunderstanding. Jean-Marcs proposal converts the page number 
from normal to emphasized. What I want is to convert the indexed word into 
emphasized. 

Wolfgang


Re: Typographical/graphical analysis of a document

2006-06-22 Thread Les Denham
On Thursday 22 June 2006 07:54, Martin A. Hansen wrote:
> Hello All,
>
>
> I found this document on the BBC news website, which I have reposted here:
>
> http://130.226.106.174/~paste/cgi-bin/20_06_06_iap_evolution.pdf
>
> And after reading it I thought it would be an interesting exercise to
> present it to the LyX-users list for thorough criticism with respect to
> typographical and graphical layout. I think we could learn some interesting
> things here (at least I could).
>
> I shall not go into the content of the document, but only say that in my
> opinion, this document is of major importance and therefore ought to have
> perfect layout. However, looking closely at the document it is clear that
> it was not prepared using LyX! I have this feeling that, apart from several
> errors, a lot of typographical rules have been broken or ignored - and also
> some graphical ones when considering the letterhead.
>
> In my opinion the letterhead is poorly designed. The little black bar in
> the top left corner annoys me, why is it there? The line reading "(The
> Academy for Sciences for the Developing World)" seem badly placed shifting
> the entire block right of the vertical bar.
>
> The document contains several errors as far as I can tell: there is a white
> space missing after (ii) and the vertical white space between 67. and 68.
> institutions should not be there.  Furthermore, I am not sure I like the
> choice of fonts (and the high number of fonts used). Finally, I have this
> feeling that all blocks of text are aligned in an unpleasing way, but I
> cannot say what exactly triggers this feeling. Perhaps somebody can?
>
I agree on all the points you have made.

One aspect which I find particularly offensive is the use of upper case where 
lower case would traditionally be used and lower case where upper case would 
traditionally be used.

The general feeling of unpleasing alignment is, in my opinion, due to three 
features: justification is by varying word spacing only; kerning is not used 
(look at the spacing of "V" in the last word of the title); and a sans serif 
font (Officina Sans-Book I'd guess, from the fonts listed by Adobe Reader) is 
used for the bulk of the document, made worse by putting the first page in 
bold.  There's a reason why most printed blocks of text have used a serif 
font for the last three centuries or more: it's easier to read.

Les

-- 
L. R. Denham

Gentoo Linux 2005.1 Kernel 2.6.10-gentoo-r6
KDE 3.3.2
Athlon XP 3200+
1 GB Dual Channel PC2700 RAM
Maxtor 120 GB (Partitions EXT3)
Sony CRX300E CD-RW/DVD-ROM
OPTORITE DVD RW DD1205
Gainward GeForce4 64MB MX440
EPox 8RDA3+ Motherboard


Re: index

2006-06-22 Thread Jean-Marc Lasgouttes
> "Wolfgang" == Wolfgang Engelmann <[EMAIL PROTECTED]> writes:

>>  How do you index? The right way would be to use "Xanthium|emph" as
>> index key. If this puzzles you, then you should read the makeindex
>> manual for more info.

Wolfgang> I just see the misunderstanding. Jean-Marcs proposal
Wolfgang> converts the page number from normal to emphasized. What I
Wolfgang> want is to convert the indexed word into emphasized.

You are right, sorry. Try "[EMAIL PROTECTED]".

JMarc


Re: bibtex my.bst

2006-06-22 Thread Paul A. Rubin

Wolfgang Engelmann wrote:
Springer publisher wants a certain style for references. I tried to make one 
by using 
latex makebst

It produced springer.dbj. springer .bst and springer.log  in my home.

Now I am confused how to proceed. 
The existing bst files are spread in 
/usr/local/texlive/..

/usr/share/texmf/..
/usr/Tex/texmf-dist/bibtex/..

Where should I transfer the produced springer.dbj. springer .bst and 
springer.log?


There's usually a localtexmf directory somewhere.  I'm not a TeXLive 
user, but I suspect it creates an environment variable showing the 
location of localtexmf.  My preference is to create a bibtex directory 
under localtexmf, then create subdirectories for each style I create 
(e.g., .../localtexmf/bibtex/springer).  I don't know if the log file is 
worth keeping, but the other two are.  Once you've placed them there, 
run texhash to update the TeX file database, and then I think you'll 
need to reconfigure LyX so that it sees the .bst file.


Sofar I used in the preamble
\usepackage[authoryear,comma]{natbib}
and
\bibpunct{}{}{}{a}{}{}

What is the procedure to get the new .bst working? 
\usepackage{springer}

after texhash?


After reconfiguring LyX, you should be able to select the .bst file from 
the drop down list of choices.  Unless you are using a Springer style 
file, there is no need for \usepackage{springer}.


\bibpunct determines the way the references are cited in the text?


Yes.

/Paul



Re: bibtex my.bst

2006-06-22 Thread Wolfgang Engelmann

>
> After reconfiguring LyX, you should be able to select the .bst file from
> the drop down list of choices.  Unless you are using a Springer style
> file, there is no need for \usepackage{springer}.


Jean-Marc,

I followed your advice (thanks) and got this error message:

LaTeX Error: File `babelbst.tex' not found.
 \input{babelbst.tex}
^^M
*** (cannot \read from terminal in nonstop modes)

Google tells me:
No need for creating babelbst.tex anymore. Changing language .mbs option
in makebst resulted in a working .bst file.

But how do I change language .mbs option in makebst?

In the .bst file is e.g.:

%% merlin.mbs  (with options: 
`babel,ay,nat,vonx,nm-rvx,jnrlst,keyxyr,dt-beg,yr-par,yrp-x,note-yr,jttl-rm,vnum-x,num-xser,jnm-x,btit-rm,bt-rm,bkpg-x,blk-com,com-blank,in-col,injnl,fin-bare,pp,ed,abr,ednx,mth-bare,ord,jabr,amper,xand')


Wolfgang


minipage question

2006-06-22 Thread jouke hijlkema

Hello all

Is there a lyx way to have a minipage spanning multiple pages ??

Thanks in advance


Re: minipage question

2006-06-22 Thread Ingo Klöcker
Am Donnerstag, 22. Juni 2006 17:18 schrieb jouke hijlkema:
> Is there a lyx way to have a minipage spanning multiple pages ??

A minipage is just like any other box treated by TeX/LaTeX as a single 
character. As such, by definition, it cannot span multiple pages.

Maybe using a table is a possible alternative?

Regards,
Ingo


pgpCkuMuB5Eie.pgp
Description: PGP signature


Re: SVGs with alpha channel transparency

2006-06-22 Thread Paul Smith

On 6/22/06, John Pye <[EMAIL PROTECTED]> wrote:

It's when you have 4 channels to describe each color: red, green, blue
and alpha. alpha is the opacity. If it's 1.0, then you color will show
up just as you expect. If it's zero you can see right through to
whatever's behind. Software that supports this needs to compose an image
for you by working out the combined color at each spot as the
combination of all the layers and their respective alpha values.

http://en.wikipedia.org/wiki/Alpha_channel


I understand now it. Thanks, John.

Paul


Re: Windows XP: Aspell for Opera and Lyx conflict

2006-06-22 Thread David Finlayson

You are right. I was able to install both to the same folder c:\aspell and
it Opera and Lyx found the versions they were needing.

I didn't know about the bug in lyx windows that causes Aspell to ignore the
first misspelled word in a document. I was testing it with only one
misspelled word in my sentence.

Thanks for your help

David

On 6/21/06, Stephen Harris <[EMAIL PROTECTED]> wrote:


David Finlayson wrote:
> Maybe some of you use Opera browser as well as Lyx on Windows XP?
>
> I can't seem to get Opera to find the custom Aspell 0.6 built for Lyx,
> and I can't get Lyx to work with Aspell 0.5 which Opera can use
> (installed in C:\Aspell in both cases). Finally, it doesn't seem like
> you can have both Aspell versions installed because Opera uses
> c:\Aspell no matter where an alternate version is placed. Grrr.
>
> Is it really true that I can only have spell checking in my email
> client or my word processor but not both at the same time?
>

Joost has fixed it so Aspell can be installed where you want it.
Probably available in the next LyX release. You can have two
versions of Aspell installed for LyX, so I don't see why it
wouldn't work for LyX and Opera. The traditional 0.5 should work
with Opera or LyX1.3.7 -- and 0.6 should work with LyX1.4.1 --
they share the same parent folder, C:\Aspell but are installed
in different folders after that with different dictionaries.
They don't conflict for the two LyX versions. I don't have
Opera, but a full path specified to the 0.53 Aspell should work.

Regards,
Stephen





--
David Finlayson


Re: minipage question

2006-06-22 Thread Andre Poenitz
On Thu, Jun 22, 2006 at 05:18:13PM +0200, jouke hijlkema wrote:
> Hello all
> 
> Is there a lyx way to have a minipage spanning multiple pages ??

There isn't even a LaTeX way.

_mini_pages fit onto one page.

Andre'


using image created with inkscape

2006-06-22 Thread Jeremy C. Reed
I created a 4-inch wide image in inkscape (using public domain clipart 
from openclipart.org).

I have copies of it here in inkscape SVG format, Tex format using pstricks 
(as saved by inkscape) and PNG (es exported by inkscape):

http://pilchuck.reedmedia.net/jeremy/tmp-x47856vukwakbjejhr/

1) First I tried to use the tex version in lyx, but lyx said:

[1]   Segmentation fault (core dumped) convert -depth 8...
/usr/pkg/share/lyx/scripts/convertDefault.sh ERROR
Execution of "convert" failed.

And I have a core dump from convert. It is from ImageMagick-6.2.5.0.
gdb says Signal 11 and
#0  0x in ?? ()
#1  0x48843b9a in _init () from /usr/pkg/lib/libXau.so.6
#2  0x488438c5 in _init () from /usr/pkg/lib/libXau.so.6
#3  0x4804c706 in _rtld_call_init_functions () from /usr/libexec/ld.elf_so

(Problem probably not related to ImageMagick nor the image itself.)

2) Next I tried the png image. It is blurry and seemed to scale somewhat 
too big.

Any suggestions or pointers on creating good graphics to be used by LyX 
that will print well for a book?

Thanks,

 Jeremy C. Reed

echo '9,J8HD,[EMAIL PROTECTED]:[EMAIL PROTECTED];[EMAIL 
PROTECTED]@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'


Re: using image created with inkscape

2006-06-22 Thread Rich Shepard

On Thu, 22 Jun 2006, Jeremy C. Reed wrote:


Any suggestions or pointers on creating good graphics to be used by LyX
that will print well for a book?


Jeremy,

  I'm far from a graphics expert, but I know that .eps files easily integrate
into a .lyx document and look great in a professionally printed book -- or a
locally printed one using the laser printer. I've also integrated .pdf files
and they work very well, too.

  I did not like the results when I tried a .png image.

  Since SVG is vector format, and so is .eps, it may be possible to get
Inkscape to produce the latter directly. Otherwise, 'convert' will do its
magic on the image.

HTH,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: using image created with inkscape

2006-06-22 Thread Jeremy C. Reed
I exported my graphic with inkscape to both EPS and Postscript. They both 
look good when viewed with gv.

But they won't load with LyX's Insert->Graphics.

They both cause a convert failed. I see that the convertDefault.sh says:

# The default converter if no other has been defined by the user from the
# Conversion->Converter tab of the Preferences dialog.

I don't have any "Conversion" choice. But I do have Converters.

I am not sure what the target it is converting to. So I modified the 
script to output. It said:

convert -depth 8 eps:/home/reed/book/pf-book/images/example-diagram.eps \
 ppm:/tmp/lyx_tmpdir2682126821a/example-diagram2682126821e.ppm

So it wants to convert the postscript or EPS to bitmap PPM. So that is not 
for the LyX export, but for displaying in LyX interface itself. So I 
unchecked the "Show in LyX" checkbox.

And the image actually displayed well in my exported PDF (pdf2latex was 
used).

The EPS was sideways but looked good. So I chose Rotation Angle of 90 in 
the LyX: Graphics gui and this seems fine.

Thank you, Rich, for reminding me try Postscript.

I also tried to use the tex version (generated by inkscape) but LyX 
complained that now converter was setup for it.

 Jeremy C. Reed

echo '9,J8HD,[EMAIL PROTECTED]:[EMAIL PROTECTED];[EMAIL 
PROTECTED]@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'


Re: using image created with inkscape

2006-06-22 Thread John Coppens
On Thu, 22 Jun 2006 20:44:06 -0700 (PDT)
"Jeremy C. Reed" <[EMAIL PROTECTED]> wrote:

> I exported my graphic with inkscape to both EPS and Postscript. They
> both look good when viewed with gv.
> 
> But they won't load with LyX's Insert->Graphics.
>

Maybe a bit far-fetched, but 'skencil' loads SVG images, and can save in
PS/EPS format. I suspect Sodipodi (a native SVG editor) can load them and
print them to PS too.

This of any help?

John