Re: Has anyone successfully used apacite?

2007-06-06 Thread Julio Rojas

Emilio, to use the "apacite" BibTeX style, you need to use the "article
(APA)" document class. It doesn't work by itself on any document class.

If you need to cite in APA style on any given document class, it's better to
use the "apalike" BibTeX style. On minor problem is that it only comes in
english. But if you need it in any other language, you'll need to do a
search for words like "chapter" or "in" and replace them with their
equivalents.

Hope this solves your problem.

On 6/7/07, Emilio Gagliardi <[EMAIL PROTECTED]> wrote:


Hi there,

I have been trying for about a week to get apacite to work with no luck in
either lyx or texshop.  I'm almost ready to start using word again as at
least I know how to get citations working...if anyone can share a simple
lyx
file that demonstrates how to use this package I would be really really
grateful.  As far as i can tell i have the latest files (from the tex Live
distribution), regardless the citation never renders correctly.

Thanks in advance,
emilio





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Title too long

2007-06-06 Thread Sandor Szabo

Paul A. Rubin wrote:

Sandor Szabo wrote:


I use LyX 1.4.3-5 on windows xp.
Unfortunately Short Title is grey (inactive) when I put the
cursor in the Title part of the document. (In sections it
works.)
What could be the solution?


Try parking the attached (hacked) copy of amsdefs.inc in your local 
layouts directory (probably C:\Documents and Settings\your name 
here\Application Data\LyX1.4.x\layouts), then restarting LyX.  It works 
under LyX 1.4.4 and should work under 1.4.3-5.  I added one line 
(OptionalArgs 1) to the Title layout to turn on Insert -> Short Title. 
Actually, I'm not sure why this is not standard in the AMS layouts.


/Paul


Many thanks!
Everything works.

Sandor



Has anyone successfully used apacite?

2007-06-06 Thread Emilio Gagliardi

Hi there,

I have been trying for about a week to get apacite to work with no luck in
either lyx or texshop.  I'm almost ready to start using word again as at
least I know how to get citations working...if anyone can share a simple lyx
file that demonstrates how to use this package I would be really really
grateful.  As far as i can tell i have the latest files (from the tex Live
distribution), regardless the citation never renders correctly.

Thanks in advance,
emilio


Re: moving to linux...

2007-06-06 Thread Rich Shepard

On Wed, 6 Jun 2007, Steve Litt wrote:


Richard -- what do you think of Century Schoolbook? I've used that for my
last few Ebooks, because onscreen it seems to look black and legible, and
it seems to be available with LyX.


SteveT,

  This is another Richard ... and I use Palatino for my LyX documents. It's
one of the standard PostScript fonts, is very well designed, and reads
easily. I use a different font for the screen; one that has heavier strokes.
They don't need to be the same typeface.

Rich

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


Re: Title too long

2007-06-06 Thread Paul A. Rubin

Sandor Szabo wrote:


I use LyX 1.4.3-5 on windows xp.
Unfortunately Short Title is grey (inactive) when I put the
cursor in the Title part of the document. (In sections it
works.)
What could be the solution?


Try parking the attached (hacked) copy of amsdefs.inc in your local 
layouts directory (probably C:\Documents and Settings\your name 
here\Application Data\LyX1.4.x\layouts), then restarting LyX.  It works 
under LyX 1.4.4 and should work under 1.4.3-5.  I added one line 
(OptionalArgs 1) to the Title layout to turn on Insert -> Short Title. 
Actually, I'm not sure why this is not standard in the AMS layouts.


/Paul


# Author : David L. Johnson <[EMAIL PROTECTED]>
# Probably broken by Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
# modified and modularized by Emmanuel GUREGHIAN <[EMAIL PROTECTED]>

# Including the maths stuff
Format 2
Input amsmaths.inc

# The AMS documentclasses use the package amsmath and provide the
# functionality of makeidx.sty.
ProvidesAmsmath 1
ProvidesMakeidx 1


# the environments copied from the old amsart.layout are:
# - Proof
# - Bibliography
# - Title
# - Author
# - Date
# - Abstract (This is a title component for this style.)
# - Address
# - Email
# - Keywords
# - Subjectclass


Style Proof
MarginFirst_Dynamic
LatexType Environment
LatexName proof
NextNoIndent  1
LabelSep  xx
ParIndent MMM
ParSkip   0.4
ItemSep   0.2
TopSep0.7
BottomSep 0.7
ParSep0.3
Align Block
AlignPossible Block, Left
LabelType Static
LabelString   "Proof."
EndLabelType  Box
Font
  Shape   Up
  SizeNormal
EndFont
LabelFont
  Shape   Italic
EndFont
# We don't want the preamble from Theorem
Preamble
EndPreamble
End


### Now the title stuff. We copy do not use stdstruct.inc to keep
### things in the right order
Style Title
MarginStatic
LatexType Command
InTitle   1
LatexName title
ParSkip   0.4
ItemSep   0
TopSep0
BottomSep 1
ParSep1
Align Center
AlignPossible Center
LabelType No_Label
Font
  Shape   Smallcaps
  Series  Bold
  SizeLarger
EndFont
OptionalArgs  1
End


Style Author
MarginStatic
LatexType Command
InTitle   1
LatexName author
LabelSep  xxx
ParSkip   0.4
TopSep1.3
BottomSep 0.7
ParSep0.7
Align Center
AlignPossible Center
LabelType No_Label
Font
  SizeLarge
  Shape   Smallcaps
EndFont
End


Style Date
MarginDynamic
LatexType Command
InTitle   1
LatexName date
LabelSep  xxx
ParSkip   0.4
TopSep0.9
BottomSep 0.5
ParSep1
Align Center
AlignPossible Center
LabelType Static
LabelString   "Date:"
Font
  SizeLarge
EndFont
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End


Style Abstract
MarginFirst_Dynamic
LatexType Environment
InTitle   1
LatexName abstract
LeftMarginMMM
LabelIndent   MMM
RightMargin   MMM
ParIndent MM
TopSep0.7
BottomSep 0.7
Align Block
AlignPossible Block
LabelType Static
LabelString   "Abstract."
LabelSep  M
Font
  SizeSmall
EndFont
LabelFont
  Shape   Smallcaps
EndFont
End

# Clear Address definition from lyxmacros
NoStyle Address

Style Address
MarginDynamic
LatexType Command
InTitle   1
LatexName address
ParSkip   0.4
BottomSep 1.5
 

Re: moving to linux...

2007-06-06 Thread Paul Smith

On 6/6/07, Ares <[EMAIL PROTECTED]> wrote:

From: "Paul Smith" <[EMAIL PROTECTED]>

## I think I understand the problem that Diego reports. The pdf viewers
in Linux are more accurate and if the fonts are not included in the
pdf file, the quality of the document on the screen looks not so god,
although on paper it looks perfect. If you are using the default LaTeX
font, then put the following line in the preamble of your LyX
document:

