Re: Unable to import LaTeX files in LyX 1.5.3

2008-01-22 Thread Andreas K .
Paul A. Rubin [EMAIL PROTECTED] writes:

 I grabbed the file from the bug report that you said 1.4.4 could import
 but 1.5.3 could not.  On my box (LyX 1.5.3, XP Home), I can import it
 (using File - Import - LaTeX (plain).  I get a bunch of warnings about
 unrecognized commands and such (presumably because I'm not designating a
 document class), but I do not get the something went wrong error you
 encountered.
 
 I repeated the conversion from the command prompt and captured the 
 output from the error stream.  Again, it produced a loadable (if not 
 necessarily correct) LyX file.
 
 /Paul


Then I guess that it maybe has something with my computers configuration to 
do. This is my work computer, and I do not have administrator rights on it, 
but some limited rights. For example, I can install and uninstall some 
software, but not all. Could it be the cause of the problem?

What should I do to get a more detailed error report form LyX?

Andreas






Re: what is this: \usepackage[latin9]{inputenc} and why does TexLive hate it?

2008-01-22 Thread Helge Hafting

Paul A. Rubin wrote:


The problem is all those darned foreigners with their accented 
characters and Cyrillic/kanji/whatever symbols.  (Note that I'm 
including Mac users as foreigners, since the inputenc package 
supposedly addresses them as well).  When I was younger, everyone used 
ASCII and damn well liked it.  (Well, there was EBCDIC I suppose.)

We 'darned' always extended ASCII in various ways, because it was always
insufficient. For a clear idea of the problem: Try removing three vowels 
from

ASCII, and then try writing anything serious at all. You can't. :-)

More or less cumbersome workarounds have been in use since they started 
replacing

mechanical typewriters with word processing. Because you can't write
a decent business letter with just ascii.

Now, UTF-8 will probably put an end to the mess for good.

Helge Hafting


Re: left justify floats?

2008-01-22 Thread Helge Hafting

Les Denham wrote:

On Thursday 17 January 2008 06:07, Helge Hafting wrote:
  

I was hoping for a preference setting that allows printing
via pdflatex instead of the usual way, because that
is necessary for using microtype. But lyx currently doesn't
support microtype directly so there is no need. . .



Helge,

So what? Microtype is only used to improve the final output; Lyx is only 
concerned with the on-screen user interface.
  

Lyx provides a user interface. Part of that job is to schedule
(pdf)latex runs (with all kinds of support, like makeindex and friends)
whenever some final output is needed.

The LyX user interface could also be extended with a use microtype
checkbox, but I see this as a logical next step as this will _need_
to print using pdflatex.
Couldn't the user replace the dvips used as the printer command with a short 
script to run pdflatex to a temporary file, run pdf2ps on the temporary file, 
then send the output to the printer?

Too cumbersome. The current way is export-pdf(pdflatex), then
print the temporary pdf file using the OS user interfaces.

Your way has some problems:
1) replacing dvips means lyx already wasted time making a throwaway dvi
2) where is the .tex file?
3) Last but not least - the exported .tex is set up for latex, not pdflatex.
   So pdflatex will break if there are figures.

Ability to use microtype is not the only advantage, pdflatex
is also faster than other ways of getting
output to the printer.

Now, LyX already knows how to do a pdflatex run with figures and
everything. So a print using pdflatex preference is a small
job - so small I could do it myself. But the idea was rejected.

Helge Hafting






Re: pdfLaTeX 'not responding'

2008-01-22 Thread Paul A. Rubin

Joel Pedro wrote:
Thanks for the advice Paul. 
I am using MiKTeX. I tried running pdflatex from DOS prompt. This works ok - 
much faster than with LyX. I dont get any useful diagnostic. Does this suggest

the problem is with LyX? How do I determine if font generation is hosted on my
machine?


Sorry, that was hosed (American slang for broken) rather than 
hosted.  I need to watch my vernacular.  :-)


If pdflatex at the DOS prompt ran at what you would consider to be 
normal or acceptable speed, and did not produce any diagnostics, then 
font generation is not the culprit.  A quick test would be to retry the 
same document in LyX after successfully generating and view the PDF file 
from DOS.  Once the necessary fonts are generated, they are stored on 
your hard drive, and there is no need to generate them again.  So if 
font generation were an issue, previewing PDF (or DVI) from LyX would be 
fine once you had done it outside LyX.  My guess is that is not the problem.


