Re: SVGs with alpha channel transparency

2006-06-20 Thread Stephen Harris

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.


Perhaps I just need to give up on the alpha-channel idea...

Cheers
JP

Stephen Harris wrote:

John Pye wrote:

Hi Uwe,

This approach (save as PDF from Inkscape) did not give me alpha 
channel transparency in my PDF. For example:


On the left is a PNG exported from Inkscape (or alternatively, 
generated using 'rsvg-convert'. On the right is the PDF exported by 
Inkscape.


So I'm still stuck with no alpha channel; the only approach still is 
to use a PNG conversion filter, which means blurry figures.


I'm hoping that rsvg-convert's PDF output might do a better job than 
Inkscape's, but haven't succeeded with that (the LyX builtin 
'convert' convert seems to get in the way for some reason).


Cheers
JP



This is a recommended method I found before:

Alternatively, SVG to EPS or PDF

1. Open with inkscape.
2. Export to png (huge hi-resolution)
3. Open with the GIMP
4. Save as .eps
5. gsview (or linux command) convert to .ps
6. ps2pdf convert .ps to .pdf

Regards,
Stephen






Adobe is a supporter of SVG and recommends Adobe Illustrator CS
and they also have a viewer. Notoriously poor support for Linux.

http://www.adobe.com/svg/viewer/install/main.html

*  Current support documentation (PDF: 743k)
* Adobe® SVG Viewer for Windows® (PDF: 65k)
* Adobe SVG Viewer for Macintosh (PDF: 70k)

Regards,
Stephen



URL in References

2006-06-20 Thread Christian von Lani-Fischer

Hi there,
I'm using the actual Version of Lyx and Bibdesk on Mac OS. My problem  
is, that i create a Bibdesk entry for a webpage, enter the url in the  
specific field but in my generated pdf, the url is not shown. All  
other entry types (book, article,..) work fine. What am i doing  
wrong? is there maybe a font missing?


Christian


Re: SVGs with alpha channel transparency

2006-06-20 Thread John Pye
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.


Perhaps I just need to give up on the alpha-channel idea...

Cheers
JP

Stephen Harris wrote:

John Pye wrote:

Hi Uwe,

This approach (save as PDF from Inkscape) did not give me alpha 
channel transparency in my PDF. For example:


On the left is a PNG exported from Inkscape (or alternatively, 
generated using 'rsvg-convert'. On the right is the PDF exported by 
Inkscape.


So I'm still stuck with no alpha channel; the only approach still is 
to use a PNG conversion filter, which means blurry figures.


I'm hoping that rsvg-convert's PDF output might do a better job than 
Inkscape's, but haven't succeeded with that (the LyX builtin 
'convert' convert seems to get in the way for some reason).


Cheers
JP



This is a recommended method I found before:

Alternatively, SVG to EPS or PDF

1. Open with inkscape.
2. Export to png (huge hi-resolution)
3. Open with the GIMP
4. Save as .eps
5. gsview (or linux command) convert to .ps
6. ps2pdf convert .ps to .pdf

Regards,
Stephen



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



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

2006-06-20 Thread Sam Russell

On 19/06/06, Jeremy Wells <[EMAIL PROTECTED]> wrote:

For some time I have been evaluating Lyx as an academic word processor, but 
find it wanting in a few critical areas.
Judging from the number of posts to this lists, citations and bibliographies 
are a major issue. There is no easy to use
method (e.g., a GUI) that can define the options for natbib, jurabib, or any 
number of bibliography styles. Most
importantly, customizing these styles again requires one to write more code, 
yet again, instead of engaging in the
writing process.


Yes.  Especially for the Humanities where Journal X or Department Y
has its own house style.


I suppose what I'm hoping for is someone to say 1) "no, you're wrong, because..."; 
2) "wait x number of years and we'll
be there"; or 3) "if you don't like coding, use a different tool."


1) No you're wrong.  LyX is a front end, designed to make LaTeX
easier, which it has successed at.  Its suffering from mission-shift
at the moment as more people take it up.  Due to the sciences bias in
the initial user group / development group, LyX and LaTeX achieve
science results with greater ease.  I anticipate this will change as
more humanities users take LyX/LaTeX up.