\usepackage{lmodern}

and your pdf files will look great on screen.


I think I didn't get all of the 1st part of your reply, but I tried
the suggestion it 2nd part with no success (at least on my machine):
the output pdf is empty.
I tried to export to pdf first as a normal user on windows: LyX
prompted me to install the lmodern package, but it did not produce any
result since I suspect that MiKTeX simply does *not* install the
packages because it does not have write access to its folder (under a
non-administrator account).
Then I tried as an administrator and there it came the mess! No prompt
for package installation and no output.

Is it normal I can't even find the lmoder package on the MiKTeX Package Manager?


The default installation does not install lmodern. However, MikTeX
does have it. (I have myself installed it on a MS Windows.) Try to
find out how to install non-default packages with MikTeX. (I cannot at
the moment help further, as I am on a Linux machine.)

Paul


Re: Title too long

2007-06-06 Thread Sandor Szabo

Bennett Helm wrote:

On Jun 6, 2007, at 3:51 PM, Sandor Szabo wrote:


I write a paper, document class: article(AMS).
The title is too long and I must not use fancyheader
or similar packages. How could I put a short title on
the head of pages?


Insert > Short Title

Bennett


I use LyX 1.4.3-5 on windows xp.
Unfortunately Short Title is grey (inactive) when I put the
cursor in the Title part of the document. (In sections it
works.)
What could be the solution?

Sandor



Re: moving to linux...

2007-06-06 Thread Richard Heck

Steve Litt wrote:

On Wednesday 06 June 2007 14:52, Richard Heck wrote:
  

Oisin Feeley wrote:


On 6/6/07, Ares <[EMAIL PROTECTED]> wrote:
[snip]

  

When I view my old documents (i.e. the pdf files generated by LyX on
Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
is related to the installed fonts.
  

[snip]

  

. Anyway you can view a
sample pdf generated on my machine (BTW with pdflatex) at:

http://ares001.altervista.org/job/downloads/dispense.pdf


When I look at that using an Adobe7.0 plugin to Firefox it looks very
nice.  Perhaps you could post a screenshot indicating the problem?
Otherwise you could receive as many different responses as there are
combinations of PDF viewer and OS!
  

It's less good in xpdf or kpdf. This is a known problem, I believe. The
default LaTeX fonts tend not to look so good in the xpdf-based readers.
Changing the font, to Times, say, should solve the problem.

Richard -- what do you think of Century Schoolbook? I've used that for my last 
few Ebooks, because onscreen it seems to look black and legible, and it seems 
to be available with LyX.
  
Any of the Type 1 fonts will work fine, so far as xpdf and the like are 
concerned.  There's something funny that happens with the CM fonts. As 
for the way Century Schoolbook looks, it's pretty good. I find it a 
little fussy for my own writing, though. I'm just a boring old Times guy


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



question on titlesec package

2007-06-06 Thread Marcelo Acuña
Hello,
 I want to have giant chapter number in first page of
each chapter. I am using titlesec package and in
preamble I put:


\titleformat{\chapter}{display­}{\sffamily\Large\bfseries}
{\chaptertitlename\thechapter}­{4ex}{}{\titlerule}{} 

 but I don´t know how to get that chapter number
became very large.
 Any idea?
 Thanks
 Marcelo



  __ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 



Re: moving to linux...

2007-06-06 Thread Steve Litt
On Wednesday 06 June 2007 14:52, Richard Heck wrote:
> Oisin Feeley wrote:
> > On 6/6/07, Ares <[EMAIL PROTECTED]> wrote:
> > [snip]
> >
> >> > When I view my old documents (i.e. the pdf files generated by LyX on
> >> > Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
> >> > is related to the installed fonts.
> >
> > [snip]
> >
> >> . Anyway you can view a
> >> sample pdf generated on my machine (BTW with pdflatex) at:
> >>
> >> http://ares001.altervista.org/job/downloads/dispense.pdf
> >
> > When I look at that using an Adobe7.0 plugin to Firefox it looks very
> > nice.  Perhaps you could post a screenshot indicating the problem?
> > Otherwise you could receive as many different responses as there are
> > combinations of PDF viewer and OS!
>
> It's less good in xpdf or kpdf. This is a known problem, I believe. The
> default LaTeX fonts tend not to look so good in the xpdf-based readers.
> Changing the font, to Times, say, should solve the problem.

Richard -- what do you think of Century Schoolbook? I've used that for my last 
few Ebooks, because onscreen it seems to look black and legible, and it seems 
to be available with LyX.

Thanks

SteveT


about rc1

2007-06-06 Thread Marcelo Acuña
Hello,
 1) I haven´t crahs in lyx 1.5.0 rc1 (like beta 3).
 2) I have a little problem with tools bar. I put 3
tools bar at the rigth margin of screen in 2 columns.
This work ok. But when I close lyx and then reopen,
this 3 tools bars appears superpossed in only 1
column.
 3) Session manager work only a few times. Most of
times, when I start my computer (linux) Lyx no open
and I must make click in incon.
 4)Cursor is very slow when I am making a selection of
text with keyboard.
 5) I can see a lot of warning messages when I am
compiling lyx like this: 

warning FIXME
warning FIXME!! The graphics cache no longer has a
changeDisplay method
warning control reaches end of non-void function.
warning handle non existing files
warning this function should be moved to
buffer_pimpl.C
warning look here
warning this will not work any more when we have
multiple views of the same buffer
warning broken?
warning Why not pass a proper DocIterator here?
and so on

 I don´t know severety of this messages.

 Regards
 Marcelo



  __ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 



Re: 1.5.0rc1 Mac PPC G3 typing lag

2007-06-06 Thread Anders Ekberg

On 6 jun 2007, at 16.15, Bennett Helm wrote:


On Jun 6, 2007, at 9:59 AM, Johannes Knaus wrote:

Well, I can confirm that Gerards PPC-Version runs just fine  
(flawlessly and speedy - no lags anymore) on my PPCs, while the  
universal binary just  behaves like driving through small city  
streets with a truck that can't brake ;-)


Thank you very much Gerard.


Gerard: What configure settings did you use?

Anders: Does Gerard's version perform the same as yours?


No, it is faster than the universal, but not as fast as the one  
compiled on my machine (iBook G4). See figures below.
Note that the "benchmark" does not reflect "real world use", but is  
more of a (very) rough measure of screen updating, etc. I haven't  
used the universal binary in any production work yet, will try tomorrow.

===
Benchmark with LyX User's guide (time in seconds).
Instant preview on.
DateOpen Scroll Page Comments
  down  down
(arrow)
07-05-21 617241  Skipping lines.
RC1(uni) 727553
RC1(PPC) 522028
07-06-03 622228
RC-Ger   623544
===