You would seem to have enough RAM (more than I have; I'm jealous), but 
it's always possible that enough other junk is being loaded to make you 
RAM-tight.  When you preview from LyX and it takes a long time, is the 
hard drive thrashing (cycling continuously)?  That could be an 
indication that you are short of RAM and doing a lot of page-swapping.


Another possibility would be that there is a problem with where LyX is 
writing temporary files.  Tools - Preferences - Paths - Temporary 
directory will tell you where LyX is putting the temporary files.  Is it 
on your main hard drive, or is it perhaps set to use a network drive? 
If it's on your machine, does the partition containing that directory 
have a reasonable amount of free space?  (I think this is a stretch, but 
one difference between your running pdflatex at a DOS prompt and LyX 
running it is where the files are placed.)


One last thing that comes to mind:  Is MiKTeX the only LaTeX 
distribution on your machine?  In particular, do you have Cygwin 
installed?  I once had a problem on a machine that had Cygwin:  I 
installed MiKTeX without realizing that Cygwin came with its own version 
of latex, which was ahead of MiKTeX on the command path.  If you run 
'pdflatex --version' from a DOS prompt, does it identify itself as 
MiKTeX-pdfTeX?


/Paul



Re: left justify floats?

2008-01-22 Thread G. Milde
On 22.01.08, Helge Hafting wrote:
 Les Denham wrote:
 On Thursday 17 January 2008 06:07, Helge Hafting wrote:

 I was hoping for a preference setting that allows printing
 via pdflatex instead of the usual way, because that
 is necessary for using microtype. 

On my system, LyX uses pdflatex also for dvi generation, so I can use
the margin kerning feature of microtype by just inserting 
\usepackage{microtype} in my latex preamble.

Font expansion is disabled for dvi but IMO this is a less imortant (and even
controversial) aspect of micro-typography.

 So what? Microtype is only used to improve the final output; Lyx is only 
 concerned with the on-screen user interface.

Sorry but in this case we should get rid of the papersettings and margins
as well, as they are only needed in the final output ...


 The LyX user interface could also be extended with a use microtype
 checkbox, but I see this as a logical next step as this will _need_
 to print using pdflatex.

Only if you insist on font expansion.

...
 Ability to use microtype is not the only advantage, pdflatex is also
 faster than other ways of getting output to the printer.

Personally, I cannot use PDF (pdflatex) as I rely on psfrag
replacements in plots. OTOH, as I like to see a preview of the document
before printing, I have no problem with ViewPDF(pdflatex) and printing
from xpdf.

 Now, LyX already knows how to do a pdflatex run with figures and
 everything. So a print using pdflatex preference is a small
 job - so small I could do it myself. But the idea was rejected.

Maybe one could define a dummy format like PDFprint and a
conversion PDF (pdflatex) - PDFprint (with command `lpr ...`) to have
PDFprint as an export option?

GM


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Ben Blamey


Never used Notepad++ but I would suggest vim diff. I guess its similar.

For many files, perhaps use the diff program instead, either on the lyx 
files themselves, or a text export of them, which if you could easily 
get from lyx with an AutoIT script (for windows).


Ben



Ken wrote:

Hi all,

Is there an easy way to compare the changes or differences between two
LyX documents?

The only method I can think of is to use Notepad++ to view the
differences.  If you have any other/better suggestions I would be
grateful if you would please share them.

Kind regards,
Ken


Wishlist: search and spell-check in a sidebar

2008-01-22 Thread muzzle
Hello,
I've been lurking in the ml for a while. I remember a wishlist bug in
bugzilla on moving the search/substitute/spellc-heck pop-up window to
a sidebar like the one most document editor (viewer) have. This to
avoid the extremely annoying problem of moving the window every time
the highlighted text fall below it.
Now that Lyx has a sidebar to host the TOC some of the code should
already be in place. Any hope to see the wish come true in Lyx 6?
Goodbye, and thanks a lot for your wonderful program,

Emme


Compare Changes/Differences between LyX Documents

2008-01-22 Thread Ken
Hi all,

Is there an easy way to compare the changes or differences between two
LyX documents?

The only method I can think of is to use Notepad++ to view the
differences.  If you have any other/better suggestions I would be
grateful if you would please share them.

Kind regards,
Ken


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Paul Johnson
On Jan 22, 2008 11:59 AM, Ken [EMAIL PROTECTED] wrote:
 Hi all,

 Is there an easy way to compare the changes or differences between two
 LyX documents?


Open both files in Emacs.  Then choose tools/compare and you get an
awesome point by point display of differences (output from diff, I
think, but translated into a nice format).

pj


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Bo Peng
  Is there an easy way to compare the changes or differences between two
  LyX documents?

You can file a feature request (someone else might have done it) to
compare two documents and produce a document with revision markers. I
have occasionally though of this feature but there seems to be no easy
implementation.

Cheers,
Bo


Re: Moving graphics from R into LyX - best format?

2008-01-22 Thread Paul Johnson
On Jan 13, 2008 3:13 PM, David Hewitt [EMAIL PROTECTED] wrote:

 I produce most of my statistical graphics in R and move them into LyX floats.
 I've been exporting them as JPGs from R. Is there a better format that plays
 well with LyX/LaTeX? Any suggestions are appreciated.

 -


If you want EPS output in R, be aware that you need to use some special options.
I tried to explain it all here for my students:
http://pj.freefaculty.org/R/Rtips.html#5.2

Don't forget the onefile=F option, or else you don't get EPS, you just
get ps with no preview.

Also, seriously consider getting into the habit of creating a screen
display device that is the correct size (in inches) for insertion into
your latex document.  That way, there will be no danger of damage due
to re-sizing when you take the figure into the document.

HTH
pj


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: [OT] Best KDE-centric Distribution?

2008-01-22 Thread Paul Johnson
On Jan 14, 2008 11:18 AM, rgheck [EMAIL PROTECTED] wrote:

 I've been using Fedora ever since I started using Linux, but the
 second-rate status of KDE under Fedora is starting to get to me, so I'm
 thinking about switching. But then: to what? I don't think Kubuntu is
 for me. Gentoo would be an option, but then I'm not sure I want to be
 quite that bleeding-edge. So, the question: What?

 Richard


I've been running KDE under Fedora using the special, more up-to-date
KDE rpms from the kde-redhat repo.  Seems better to me.
$ cat /etc/yum.repos.d/kde.repo

# kde.repo, v2.0

[kde]
name=kde
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/mirrors-stable
gpgkey=http://apt.kde-redhat.org/apt/kde-redhat/kde-redhat.RPM-GPG-KEY
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kde-redhat
enabled=1

[kde-all]
name=kde-all
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/all/stable/mirrors
gpgkey=http://apt.kde-redhat.org/apt/kde-redhat/kde-redhat.RPM-GPG-KEY
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kde-redhat
enabled=1

For more information, and the full repo info,

http://kde-redhat.sourceforge.net/

I don't run the kde-4 yet because it is still in their testing, but if
you are a gambler, I'd say go for it!


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


easiest way to type accents, graves, and other interesting letters

2008-01-22 Thread Paul Johnson
I've seen people asking for a simple way to enter accents and graves,
and the discussion here goes off into a configuration of the keyboard
and the X server.  I think you are misleading people a little bit.

I'm here to remind users that reconfiguring to use COMPOSE is
unnecessary, at least if you don't need to enter special symbols very
frequently.  I need accents only occasionally, and I often forget how
this is done.  I learned this trick from a docuement that was called
Lyx Programmer's Guide (or similar name) that was, apparently, never
officially published with LyX.  I can't find it today.  But, while
googling, I've noticed the easy way is explained in the LyX wiki in
the bottom of this page:

http://wiki.lyx.org/LyX/LyxFunctions

To see an example, just open lyx and hit alt-x and it opens a small
function bar at the bottom of the LyX display.  In there, one can type
commands.  To test, type

accent-acute a

when you hit enter, you should see the character you want in the text.

Honestly, I don't think we should encourage users to try for the
compose key solution before we point out this much simpler way to get
accents and other symbols for nonEnglish language documents.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Juergen Spitzmueller
Ken wrote:

 Is there an easy way to compare the changes or differences between two
 LyX documents?

http://www.cs.bgu.ac.il/~dekelts/ldiff/

Jürgen



Re: Wishlist: search and spell-check in a sidebar

2008-01-22 Thread christian . ridderstrom

On Tue, 22 Jan 2008, muzzle wrote:

Hello, I've been lurking in the ml for a while. I remember a wishlist 
bug in bugzilla on moving the search/substitute/spellc-heck pop-up 
window to a sidebar like the one most document editor (viewer) have. 
This to avoid the extremely annoying problem of moving the window every 
time the highlighted text fall below it. Now that Lyx has a sidebar to 
host the TOC some of the code should already be in place. Any hope to 
see the wish come true in Lyx 6? Goodbye, and thanks a lot for your 
wonderful program,


Hi Emme,

I agree it's annoying with a search window on top sometimes, but OTOH I'm 
not always fond of losing space on the side. Having said that, I think you 
should file a bugzilla request for a feature enhancement!


Regards,
Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Bo Peng
On Jan 22, 2008 1:44 PM, Juergen Spitzmueller [EMAIL PROTECTED] wrote:
 Ken wrote:

  Is there an easy way to compare the changes or differences between two
  LyX documents?

 http://www.cs.bgu.ac.il/~dekelts/ldiff/

Quite interesting, do you see any hope of integrating this to lyx?

Bo


Re: Moving graphics from R into LyX - best format?

2008-01-22 Thread Pavel Sanda
  I produce most of my statistical graphics in R and move them into LyX 
  floats.
  I've been exporting them as JPGs from R. Is there a better format that plays
  well with LyX/LaTeX? Any suggestions are appreciated.
 
  -
 
 
 If you want EPS output in R, be aware that you need to use some special 
 options.
 I tried to explain it all here for my students:
 http://pj.freefaculty.org/R/Rtips.html#5.2

there is also another way - when i finally became frustrated with figure output
of R i just created few scripts which take text output from R output (sink 
command)
and give it to gnuplot for final postscript picture.

pavel


Re: Moving graphics from R into LyX - best format?

2008-01-22 Thread Liviu Andronic
Hello David,

You might be interested in using Sweave. There, you only need to write
the code. No export - import. Recent threads on Sweave contain all the
pertinent information. Basically, you need to use the noweb class,
tweak the preferences file (specify the converters specific to R) and
write the code chunks in ERT, something similar to:
echo=T=
2+2
@

Check this link for interesting demos [1]. They are not done in LyX,
but the essentials stay the same.

Liviu

[1] http://www.stat.umn.edu/~charlie/Sweave/


On 1/13/08, David Hewitt [EMAIL PROTECTED] wrote:
 I produce most of my statistical graphics in R and move them into LyX floats.
 I've been exporting them as JPGs from R. Is there a better format that plays
 well with LyX/LaTeX? Any suggestions are appreciated.


Re: easiest way to type accents, graves, and other interesting letters

2008-01-22 Thread rgheck

Paul Johnson wrote:

I've seen people asking for a simple way to enter accents and graves,
and the discussion here goes off into a configuration of the keyboard
and the X server.  I think you are misleading people a little bit.

I'm here to remind users that reconfiguring to use COMPOSE is
unnecessary, at least if you don't need to enter special symbols very
frequently.  I need accents only occasionally, and I often forget how
this is done.  I learned this trick from a docuement that was called
Lyx Programmer's Guide (or similar name) that was, apparently, never
officially published with LyX.  I can't find it today.  But, while
googling, I've noticed the easy way is explained in the LyX wiki in
the bottom of this page:

http://wiki.lyx.org/LyX/LyxFunctions

To see an example, just open lyx and hit alt-x and it opens a small
function bar at the bottom of the LyX display.  In there, one can type
commands.  To test, type

accent-acute a

when you hit enter, you should see the character you want in the text.

  
And note too that you can bind this to a key easily enough. I think 
maybe Ctrl-' would be the obvious binding, if it's available.


Richard



Re: easiest way to type accents, graves, and other interesting letters

2008-01-22 Thread rgheck


\bind C-apostrophe accent-acute
\bind C-S-quotedbl accent-umlaut

Note that, to get these to work, you may also need to change some 
earlier bindings. In cua.bind, I had to change:

\bind ~S-M-quotedbl quote-insert single
\bind ~S-C-quotedbl self-insert \
to
\bind M-quotedblquote-insert single
\bind C-quotedblself-insert \
The ~S means: Ignore the state of the shift key.

By the way, developers: Shouldn't the later declaration have overridden 
the earlier one? That would be more intuitive.


Richard




Re: Unable to import LaTeX files in LyX 1.5.3

2008-01-22 Thread Andreas K .
Paul A. Rubin [EMAIL PROTECTED] writes:

 I grabbed the file from the bug report that you said 1.4.4 could import
 but 1.5.3 could not.  On my box (LyX 1.5.3, XP Home), I can import it
 (using File - Import - LaTeX (plain).  I get a bunch of warnings about
 unrecognized commands and such (presumably because I'm not designating a
 document class), but I do not get the something went wrong error you
 encountered.
 
 I repeated the conversion from the command prompt and captured the 
 output from the error stream.  Again, it produced a loadable (if not 
 necessarily correct) LyX file.
 
 /Paul


Then I guess that it maybe has something with my computers configuration to 
do. This is my work computer, and I do not have administrator rights on it, 
but some limited rights. For example, I can install and uninstall some 
software, but not all. Could it be the cause of the problem?

What should I do to get a more detailed error report form LyX?

Andreas






Re: what is this: \usepackage[latin9]{inputenc} and why does TexLive hate it?

2008-01-22 Thread Helge Hafting

Paul A. Rubin wrote:


The problem is all those darned foreigners with their accented 
characters and Cyrillic/kanji/whatever symbols.  (Note that I'm 
including Mac users as foreigners, since the inputenc package 
supposedly addresses them as well).  When I was younger, everyone used 
ASCII and damn well liked it.  (Well, there was EBCDIC I suppose.)

We 'darned' always extended ASCII in various ways, because it was always
insufficient. For a clear idea of the problem: Try removing three vowels 
from

ASCII, and then try writing anything serious at all. You can't. :-)

More or less cumbersome workarounds have been in use since they started 
replacing

mechanical typewriters with word processing. Because you can't write
a decent business letter with just ascii.

Now, UTF-8 will probably put an end to the mess for good.

Helge Hafting


Re: left justify floats?

2008-01-22 Thread Helge Hafting

Les Denham wrote:

On Thursday 17 January 2008 06:07, Helge Hafting wrote:
  

I was hoping for a preference setting that allows printing
via pdflatex instead of the usual way, because that
is necessary for using microtype. But lyx currently doesn't
support microtype directly so there is no need. . .



Helge,

So what? Microtype is only used to improve the final output; Lyx is only 
concerned with the on-screen user interface.
  

Lyx provides a user interface. Part of that job is to schedule
(pdf)latex runs (with all kinds of support, like makeindex and friends)
whenever some final output is needed.

The LyX user interface could also be extended with a use microtype
checkbox, but I see this as a logical next step as this will _need_
to print using pdflatex.
Couldn't the user replace the dvips used as the printer command with a short 
script to run pdflatex to a temporary file, run pdf2ps on the temporary file, 
then send the output to the printer?

Too cumbersome. The current way is export-pdf(pdflatex), then
print the temporary pdf file using the OS user interfaces.

Your way has some problems:
1) replacing dvips means lyx already wasted time making a throwaway dvi
2) where is the .tex file?
3) Last but not least - the exported .tex is set up for latex, not pdflatex.
   So pdflatex will break if there are figures.