2) Wait x number of years and we'll be closer to a front-end for more
LaTeX features.  Though this may mean tkJuraBibStyleEditor as a device
independent GUI ap, rather than the features embedded in LyX itself.
Or it may mean tkLyX_Semi_WYSIWYM/WYSIWYG_StyleEditor instead of a
style editor within LyX itself.  Or it may mean
LyX_DocumentTemplate_Humanities_History_ChicagoFootnotes_UniversityFoo_DeptBar_StyleBok
etc.  Who knows?  It depends on the contributions from the community
of users and developers between now and year X.

What I do know is the age, stability and support for LyX/LaTeX/TeX
means that your commitment is unlikely to be wasted by technological
or commercial change: Company X won't fail and no longer support their
document format.

3) If you don't like the limitations of LyX as it currently is, and
don't like the bug/feature resolution system of ERT / feature
requesting / solving it yourself and sharing the results, don't use
LyX.  The community development culture is unlikely to change.


This whole thing is extremely frustrating as I can see the huge promise that 
the LaTeX/Lyx system can offer, but it's
awfully rough beneath the surface.


Yes.  I found that LyX was great to write undergraduate / honours work
in without a bibliography / citation manager.  Now that I'm working on
journal articles and my doctoral dissertation, I'm finding that I'm
coming up against new challenges with regards to citation management.
1.4.3 provides far more suitable and easy solutions than 1.3.7 did for
me.  It also took a large amount of time to find the right device
independent tools for bibliography management, and the ones which
suited my academic needs over a career.  I found this a more useful
investment of my time than the repeated wordprocessor crashes and
frustrations of EndNote.  Your situation may differ.

Finally, LyX development works more like a community of knowledge than
a commercial developer.  People produce new ideas, or reproduce old
ideas, and share them for free.  The cost is of course, people may not
have developed the ideas you need, yet.

yours,
Sam R.
--
I will give you Tacos, such Tacos as you have never seen.


highlight / underline mispelt words

2006-06-20 Thread Alex Streit

Hi fellow lyxers.

It would be nice to have a less intrusive spell check where any mispelt
words are highlighted. (in word processors this is typically a curly red
underline)

The reason for requesting this is because I find the current (1.4.1)
spellcheck very intrusive and I sometimes want to check my spelling as I go
without overly interrupting my thought process.

What I was thinking was a quick key combination that did a "rough
spellcheck", which runs through the document and applies a special highlight
to words that are mispelt (removing that same highlight anywhere else). And,
most important, returns the cursor to where it was.

I suppose there is no reason why that particular highlight style couldn't be
visible in the TeX output.

Anyway, thought I would suggest it.


Re: SVGs with alpha channel transparency

2006-06-20 Thread Stephen Harris

John Pye wrote:

Hi Uwe,

This approach (save as PDF from Inkscape) did not give me alpha channel 
transparency in my PDF. For example:


On the left is a PNG exported from Inkscape (or alternatively, generated 
using 'rsvg-convert'. On the right is the PDF exported by Inkscape.


So I'm still stuck with no alpha channel; the only approach still is to 
use a PNG conversion filter, which means blurry figures.


I'm hoping that rsvg-convert's PDF output might do a better job than 
Inkscape's, but haven't succeeded with that (the LyX builtin 'convert' 
convert seems to get in the way for some reason).


Cheers
JP



This is a recommended method I found before:

Alternatively, SVG to EPS or PDF

1. Open with inkscape.
2. Export to png (huge hi-resolution)
3. Open with the GIMP
4. Save as .eps
5. gsview (or linux command) convert to .ps
6. ps2pdf convert .ps to .pdf

Regards,
Stephen


Re: SVGs with alpha channel transparency

2006-06-20 Thread Uwe Stöhr

John Pye wrote:

Is that still true? I take it to mean that I can't bypass LyX's use of 
'convert' in converting my SVG first to a PNG?


You should be able to define a SVG -> PNG converter in LyX's preferences.
If you use Imagemagick's convert utility to do this you probably save 
the alpha channel.

Could you please send my your SVG-file for some tests? Thanks in advance.

regards Uwe


Re: SVGs with alpha channel transparency

2006-06-20 Thread John Pye

Hi Jean-Pierre,



  Re: Lyx 1.4.0pre3 + SVG + pdflatex

Georg Baum
Tue, 31 Jan 2006 00:56:43 -0800

Alfonso Gazo wrote:

> After, when generating the PDF file, it produces a messy graphic just in
> the place the SVG graphic should be. I've found that LyX is somewhat
> converting from SVG to EPS and then to PNG. Finally, PNG image is
> included in PDF file.

Correct. This is unfortunately hardcoded in LyX.


Is that still true? I take it to mean that I can't bypass LyX's use of 
'convert' in converting my SVG first to a PNG?


Cheers
JP




Jean-Pierre Chretien wrote:

Date: Wed, 21 Jun 2006 01:24:22 +1000
From: John Pye <[EMAIL PROTECTED]>
To: "lyx-users@lists.lyx.org" 
Subject: SVGs with alpha channel transparency

Hi all

What's the right string of tools to embed an SVG with alpha-channel 
transparency into a LyX document so that I get the alpha channel 
appearing right in the end-product PDF file?


I've tried a few combinations such as intermediate EPS and PS file (no 
transparency) and 'convert' (it goes to bitmap so I lose my hard-edged 
lines). I think that I need to go for an 'encapsulated PDF' somehow, 
perhaps using 'rsvg-convert' but so far haven't been able to make it work.