Another question (for everyone): would it be preferable to produce  
a universal binary (assuming we can work out the performance  
problem), or would you prefer separate versions for Intel and PPC  
Macs?
It is of course nice with ONE Mac version. On the other hand it will  
be a larger binary, and there is no major problem for a user to  
select version.
So, I guess my opinion is: If you can fix the performance issue, a  
universal binary would be nice, but in my opinion it is not a major  
priority.
But as you I think we need to understand what causes the performance  
lag to ensure 1.5 binary(ies) with good performance.


/Anders





Re: Comments on RC1

2007-06-06 Thread Richard Heck

Pavel Sanda wrote:
Try it with svn if you can. I can't remember an update that would have 
fixed this.
  

Seems to be the same issue: http://bugzilla.lyx.org/show_bug.cgi?id=3018
  
Probably, but I still can't reproduce. In fact, if I leave the citation 
dialog open, then as I switch from document to document, the "Labels in" 
field changes.


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Title too long

2007-06-06 Thread Bennett Helm

On Jun 6, 2007, at 3:51 PM, Sandor Szabo wrote:


I write a paper, document class: article(AMS).
The title is too long and I must not use fancyheader
or similar packages. How could I put a short title on
the head of pages?


Insert > Short Title

Bennett


Title too long

2007-06-06 Thread Sandor Szabo

I write a paper, document class: article(AMS).
The title is too long and I must not use fancyheader
or similar packages. How could I put a short title on
the head of pages?

Thanks,
   Sandor



Re: Comments on RC1

2007-06-06 Thread Pavel Sanda
> > Try it with svn if you can. I can't remember an update that would have 
> > fixed this.

Seems to be the same issue:
http://bugzilla.lyx.org/show_bug.cgi?id=3018

> 
> i can confirm this bug with todays svn(gentoo on x86).
> pavel


Re: 1.5.0rc1 Mac PPC G3 typing lag

2007-06-06 Thread Patrick De Visschere


On Jun 6, 2007, at 3:05 PM, Bennett Helm wrote:


On Jun 6, 2007, at 12:27 AM, Gerard Ateshian wrote:

I also found that the universal binary for 1.5rc1 runs slowly on  
Mac OS X PPC (I have a PowerBook G4, 1.67 GHz, 2 GB memory), so I  
compiled my own version and it runs just fine.  If you want it,  
you can download it from http://bio7.mech.columbia.edu/~gerard/


I don't understand why this would be so: why cross-compiling PPC on  
my Intel Mac (as I did when making the universal binary) would make  
it so much slower than native compile. Does anyone have any ideas?


Bennett


I reported also slow typing on a G4 mac; I want to add that this is  
not  a universal version but a svn version that I compiled on a G5;

I think there is a problem with the PPC version.


Patrick De Visschere 


Re: moving to linux...

2007-06-06 Thread Richard Heck

Oisin Feeley wrote:

On 6/6/07, Ares <[EMAIL PROTECTED]> wrote:
[snip]