Ability to use microtype is not the only advantage, pdflatex
is also faster than other ways of getting
output to the printer.

Now, LyX already knows how to do a pdflatex run with figures and
everything. So a print using pdflatex preference is a small
job - so small I could do it myself. But the idea was rejected.

Helge Hafting






Re: pdfLaTeX 'not responding'

2008-01-22 Thread Paul A. Rubin

Joel Pedro wrote:
Thanks for the advice Paul. 
I am using MiKTeX. I tried running pdflatex from DOS prompt. This works ok - 
much faster than with LyX. I dont get any useful diagnostic. Does this suggest

the problem is with LyX? How do I determine if font generation is hosted on my
machine?


Sorry, that was hosed (American slang for broken) rather than 
hosted.  I need to watch my vernacular.  :-)


If pdflatex at the DOS prompt ran at what you would consider to be 
normal or acceptable speed, and did not produce any diagnostics, then 
font generation is not the culprit.  A quick test would be to retry the 
same document in LyX after successfully generating and view the PDF file 
from DOS.  Once the necessary fonts are generated, they are stored on 
your hard drive, and there is no need to generate them again.  So if 
font generation were an issue, previewing PDF (or DVI) from LyX would be 
fine once you had done it outside LyX.  My guess is that is not the problem.


You would seem to have enough RAM (more than I have; I'm jealous), but 
it's always possible that enough other junk is being loaded to make you 
RAM-tight.  When you preview from LyX and it takes a long time, is the 
hard drive thrashing (cycling continuously)?  That could be an 
indication that you are short of RAM and doing a lot of page-swapping.


Another possibility would be that there is a problem with where LyX is 
writing temporary files.  Tools - Preferences - Paths - Temporary 
directory will tell you where LyX is putting the temporary files.  Is it 
on your main hard drive, or is it perhaps set to use a network drive? 
If it's on your machine, does the partition containing that directory 
have a reasonable amount of free space?  (I think this is a stretch, but 
one difference between your running pdflatex at a DOS prompt and LyX 
running it is where the files are placed.)


One last thing that comes to mind:  Is MiKTeX the only LaTeX 
distribution on your machine?  In particular, do you have Cygwin 
installed?  I once had a problem on a machine that had Cygwin:  I 
installed MiKTeX without realizing that Cygwin came with its own version 
of latex, which was ahead of MiKTeX on the command path.  If you run 
'pdflatex --version' from a DOS prompt, does it identify itself as 
MiKTeX-pdfTeX?


/Paul



Re: left justify floats?

2008-01-22 Thread G. Milde
On 22.01.08, Helge Hafting wrote:
 Les Denham wrote:
 On Thursday 17 January 2008 06:07, Helge Hafting wrote:

 I was hoping for a preference setting that allows printing
 via pdflatex instead of the usual way, because that
 is necessary for using microtype. 

On my system, LyX uses pdflatex also for dvi generation, so I can use
the margin kerning feature of microtype by just inserting 
\usepackage{microtype} in my latex preamble.

Font expansion is disabled for dvi but IMO this is a less imortant (and even
controversial) aspect of micro-typography.

 So what? Microtype is only used to improve the final output; Lyx is only 
 concerned with the on-screen user interface.

Sorry but in this case we should get rid of the papersettings and margins
as well, as they are only needed in the final output ...


 The LyX user interface could also be extended with a use microtype
 checkbox, but I see this as a logical next step as this will _need_
 to print using pdflatex.

Only if you insist on font expansion.

...
 Ability to use microtype is not the only advantage, pdflatex is also
 faster than other ways of getting output to the printer.

Personally, I cannot use PDF (pdflatex) as I rely on psfrag
replacements in plots. OTOH, as I like to see a preview of the document
before printing, I have no problem with ViewPDF(pdflatex) and printing
from xpdf.

 Now, LyX already knows how to do a pdflatex run with figures and
 everything. So a print using pdflatex preference is a small
 job - so small I could do it myself. But the idea was rejected.

Maybe one could define a dummy format like PDFprint and a
conversion PDF (pdflatex) - PDFprint (with command `lpr ...`) to have
PDFprint as an export option?

GM


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Ben Blamey


Never used Notepad++ but I would suggest vim diff. I guess its similar.

For many files, perhaps use the diff program instead, either on the lyx 
files themselves, or a text export of them, which if you could easily 
get from lyx with an AutoIT script (for windows).


Ben



Ken wrote:

Hi all,

Is there an easy way to compare the changes or differences between two
LyX documents?

The only method I can think of is to use Notepad++ to view the
differences.  If you have any other/better suggestions I would be
grateful if you would please share them.

Kind regards,
Ken


Wishlist: search and spell-check in a sidebar

2008-01-22 Thread muzzle
Hello,
I've been lurking in the ml for a while. I remember a wishlist bug in
bugzilla on moving the search/substitute/spellc-heck pop-up window to
a sidebar like the one most document editor (viewer) have. This to
avoid the extremely annoying problem of moving the window every time
the highlighted text fall below it.
Now that Lyx has a sidebar to host the TOC some of the code should
already be in place. Any hope to see the wish come true in Lyx 6?
Goodbye, and thanks a lot for your wonderful program,

Emme


Compare Changes/Differences between LyX Documents

2008-01-22 Thread Ken
Hi all,

Is there an easy way to compare the changes or differences between two
LyX documents?

The only method I can think of is to use Notepad++ to view the
differences.  If you have any other/better suggestions I would be
grateful if you would please share them.

Kind regards,
Ken


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Paul Johnson
On Jan 22, 2008 11:59 AM, Ken [EMAIL PROTECTED] wrote:
 Hi all,

 Is there an easy way to compare the changes or differences between two
 LyX documents?


Open both files in Emacs.  Then choose tools/compare and you get an
awesome point by point display of differences (output from diff, I
think, but translated into a nice format).

pj


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Bo Peng
  Is there an easy way to compare the changes or differences between two
  LyX documents?

You can file a feature request (someone else might have done it) to
compare two documents and produce a document with revision markers. I
have occasionally though of this feature but there seems to be no easy
implementation.

Cheers,
Bo


Re: Moving graphics from R into LyX - best format?

2008-01-22 Thread Paul Johnson
On Jan 13, 2008 3:13 PM, David Hewitt [EMAIL PROTECTED] wrote:

 I produce most of my statistical graphics in R and move them into LyX floats.
 I've been exporting them as JPGs from R. Is there a better format that plays
 well with LyX/LaTeX? Any suggestions are appreciated.

 -


If you want EPS output in R, be aware that you need to use some special options.
I tried to explain it all here for my students:
http://pj.freefaculty.org/R/Rtips.html#5.2

Don't forget the onefile=F option, or else you don't get EPS, you just
get ps with no preview.

Also, seriously consider getting into the habit of creating a screen
display device that is the correct size (in inches) for insertion into
your latex document.  That way, there will be no danger of damage due
to re-sizing when you take the figure into the document.

HTH
pj


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: [OT] Best KDE-centric Distribution?

2008-01-22 Thread Paul Johnson
On Jan 14, 2008 11:18 AM, rgheck [EMAIL PROTECTED] wrote:

 I've been using Fedora ever since I started using Linux, but the
 second-rate status of KDE under Fedora is starting to get to me, so I'm
 thinking about switching. But then: to what? I don't think Kubuntu is
 for me. Gentoo would be an option, but then I'm not sure I want to be
 quite that bleeding-edge. So, the question: What?

 Richard


I've been running KDE under Fedora using the special, more up-to-date
KDE rpms from the kde-redhat repo.  Seems better to me.
$ cat /etc/yum.repos.d/kde.repo

# kde.repo, v2.0

[kde]
name=kde
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/mirrors-stable
gpgkey=http://apt.kde-redhat.org/apt/kde-redhat/kde-redhat.RPM-GPG-KEY
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kde-redhat
enabled=1

[kde-all]
name=kde-all
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/all/stable/mirrors
gpgkey=http://apt.kde-redhat.org/apt/kde-redhat/kde-redhat.RPM-GPG-KEY
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kde-redhat
enabled=1

For more information, and the full repo info,

http://kde-redhat.sourceforge.net/

I don't run the kde-4 yet because it is still in their testing, but if
you are a gambler, I'd say go for it!


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


easiest way to type accents, graves, and other interesting letters

2008-01-22 Thread Paul Johnson
I've seen people asking for a simple way to enter accents and graves,
and the discussion here goes off into a configuration of the keyboard
and the X server.  I think you are misleading people a little bit.

I'm here to remind users that reconfiguring to use COMPOSE is
unnecessary, at least if you don't need to enter special symbols very
frequently.  I need accents only occasionally, and I often forget how
this is done.  I learned this trick from a docuement that was called
Lyx Programmer's Guide (or similar name) that was, apparently, never
officially published with LyX.  I can't find it today.  But, while
googling, I've noticed the easy way is explained in the LyX wiki in
the bottom of this page:

http://wiki.lyx.org/LyX/LyxFunctions

To see an example, just open lyx and hit alt-x and it opens a small
function bar at the bottom of the LyX display.  In there, one can type
commands.  To test, type

accent-acute a

when you hit enter, you should see the character you want in the text.

Honestly, I don't think we should encourage users to try for the
compose key solution before we point out this much simpler way to get
accents and other symbols for nonEnglish language documents.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Juergen Spitzmueller
Ken wrote:

 Is there an easy way to compare the changes or differences between two
 LyX documents?

http://www.cs.bgu.ac.il/~dekelts/ldiff/

Jürgen



Re: Wishlist: search and spell-check in a sidebar

2008-01-22 Thread christian . ridderstrom

On Tue, 22 Jan 2008, muzzle wrote:

Hello, I've been lurking in the ml for a while. I remember a wishlist 
bug in bugzilla on moving the search/substitute/spellc-heck pop-up 
window to a sidebar like the one most document editor (viewer) have. 
This to avoid the extremely annoying problem of moving the window every 
time the highlighted text fall below it. Now that Lyx has a sidebar to 
host the TOC some of the code should already be in place. Any hope to 
see the wish come true in Lyx 6? Goodbye, and thanks a lot for your 
wonderful program,


Hi Emme,

I agree it's annoying with a search window on top sometimes, but OTOH I'm 
not always fond of losing space on the side. Having said that, I think you 
should file a bugzilla request for a feature enhancement!


Regards,
Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Bo Peng
On Jan 22, 2008 1:44 PM, Juergen Spitzmueller [EMAIL PROTECTED] wrote:
 Ken wrote:

  Is there an easy way to compare the changes or differences between two
  LyX documents?

 http://www.cs.bgu.ac.il/~dekelts/ldiff/

Quite interesting, do you see any hope of integrating this to lyx?

Bo


Re: Moving graphics from R into LyX - best format?

2008-01-22 Thread Pavel Sanda
  I produce most of my statistical graphics in R and move them into LyX 
  floats.
  I've been exporting them as JPGs from R. Is there a better format that plays
  well with LyX/LaTeX? Any suggestions are appreciated.
 
  -
 
 
 If you want EPS output in R, be aware that you need to use some special 
 options.
 I tried to explain it all here for my students:
 http://pj.freefaculty.org/R/Rtips.html#5.2

there is also another way - when i finally became frustrated with figure output
of R i just created few scripts which take text output from R output (sink 
command)
and give it to gnuplot for final postscript picture.

pavel


Re: Moving graphics from R into LyX - best format?

2008-01-22 Thread Liviu Andronic
Hello David,

You might be interested in using Sweave. There, you only need to write
the code. No export - import. Recent threads on Sweave contain all the
pertinent information. Basically, you need to use the noweb class,
tweak the preferences file (specify the converters specific to R) and
write the code chunks in ERT, something similar to:
echo=T=
2+2
@

Check this link for interesting demos [1]. They are not done in LyX,
but the essentials stay the same.

Liviu

[1] http://www.stat.umn.edu/~charlie/Sweave/


On 1/13/08, David Hewitt [EMAIL PROTECTED] wrote:
 I produce most of my statistical graphics in R and move them into LyX floats.
 I've been exporting them as JPGs from R. Is there a better format that plays
 well with LyX/LaTeX? Any suggestions are appreciated.


Re: easiest way to type accents, graves, and other interesting letters

2008-01-22 Thread rgheck

Paul Johnson wrote:

I've seen people asking for a simple way to enter accents and graves,
and the discussion here goes off into a configuration of the keyboard
and the X server.  I think you are misleading people a little bit.

I'm here to remind users that reconfiguring to use COMPOSE is
unnecessary, at least if you don't need to enter special symbols very
frequently.  I need accents only occasionally, and I often forget how
this is done.  I learned this trick from a docuement that was called
Lyx Programmer's Guide (or similar name) that was, apparently, never
officially published with LyX.  I can't find it today.  But, while
googling, I've noticed the easy way is explained in the LyX wiki in
the bottom of this page:

http://wiki.lyx.org/LyX/LyxFunctions

To see an example, just open lyx and hit alt-x and it opens a small
function bar at the bottom of the LyX display.  In there, one can type
commands.  To test, type

accent-acute a

when you hit enter, you should see the character you want in the text.

  
And note too that you can bind this to a key easily enough. I think 
maybe Ctrl-' would be the obvious binding, if it's available.


Richard



Re: easiest way to type accents, graves, and other interesting letters

2008-01-22 Thread rgheck


\bind C-apostrophe accent-acute
\bind C-S-quotedbl accent-umlaut

Note that, to get these to work, you may also need to change some 
earlier bindings. In cua.bind, I had to change:

\bind ~S-M-quotedbl quote-insert single
\bind ~S-C-quotedbl self-insert \
to
\bind M-quotedblquote-insert single
\bind C-quotedblself-insert \
The ~S means: Ignore the state of the shift key.

By the way, developers: Shouldn't the later declaration have overridden 
the earlier one? That would be more intuitive.


Richard




Re: Unable to import LaTeX files in LyX 1.5.3

2008-01-22 Thread Andreas K .
Paul A. Rubin <[EMAIL PROTECTED]> writes:

> I grabbed the file from the bug report that you said 1.4.4 could import
> but 1.5.3 could not.  On my box (LyX 1.5.3, XP Home), I can import it
> (using File -> Import -> LaTeX (plain).  I get a bunch of warnings about
> unrecognized commands and such (presumably because I'm not designating a
> document class), but I do not get the "something went wrong" error you
> encountered.
> 
> I repeated the conversion from the command prompt and captured the 
> output from the error stream.  Again, it produced a loadable (if not 
> necessarily correct) LyX file.
> 
> /Paul


Then I guess that it maybe has something with my computers configuration to 
do. This is my work computer, and I do not have administrator rights on it, 
but some limited rights. For example, I can install and uninstall some 
software, but not all. Could it be the cause of the problem?

What should I do to get a more detailed error report form LyX?

Andreas






Re: what is this: \usepackage[latin9]{inputenc} and why does TexLive hate it?

2008-01-22 Thread Helge Hafting

Paul A. Rubin wrote:


The problem is all those darned foreigners with their accented 
characters and Cyrillic/kanji/whatever symbols.  (Note that I'm 
including Mac users as foreigners, since the inputenc package 
supposedly addresses them as well).  When I was younger, everyone used 
ASCII and damn well liked it.  (Well, there was EBCDIC I suppose.)

We 'darned' always extended ASCII in various ways, because it was always
insufficient. For a clear idea of the problem: Try removing three vowels 
from

ASCII, and then try writing anything serious at all. You can't. :-)

More or less cumbersome workarounds have been in use since they started 
replacing

mechanical typewriters with word processing. Because you can't write
a decent business letter with just ascii.

Now, UTF-8 will probably put an end to the mess for good.

Helge Hafting


Re: left justify floats?

2008-01-22 Thread Helge Hafting

Les Denham wrote:

On Thursday 17 January 2008 06:07, Helge Hafting wrote:
  

I was hoping for a preference setting that allows printing
via pdflatex instead of the usual way, because that
is necessary for using microtype. But lyx currently doesn't
support microtype directly so there is "no need". . .



Helge,

So what? Microtype is only used to improve the final output; Lyx is only 
concerned with the on-screen user interface.
  

Lyx provides a user interface. Part of that job is to schedule
(pdf)latex runs (with all kinds of support, like makeindex and friends)
whenever some final output is needed.

The LyX user interface could also be extended with a "use microtype"
checkbox, but I see this as a logical next step as this will _need_
to print using pdflatex.
Couldn't the user replace the dvips used as the printer command with a short 
script to run pdflatex to a temporary file, run pdf2ps on the temporary file, 
then send the output to the printer?

Too cumbersome. The current way is export->pdf(pdflatex), then
print the temporary pdf file using the OS user interfaces.

Your way has some problems:
1) replacing dvips means lyx already wasted time making a throwaway dvi
2) where is the .tex file?
3) Last but not least - the exported .tex is set up for latex, not pdflatex.
   So pdflatex will break if there are figures.