My particular case is contour plot with coloured regions overlaid, 
generated from Matplotlib and hand-edited a little with Inkscape.


Has anyone had some experience with this that they could pass on?
  


There is a thread about SVG in the archive:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg45269.html

Transparency is not discussed however.

HTH

  


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



Re: SVGs with alpha channel transparency

2006-06-20 Thread John Pye




Hi Uwe,

This approach (save as PDF from Inkscape) did not give me alpha channel
transparency in my PDF. For example:

On the left is a PNG exported from Inkscape (or alternatively,
generated using 'rsvg-convert'. On the right is the PDF exported by
Inkscape.

So I'm still stuck with no alpha channel; the only approach still is to
use a PNG conversion filter, which means blurry figures.

I'm hoping that rsvg-convert's PDF output might do a better job than
Inkscape's, but haven't succeeded with that (the LyX builtin 'convert'
convert seems to get in the way for some reason).

Cheers
JP



Uwe Stöhr wrote:
John Pye
wrote:
  
  
  What's the right string of tools to embed an
SVG with alpha-channel transparency into a LyX document so that I get
the alpha channel appearing right in the end-product PDF file?

  
  
Transform your SVG to PDF. Inkscape supports alpha channels in SVG and
in PNG, see
  
  
http://wiki.inkscape.org/wiki/index.php/InkscapeFeatures
  
  
The new version 0.44 of Inkscape:
  
  
http://sourceforge.net/project/showfiles.php?group_id=93438&package_id=99112
  
  
comes with a native PDF export, so that the alpha channel should be
included in the PDF. The resulting PDF image can directly be used in
LyX when you use pdflatex to generate the PDF output.
  
  
regards Uwe
  
  


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





Re: SVGs with alpha channel transparency

2006-06-20 Thread Uwe Stöhr

John Pye wrote:

What's the right string of tools to embed an SVG with alpha-channel 
transparency into a LyX document so that I get the alpha channel 
appearing right in the end-product PDF file?


Transform your SVG to PDF. Inkscape supports alpha channels in SVG and 
in PNG, see


http://wiki.inkscape.org/wiki/index.php/InkscapeFeatures

The new version 0.44 of Inkscape:

http://sourceforge.net/project/showfiles.php?group_id=93438&package_id=99112

comes with a native PDF export, so that the alpha channel should be 
included in the PDF. The resulting PDF image can directly be used in LyX 
when you use pdflatex to generate the PDF output.


regards Uwe


Re: lyx-users Digest 8 Jun 2006 00:42:35 -0000 Issue 1922

2006-06-20 Thread Ares

I think the problem is with ImageMagick (convert utility), which cannot
find GhostScript executable or some related file as gs_init.ps.
ImageMagick in fact uses other programs (as GhostScript) to manage
different file type (as eps). these programs are called coder modules
and must reside in ImageMagick path.

I'm waiting for some feedback from ImageMagick user list on how to add
program directory to ImageMagick coder module search path.

Regards,
Diego

2006/6/20, Stephen Harris <[EMAIL PROTECTED]>:

Ares wrote:
> Hello everyone,
> I exported my PhD thesis LyX file to html by exporting from LyX to
> latex and then running htlatex, bibtex'ing each aux file corresponding
> to each bib file included (I have sectioned bibliography, i.e. I'm
> using bibtopic in LyX, I guess). I also found somewhere that the bug
> with exporting to html from LyX may be related to the use of bibtex
> itself.
>
> Now I have a new problem: equations in the object html document don't
> show as figures but rather as:
>
>   (   )T  G(x,y) =  ∂I, ∂I∂x ∂y -- in Firefox
>
>
>   (2.1)
> in MS internet explorer
>
> I think it is a mix of misinterpreted figure and text...
>
> I had a look on various discussion groups but couldn't find any
> problem report like this. Have any hint on this? What kind of
> information is needed to detect the problem source?
>
> Thanks for your support,
> Diego
>


you're right (of course I didn't think that there's more than one
utility named convert on my machine...).