> When I view my old documents (i.e. the pdf files generated by LyX on
> Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
> is related to the installed fonts.


[snip]


. Anyway you can view a
sample pdf generated on my machine (BTW with pdflatex) at:

http://ares001.altervista.org/job/downloads/dispense.pdf


When I look at that using an Adobe7.0 plugin to Firefox it looks very
nice.  Perhaps you could post a screenshot indicating the problem?
Otherwise you could receive as many different responses as there are
combinations of PDF viewer and OS!
It's less good in xpdf or kpdf. This is a known problem, I believe. The 
default LaTeX fonts tend not to look so good in the xpdf-based readers. 
Changing the font, to Times, say, should solve the problem.


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: moving to linux...

2007-06-06 Thread Oisin Feeley

On 6/6/07, Ares <[EMAIL PROTECTED]> wrote:
[snip]

> When I view my old documents (i.e. the pdf files generated by LyX on
> Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
> is related to the installed fonts.


[snip]


. Anyway you can view a
sample pdf generated on my machine (BTW with pdflatex) at:

http://ares001.altervista.org/job/downloads/dispense.pdf


When I look at that using an Adobe7.0 plugin to Firefox it looks very
nice.  Perhaps you could post a screenshot indicating the problem?
Otherwise you could receive as many different responses as there are
combinations of PDF viewer and OS!

Best wishes,
Oisin


Re: moving to linux...

2007-06-06 Thread Ares

From: Vaclav Smidl <[EMAIL PROTECTED]>


I have been using LyX on windows XP since a while now and i am trying
to move to Linux. I have not tried to install LyX on Linux yet (I am
sorry but i already know that it won't be easy, I already tried once
with no success) but my question is different now.


*** On ubuntu it should be as easy as typing
$ apt-get install lyx
on the command line, or selecting lyx in synaptic and pressing apply button.
(assuming that you are connected to the internet)

I'll give it a try, but LyX is not on the Synaptic manager, as far as
I can see (on Ubuntu 7.04)... is it of your (= the LyX developers)
concern?



When I view my old documents (i.e. the pdf files generated by LyX on
Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
is related to the installed fonts.


*** can you be a little bit more specific? What exactly is bad?
1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5
2) you use some special fonts that are not embedded in the final pdf.
(cut)
Pdf's, by definition, should not depend on any LyX files.
Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a
minimal example of your pdf.


I thought that pdf, being a "portable document format", didn't need
any special setting on the machine you use. Anyway you can view a
sample pdf generated on my machine (BTW with pdflatex) at:

http://ares001.altervista.org/job/downloads/dispense.pdf


From: "Paul Smith" <[EMAIL PROTECTED]>

## I think I understand the problem that Diego reports. The pdf viewers
in Linux are more accurate and if the fonts are not included in the
pdf file, the quality of the document on the screen looks not so god,
although on paper it looks perfect. If you are using the default LaTeX
font, then put the following line in the preamble of your LyX
document:

\usepackage{lmodern}

and your pdf files will look great on screen.


I think I didn't get all of the 1st part of your reply, but I tried
the suggestion it 2nd part with no success (at least on my machine):
the output pdf is empty.
I tried to export to pdf first as a normal user on windows: LyX
prompted me to install the lmodern package, but it did not produce any
result since I suspect that MiKTeX simply does *not* install the
packages because it does not have write access to its folder (under a
non-administrator account).
Then I tried as an administrator and there it came the mess! No prompt
for package installation and no output.

Is it normal I can't even find the lmoder package on the MiKTeX Package Manager?



--
Diego
http://www.ares001.altervista.org/

ps: thanks for replying. I don't know whether you're using windows or
linux, but I have to say that people here in the lyx-users list are
much more available and prompt than on any (other) linux-related list,
as I could observe in these days of experimentations on linux!


Re: moving to linux...

2007-06-06 Thread Richard Heck

Oisin Feeley wrote:

Forgive me if this is OT, but I was reminded of it it by your post.

Red Hat just released replacements for the common Microsoft 
proprietary fonts:

https://www.redhat.com/promo/fonts/
including replacements for TimesNewRoman, Aerial and CourierNew.

Thanks for the info! This is excellent.

Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: moving to linux...

2007-06-06 Thread Oisin Feeley

On 6/6/07, Steve Litt <[EMAIL PROTECTED]> wrote:


Perhaps some of your fonts weren't embedded, and maybe they were truetype. You
can install Truetype fonts on your Linux computer.


Forgive me if this is OT, but I was reminded of it it by your post.

Red Hat just released replacements for the common Microsoft proprietary fonts:
https://www.redhat.com/promo/fonts/
including replacements for TimesNewRoman, Aerial and CourierNew.

The second release towards the end of the year will include the full
hinting necessary for perfect presentation.

Anyway, a bit irrelevant to the OP, but I've been waiting for this for
a while and wanted to share it!

Oisin


Re: moving to linux...

2007-06-06 Thread Paul Smith

On 6/6/07, Steve Litt <[EMAIL PROTECTED]> wrote:

> I have been using LyX on windows XP since a while now and i am trying
> to move to Linux. I have not tried to install LyX on Linux yet (I am
> sorry but i already know that it won't be easy, I already tried once
> with no success) but my question is different now.
>
> When I view my old documents (i.e. the pdf files generated by LyX on
> Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
> is related to the installed fonts. maybe once I install LyX I will get
> it working as expected? please let me know if you have any
> suggestion...

Congratulations on moving to Linux. IMHO a wise choice indeed.

Perhaps some of your fonts weren't embedded, and maybe they were truetype. You
can install Truetype fonts on your Linux computer. Each distribution has its
own method for doing this -- check Ubuntu's.

Some fonts are ugly and pixelated at certain magnifications, even if they're
embedded. Also, different PDF viewers do better and worse jobs with fonts.
For instance, the gv viewer doesn't do a good job with fonts. xpdf is better.
You can download, free of charge, a Linux version of Acroread, which does an
excellent job with fonts.


By the way, kpdf is also a very nice pdf viewer.

Paul


Re: moving to linux...

2007-06-06 Thread Steve Litt
On Wednesday 06 June 2007 06:06, Ares wrote:
> Hi all,
>
> I have been using LyX on windows XP since a while now and i am trying
> to move to Linux. I have not tried to install LyX on Linux yet (I am
> sorry but i already know that it won't be easy, I already tried once
> with no success) but my question is different now.
>
> When I view my old documents (i.e. the pdf files generated by LyX on
> Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
> is related to the installed fonts. maybe once I install LyX I will get
> it working as expected? please let me know if you have any
> suggestion...

Congratulations on moving to Linux. IMHO a wise choice indeed.

Perhaps some of your fonts weren't embedded, and maybe they were truetype. You 
can install Truetype fonts on your Linux computer. Each distribution has its 
own method for doing this -- check Ubuntu's.

Some fonts are ugly and pixelated at certain magnifications, even if they're 
embedded. Also, different PDF viewers do better and worse jobs with fonts. 
For instance, the gv viewer doesn't do a good job with fonts. xpdf is better. 
You can download, free of charge, a Linux version of Acroread, which does an 
excellent job with fonts.

By the way, if you have Linux questions, Troubleshooters.Com has a lot of 
Linux content.

HTH

SteveT

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


Re: pdflatex postscript handling

2007-06-06 Thread LB

This is a sign of corrupted eps files.
Missing bounding boxes can be restored by program called "ps2eps",
http://www.tm.uka.de/~bless/ps2eps

After correcting your eps, you can try to push them through epstopdf 
again.




Actually, I have been using ps2eps already...

Leo 





Re: Where is the example_lyxified.lyx file?

2007-06-06 Thread Bennett Helm

On Jun 6, 2007, at 11:04 AM, I.D. Colvin wrote:

Sorry I was confusing. I should have been more explicit. I meant  
searching within the Mac finder for the file (which is also cmd-f).  
That was my first resort when I couldn't find an examples button in  
the Open File dialog.


I can't see a search field in the open dialog (with Mac OS). Is  
there something I have to type to bring it up?


It's there by default in the File > Open dialog. See attached .jpg.

Bennett

<>

docbook and graphics within floating figure

2007-06-06 Thread David Koski
I am a new Lyx user using Debian 4.0, Lyx 1.4.3 and am trying to insert
a graphic image within a floating figure in a Docbook (xml) document.
My "Document Class" is set to "DocBook book (SGML)" and I am exporting
to "Docbook (XML)" but I get errors:

book.xml:16:18:E: document type does not allow element "inlinemediaobject" 
here; assuming missing "title" start-tag
openjade:/home/users/dkoski/cvs/sutinen/doc/backup-with-bru-book/book.xml:28:20:E:
 document type does not allow element "title" here
openjade:/home/users/dkoski/cvs/sutinen/doc/backup-with-bru-book/book.xml:28:70:E:
 end tag for "title" omitted, but OMITTAG NO was specified

My first line of defense (google and man pages) was to no avail.  In fact
I found very little information that was relevant except for how to do
what I had already done.  By trial and error (and examining the xml output
of Lyx) I found that I could insert a graphic successfully outside a
floating figure if I appended a label.  The same method failed for floating
figures.  I found it odd that this seemingly trivial task would be so
difficult to achieve.  If the two problems are related, I suspect it has
to do with the placement of a para tag.  But this really has me stumped.

The Lyx code is below followed by xml exported output from Lyx.

Any help appreciated,
David Koski
[EMAIL PROTECTED]

#LyX 1.4.3 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass docbook-book
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Title
My Book
\end_layout

\begin_layout Chapter
My Chapter
\end_layout

\begin_layout Standard
This is my chapter.
\end_layout

\begin_layout Standard
Text here.
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Title
my title
\end_layout

\begin_layout Standard
\begin_inset Graphics
filename gimp_screenshot.eps

\end_inset


\end_layout

\begin_layout Caption
\begin_inset LatexCommand \label{mylabel}

\end_inset


\end_layout

\end_inset

mycaption
\end_layout

\begin_layout Standard
More text.
\end_layout

\end_body
\end_document



http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";
 [ 
 ]>




My Book

My Chapter
Hi.
This is my chapter.













myfig
Text here.
More text.






Re: Where is the example_lyxified.lyx file?

2007-06-06 Thread I.D. Colvin
Sorry I was confusing. I should have been more explicit. I meant searching 
within the Mac finder for the file (which is also cmd-f). That was my first 
resort when I couldn't find an examples button in the Open File dialog.


I can't see a search field in the open dialog (with Mac OS). Is there 
something I have to type to bring it up?


Thanks very much for your help. I now have the example file to work through.
Ian

On Jun 6 2007, Bennett Helm wrote:


On Jun 6, 2007, at 10:30 AM, Ian C wrote:


Thank you, Bennett. I don't think I would ever have found that without
directions. :)
I'm no great Mac expert, but if the folder you suggest is searched  
by the
command-F, find file dialog, then I think it would be a great  
improvement on

the current situation.


I'm not sure what you mean here. f is for the search and replace  
dialog, which searches for text within the document.


If you use the File > Open dialog, you can type "examples" in the  
search field there and you should find the right directory in the  
list it provides. (Is that what you meant?)




Bennett



Re: Where is the example_lyxified.lyx file?

2007-06-06 Thread Bennett Helm

On Jun 6, 2007, at 10:30 AM, Ian C wrote:


Thank you, Bennett. I don't think I would ever have found that without
directions. :)
I'm no great Mac expert, but if the folder you suggest is searched  
by the
command-F, find file dialog, then I think it would be a great  
improvement on

the current situation.


I'm not sure what you mean here. f is for the search and replace  
dialog, which searches for text within the document.


If you use the File > Open dialog, you can type "examples" in the  
search field there and you should find the right directory in the  
list it provides. (Is that what you meant?)



Alternatively (or as well) updating the Tutorial file
with a note explaining where the examples are in the Mac bundle  
would be

very helpful for beginners.


Yes -- whatever we decide should be documented in an easy-to-find place.

Bennett


Re: Where is the example_lyxified.lyx file?

2007-06-06 Thread Ian C
Thank you, Bennett. I don't think I would ever have found that without
directions. :)
I'm no great Mac expert, but if the folder you suggest is searched by the
command-F, find file dialog, then I think it would be a great improvement on
the current situation. Alternatively (or as well) updating the Tutorial file
with a note explaining where the examples are in the Mac bundle would be
very helpful for beginners.
Kind regards,
Ian


On 6/6/07 3:06 pm, "Bennett Helm" <[EMAIL PROTECTED]> wrote:

> Unfortunately on Mac the examples directory is hidden within the
> LyX.app bundle (where it's normally invisible to the Finder and Save/
> Open dialogs). But you can find it within LyX by choosing File >
> Open, and then typing G, which will bring up a dialog
> asking you what folder to go to. Type in /Applications/LyX.app/
> Contents/Resources/examples, and you'll be there.
> 
> We should find a way to make this more accessible. I'm thinking about
> putting it in ~/Library/Application Support/LyX-1.5/examples/default.
> Any thoughts on that?
> 
> Bennett




Re: 1.5.0rc1 Mac PPC G3 typing lag

2007-06-06 Thread Anders Ekberg

Bennett Helm
Wed, 06 Jun 2007 06:06:49 -0700


On Jun 6, 2007, at 12:27 AM, Gerard Ateshian wrote:

I also found that the universal binary for 1.5rc1 runs slowly on  
Mac OS X PPC (I have a PowerBook G4, 1.67 GHz, 2 GB memory), so I  
compiled my own version and it runs just fine. If you want it, you  
can download it from http://bio7.mech.columbia.edu/~gerard/


I don't understand why this would be so: why cross-compiling PPC on  
my Intel Mac (as I did when making the universal binary) would make  
it so much slower than native compile. Does anyone have any ideas?

Bennett
Not really... The larger file size could perhaps have an influence,  
but this seems to happen also for machines with quite a lot of RAM.


Could it be due to QT? I guess you compiled it as a binary. Could it  
be that the optimisation in that case only gets done for one platform  
(i.e. Intel)?


/Anders




Re: 1.5.0rc1 Mac PPC G3 typing lag

2007-06-06 Thread Bennett Helm

On Jun 6, 2007, at 9:59 AM, Johannes Knaus wrote:

Well, I can confirm that Gerards PPC-Version runs just fine  
(flawlessly and speedy - no lags anymore) on my PPCs, while the  
universal binary just  behaves like driving through small city  
streets with a truck that can't brake ;-)


Thank you very much Gerard.


Gerard: What configure settings did you use?

Anders: Does Gerard's version perform the same as yours?

I'm trying to figure out if I did something wrong that is fixable on  
my end, or if we should use a natively built version for PPC.


Another question (for everyone): would it be preferable to produce a  
universal binary (assuming we can work out the performance problem),  
or would you prefer separate versions for Intel and PPC Macs?


Bennett


Re: Where is the example_lyxified.lyx file?

2007-06-06 Thread Bennett Helm

On Jun 6, 2007, at 9:40 AM, Ian C wrote:


Dear all,

Forgive this beginner's question. I am looking for the example file,
example_lyxified.lyx, referred to in the Lyx Tutorial. I quote:

"The example files can be found in the examples/ directory, which  
you can
get to by selecting FileOpen and then clicking on the Examples  
button. Open
the raw document, and use FileSaveAs to save a copy in your own  
directory
for you to work on. As you fix parts of the raw document, check to  
see how

those changes affect the dvi output."

Unfortunately I can find no Examples button - at least on the Mac  
version

1.5.0 rc1 (PPC). Nor is it clear from the text above where I should be
looking for the examples/ directory. I am using Lyx 1.5.0 rc1 on a Mac
PowerBook (G3 500MHz 256MB RAM Mac OS 10.3.9) with LiveTex.


Unfortunately on Mac the examples directory is hidden within the  
LyX.app bundle (where it's normally invisible to the Finder and Save/ 
Open dialogs). But you can find it within LyX by choosing File >  
Open, and then typing G, which will bring up a dialog  
asking you what folder to go to. Type in /Applications/LyX.app/ 
Contents/Resources/examples, and you'll be there.


We should find a way to make this more accessible. I'm thinking about  
putting it in ~/Library/Application Support/LyX-1.5/examples/default.  
Any thoughts on that?


Bennett


Re: 1.5.0rc1 Mac PPC G3 typing lag

2007-06-06 Thread Johannes Knaus
Well, I can confirm that Gerards PPC-Version runs just fine  
(flawlessly and speedy - no lags anymore) on my PPCs, while the  
universal binary just  behaves like driving through small city  
streets with a truck that can't brake ;-)


Thank you very much Gerard.

Johannes

Am 06.06.2007 um 15:05 schrieb Bennett Helm:


On Jun 6, 2007, at 12:27 AM, Gerard Ateshian wrote:

I also found that the universal binary for 1.5rc1 runs slowly on  
Mac OS X PPC (I have a PowerBook G4, 1.67 GHz, 2 GB memory), so I  
compiled my own version and it runs just fine.  If you want it,  
you can download it from http://bio7.mech.columbia.edu/~gerard/


I don't understand why this would be so: why cross-compiling PPC on  
my Intel Mac (as I did when making the universal binary) would make  
it so much slower than native compile. Does anyone have any ideas?


Bennett


--

Sometimes I lie awake at night, and ask, "Where have I gone wrong?"
Then a voice says to me, "This is going to take more than one  
night." (Charlie Brown)





Where is the example_lyxified.lyx file?

2007-06-06 Thread Ian C
Dear all,

Forgive this beginner's question. I am looking for the example file,
example_lyxified.lyx, referred to in the Lyx Tutorial. I quote:

"The example files can be found in the examples/ directory, which you can
get to by selecting FileOpen and then clicking on the Examples button. Open
the raw document, and use FileSaveAs to save a copy in your own directory
for you to work on. As you fix parts of the raw document, check to see how
those changes affect the dvi output."

Unfortunately I can find no Examples button - at least on the Mac version
1.5.0 rc1 (PPC). Nor is it clear from the text above where I should be
looking for the examples/ directory. I am using Lyx 1.5.0 rc1 on a Mac
PowerBook (G3 500MHz 256MB RAM Mac OS 10.3.9) with LiveTex.

Let me know if I need to provide more information.
Thanks,
Ian




marginal graphic

2007-06-06 Thread Trevor Nicholls
Hi

I would like to define a style/environment which is effectively a standard
paragraph indented by a certain amount, with a small graphic file in the
margin created by the indent. Apart from the text in the paragraph,
everything is fixed, i.e. the graphic is a specific 75x21px image and the
indent is 100px.

(If you haven't guessed already, this is one of these "take careful note"
paragraphs that crop up in operating manuals.)

There are several "nearly" structures in place already, e.g. I wondered if I
could persuade \marginpar to use a graphic instead of text? Or if I could
clone one of the list styles to use the desired graphic?

Has anybody achieved this kind of thing? How did you do it?

Thanks
T




Re: 1.5.0rc1 Mac PPC G3 typing lag

2007-06-06 Thread Bennett Helm

On Jun 6, 2007, at 12:27 AM, Gerard Ateshian wrote:

I also found that the universal binary for 1.5rc1 runs slowly on  
Mac OS X PPC (I have a PowerBook G4, 1.67 GHz, 2 GB memory), so I  
compiled my own version and it runs just fine.  If you want it, you  
can download it from http://bio7.mech.columbia.edu/~gerard/


I don't understand why this would be so: why cross-compiling PPC on  
my Intel Mac (as I did when making the universal binary) would make  
it so much slower than native compile. Does anyone have any ideas?


Bennett


Re: moving to linux...

2007-06-06 Thread Paul Smith

On 6/6/07, Vaclav Smidl <[EMAIL PROTECTED]> wrote:

> I have been using LyX on windows XP since a while now and i am trying
> to move to Linux. I have not tried to install LyX on Linux yet (I am
> sorry but i already know that it won't be easy, I already tried once
> with no success) but my question is different now.

On ubuntu it should be as easy as typing
$ apt-get install lyx
on the command line, or selecting lyx in synaptic and pressing apply button.
(assuming that you are connected to the internet)


>
> When I view my old documents (i.e. the pdf files generated by LyX on
> Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
> is related to the installed fonts.

can you be a little bit more specific? What exactly is bad?
1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5
2) you use some special fonts that are not embedded in the final pdf.


> maybe once I install LyX I will get
> it working as expected? please let me know if you have any
> suggestion...

Pdf's, by definition, should not depend on any LyX files.
Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a
minimal example of your pdf.


I think I understand the problem that Diego reports. The pdf viewers
in Linux are more accurate and if the fonts are not included in the
pdf file, the quality of the document on the screen looks not so god,
although on paper it looks perfect. If you are using the default LaTeX
font, then put the following line in the preamble of your LyX
document:

\usepackage{lmodern}

and your pdf files will look great on screen.

Paul


Re: moving to linux...

2007-06-06 Thread Vaclav Smidl
Hi,
>
> I have been using LyX on windows XP since a while now and i am trying
> to move to Linux. I have not tried to install LyX on Linux yet (I am
> sorry but i already know that it won't be easy, I already tried once
> with no success) but my question is different now.

On ubuntu it should be as easy as typing
$ apt-get install lyx
on the command line, or selecting lyx in synaptic and pressing apply button.
(assuming that you are connected to the internet)


>
> When I view my old documents (i.e. the pdf files generated by LyX on
> Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
> is related to the installed fonts. 

can you be a little bit more specific? What exactly is bad?
1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5
2) you use some special fonts that are not embedded in the final pdf. 


> maybe once I install LyX I will get 
> it working as expected? please let me know if you have any
> suggestion...

Pdf's, by definition, should not depend on any LyX files. 
Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a 
minimal example of your pdf.

Vasek


Re: \Resizebox in a float table

2007-06-06 Thread Christian Liesen
I¨ve updated the sample file here: http://wiki.lyx.org/LyX/Tables#toc17, 
it shows you how it's done.


Regards,
-- Christian


Valter Filipe Silva wrote:

Hello,


To have a \resizebox command in a flot table is necessary to make the 
implement the \begin{table}, the \end{table}, caption, etc in ERT.

It that correct? Or, i'm doing something wrong?
Thanks in advance
Regards

Valter





Re: Explanations with equations?

2007-06-06 Thread Julio Rojas

Nope, you're right Enrico. Steve only wants to achieve the task at hand with
as little ERT as possible.

On 6/6/07, Enrico Forestieri <[EMAIL PROTECTED]> wrote:


Julio Rojas writes:

> He knows that Enrico, it's only that, when you're writing a book, it's a
> little cumbersome to do it with LaTeX all the time.

I think I was also suggesting how to get that layout in LyX, or am I
missing
something here?

--
Enrico





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Explanations with equations?

2007-06-06 Thread Enrico Forestieri
Julio Rojas writes:

> He knows that Enrico, it's only that, when you're writing a book, it's a
> little cumbersome to do it with LaTeX all the time.

I think I was also suggesting how to get that layout in LyX, or am I missing
something here?

-- 
Enrico



Re: WANTED: users of Right-To-Left languages who want proper support in LyX 1.5

2007-06-06 Thread Miki Dovrat
Hi,

Dov,

I don't understand why you would need to keep the logical behavior.
In my opinion it is just bad, but we have all gotten used to it so it feels 
familiar.

I will join the devel thread as Stefan requested.

Miki

"Dov Feldstern" <[EMAIL PROTECTED]> wrote 
in message news:[EMAIL PROTECTED]
> Miki Dovrat wrote:
>> Hi,
>>
>> I already replied Stefan off list, but I will post this again so anyone 
>> can
>> comment.
>>
>> The brain (at least mine) does not like movement to the opposite side. 
>> When
>> you press the left arrow, you expect the cursor to move to the left. Try
>> riding a bike with the hands crossed, wear a helmet!!!
>>
>> So I think the visual movement is the most convenient and intuitive.
>>
>> Microsoft Word is an example of how NOT to do it. It does not change the 
>> RTL
>> or LTR mode except by an explicit request by the user (ALT-SHIFT), and 
>> even
>> as you cruise into a RTL part, and you want to add a letter, if you were
>> writing English before, the added letter will be English. And the cursor
>> movement is to the opposite side (it jumps to the end of the RTL, and 
>> goes
>> backwards in opposite of the arrow key).
>>
>> As far as getting used to logical movement, you can get used to anything,
>> but it is easier to get used to good things. Nobody complains about Word
>> since the Israeli market is small and big companies always do us (the 
>> Hebrew
>> users) a "favor" by thinking about us at all, so we accept whatever is 
>> given
>> us.
>>
>> I would like lyx to be a little smarter, and to change its RTL or LTR 
>> mode
>> by itself as you move across already written text. When you point at a 
>> word,
>> the most COMMON intention is to add letter or fix spelling or continue
>> writing, so lyx should already put you in the right language (it doesn't 
>> do
>> so now). If you want the opposite language, I think you should ask for it
>> explicitly once you are in place.
>>
>> Thanks for the interest.
>>
>> Miki
>>
>>
>> "Stefan Schimanski" <[EMAIL PROTECTED]> wrote 
>> in
>> message 
>> news:[EMAIL PROTECTED]
>>
>>
>>
>>
>
> Hi all!
>
> Instead of replying individually to all the messages on this subject,
> I'll try to sum up my responses here.
>
> First of all, just for the record --- as Miki pointed out, I *am* an RTL
> user ;) . I also have a lot of experience with Bidi editing in LyX. It's
> just that this issue is particularly thorny --- because what I consider
> to be the correct solution (the one that does not impose limits on the
> user) is 99.9% of the time *not* what the user meant (I'll explain below).
>
> -
>
> But first: a side issue which has been raised in this thread is that of
> "visual movement".
>
> A feature request for this already appears in bugzilla
> (http://bugzilla.lyx.org/show_bug.cgi?id=3577). Note, however, that this
> should *not* replace logical mode, but rather be an option for the user
> to choose which she prefers.
>
> Regarding implementation of visual mode:
>
> *) I agree 100% with Miki above about how it should work: the current
> language should be determined by the current font, *not* by remembering
> what the last font was.
>
> *) The basic idea for implementing visual mode is dead simple: pressing
> RIGHT in LTR paragraphs (LEFT in RTL) should move to position
> vis2log(log2vis(pos)+1), and the opposite is with -1. (vis2log and
> log2vis are in Bidi.cpp. In this case, Stefan, I think you're going to
> *have* to use them, I don't see any way around it).
> But there are a lot of details to work out: there may still be issues of
> boundary, I'm not sure; there also may be some logic needed in order to
> make the transitions between paragraphs behave correctly (e.g., I'm in
> an LTR paragraph moving RIGHT. When I reach the end of the paragraph,
> pressing RIGHT again should move me to the *end* of the first line in
> the next paragraph if it's RTL. I'm not sure if this is already covered
> by vis2log or not.); math insets would have to be adjusted separately, I
> think. But basically that's it. But I think it'll take a little work to
> work out the kinks.
>
> I'm attaching a patch which just demonstrates the feasibility of this
> approach. It crashes all over (or shall I say: left and right?) --- I
> don't deal with any edge (no pun intended) case whatever. But if you
> type in some mixed English--Hebrew text on a single line, with the mouse
> move the cursor somewhere that's not at an edge, then you can move
> around visually as long as you stay away from the edge. But the problem,
> of course, is working out all the details...
>
> In the meantime, we have tried to make cursor movement in bidi documents
> behave a little more predictably:
>
> In an LTR paragraph, RIGHT moves forward (logically) --- both in RTL and
> in LTR texts (so in RTL it's moving opposite to the arrow, yes) --- and
> LEFT backwards. And the reverse for RTL paragraphs. Insets (e.g.,
> footnote) within a paragraph also follow this

\Resizebox in a float table

2007-06-06 Thread Valter Filipe Silva

Hello,


To have a \resizebox command in a flot table is necessary to make the 
implement the \begin{table}, the \end{table}, caption, etc in ERT.

It that correct? Or, i'm doing something wrong?
Thanks in advance
Regards

Valter

--
-
Valter Filipe Silva
[EMAIL PROTECTED]

Departamento de Electrónica e Telecomunicações
Escola Superior de Tecnologia e Gestão de Águeda
Universidade de Aveiro
3810-193 Aveiro



Re: [announce] LyXWinInstaller for LyX 1.5rc1-31-05-2007

2007-06-06 Thread Uwe Stöhr

Uwe Stöhr schrieb:


I uploaded an installer for LyX 1.5rc1:
http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=12890 


I accidentally uploaded there the installer for LyX 1.5beta3, the correct 
installer can be found here:

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

Sorry for the inconvenience.

regards Uwe


moving to linux...

2007-06-06 Thread Ares

Hi all,

I have been using LyX on windows XP since a while now and i am trying
to move to Linux. I have not tried to install LyX on Linux yet (I am
sorry but i already know that it won't be easy, I already tried once
with no success) but my question is different now.

When I view my old documents (i.e. the pdf files generated by LyX on
Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
is related to the installed fonts. maybe once I install LyX I will get
it working as expected? please let me know if you have any
suggestion...

--
Diego
http://www.ares001.altervista.org/


Re: Merging lyx documents (can version tracking be abbused for this)

2007-06-06 Thread Helge Hafting

[EMAIL PROTECTED] wrote:

I have an imported tex->lyx document that I changed and now the original (tex)
was also changed by the original author
What is the best (or easiest) way to merge these changes?
AFAIK gui diff programs are sensitive to line breaks and will probably get
things wrong. Is it possible to abbuse the lyx change tracking mechanism
somehow to do this? (can it be used to merge changes done on a different copy
of the document instead of just on the current one?)
  

The change tracking does not really help you with the editing operations.

It merely shows what were added or deleted and by who. Which can be
useful as it is - it is much easier to find the (few) changes made
in a big text in order to review them.

I don't think the change tracking can reduce the amount of work
in such a merging.  It may be helpful used like this though:

* Import the changed latex file into a new lyx document.
* Turn change tracking on in the old document you have edited.
* copy+paste the entire new document into the old one.
  Perhaps one big copy, or perhaps section by section so that
  each seaction appear twice - new and old.

You now have a document where everything is listed twice,
except where there are differences.  And all the stuff
done by the other author is marked as "inserted" with LyX
changetracking.  You can now work to eliminate all the marked
stuff in order to do the merge:
* Where no difference exist - just delete the extra paragraph - obvious.
* Where difference exist, either:
 - delete the new
 - delete your stuff, accept the new section so it is no longer
  marked as changed.
 - rewrite/manual merge sentence by sentence.  Accept all your
   own changes immediately, of course.

This won't save any editing work over not using changetracking.
What it will do, is to give you an easy way to find remaining work,
as you can always just go to the "next change" using the changetracking
toolbar/menu.  This way, there will be no forgotten double pieces
in the middle - you will never have to search for unfinished work.

To really save work here, learn to use the changetracking feature.
Then show your coworker LyX, perhaps he'll be impressed enough
to use it - you can then pass LyX documents back and forth
using changetracking. LyX will not prevent him from using LaTeX,
he may still apply all tricks he knows using ERT.

Helge Hafting


Re: WANTED: users of Right-To-Left languages who want proper support in LyX 1.5

2007-06-06 Thread Georg Baum
Dov Feldstern wrote:

> Back to RTL spaces:
> 
> The problem is this: almost always, the user just wanted a space between
> the previous word (which happened to be, say English) and the next one
> (which happens to be Hebrew), but by mistake pressed F12 before space
> and not first space and only then F12. In fact, I can't think of *any*
> case in which it is important to the user for it to be any other way.
> 
> However, I still think that it is more correct for us to pay attention
> to the language of spaces. If we don't, then there are things which I
> *would* like to be able to typeset, but won't be able to (see example
> below).
> 
> After thinking about this a lot, this is the solution I would like to
> see (I think it's similar to Georg's views, if I understood him
> correctly):

Yes, you did. I can't really tell how spaces should behave when inserting,
because I don't use RTL, but as long as all magic (if any magic is used at
all) only happens during/after inserting the space and not anywhere else
(drawing or export) I think the resulting code will be maintainable.
If you apply magic at different places then you will get a nightmare that
nobody understands in a few months anymore.


Georg



Re: WANTED: users of Right-To-Left languages who want proper support in LyX 1.5

2007-06-06 Thread Stefan Schimanski
Now we have two threads in lyx-users and lyx-devels. Miki, are you on  
lyx-devels as well? Then we can continue there with the discussion.


Stefan

Am 05.06.2007 um 18:11 schrieb Miki Dovrat:


Hi,

I am having trouble following your examples, but my opinion is that  
no MAGIC

should happen.
Spaces jumping from side to side or characters at the end of a RTL  
jumping
to the beginning and such are so annoying!!! The user can never  
tell where

he/she is as far as LTR or RTL is concerned.

My opinion is that the spaces should be silently joined by latex or  
lyx, and
that the user doesn't really care if the space itself is RTL or  
LTR. This
will be the most clear to use, and will enable pointing to a place  
with a
mouse or reaching it with the cursor, and knowing exactly "where"  
you are
and what will happen. This will be good even in adding equations in  
between
RTL and LTR (which tended to jump to one side only because of the  
"magic")


The cursor should go smoothly, i.e. if you are moving to the right  
across
from a LTR to a RTL, the cursor should continue smoothly and not  
jump to the
beginning of the RTL (on the opposite) and start moving left, and  
then jump
back again to the beginning of the RTL and continue to go left on  
the LTR.
As far as RTL is concerned, this would mean moving from end to  
start, but it
is in my opinion the most intuitive. Otherwise you have the cursor  
going one
way when you type the opposite arrow. Some word processors behave  
like that,

and I don't like to use them :).

I will be willing to compile and test.

I thought Dov knows Hebrew :).