Ability to use microtype is not the only advantage, pdflatex
is also faster than other ways of getting
output to the printer.

Now, LyX already knows how to do a pdflatex run with figures and
everything. So a "print using pdflatex" preference is a small
job - so small I could do it myself. But the idea was rejected.

Helge Hafting






Re: pdfLaTeX 'not responding'

2008-01-22 Thread Paul A. Rubin

Joel Pedro wrote:
Thanks for the advice Paul. 
I am using MiKTeX. I tried running pdflatex from DOS prompt. This works ok - 
much faster than with LyX. I dont get any useful diagnostic. Does this suggest

the problem is with LyX? How do I determine if font generation is hosted on my
machine?


Sorry, that was "hosed" (American slang for "broken") rather than 
"hosted".  I need to watch my vernacular.  :-)


If pdflatex at the DOS prompt ran at what you would consider to be 
normal or acceptable speed, and did not produce any diagnostics, then 
font generation is not the culprit.  A quick test would be to retry the 
same document in LyX after successfully generating and view the PDF file 
from DOS.  Once the necessary fonts are generated, they are stored on 
your hard drive, and there is no need to generate them again.  So if 
font generation were an issue, previewing PDF (or DVI) from LyX would be 
fine once you had done it outside LyX.  My guess is that is not the problem.