I tried

c:\...\convert foo.eps foo.jpg

with both versions 6.2.8-Q16 (dynamic DLL) and 6.2.7.2 (bundled in LyX
win installer) and I get respectively the following error messages

SH: Remember that the generic foo.eps needs to be an
existing file in the directory that you run convert.

http://gallery.menalto.com/node/49736
convert.exe: no decode delegate for this image format

There are several instances of this error message on Google.
Apparently there is a corrupt file or some type of conflict.

http://redux.imagemagick.org/discussion-server/viewtopic.php?t=4450&;

ImageMagick Studio appears to be a different product than
ImageMagick. Make sure you didn't use a Linux version that
ends with a tar.gz. Most people thought the problem was with
ImageMagick rather than Ghostscript.

Regards,
Stephen

It is not always safe to have two different versions of the
same .dll, they can cause conflicts just as two different
versions of convert will can conflict. For instance the
Msys sh.exe needed to run LyX scripts works, but not the
sh.exe which comes with Cygwin which some Windows users
have on their machines.

Try renaming the 6.2.8.dll to 6.2.8.dllbak and then run
convert someimagefile.* to a different someimagefile.*
where the * is a jpg or png or eps, some image format
that is small that you have on hand for a test. Run this
from the directory where the LyXWininstaller has put
C:\ImageMagick with the test file in the same directory.

Putting cross-ported program in directories which have
spaces in them, like Program files, can create odd errors.



Re: SVGs with alpha channel transparency

2006-06-20 Thread Jean-Pierre Chretien

>>Date: Wed, 21 Jun 2006 01:24:22 +1000
>>From: John Pye <[EMAIL PROTECTED]>
>>To: "lyx-users@lists.lyx.org" 
>>Subject: SVGs with alpha channel transparency
>>
>>Hi all
>>
>>What's the right string of tools to embed an SVG with alpha-channel 
>>transparency into a LyX document so that I get the alpha channel 
>>appearing right in the end-product PDF file?
>>
>>I've tried a few combinations such as intermediate EPS and PS file (no 
>>transparency) and 'convert' (it goes to bitmap so I lose my hard-edged 
>>lines). I think that I need to go for an 'encapsulated PDF' somehow, 
>>perhaps using 'rsvg-convert' but so far haven't been able to make it work.
>>
>>My particular case is contour plot with coloured regions overlaid, 
>>generated from Matplotlib and hand-edited a little with Inkscape.
>>
>>Has anyone had some experience with this that they could pass on?

There is a thread about SVG in the archive:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg45269.html

Transparency is not discussed however.

HTH

-- 
Jean-Pierre





Re: SVGs with alpha channel transparency

2006-06-20 Thread Paul Smith

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

What's the right string of tools to embed an SVG with alpha-channel
transparency into a LyX document so that I get the alpha channel
appearing right in the end-product PDF file?

I've tried a few combinations such as intermediate EPS and PS file (no
transparency) and 'convert' (it goes to bitmap so I lose my hard-edged
lines). I think that I need to go for an 'encapsulated PDF' somehow,
perhaps using 'rsvg-convert' but so far haven't been able to make it work.

My particular case is contour plot with coloured regions overlaid,
generated from Matplotlib and hand-edited a little with Inkscape.

Has anyone had some experience with this that they could pass on?


Have you tried to save your picture as ps and then issued the command

ps2epsi picture.eps

?

Paul


SVGs with alpha channel transparency

2006-06-20 Thread John Pye

Hi all

What's the right string of tools to embed an SVG with alpha-channel 
transparency into a LyX document so that I get the alpha channel 
appearing right in the end-product PDF file?