Miki


"Stefan Schimanski" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]

Hi!

Myself and Dov Feldstern are working on the support for Right-To-Left
languages in LyX. In the latest RC1 there are many things which are
not the way they should be. As we are not using Right-To-Left ourself
we lack a bit the experience how it should look like and what is most
convenient.

To get it right WE ARE LOOKING FOR:

  PEOPLE USING RTL languages and who are able and WILLING TO TRY OUT
PATCHES
  against the subversion code and to compile it.

You don't have to be a developer, just user of a RTL language who
wants to have LyX 1.5 to behave the right way (tm).

One decision which is open and must be settled:

THE SPACE ISSUE
===

What we are investigating right now is the handling of spaces on the
boundary of RTL and LTR text. Take a look at the picture. The blue
underline marks the character which have a RTL font. So the picture
shows the four cases possible.





-- 
--






There are several possibilities now to interpret the underlined
spaces (short RTL spaces):

* The LyX 1.3 magic way: the RTL spaces behave in fact like LTR
spaces, i.e. they are put where non-underlined spaces would be. See
this example:

  - In "english WERBEH_english" the _ is in fact behind the W
So in Latex you would write "english\R{HEBREW } english"

The consequence is that the cursor strangely (IMO) jumps from behind
the W to the right in the moment you enter the space. If you have
used LyX 1.3 you might be familiar with this behavior:

  "english |WERBEHenglish" ==> "english WERBEH_|english"