You would seem to have enough RAM (more than I have; I'm jealous), but 
it's always possible that enough other junk is being loaded to make you 
RAM-tight.  When you preview from LyX and it takes a long time, is the 
hard drive thrashing (cycling continuously)?  That could be an 
indication that you are short of RAM and doing a lot of page-swapping.


Another possibility would be that there is a problem with where LyX is 
writing temporary files.  Tools -> Preferences -> Paths -> Temporary 
directory will tell you where LyX is putting the temporary files.  Is it 
on your main hard drive, or is it perhaps set to use a network drive? 
If it's on your machine, does the partition containing that directory 
have a reasonable amount of free space?  (I think this is a stretch, but 
one difference between your running pdflatex at a DOS prompt and LyX 
running it is where the files are placed.)


One last thing that comes to mind:  Is MiKTeX the only LaTeX 
distribution on your machine?  In particular, do you have Cygwin 
installed?  I once had a problem on a machine that had Cygwin:  I 
installed MiKTeX without realizing that Cygwin came with its own version 
of latex, which was ahead of MiKTeX on the command path.  If you run 
'pdflatex --version' from a DOS prompt, does it identify itself as 
MiKTeX-pdfTeX?


/Paul



Re: left justify floats?

2008-01-22 Thread G. Milde
On 22.01.08, Helge Hafting wrote:
> Les Denham wrote:
>> On Thursday 17 January 2008 06:07, Helge Hafting wrote:

>>> I was hoping for a preference setting that allows printing
>>> via pdflatex instead of the usual way, because that
>>> is necessary for using microtype. 

On my system, LyX uses pdflatex also for dvi generation, so I can use
the margin kerning feature of microtype by just inserting 
\usepackage{microtype} in my latex preamble.

Font expansion is disabled for dvi but IMO this is a less imortant (and even
controversial) aspect of micro-typography.

>> So what? Microtype is only used to improve the final output; Lyx is only 
>> concerned with the on-screen user interface.

Sorry but in this case we should get rid of the papersettings and margins
as well, as they are only needed in the final output ...


> The LyX user interface could also be extended with a "use microtype"
> checkbox, but I see this as a logical next step as this will _need_
> to print using pdflatex.

Only if you insist on font expansion.

...
> Ability to use microtype is not the only advantage, pdflatex is also
> faster than other ways of getting output to the printer.

Personally, I cannot use PDF (pdflatex) as I rely on psfrag
replacements in plots. OTOH, as I like to see a preview of the document
before printing, I have no problem with View>PDF(pdflatex) and printing
from xpdf.

> Now, LyX already knows how to do a pdflatex run with figures and
> everything. So a "print using pdflatex" preference is a small
> job - so small I could do it myself. But the idea was rejected.

Maybe one could define a dummy format like PDFprint and a
conversion "PDF (pdflatex) -> PDFprint" (with command `lpr ...`) to have
PDFprint as an export option?

GM


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Ben Blamey


Never used Notepad++ but I would suggest vim diff. I guess its similar.

For many files, perhaps use the diff program instead, either on the lyx 
files themselves, or a text export of them, which if you could easily 
get from lyx with an AutoIT script (for windows).


Ben



Ken wrote:

Hi all,

Is there an easy way to compare the changes or differences between two
LyX documents?

The only method I can think of is to use Notepad++ to view the
differences.  If you have any other/better suggestions I would be
grateful if you would please share them.

Kind regards,
Ken


Wishlist: search and spell-check in a sidebar

2008-01-22 Thread muzzle
Hello,
I've been lurking in the ml for a while. I remember a wishlist bug in
bugzilla on moving the search/substitute/spellc-heck pop-up window to
a sidebar like the one most document editor (viewer) have. This to
avoid the extremely annoying problem of moving the window every time
the highlighted text fall below it.
Now that Lyx has a sidebar to host the TOC some of the code should
already be in place. Any hope to see the wish come true in Lyx 6?
Goodbye, and thanks a lot for your wonderful program,

Emme


Compare Changes/Differences between LyX Documents

2008-01-22 Thread Ken
Hi all,

Is there an easy way to compare the changes or differences between two
LyX documents?

The only method I can think of is to use Notepad++ to view the
differences.  If you have any other/better suggestions I would be
grateful if you would please share them.

Kind regards,
Ken


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Paul Johnson
On Jan 22, 2008 11:59 AM, Ken <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is there an easy way to compare the changes or differences between two
> LyX documents?
>

Open both files in Emacs.  Then choose tools/compare and you get an
awesome point by point display of differences (output from diff, I
think, but translated into a nice format).

pj


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Bo Peng
> > Is there an easy way to compare the changes or differences between two
> > LyX documents?

You can file a feature request (someone else might have done it) to
compare two documents and produce a document with revision markers. I
have occasionally though of this feature but there seems to be no easy
implementation.

Cheers,
Bo


Re: Moving graphics from R into LyX - best format?

2008-01-22 Thread Paul Johnson
On Jan 13, 2008 3:13 PM, David Hewitt <[EMAIL PROTECTED]> wrote:
>
> I produce most of my statistical graphics in R and move them into LyX floats.
> I've been exporting them as JPGs from R. Is there a better format that plays
> well with LyX/LaTeX? Any suggestions are appreciated.
>
> -
>

If you want EPS output in R, be aware that you need to use some special options.
I tried to explain it all here for my students:
http://pj.freefaculty.org/R/Rtips.html#5.2

Don't forget the onefile=F option, or else you don't get EPS, you just
get ps with no preview.

Also, seriously consider getting into the habit of creating a screen
display device that is the correct size (in inches) for insertion into
your latex document.  That way, there will be no danger of damage due
to re-sizing when you take the figure into the document.

HTH
pj


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: [OT] Best KDE-centric Distribution?

2008-01-22 Thread Paul Johnson
On Jan 14, 2008 11:18 AM, rgheck <[EMAIL PROTECTED]> wrote:
>
> I've been using Fedora ever since I started using Linux, but the
> second-rate status of KDE under Fedora is starting to get to me, so I'm
> thinking about switching. But then: to what? I don't think Kubuntu is
> for me. Gentoo would be an option, but then I'm not sure I want to be
> quite that bleeding-edge. So, the question: What?
>
> Richard
>
>
I've been running KDE under Fedora using the special, more up-to-date
KDE rpms from the kde-redhat repo.  Seems better to me.
$ cat /etc/yum.repos.d/kde.repo

# kde.repo, v2.0

[kde]
name=kde
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/mirrors-stable
gpgkey=http://apt.kde-redhat.org/apt/kde-redhat/kde-redhat.RPM-GPG-KEY
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kde-redhat
enabled=1

[kde-all]
name=kde-all
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/all/stable/mirrors
gpgkey=http://apt.kde-redhat.org/apt/kde-redhat/kde-redhat.RPM-GPG-KEY
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kde-redhat
enabled=1

For more information, and the full repo info,

http://kde-redhat.sourceforge.net/

I don't run the kde-4 yet because it is still in their testing, but if
you are a gambler, I'd say go for it!


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


easiest way to type accents, graves, and other interesting letters

2008-01-22 Thread Paul Johnson
I've seen people asking for a simple way to enter accents and graves,
and the discussion here goes off into a configuration of the keyboard
and the X server.  I think you are misleading people a little bit.

I'm here to remind users that reconfiguring to use COMPOSE is
unnecessary, at least if you don't need to enter special symbols very
frequently.  I need accents only occasionally, and I often forget how
this is done.  I learned this trick from a docuement that was called
"Lyx Programmer's Guide" (or similar name) that was, apparently, never
officially published with LyX.  I can't find it today.  But, while
googling, I've noticed the easy way is explained in the LyX wiki in
the bottom of this page:

http://wiki.lyx.org/LyX/LyxFunctions

To see an example, just open lyx and hit alt-x and it opens a small
function bar at the bottom of the LyX display.  In there, one can type
commands.  To test, type

accent-acute a

when you hit enter, you should see the character you want in the text.

Honestly, I don't think we should encourage users to try for the
compose key solution before we point out this much simpler way to get
accents and other symbols for nonEnglish language documents.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Juergen Spitzmueller
Ken wrote:

> Is there an easy way to compare the changes or differences between two
> LyX documents?

http://www.cs.bgu.ac.il/~dekelts/ldiff/

Jürgen



Re: Wishlist: search and spell-check in a sidebar

2008-01-22 Thread christian . ridderstrom

On Tue, 22 Jan 2008, muzzle wrote:

Hello, I've been lurking in the ml for a while. I remember a wishlist 
bug in bugzilla on moving the search/substitute/spellc-heck pop-up 
window to a sidebar like the one most document editor (viewer) have. 
This to avoid the extremely annoying problem of moving the window every 
time the highlighted text fall below it. Now that Lyx has a sidebar to 
host the TOC some of the code should already be in place. Any hope to 
see the wish come true in Lyx 6? Goodbye, and thanks a lot for your 
wonderful program,


Hi Emme,

I agree it's annoying with a search window on top sometimes, but OTOH I'm 
not always fond of losing space on the side. Having said that, I think you 
should file a bugzilla request for a feature enhancement!


Regards,
Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Bo Peng
On Jan 22, 2008 1:44 PM, Juergen Spitzmueller <[EMAIL PROTECTED]> wrote:
> Ken wrote:
>
> > Is there an easy way to compare the changes or differences between two
> > LyX documents?
>
> http://www.cs.bgu.ac.il/~dekelts/ldiff/

Quite interesting, do you see any hope of integrating this to lyx?

Bo


Re: Moving graphics from R into LyX - best format?

2008-01-22 Thread Pavel Sanda
> > I produce most of my statistical graphics in R and move them into LyX 
> > floats.
> > I've been exporting them as JPGs from R. Is there a better format that plays
> > well with LyX/LaTeX? Any suggestions are appreciated.
> >
> > -
> >
> 
> If you want EPS output in R, be aware that you need to use some special 
> options.
> I tried to explain it all here for my students:
> http://pj.freefaculty.org/R/Rtips.html#5.2

there is also another way - when i finally became frustrated with figure output
of R i just created few scripts which take text output from R output (sink 
command)
and give it to gnuplot for final postscript picture.

pavel


Re: Moving graphics from R into LyX - best format?

2008-01-22 Thread Liviu Andronic
Hello David,

You might be interested in using Sweave. There, you only need to write
the code. No export - import. Recent threads on Sweave contain all the
pertinent information. Basically, you need to use the noweb class,
tweak the preferences file (specify the converters specific to R) and
write the code chunks in ERT, something similar to:

Re: easiest way to type accents, graves, and other interesting letters

2008-01-22 Thread rgheck

Paul Johnson wrote:

I've seen people asking for a simple way to enter accents and graves,
and the discussion here goes off into a configuration of the keyboard
and the X server.  I think you are misleading people a little bit.

I'm here to remind users that reconfiguring to use COMPOSE is
unnecessary, at least if you don't need to enter special symbols very
frequently.  I need accents only occasionally, and I often forget how
this is done.  I learned this trick from a docuement that was called
"Lyx Programmer's Guide" (or similar name) that was, apparently, never
officially published with LyX.  I can't find it today.  But, while
googling, I've noticed the easy way is explained in the LyX wiki in
the bottom of this page:

http://wiki.lyx.org/LyX/LyxFunctions

To see an example, just open lyx and hit alt-x and it opens a small
function bar at the bottom of the LyX display.  In there, one can type
commands.  To test, type

accent-acute a

when you hit enter, you should see the character you want in the text.

  
And note too that you can bind this to a key easily enough. I think 
maybe Ctrl-' would be the obvious binding, if it's available.


Richard



Re: easiest way to type accents, graves, and other interesting letters

2008-01-22 Thread rgheck


\bind "C-apostrophe" "accent-acute"
\bind "C-S-quotedbl" "accent-umlaut"

Note that, to get these to work, you may also need to change some 
earlier bindings. In cua.bind, I had to change:

\bind "~S-M-quotedbl" "quote-insert single"
\bind "~S-C-quotedbl" "self-insert \""
to
\bind "M-quotedbl""quote-insert single"
\bind "C-quotedbl""self-insert \""
The "~S" means: Ignore the state of the shift key.

By the way, developers: Shouldn't the later declaration have overridden 
the earlier one? That would be more intuitive.


Richard