I've tried a few combinations such as intermediate EPS and PS file (no 
transparency) and 'convert' (it goes to bitmap so I lose my hard-edged 
lines). I think that I need to go for an 'encapsulated PDF' somehow, 
perhaps using 'rsvg-convert' but so far haven't been able to make it work.


My particular case is contour plot with coloured regions overlaid, 
generated from Matplotlib and hand-edited a little with Inkscape.


Has anyone had some experience with this that they could pass on?

Cheers
JP

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



Re: Jurabib and Lyx: Bibliography problem

2006-06-20 Thread Julio Rojas

Thanks for your help. I'll check the .sty file.
BTW, there's the international way of doing things and our local way of
doing things. With bibliographies, the local standard is the publisher
before the the city, has always been like that.

On 6/20/06, Charles de Miramon <[EMAIL PROTECTED]> wrote:


Julio Rojas wrote:

> Hi, this is a minor problem, but an annoying one. In Jurabib
documentation
> the format of each bibliographic reference shows:
>
> Brox, Hans: Allgemeiner Teil des Bürgerlichen Gesetzbuches. 20th
edition.
> Köln, Berlin, Bonn, München, 1996
>
> But in my document all references are show like this one:
>
> Bobbio, Norberto: El tiempo de los derechos. Madrid: Sistema, 1991
>
> As you can see, the address field (Madrid) is shown before the publisher
> (Sistema). I would like them to be switched, but don't know if this is
the
> stardard Jurabib behavior, some configuration chosen by LyX or my own
> configuration problem. The following code if from my Jurabib
configuration
> in my document preamble:

No. There is no option to put the editing house before the editing town.

The only way to do it is to create a new bibliographical style .sty
starting
with jurabib.sty. It is not very hard. Just invert the two fields.

On the other hand, having the town before the printer is rather the normal
way of doping things.

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





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: OT: Tool to convert from LaTeX to SVG

2006-06-20 Thread Paul Smith

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

You might find that the mathtext component in Matplotlib does what you
need. Its support for latex equations is basic: no support for \frac,
for example. But for your simpler all-on-one-line equations with
symbols, it's ok. It's also not a stand-alone 'tool', which is what you
were looking for.


Thanks, John. I was meanwhile able to having pstoedit doing the
correct conversions. So, my problem is solved. With pstoedit, one can
probably produce a SVG file from whatever LaTeX output.

Paul


Re: OT: Tool to convert from LaTeX to SVG

2006-06-20 Thread John Pye
You might find that the mathtext component in Matplotlib does what you 
need. Its support for latex equations is basic: no support for \frac, 
for example. But for your simpler all-on-one-line equations with 
symbols, it's ok. It's also not a stand-alone 'tool', which is what you 
were looking for.


Cheers
JP

Paul Smith wrote:

Dear All

Is there some tool to convert from LaTex equations to SVG? I have
tried pstoedit, but it does not apparently work here.

Thanks in advance,

Paul



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



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

2006-06-20 Thread Jose' Matos
On Tuesday 20 June 2006 12:02, Juergen Spitzmueller wrote:
> exactly. People are quite excited ATM (though I'm not living in one of
> the "FIFA occupied cities"). But do I have to tell that to a Portuguese?

  For us, two years ago - Euro 2004, it was UEFA. :-)

> Jürgen

-- 
José Abílio


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

2006-06-20 Thread Juergen Spitzmueller
Jose' Matos wrote:

> I was afraid to hear that. You know the rules, this change can only go in
> 1.5svn. :-(

I know.

>> I see lots of policemen recently ;-)
> 
> What would you expect with the World Cup in your country? ;-)

exactly. People are quite excited ATM (though I'm not living in one of
the "FIFA occupied cities"). But do I have to tell that to a Portuguese?

Jürgen



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

2006-06-20 Thread Jose' Matos
On Tuesday 20 June 2006 11:28, Juergen Spitzmueller wrote:
> Jose' Matos wrote:
> >> Please add it to bugzilla, if not already done.
> >
> > Would that change the file format?
>
> Yes.

  I was afraid to hear that. You know the rules, this change can only go in 
1.5svn. :-(

> >> Jürgen
> >
> > PS: Wearing my hat of file format police. ;-)
>
> I see lots of policemen recently ;-)

  What would you expect with the World Cup in your country? ;-)

> Jürgen

-- 
José Abílio


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