If you continue now typing a character the cursor (and the space)
jumps back:

  "english WERBEH_|" ==> "english |H_WERBEHenglish" ==>
  "english H_WERBEH_|english"

* The non-magic way: the spaces are no special characters. They stay
at the position you type them. See this example:

  "english |WERBEHenglish" ==> "english |_WERBEHenglish" ==>
  "english |H_WERBEHenglish"

If you change back to English and continue typing the cursor will go
to the right, i.e.:

  ==> "english H_WERBEH|english" ==> "english H_WERBEH |english"

In Latex you would type the same:

  "english \R{HEBREW H} english"

Of course two spaces, one inside the RTL, one outside, are merged
silently by Latex,
i.e. "english \R{HEBREW }" will look the same as "english \R 
{HEBREW}".


If you have an opinion, please tell us.

Thanks
  Stefan Schimanski








PGP.sig
Description: Signierter Teil der Nachricht


Re: pdflatex postscript handling

2007-06-06 Thread Vaclav Smidl
Hi,
>
> When pdflatex converts *.eps files to pdf I get errors that these figures
> can't be converted and are not shown in the final pdf.  When  .ps files get
> converted, their boundingboxes are ignored so figures are not displayed
> properly.

This is a sign of corrupted eps files.
Missing bounding boxes can be restored by program called "ps2eps", 
http://www.tm.uka.de/~bless/ps2eps