2006-06-20 Thread Juergen Spitzmueller
Jose' Matos wrote:

>> Please add it to bugzilla, if not already done.
> 
> Would that change the file format?

Yes.

>> Jürgen
> 
> PS: Wearing my hat of file format police. ;-)

I see lots of policemen recently ;-)

Jürgen




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

2006-06-20 Thread Jose' Matos
On Tuesday 20 June 2006 10:56, Juergen Spitzmueller wrote:
> Please add it to bugzilla, if not already done.

  Would that change the file format?

> Jürgen

PS: Wearing my hat of file format police. ;-)
-- 
José Abílio


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

2006-06-20 Thread Juergen Spitzmueller
Charles de Miramon wrote:

> A \nobibliography{} option would be nice for 1.4.3. Today, it is really a
> fragile hack to do it inside LyX

Please add it to bugzilla, if not already done.

Jürgen



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

2006-06-20 Thread Charles de Miramon
Juergen Spitzmueller wrote:


> For instance: jurabib (since this is mentioned by the OP). I implemented
> that to Lyx 1.4 because I need it for my own work. I admit that the
> jurabib support still can be enhanced in many ways. But hey, it's a brand
> new feature, jurabib itself is very feature-rich, and I also have to get
> some real work done. Jurabib support *will* evolve, if people tell us what
> and why they need a given feature (and not: "I want *all* jurabib features
> pronto").
> 

A \nobibliography{} option would be nice for 1.4.3. Today, it is really a
fragile hack to do it inside LyX

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



Re: Jurabib and Lyx: Bibliography problem

2006-06-20 Thread Charles de Miramon
Julio Rojas wrote:

> Hi, this is a minor problem, but an annoying one. In Jurabib documentation
> the format of each bibliographic reference shows:
> 
> Brox, Hans: Allgemeiner Teil des Bürgerlichen Gesetzbuches. 20th edition.
> Köln, Berlin, Bonn, München, 1996
> 
> But in my document all references are show like this one:
> 
> Bobbio, Norberto: El tiempo de los derechos. Madrid: Sistema, 1991
> 
> As you can see, the address field (Madrid) is shown before the publisher
> (Sistema). I would like them to be switched, but don't know if this is the
> stardard Jurabib behavior, some configuration chosen by LyX or my own
> configuration problem. The following code if from my Jurabib configuration
> in my document preamble:

No. There is no option to put the editing house before the editing town. 

The only way to do it is to create a new bibliographical style .sty starting
with jurabib.sty. It is not very hard. Just invert the two fields.

On the other hand, having the town before the printer is rather the normal
way of doping things.

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



Re: Problems with natbib

2006-06-20 Thread Juergen Spitzmueller
Gustav Von Sydow wrote:

> Hi!
> 
> I'm using Lyx with natbib and have some problems with the citations.
> Some of my citations look like this "poole [5]" and some of them look
> like this "[8]". I do not want the author to appear in the document,
> just the numbers. I have chosen citations style: numerical in the
> preferences window, but it does not seem to help.

natbib provides several formats, also for numerical citations. You can
select from those in the citation dialog ("Cite Style"). In that list,
there's also "[]".

If you want really all citations look like this, a quick and dirty solution
is to add to the preamble:

\let\citet\citep


> In some of my citations I can chose style in the citation style-box.
> Those citations also have parenthesis and not brackets when they appear
> in the text... In the citations with brackets I can't chose style.
> 
> It's really confusing...

Did you select "natbib" from the document dialog (Bibliography section)?

Jürgen

> /Gustav




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

2006-06-20 Thread Juergen Spitzmueller
Eric Nystrom wrote:

> We humanists have particular expertise with
> documentation - perhaps creating, revising, or tweaking the docs may be of
> help.  In short, please appreciate this community both for what it is and
> what it is not; and if you are looking to contribute, there are many ways
> of doing so.

ACK. Though it is not impossible even for humanists to a bit of coding, if
desired.
I am a humanist myself and I never saw (let alone wrote) a single line of
code before I encountered that even if the developers are very open, I had
to make my own hands dirty to get some of my desired features in. Remember
that people are running this project in their spare time, and they are,
understandably enough, particularly interested in features they need
themselves (or they find interesting from a coder's point of view, to
practice their coding).

For instance: jurabib (since this is mentioned by the OP). I implemented
that to Lyx 1.4 because I need it for my own work. I admit that the jurabib
support still can be enhanced in many ways. But hey, it's a brand new
feature, jurabib itself is very feature-rich, and I also have to get some
real work done. Jurabib support *will* evolve, if people tell us what and
why they need a given feature (and not: "I want *all* jurabib features
pronto").

I encountered that the LyX code is (more and more) well documented and
understandable. All I know about C++ is actually from staring at that code
and from the patch reviewing of the developers (and I think there are other
developers with similar experiences).

In general, I think that LyX will only evolve for certain topics if people
from that topic are willing to participate in one way or the other, simply
because they best know their needs.

I understand that writing a thesis comes first and doesn't give you too much
time to invest at that particular moment. I also understand the frustration
if an application doesn't seem to do what you actually (and urgently) need.
But vice versa, you should also understand that developers might not get
too motivated if a user simply argues "Why the hell does this [free]
application not do what I want it to do? I need to save my time, so sit
down, invest your spare time and do that for me!"

Regards,
Jürgen





Re: APA for LyX

2006-06-20 Thread Jose' Matos
On Monday 19 June 2006 12:02, Thomas Widhalm wrote:
> Hi,
>
> I'm asking on behalf of one of my users.
>
> I need to include the APA regulations for documents into LyX on a Fedora
> Core 5 box. I found several packages, but didn't manage to install it in
> an easy and quick way.

  I know Fedora and I can tell that it is not the problem here. ;-)
  I am using it. :-)