After correcting your eps, you can try to push them through epstopdf again.

Hope this helps, 
Vasek



Re: Explanations with equations?

2007-06-06 Thread Julio Rojas

He knows that Enrico, it's only that, when you're writing a book, it's a
little cumbersome to do it with LaTeX all the time.

On 6/6/07, Enrico Forestieri <[EMAIL PROTECTED]> wrote:


Steve Litt writes:

> =
> \documentclass[12pt]{amsbook}
> \newcommand{\cn}[1]{\texttt{\char92 #1}}
>
> \begin{document}
> \begin{align*}
> x&=5y+3z+221a+43621&&\qquad\text{hellox}\\
> 436x+227y+488z+221& = a&&\qquad\text{Steve was here}\\
> a&=b&&\qquad\text{boingo}
> \end{align*}
>
> \end{document}
> =
>
> OK, so I have it solved on a LaTeX level, but now I have to put it into
the
> LyX level in such a way that my equations and explanations show up
reasonably
> in LyX without the use of ERT.

Copy and paste as text in your LyX document everything between (and
including)
\begin{align*} and \end{align*}. Now select everything you pasted and then
hit Ctrl-m.

In LyX you get the align* environment through Insert>Math>AMS align
Environment
and you add more row/columns through Edit>Row&Columns.

HTH

--
Enrico





--
-
Julio Rojas
[EMAIL PROTECTED]