> Now I am asking you, if I just weren't able to find, how to include
> predefined packages for this, or if there are no such packages.

  I don't know APA. :-)

  Looking to the distributed sources I see that we ship an apa.layout file.
For this to work you need to place apa.cls in a place where tex can find it, 
then lyx will use it.

> The designated use of the Documents are thesis', so book might be the
> right DocumentClass.

  Notice again that I don't know what I am talking about. Looking in some 
detail to the apa layout we distribute it looks like it is article-like, so 
some changes may be needed to have it working for a thesis like structure.

> Just tell me, if I was searching in vain or if I haven't searched long
> enough. Any links appreciated. :-)

  You are close, if you notice the header of apa.layout file you will notice 
an email address there.

  If you still don't have you want this list is a good place for asking such 
questions.

> Regards,
> Thomas Widhalm

-- 
José Abílio


strange text alignment in tables

2006-06-20 Thread christiaan pauw

Hi all

I am writhing a questionnaire in Lyx 1.4.1 on Win XP. The whole thing is
one gigantic table.

I experience very strange effects with the alignment of text both
vertically and horizontally

1. Text in adjacent columns are not aligned even when both are set at
the same vertical alignment. This happens not only but especially when a 
ctr-enter  was used.


2. Multicolunm the cells above and below to disregard their column width
settings

3. Horizontal alignment is not the same for rows either. Sometimes the 
text begins with an indent, sometimes not


4. Setting the column with sometimes does not set the width of the
column but the width of the text within . this is the case
in multicolumns. The problem is that there is no control over the
width of a column when one cell is also part of a multicolumn

Can anyone help

regards
Christiaan

.

--

Dr Christiaan Pauw

(tel) +27 12 420 2015
(fax) +27 12 420 4016

"The peacock’s feather - whenever I gaze at it - makes me sick"
Charles Darwin




Re: Endnotes and Lyx

2006-06-20 Thread Juergen Spitzmueller
K. Elo wrote:

> inserting \renewcommand\footnote{\endnote} into the preamble - and
> now everything works.

Or just
\let\footnote\endnote

> I think this issue should also be described in the LyX WiKi.

Yes. Please do so.

Jürgen



Endnotes and Lyx

2006-06-20 Thread K. Elo
Hi,

I am not sure if some has had this problem before, but I encountered
difficulties when using the endnotes package with lyx and did not find
any answers on the LyX WiKi site describing how to use Jurabib with LyX.

The core problem was that although I had inserted \usepackage{endnotes}
in the preamble, references inserted as footnotes still appeared as
footnotes in the final output and an ERT containing \theendnotes
resulted in errors. After studying both the Jurabib documentation and
TLC2e (both giving no direct answer to this question either), I tried
out inserting \renewcommand\footnote{\endnote} into the preamble - and
now everything works.

I think this issue should also be described in the LyX WiKi. Or am I
missing something?

Kind regards,
Kimmo