Re: lyx can't find lilypond-book

2011-09-27 Thread Tao Cumplido
Julien Rioux jrioux at physics.utoronto.ca writes:

 
 Most likely there is something not working with lilypond-book. You could 
 try to run it from the command line to get more info. Start Menu  Run  
 type cmd  OK. Now type this in
 lilypond-book --version
 and see what it gives you.
 


Thanks. That indeed produced an error. I reinstalled LilyPond and know LyX
recognises it but when I try to view the PDF I get another error:
LyX: Cannot convert file
An error occured while running:
lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf
lilypond.lytex

I was wondering if there is perhaps a problem because I have Python 3 
installed. 
After reinstalling LilyPond typing 'python' in cmd results in 2.4 being
recognised as default version by the system but I'm sure before it was
version 3 which I guess why lilypond-book --version also was erroneous.



Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-27 Thread Guenter Milde
On 2011-09-26, Joe(theWordy)Philbrook wrote:

 And until such a time as http://www.lyx.org/trac/ticket/2511 becomes a
 reality, I think I'll just use that kludge I just described.

Alternatively, after a fix for http://www.lyx.org/trac/ticket/1042
»Adding language none« you could tell LyX to ignore the
non-standard-English parts of your document when spellchecking.

Günter



LyX with pgfplotstable

2011-09-27 Thread florian.wilh...@gmail.com
Hi,

pgfplotstable uses external data files to generate formatted lists like
\pgfplotstabletypeset{example1.dat}
The problem is that LyX creates a temp directory, copies over all
files and runs latex to generate the document there. Since it does not
copy example1.dat I get a corresponding error message.
I read much about this problem and workarounds in earlier posts but I
wonder what's the best solution for this today with LyX 2.0 under
Linux?
I know that I could always specify absolute paths, but this is
inadequate if my document is in a git repo to collaborate with others.

Two proper solutions come to my mind:
1) Tell LyX to copy over example1.dat into the temp directory. This
could be done in the document settings or maybe with some ERT.
2) Have  a macro that is processed before the copy process so that I can write:
\pgfplotstabletypeset{CWD/example1.dat}
and CWD expands to the absolute path of the current working directory,
not the temp dir path.

I don't know if 1) or 2) is currently possible and would appreciate
any suggestion on how to overcome this problem.

Best regards,

Florian Wilhelm


Table width

2011-09-27 Thread Lastalda
I'm trying to write a thesis with Lyx and am using tables (some within
floats, some without). 

1. Is there a possibility to set the tablewidth to \textwidth for the whole
document as default? Like adding something to the latex header? 
(And does this have to be done seperately for tables within and tables
without floats?)

2. In some cases I would like to use one adjustment column to achieve this.
(Meaning I have 4 columns and want columns 1,2 and 4 to be as wide as they
need to be according to their content, and colum 3 to have the width that is
needed to bring the whole table to \textwidth.) Is there a variable or
something I can insert in ERT into the 3rd column so it would do that? Or do
I really have to adjust the columnwidth manually in every table?
Example picture below; I would like to know what to insert for the fill
space
http://lyx.475766.n2.nabble.com/file/n6835621/tablewidth.png 

Any help would be much appreciated.
Thank you!
Lastalda

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Table-width-tp6835621p6835621.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Problem Outputting Particular TIFF File

2011-09-27 Thread Julien Rioux

On 27/09/2011 7:47 AM, Jane Shevtsov wrote:

Hi Mark,

I haven't changed anything in the past couple of weeks, when I reinstalled
MiKTeX and reconfigured LyX. (BTW, I just tried out a different TIFF file,
and it worked fine.) The flowchart is something I copied from a PDF and then
edited in Paint. All the other graphics were generated by R, so there could
be something there.

Thanks,
Jane



As a workaround you can save in .png format directly from Paint.

--
Julien



Re: lyx can't find lilypond-book

2011-09-27 Thread Julien Rioux

On 27/09/2011 9:55 AM, Tao Cumplido wrote:

Julien Riouxjriouxat  physics.utoronto.ca  writes:



Most likely there is something not working with lilypond-book. You could
try to run it from the command line to get more info. Start Menu  Run
type cmd  OK. Now type this in
lilypond-book --version
and see what it gives you.




Thanks. That indeed produced an error. I reinstalled LilyPond and know LyX
recognises it but when I try to view the PDF I get another error:
LyX: Cannot convert file
An error occured while running:
lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf
lilypond.lytex

I was wondering if there is perhaps a problem because I have Python 3 installed.
After reinstalling LilyPond typing 'python' in cmd results in 2.4 being
recognised as default version by the system but I'm sure before it was
version 3 which I guess why lilypond-book --version also was erroneous.




You would have to make sure that lilypond-book runs from the 
command-line before attempting its use within LyX. Unfortunately there 
are further problems with lilypond on windows, not least of which is 
this bug:

http://code.google.com/p/lilypond/issues/detail?id=1815

My feeling is that very few if any of the lilypond developers are 
windows users.


--
Julien



Re: LyX with pgfplotstable

2011-09-27 Thread Florian Wilhelm
Mukhtar Ullah mukhtar.ullah at informatik.uni-rostock.de writes:

 
 Follow this thread.Although about Inkscape but it addresses the same issue.
 http://thread.gmane.org/gmane.editors.lyx.general/71928
 
 Mukhtar
 
 


Thanks. I found a more suitable solution for me.
- Open Command Buffer (Alt+X)
- Type: info-insert buffer path
- Result: A macro with the document's current path
- Surround this macro with ERT to include whatever
  you want to include like:

ERT[\pgfplotstableread{]
MACRO[/home/florian/Documents/lyx/]
ERT[benchmarks/benchmarks.dat} \datatable]

where ERT[...] is TeX code inserted with CTRL+L
and MACRO[...] the aforementioned info-insert macro.



Re: PDF won't generate

2011-09-27 Thread Julien Rioux

On 26/09/2011 11:26 PM, Kevin Buchs wrote:

I have a similar problem with Lyx 2.0 on Windows 7. I have a custom style
and some required .JPG files that are inserted by that style. Lyx does not
copy them to its temporary directory. Ideally, I'd like Lyx to run latex in
my working directory. If I find the temporary directory, I can copy the
files manually to that directory, and then a second PDF generate command
will provide results, but this is sort of klunky. Anyone have suggestions?



Running LyX 2.0.1 might help here. There was some changes in the 
handling of external files: LyX now sets the TEXINPUTS environment 
variable, adding the document directory to this variable.


Uwe provided an installer for windows.

--
Julien



Re: LyX with pgfplotstable

2011-09-27 Thread Mukhtar Ullah
 ERT[\pgfplotstableread{]
 MACRO[/home/florian/Documents/lyx/]
 ERT[benchmarks/benchmarks.dat} \datatable]
 
 where ERT[...] is TeX code inserted with CTRL+L
 and MACRO[...] the aforementioned info-insert macro.
 

Interesting solution. I would also encourage you to try the solution using
TEXINPUT path introduced in LyX 2.0.1. That you have to do only once in your
preferences.

Mukhtar





Thank You!

2011-09-27 Thread Påvel Nicklasson
I have just published my first book written in LyX and I want to thank the
developers and the members on the list for a fantastic program and help
using it.

I think I have understood that many LyX-users are scientists. I am a lowly
scholar in the humanities, an archaeologist, and LyX is a suberb tool for
writing and designing our kind of books too.

The book is in Swedish with the title: ”Att aldrig vandra vill Johan Haquin
Wallman Sveriges förste arkeolog”. Translated to English: ”Never to wander
astray: Johan Haquin Wallman, Sweden’s first archaeologist”. It‘s a
biography over an archaeologist from the early 19th century.

If my work can be used to promote LyX on the website or other places, I
could provide more information.

Best Regards
Påvel Nicklasson


Re: Thank You!

2011-09-27 Thread Manolo Martínez
Viva LyX! From another lowly scholar in the humanities.

Manolo

On 09/27/11 at 03:52pm, Påvel Nicklasson wrote:
 I have just published my first book written in LyX and I want to thank the
 developers and the members on the list for a fantastic program and help
 using it.
 
 I think I have understood that many LyX-users are scientists. I am a lowly
 scholar in the humanities, an archaeologist, and LyX is a suberb tool for
 writing and designing our kind of books too.
 
 The book is in Swedish with the title: ”Att aldrig vandra vill Johan Haquin
 Wallman Sveriges förste arkeolog”. Translated to English: ”Never to wander
 astray: Johan Haquin Wallman, Sweden’s first archaeologist”. It‘s a
 biography over an archaeologist from the early 19th century.
 
 If my work can be used to promote LyX on the website or other places, I
 could provide more information.
 
 Best Regards
 Påvel Nicklasson

-- 


Re: Thank You!

2011-09-27 Thread Richard Heck
On 09/27/2011 09:55 AM, Manolo Martínez wrote:
 Viva LyX! From another lowly scholar in the humanities.

And another.

I thought there was somewhere on the wiki that people listed their
LyX-created books and linked to them, but I can't find it now

Richard

 Manolo

 On 09/27/11 at 03:52pm, Påvel Nicklasson wrote:
 I have just published my first book written in LyX and I want to thank the
 developers and the members on the list for a fantastic program and help
 using it.

 I think I have understood that many LyX-users are scientists. I am a lowly
 scholar in the humanities, an archaeologist, and LyX is a suberb tool for
 writing and designing our kind of books too.

 The book is in Swedish with the title: ”Att aldrig vandra vill Johan Haquin
 Wallman Sveriges förste arkeolog”. Translated to English: ”Never to wander
 astray: Johan Haquin Wallman, Sweden’s first archaeologist”. It‘s a
 biography over an archaeologist from the early 19th century.

 If my work can be used to promote LyX on the website or other places, I
 could provide more information.

 Best Regards
 Påvel Nicklasson



Re: LyX with pgfplotstable

2011-09-27 Thread Paul Johnson
It seems to me you are working very hard there. If you are willing to
write out a path, can I suggest a simpler solution? Did you try just
writing in a path, as:

\pgfplotstabletypeset{/home/florian/Documents/lyx/example1.dat}

This is how I insert data in Sweave documents.  I have no reason to
believe it does/does not work with pgfplotstabletypset (since I've
never heard of it). But I just tried several test cases and both
input' and includegraphics are OK:

\includegraphics{/home/pauljohn/ps/SVN-guides/Rcourse/plot-1/plots/t-bar06.pdf}

PJ

On Tue, Sep 27, 2011 at 7:34 AM, Florian Wilhelm
florian.wilh...@gmail.com wrote:
 Mukhtar Ullah mukhtar.ullah at informatik.uni-rostock.de writes:


 Follow this thread.Although about Inkscape but it addresses the same issue.
 http://thread.gmane.org/gmane.editors.lyx.general/71928

 Mukhtar




 Thanks. I found a more suitable solution for me.
 - Open Command Buffer (Alt+X)
 - Type: info-insert buffer path
 - Result: A macro with the document's current path
 - Surround this macro with ERT to include whatever
  you want to include like:

 ERT[\pgfplotstableread{]
 MACRO[/home/florian/Documents/lyx/]
 ERT[benchmarks/benchmarks.dat} \datatable]

 where ERT[...] is TeX code inserted with CTRL+L
 and MACRO[...] the aforementioned info-insert macro.





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


Re: Thank You!

2011-09-27 Thread Liviu Andronic
On Tue, Sep 27, 2011 at 5:17 PM, Richard Heck rgh...@comcast.net wrote:
 I thought there was somewhere on the wiki that people listed their
 LyX-created books and linked to them, but I can't find it now

This page [1], I guess.
Liviu

[1] http://wiki.lyx.org/LyX/ProducedPublications


Re: LyX with pgfplotstable

2011-09-27 Thread Mukhtar Ullah
Paul Johnson pauljohn32 at gmail.com writes:

 
 It seems to me you are working very hard there. If you are willing to
 write out a path,

Paul,
That is the problem--writing everytime an absolute path is not convenient and
kills portability of your document to another system.

Mukhtar





Re: Thank You!

2011-09-27 Thread Richard Heck
On 09/27/2011 11:38 AM, Liviu Andronic wrote:
 On Tue, Sep 27, 2011 at 5:17 PM, Richard Heck rgh...@comcast.net wrote:
 I thought there was somewhere on the wiki that people listed their
 LyX-created books and linked to them, but I can't find it now

 This page [1], I guess.
 Liviu

 [1] http://wiki.lyx.org/LyX/ProducedPublications

Someone, not necessarily you, should probably re-organize this, dividing
it (at least) into books versus articles. The number of articles written
with LyX must be astronomical; the number of books, especially books
actually printed from LyX-generated PDFs, must be much smaller.

Richard




Re: Thank You!

2011-09-27 Thread Shantanu Kulkarni
* Richard Heck rgh...@comcast.net [110927 22:29]:
 Someone, not necessarily you, should probably re-organize this, dividing
 it (at least) into books versus articles. The number of articles written
 with LyX must be astronomical; the number of books, especially books
 actually printed from LyX-generated PDFs, must be much smaller.

I am also interested in seeing lyx codes of some books to learn about
typesetting. Does anyone knows any url for these? Even handouts or
tutorial done using lyx would do.

Thanks,
Shantanu
www.shantanukulkarni.org
-- 


Re: Thank You!

2011-09-27 Thread Richard Heck
On 09/27/2011 01:05 PM, Shantanu Kulkarni wrote:
 * Richard Heck rgh...@comcast.net [110927 22:29]:
 Someone, not necessarily you, should probably re-organize this, dividing
 it (at least) into books versus articles. The number of articles written
 with LyX must be astronomical; the number of books, especially books
 actually printed from LyX-generated PDFs, must be much smaller.
 I am also interested in seeing lyx codes of some books to learn about
 typesetting. Does anyone knows any url for these? Even handouts or
 tutorial done using lyx would do.

The LyX documentation, available under Help, uses most of LyX's abilities.

Richard



Re: Thank You!

2011-09-27 Thread Påvel Nicklasson
2011/9/27 Richard Heck rgh...@comcast.net

 On 09/27/2011 11:38 AM, Liviu Andronic wrote:
  On Tue, Sep 27, 2011 at 5:17 PM, Richard Heck rgh...@comcast.net
 wrote:
  I thought there was somewhere on the wiki that people listed their
  LyX-created books and linked to them, but I can't find it now
 
  This page [1], I guess.
  Liviu
 
  [1] http://wiki.lyx.org/LyX/ProducedPublications
 
 Someone, not necessarily you, should probably re-organize this, dividing
 it (at least) into books versus articles. The number of articles written
 with LyX must be astronomical; the number of books, especially books
 actually printed from LyX-generated PDFs, must be much smaller.

 Richard



Actually my biggest problem was that the PDF:s produced by LyX were
impossible to use for the printing. I had to make a postscript file in LyX
and convert it in Adobe Distiller to PDF with the printing house's settings.
I suppose that it should be possible to have the correct settings directly
in LyX, but it was too much trouble and since the printing house never had
heard of LyX or LaTeX they could not assist me. The whole printing industry
uses Adobe's software.

I think that a guide on how to make prepress originals directly in LyX would
be great, but perhaps very hard to write, since all printing houses use
their own prepress settings. The documentation is poor and very advanced
when one scouts EPS2PDF, Ghostscript and other programs used behind the
scene.


LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Patrick De Visschere
Hello,

Including a .pdf file with \includegraphics and with a relative pathname like

\includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}

results in a file not found error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no problem.

This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

Regards,

P. De Visschere

Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Richard Heck
On 09/27/2011 04:47 PM, Patrick De Visschere wrote:
 Hello,

 Including a .pdf file with \includegraphics and with a relative pathname like

 \includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}

 results in a file not found error from the pdftex.def package.

 When exporting as .tex and processing with e.g. TeXShop there is no problem.

 This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

There have been some changes to how LyX handles external paths. These
are noted in the RELEASE NOTES file. I would guess that is the source of
the problem. If you can't resolve it, post a note to the devel list.

Richard



Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane

On Sep 27, 2011, at 4:47 PM, Patrick De Visschere wrote:


Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a file not found error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

Regards,

P. De Visschere


Are you using \includegraphics in a TeX Code box?
Or through the insert graphics LyX interface?

The former will cause problems because of the way LyX does the Tex  
compile in a temporary directory, which is not where your relative  
path is pointing.
If you use the LyX interface,  it resolves all of the paths before  
passing it off to the latex command.


I have the same issue with the \includepdf command and have just  
learned to use full path strings.

(Yes I know there is now a LyX dialog for this command)
Or I think you can define a default pathname in the preamble, but it  
is kind of messy.


I am a bit puzzled why the behavior switched between 2.0.0 and 2.0.1?
But maybe someone on the dev team can help.

HTH
Steve


Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane


On Sep 27, 2011, at 5:11 PM, Richard Heck wrote:


On 09/27/2011 04:47 PM, Patrick De Visschere wrote:

Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a file not found error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)


There have been some changes to how LyX handles external paths. These
are noted in the RELEASE NOTES file. I would guess that is the  
source of

the problem. If you can't resolve it, post a note to the devel list.



Yes indeed, a welcome improvement!
See info here
http://www.lyx.org/announce/2_0_1.txt

I guess it is time for me to upgrade to 2.0.1
(and ignore my previous reply to this thread!)


Editing Tool Bar Icons

2011-09-27 Thread Rich Shepard

  I hesitate to bring this up to the list because I don't like to
micromanage the application, typography, or page layouts. I leave that to
the experts. (About a dozen years ago I spent a lot of time trying to
install Type1 fonts in LaTeX, but gave up when I realized 1) I was wasting
time better spent using the tool and 2) Palatino is a perfectly fine body
text typeface.)

  However, ... there are a couple of icons I regularly use (such as the
footnote insertion pictograph) that don't appear because despite the LyX
window size in my 20 LCD wide screen monitor, there's not sufficient room
for them. At the same time, there are some icons I never use (Save, Print,
Open) and I'd like to either delete them or change their positions with the
icons I use more frequently.

  In ~/.lyx/ui/classic.ui I find the menus. Where can I find the contents of
the toolbars so I can mess them up from the order set by the developers?

Rich


Re: Editing Tool Bar Icons [RESOLVED]

2011-09-27 Thread Rich Shepard

On Tue, 27 Sep 2011, Rich Shepard wrote:


 In ~/.lyx/ui/classic.ui I find the menus. Where can I find the contents
of the toolbars so I can mess them up from the order set by the
developers?


  Thanks to Richard this has been resolved.

Rich


Changed Shortcuts Not Working

2011-09-27 Thread Rich Shepard

  I'm running lyx-2.0.1 on Slackware-13.1. Using the menus Tools -
Preferences - Editing - Shortcuts I define word-forward-delete as Alt-F.
LyX doesn't complain about a key conflict. But, when I try to use it I get
the File menu dropping down. Is this a Qt issue rather than a LyX issue? If
not, how do I make it work?

TIA,

Rich


Re: Changed Shortcuts Not Working

2011-09-27 Thread Richard Heck
On 09/27/2011 08:18 PM, Rich Shepard wrote:
   I'm running lyx-2.0.1 on Slackware-13.1. Using the menus Tools -
 Preferences - Editing - Shortcuts I define word-forward-delete as
 Alt-F.
 LyX doesn't complain about a key conflict. But, when I try to use it I
 get
 the File menu dropping down. Is this a Qt issue rather than a LyX
 issue? If
 not, how do I make it work?

I think Qt does see (and grab) the menu accelerator before LyX gets to
see it. But I'm not positive. If you really want to do this, you can
remove (or change) the menu accelerator in the stdmenus.inc file.

rh



Multilingual difficulties for beginners with Lyx

2011-09-27 Thread Lisa Andrews
I successfully use multiple languages in Lyx with Xetex by specifying
packages and fonts in the document preamble, or using inline ERT
(usepackage \fontspec etc)

I see on http://wiki.lyx.org/LyX/XeTeX, where it describes a similar
setup to my own, that it says:

Note: the following steps are only necessary up to LyX 1.6.x. As of
LyX 2.0, you will just need to click Document→Settings...→Fonts→Use
non-TeX fonts (via XeTeX/LuaTeX). Then you can immediately View→PDF
(XeTeX). 

However, when I tried this out for someone I recently installed Lyx
for (2.0.1 on a Mac, I use 2.0rc3 Win7) it seems that Xetex had no
idea which fonts to use for Chinese (the default font was in English).
Use non-Tex fonts was selected, document language package made no
difference. Note the 1.6.x approach with the preamble did work.

Shall I tell this user to put fontspec etc. into their preamble the
way I do, should I try the xeCJK macro mentioned in the wiki.lyx xetex
page, or have I missed something?

Thanks, Lisa


Re: Multilingual difficulties for beginners with Lyx

2011-09-27 Thread PhilipPirrip
Lisa, could you please send us examples of your old and new preamble, so 
that we could compare, in the order the commands are called.

You can copy everything until \begin{document}, in both cases, from
View  View Source...  Complete source

or just export your documents to .tex and copy from there.



Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-27 Thread Joe(theWordy)Philbrook

It would appear that on Sep 27, Guenter Milde did say:

 Alternatively, after a fix for http://www.lyx.org/trac/ticket/1042
 »Adding language none« you could tell LyX to ignore the
 non-standard-English parts of your document when spellchecking.

I don't think I want to add the complexity of defining any part of my doc
an non-English... Because while there are parts of my document where I need
to be thinking about whatever fictional words and or non-standard names
that I don't want to add to the wordlist when I spellcheck it. When/if
something makes me rewrite something in one of those sections I'll still
want to use spellcheck to screen it for my all to frequent (and sometimes
nearly dyslexic) typos. I just don't want to do this by mistake when I'm
not thinking about it. Hence I always depended on spell checking in a
forward linear process starting from the cursor position and ending when/if I
close the spell checker without correcting a flagged word such as whatever
GarRRbae word I'm using as a marker that day.

But I'm getting used to the previously mentioned kludge involving pasting
the selected section of my document into an empty document and checking it
there. It's not really any harder than it used to be to insert the marker
lines...

So you see, this is already a non-issue for me. I just wish I had found the
new spellchecker's behavior to be a little more stable. 

-- 
|   ~^~   ~^~
|   *   *   Joe (theWordy) Philbrook
|   ^J(tWdy)P
| \___/ jtw...@ttlc.net

Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-27 Thread Joe(theWordy)Philbrook

It would appear that on Sep 23, Joe(theWordy)Philbrook did say:

 While waiting in hopes of a better method, I figured out a very crude down
 and dirty work around...
 
 First, as previously described, I wrap the section of the document I intend to
 spellcheck with the the begin and end marker lines. {with or without the
 deliberately misspelled garbage word} But it MUST stand out visually. 
 
 Then I open a garbage .lyx file and delete any existing content. Then I
 switch back to the real file and mark  cut everything in between the
 marker lines. Next I paste that into the garbage file and spellcheck that
 file. When the spell checking is complete I can mark  cut the contents the
 return to the real file, and paste the spellchecked content in between the
 marker lines...
 
 This at least works. But I shouldn't have to do it this way.

I Noticed a fringe benefit to doing it this way BTW...

One of my pet peeves about the new spell checker is that the sidebar
doesn't go away when I escape out of it AND there doesn't seem to be a way
to assign a keyboard shortcut to the act of dismissing it.
{I strongly dislike having to use my sometimes non-existent mouse pointer
coordination to position the durned pointer on that tiny little x long
enough to click on it...}

Well that fringe benefit is that since the garbage .lyx file ONLY contains
the text I actually want to spellcheck, I start spellchecking by first
pressing ctrl+home Then F7 so when it gets to the end of the garbage
file the spellchecker knows it just checked the whole file. (Assuming I
didn't have to interrupt it in mid process) and then when it reaches the end
of the file that durned sidebar automatically goes away.
{You know the one. I'm talking about the sidebar that in my humble opinion
should go away by itself every time spell checking is escapeed out of... So
that by it's very presence on screen I could know that the enter key would
push the currently selected sidebar button rather than replacing the
hi-lighted word with a new paragraph...} 

-- 
|   ~~~   ~~~
|   @   @  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~   jtw...@ttlc.net



Re: lyx can't find lilypond-book

2011-09-27 Thread Tao Cumplido
Julien Rioux jrioux at physics.utoronto.ca writes:

 
 Most likely there is something not working with lilypond-book. You could 
 try to run it from the command line to get more info. Start Menu  Run  
 type cmd  OK. Now type this in
 lilypond-book --version
 and see what it gives you.
 


Thanks. That indeed produced an error. I reinstalled LilyPond and know LyX
recognises it but when I try to view the PDF I get another error:
LyX: Cannot convert file
An error occured while running:
lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf
lilypond.lytex

I was wondering if there is perhaps a problem because I have Python 3 
installed. 
After reinstalling LilyPond typing 'python' in cmd results in 2.4 being
recognised as default version by the system but I'm sure before it was
version 3 which I guess why lilypond-book --version also was erroneous.



Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-27 Thread Guenter Milde
On 2011-09-26, Joe(theWordy)Philbrook wrote:

 And until such a time as http://www.lyx.org/trac/ticket/2511 becomes a
 reality, I think I'll just use that kludge I just described.

Alternatively, after a fix for http://www.lyx.org/trac/ticket/1042
»Adding language none« you could tell LyX to ignore the
non-standard-English parts of your document when spellchecking.

Günter



LyX with pgfplotstable

2011-09-27 Thread florian.wilh...@gmail.com
Hi,

pgfplotstable uses external data files to generate formatted lists like
\pgfplotstabletypeset{example1.dat}
The problem is that LyX creates a temp directory, copies over all
files and runs latex to generate the document there. Since it does not
copy example1.dat I get a corresponding error message.
I read much about this problem and workarounds in earlier posts but I
wonder what's the best solution for this today with LyX 2.0 under
Linux?
I know that I could always specify absolute paths, but this is
inadequate if my document is in a git repo to collaborate with others.

Two proper solutions come to my mind:
1) Tell LyX to copy over example1.dat into the temp directory. This
could be done in the document settings or maybe with some ERT.
2) Have  a macro that is processed before the copy process so that I can write:
\pgfplotstabletypeset{CWD/example1.dat}
and CWD expands to the absolute path of the current working directory,
not the temp dir path.

I don't know if 1) or 2) is currently possible and would appreciate
any suggestion on how to overcome this problem.

Best regards,

Florian Wilhelm


Table width

2011-09-27 Thread Lastalda
I'm trying to write a thesis with Lyx and am using tables (some within
floats, some without). 

1. Is there a possibility to set the tablewidth to \textwidth for the whole
document as default? Like adding something to the latex header? 
(And does this have to be done seperately for tables within and tables
without floats?)

2. In some cases I would like to use one adjustment column to achieve this.
(Meaning I have 4 columns and want columns 1,2 and 4 to be as wide as they
need to be according to their content, and colum 3 to have the width that is
needed to bring the whole table to \textwidth.) Is there a variable or
something I can insert in ERT into the 3rd column so it would do that? Or do
I really have to adjust the columnwidth manually in every table?
Example picture below; I would like to know what to insert for the fill
space
http://lyx.475766.n2.nabble.com/file/n6835621/tablewidth.png 

Any help would be much appreciated.
Thank you!
Lastalda

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Table-width-tp6835621p6835621.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Problem Outputting Particular TIFF File

2011-09-27 Thread Julien Rioux

On 27/09/2011 7:47 AM, Jane Shevtsov wrote:

Hi Mark,

I haven't changed anything in the past couple of weeks, when I reinstalled
MiKTeX and reconfigured LyX. (BTW, I just tried out a different TIFF file,
and it worked fine.) The flowchart is something I copied from a PDF and then
edited in Paint. All the other graphics were generated by R, so there could
be something there.

Thanks,
Jane



As a workaround you can save in .png format directly from Paint.

--
Julien



Re: lyx can't find lilypond-book

2011-09-27 Thread Julien Rioux

On 27/09/2011 9:55 AM, Tao Cumplido wrote:

Julien Riouxjriouxat  physics.utoronto.ca  writes:



Most likely there is something not working with lilypond-book. You could
try to run it from the command line to get more info. Start Menu  Run
type cmd  OK. Now type this in
lilypond-book --version
and see what it gives you.




Thanks. That indeed produced an error. I reinstalled LilyPond and know LyX
recognises it but when I try to view the PDF I get another error:
LyX: Cannot convert file
An error occured while running:
lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf
lilypond.lytex

I was wondering if there is perhaps a problem because I have Python 3 installed.
After reinstalling LilyPond typing 'python' in cmd results in 2.4 being
recognised as default version by the system but I'm sure before it was
version 3 which I guess why lilypond-book --version also was erroneous.




You would have to make sure that lilypond-book runs from the 
command-line before attempting its use within LyX. Unfortunately there 
are further problems with lilypond on windows, not least of which is 
this bug:

http://code.google.com/p/lilypond/issues/detail?id=1815

My feeling is that very few if any of the lilypond developers are 
windows users.


--
Julien



Re: LyX with pgfplotstable

2011-09-27 Thread Florian Wilhelm
Mukhtar Ullah mukhtar.ullah at informatik.uni-rostock.de writes:

 
 Follow this thread.Although about Inkscape but it addresses the same issue.
 http://thread.gmane.org/gmane.editors.lyx.general/71928
 
 Mukhtar
 
 


Thanks. I found a more suitable solution for me.
- Open Command Buffer (Alt+X)
- Type: info-insert buffer path
- Result: A macro with the document's current path
- Surround this macro with ERT to include whatever
  you want to include like:

ERT[\pgfplotstableread{]
MACRO[/home/florian/Documents/lyx/]
ERT[benchmarks/benchmarks.dat} \datatable]

where ERT[...] is TeX code inserted with CTRL+L
and MACRO[...] the aforementioned info-insert macro.



Re: PDF won't generate

2011-09-27 Thread Julien Rioux

On 26/09/2011 11:26 PM, Kevin Buchs wrote:

I have a similar problem with Lyx 2.0 on Windows 7. I have a custom style
and some required .JPG files that are inserted by that style. Lyx does not
copy them to its temporary directory. Ideally, I'd like Lyx to run latex in
my working directory. If I find the temporary directory, I can copy the
files manually to that directory, and then a second PDF generate command
will provide results, but this is sort of klunky. Anyone have suggestions?



Running LyX 2.0.1 might help here. There was some changes in the 
handling of external files: LyX now sets the TEXINPUTS environment 
variable, adding the document directory to this variable.


Uwe provided an installer for windows.

--
Julien



Re: LyX with pgfplotstable

2011-09-27 Thread Mukhtar Ullah
 ERT[\pgfplotstableread{]
 MACRO[/home/florian/Documents/lyx/]
 ERT[benchmarks/benchmarks.dat} \datatable]
 
 where ERT[...] is TeX code inserted with CTRL+L
 and MACRO[...] the aforementioned info-insert macro.
 

Interesting solution. I would also encourage you to try the solution using
TEXINPUT path introduced in LyX 2.0.1. That you have to do only once in your
preferences.

Mukhtar





Thank You!

2011-09-27 Thread Påvel Nicklasson
I have just published my first book written in LyX and I want to thank the
developers and the members on the list for a fantastic program and help
using it.

I think I have understood that many LyX-users are scientists. I am a lowly
scholar in the humanities, an archaeologist, and LyX is a suberb tool for
writing and designing our kind of books too.

The book is in Swedish with the title: ”Att aldrig vandra vill Johan Haquin
Wallman Sveriges förste arkeolog”. Translated to English: ”Never to wander
astray: Johan Haquin Wallman, Sweden’s first archaeologist”. It‘s a
biography over an archaeologist from the early 19th century.

If my work can be used to promote LyX on the website or other places, I
could provide more information.

Best Regards
Påvel Nicklasson


Re: Thank You!

2011-09-27 Thread Manolo Martínez
Viva LyX! From another lowly scholar in the humanities.

Manolo

On 09/27/11 at 03:52pm, Påvel Nicklasson wrote:
 I have just published my first book written in LyX and I want to thank the
 developers and the members on the list for a fantastic program and help
 using it.
 
 I think I have understood that many LyX-users are scientists. I am a lowly
 scholar in the humanities, an archaeologist, and LyX is a suberb tool for
 writing and designing our kind of books too.
 
 The book is in Swedish with the title: ”Att aldrig vandra vill Johan Haquin
 Wallman Sveriges förste arkeolog”. Translated to English: ”Never to wander
 astray: Johan Haquin Wallman, Sweden’s first archaeologist”. It‘s a
 biography over an archaeologist from the early 19th century.
 
 If my work can be used to promote LyX on the website or other places, I
 could provide more information.
 
 Best Regards
 Påvel Nicklasson

-- 


Re: Thank You!

2011-09-27 Thread Richard Heck
On 09/27/2011 09:55 AM, Manolo Martínez wrote:
 Viva LyX! From another lowly scholar in the humanities.

And another.

I thought there was somewhere on the wiki that people listed their
LyX-created books and linked to them, but I can't find it now

Richard

 Manolo

 On 09/27/11 at 03:52pm, Påvel Nicklasson wrote:
 I have just published my first book written in LyX and I want to thank the
 developers and the members on the list for a fantastic program and help
 using it.

 I think I have understood that many LyX-users are scientists. I am a lowly
 scholar in the humanities, an archaeologist, and LyX is a suberb tool for
 writing and designing our kind of books too.

 The book is in Swedish with the title: ”Att aldrig vandra vill Johan Haquin
 Wallman Sveriges förste arkeolog”. Translated to English: ”Never to wander
 astray: Johan Haquin Wallman, Sweden’s first archaeologist”. It‘s a
 biography over an archaeologist from the early 19th century.

 If my work can be used to promote LyX on the website or other places, I
 could provide more information.

 Best Regards
 Påvel Nicklasson



Re: LyX with pgfplotstable

2011-09-27 Thread Paul Johnson
It seems to me you are working very hard there. If you are willing to
write out a path, can I suggest a simpler solution? Did you try just
writing in a path, as:

\pgfplotstabletypeset{/home/florian/Documents/lyx/example1.dat}

This is how I insert data in Sweave documents.  I have no reason to
believe it does/does not work with pgfplotstabletypset (since I've
never heard of it). But I just tried several test cases and both
input' and includegraphics are OK:

\includegraphics{/home/pauljohn/ps/SVN-guides/Rcourse/plot-1/plots/t-bar06.pdf}

PJ

On Tue, Sep 27, 2011 at 7:34 AM, Florian Wilhelm
florian.wilh...@gmail.com wrote:
 Mukhtar Ullah mukhtar.ullah at informatik.uni-rostock.de writes:


 Follow this thread.Although about Inkscape but it addresses the same issue.
 http://thread.gmane.org/gmane.editors.lyx.general/71928

 Mukhtar




 Thanks. I found a more suitable solution for me.
 - Open Command Buffer (Alt+X)
 - Type: info-insert buffer path
 - Result: A macro with the document's current path
 - Surround this macro with ERT to include whatever
  you want to include like:

 ERT[\pgfplotstableread{]
 MACRO[/home/florian/Documents/lyx/]
 ERT[benchmarks/benchmarks.dat} \datatable]

 where ERT[...] is TeX code inserted with CTRL+L
 and MACRO[...] the aforementioned info-insert macro.





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


Re: Thank You!

2011-09-27 Thread Liviu Andronic
On Tue, Sep 27, 2011 at 5:17 PM, Richard Heck rgh...@comcast.net wrote:
 I thought there was somewhere on the wiki that people listed their
 LyX-created books and linked to them, but I can't find it now

This page [1], I guess.
Liviu

[1] http://wiki.lyx.org/LyX/ProducedPublications


Re: LyX with pgfplotstable

2011-09-27 Thread Mukhtar Ullah
Paul Johnson pauljohn32 at gmail.com writes:

 
 It seems to me you are working very hard there. If you are willing to
 write out a path,

Paul,
That is the problem--writing everytime an absolute path is not convenient and
kills portability of your document to another system.

Mukhtar





Re: Thank You!

2011-09-27 Thread Richard Heck
On 09/27/2011 11:38 AM, Liviu Andronic wrote:
 On Tue, Sep 27, 2011 at 5:17 PM, Richard Heck rgh...@comcast.net wrote:
 I thought there was somewhere on the wiki that people listed their
 LyX-created books and linked to them, but I can't find it now

 This page [1], I guess.
 Liviu

 [1] http://wiki.lyx.org/LyX/ProducedPublications

Someone, not necessarily you, should probably re-organize this, dividing
it (at least) into books versus articles. The number of articles written
with LyX must be astronomical; the number of books, especially books
actually printed from LyX-generated PDFs, must be much smaller.

Richard




Re: Thank You!

2011-09-27 Thread Shantanu Kulkarni
* Richard Heck rgh...@comcast.net [110927 22:29]:
 Someone, not necessarily you, should probably re-organize this, dividing
 it (at least) into books versus articles. The number of articles written
 with LyX must be astronomical; the number of books, especially books
 actually printed from LyX-generated PDFs, must be much smaller.

I am also interested in seeing lyx codes of some books to learn about
typesetting. Does anyone knows any url for these? Even handouts or
tutorial done using lyx would do.

Thanks,
Shantanu
www.shantanukulkarni.org
-- 


Re: Thank You!

2011-09-27 Thread Richard Heck
On 09/27/2011 01:05 PM, Shantanu Kulkarni wrote:
 * Richard Heck rgh...@comcast.net [110927 22:29]:
 Someone, not necessarily you, should probably re-organize this, dividing
 it (at least) into books versus articles. The number of articles written
 with LyX must be astronomical; the number of books, especially books
 actually printed from LyX-generated PDFs, must be much smaller.
 I am also interested in seeing lyx codes of some books to learn about
 typesetting. Does anyone knows any url for these? Even handouts or
 tutorial done using lyx would do.

The LyX documentation, available under Help, uses most of LyX's abilities.

Richard



Re: Thank You!

2011-09-27 Thread Påvel Nicklasson
2011/9/27 Richard Heck rgh...@comcast.net

 On 09/27/2011 11:38 AM, Liviu Andronic wrote:
  On Tue, Sep 27, 2011 at 5:17 PM, Richard Heck rgh...@comcast.net
 wrote:
  I thought there was somewhere on the wiki that people listed their
  LyX-created books and linked to them, but I can't find it now
 
  This page [1], I guess.
  Liviu
 
  [1] http://wiki.lyx.org/LyX/ProducedPublications
 
 Someone, not necessarily you, should probably re-organize this, dividing
 it (at least) into books versus articles. The number of articles written
 with LyX must be astronomical; the number of books, especially books
 actually printed from LyX-generated PDFs, must be much smaller.

 Richard



Actually my biggest problem was that the PDF:s produced by LyX were
impossible to use for the printing. I had to make a postscript file in LyX
and convert it in Adobe Distiller to PDF with the printing house's settings.
I suppose that it should be possible to have the correct settings directly
in LyX, but it was too much trouble and since the printing house never had
heard of LyX or LaTeX they could not assist me. The whole printing industry
uses Adobe's software.

I think that a guide on how to make prepress originals directly in LyX would
be great, but perhaps very hard to write, since all printing houses use
their own prepress settings. The documentation is poor and very advanced
when one scouts EPS2PDF, Ghostscript and other programs used behind the
scene.


LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Patrick De Visschere
Hello,

Including a .pdf file with \includegraphics and with a relative pathname like

\includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}

results in a file not found error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no problem.

This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

Regards,

P. De Visschere

Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Richard Heck
On 09/27/2011 04:47 PM, Patrick De Visschere wrote:
 Hello,

 Including a .pdf file with \includegraphics and with a relative pathname like

 \includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}

 results in a file not found error from the pdftex.def package.

 When exporting as .tex and processing with e.g. TeXShop there is no problem.

 This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

There have been some changes to how LyX handles external paths. These
are noted in the RELEASE NOTES file. I would guess that is the source of
the problem. If you can't resolve it, post a note to the devel list.

Richard



Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane

On Sep 27, 2011, at 4:47 PM, Patrick De Visschere wrote:


Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a file not found error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

Regards,

P. De Visschere


Are you using \includegraphics in a TeX Code box?
Or through the insert graphics LyX interface?

The former will cause problems because of the way LyX does the Tex  
compile in a temporary directory, which is not where your relative  
path is pointing.
If you use the LyX interface,  it resolves all of the paths before  
passing it off to the latex command.


I have the same issue with the \includepdf command and have just  
learned to use full path strings.

(Yes I know there is now a LyX dialog for this command)
Or I think you can define a default pathname in the preamble, but it  
is kind of messy.


I am a bit puzzled why the behavior switched between 2.0.0 and 2.0.1?
But maybe someone on the dev team can help.

HTH
Steve


Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane


On Sep 27, 2011, at 5:11 PM, Richard Heck wrote:


On 09/27/2011 04:47 PM, Patrick De Visschere wrote:

Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a file not found error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)


There have been some changes to how LyX handles external paths. These
are noted in the RELEASE NOTES file. I would guess that is the  
source of

the problem. If you can't resolve it, post a note to the devel list.



Yes indeed, a welcome improvement!
See info here
http://www.lyx.org/announce/2_0_1.txt

I guess it is time for me to upgrade to 2.0.1
(and ignore my previous reply to this thread!)


Editing Tool Bar Icons

2011-09-27 Thread Rich Shepard

  I hesitate to bring this up to the list because I don't like to
micromanage the application, typography, or page layouts. I leave that to
the experts. (About a dozen years ago I spent a lot of time trying to
install Type1 fonts in LaTeX, but gave up when I realized 1) I was wasting
time better spent using the tool and 2) Palatino is a perfectly fine body
text typeface.)

  However, ... there are a couple of icons I regularly use (such as the
footnote insertion pictograph) that don't appear because despite the LyX
window size in my 20 LCD wide screen monitor, there's not sufficient room
for them. At the same time, there are some icons I never use (Save, Print,
Open) and I'd like to either delete them or change their positions with the
icons I use more frequently.

  In ~/.lyx/ui/classic.ui I find the menus. Where can I find the contents of
the toolbars so I can mess them up from the order set by the developers?

Rich


Re: Editing Tool Bar Icons [RESOLVED]

2011-09-27 Thread Rich Shepard

On Tue, 27 Sep 2011, Rich Shepard wrote:


 In ~/.lyx/ui/classic.ui I find the menus. Where can I find the contents
of the toolbars so I can mess them up from the order set by the
developers?


  Thanks to Richard this has been resolved.

Rich


Changed Shortcuts Not Working

2011-09-27 Thread Rich Shepard

  I'm running lyx-2.0.1 on Slackware-13.1. Using the menus Tools -
Preferences - Editing - Shortcuts I define word-forward-delete as Alt-F.
LyX doesn't complain about a key conflict. But, when I try to use it I get
the File menu dropping down. Is this a Qt issue rather than a LyX issue? If
not, how do I make it work?

TIA,

Rich


Re: Changed Shortcuts Not Working

2011-09-27 Thread Richard Heck
On 09/27/2011 08:18 PM, Rich Shepard wrote:
   I'm running lyx-2.0.1 on Slackware-13.1. Using the menus Tools -
 Preferences - Editing - Shortcuts I define word-forward-delete as
 Alt-F.
 LyX doesn't complain about a key conflict. But, when I try to use it I
 get
 the File menu dropping down. Is this a Qt issue rather than a LyX
 issue? If
 not, how do I make it work?

I think Qt does see (and grab) the menu accelerator before LyX gets to
see it. But I'm not positive. If you really want to do this, you can
remove (or change) the menu accelerator in the stdmenus.inc file.

rh



Multilingual difficulties for beginners with Lyx

2011-09-27 Thread Lisa Andrews
I successfully use multiple languages in Lyx with Xetex by specifying
packages and fonts in the document preamble, or using inline ERT
(usepackage \fontspec etc)

I see on http://wiki.lyx.org/LyX/XeTeX, where it describes a similar
setup to my own, that it says:

Note: the following steps are only necessary up to LyX 1.6.x. As of
LyX 2.0, you will just need to click Document→Settings...→Fonts→Use
non-TeX fonts (via XeTeX/LuaTeX). Then you can immediately View→PDF
(XeTeX). 

However, when I tried this out for someone I recently installed Lyx
for (2.0.1 on a Mac, I use 2.0rc3 Win7) it seems that Xetex had no
idea which fonts to use for Chinese (the default font was in English).
Use non-Tex fonts was selected, document language package made no
difference. Note the 1.6.x approach with the preamble did work.

Shall I tell this user to put fontspec etc. into their preamble the
way I do, should I try the xeCJK macro mentioned in the wiki.lyx xetex
page, or have I missed something?

Thanks, Lisa


Re: Multilingual difficulties for beginners with Lyx

2011-09-27 Thread PhilipPirrip
Lisa, could you please send us examples of your old and new preamble, so 
that we could compare, in the order the commands are called.

You can copy everything until \begin{document}, in both cases, from
View  View Source...  Complete source

or just export your documents to .tex and copy from there.



Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-27 Thread Joe(theWordy)Philbrook

It would appear that on Sep 27, Guenter Milde did say:

 Alternatively, after a fix for http://www.lyx.org/trac/ticket/1042
 »Adding language none« you could tell LyX to ignore the
 non-standard-English parts of your document when spellchecking.

I don't think I want to add the complexity of defining any part of my doc
an non-English... Because while there are parts of my document where I need
to be thinking about whatever fictional words and or non-standard names
that I don't want to add to the wordlist when I spellcheck it. When/if
something makes me rewrite something in one of those sections I'll still
want to use spellcheck to screen it for my all to frequent (and sometimes
nearly dyslexic) typos. I just don't want to do this by mistake when I'm
not thinking about it. Hence I always depended on spell checking in a
forward linear process starting from the cursor position and ending when/if I
close the spell checker without correcting a flagged word such as whatever
GarRRbae word I'm using as a marker that day.

But I'm getting used to the previously mentioned kludge involving pasting
the selected section of my document into an empty document and checking it
there. It's not really any harder than it used to be to insert the marker
lines...

So you see, this is already a non-issue for me. I just wish I had found the
new spellchecker's behavior to be a little more stable. 

-- 
|   ~^~   ~^~
|   *   *   Joe (theWordy) Philbrook
|   ^J(tWdy)P
| \___/ jtw...@ttlc.net

Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-27 Thread Joe(theWordy)Philbrook

It would appear that on Sep 23, Joe(theWordy)Philbrook did say:

 While waiting in hopes of a better method, I figured out a very crude down
 and dirty work around...
 
 First, as previously described, I wrap the section of the document I intend to
 spellcheck with the the begin and end marker lines. {with or without the
 deliberately misspelled garbage word} But it MUST stand out visually. 
 
 Then I open a garbage .lyx file and delete any existing content. Then I
 switch back to the real file and mark  cut everything in between the
 marker lines. Next I paste that into the garbage file and spellcheck that
 file. When the spell checking is complete I can mark  cut the contents the
 return to the real file, and paste the spellchecked content in between the
 marker lines...
 
 This at least works. But I shouldn't have to do it this way.

I Noticed a fringe benefit to doing it this way BTW...

One of my pet peeves about the new spell checker is that the sidebar
doesn't go away when I escape out of it AND there doesn't seem to be a way
to assign a keyboard shortcut to the act of dismissing it.
{I strongly dislike having to use my sometimes non-existent mouse pointer
coordination to position the durned pointer on that tiny little x long
enough to click on it...}

Well that fringe benefit is that since the garbage .lyx file ONLY contains
the text I actually want to spellcheck, I start spellchecking by first
pressing ctrl+home Then F7 so when it gets to the end of the garbage
file the spellchecker knows it just checked the whole file. (Assuming I
didn't have to interrupt it in mid process) and then when it reaches the end
of the file that durned sidebar automatically goes away.
{You know the one. I'm talking about the sidebar that in my humble opinion
should go away by itself every time spell checking is escapeed out of... So
that by it's very presence on screen I could know that the enter key would
push the currently selected sidebar button rather than replacing the
hi-lighted word with a new paragraph...} 

-- 
|   ~~~   ~~~
|   @   @  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~   jtw...@ttlc.net



Re: lyx can't find lilypond-book

2011-09-27 Thread Tao Cumplido
Julien Rioux  physics.utoronto.ca> writes:

> 
> Most likely there is something not working with lilypond-book. You could 
> try to run it from the command line to get more info. Start Menu > Run > 
> type "cmd" > OK. Now type this in
> lilypond-book --version
> and see what it gives you.
> 


Thanks. That indeed produced an error. I reinstalled LilyPond and know LyX
recognises it but when I try to view the PDF I get another error:
LyX: Cannot convert file
An error occured while running:
lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf
"lilypond.lytex"

I was wondering if there is perhaps a problem because I have Python 3 
installed. 
After reinstalling LilyPond typing 'python' in cmd results in 2.4 being
recognised as default version by the system but I'm sure before it was
version 3 which I guess why lilypond-book --version also was erroneous.



Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-27 Thread Guenter Milde
On 2011-09-26, Joe(theWordy)Philbrook wrote:

> And until such a time as http://www.lyx.org/trac/ticket/2511 becomes a
> reality, I think I'll just use that kludge I just described.

Alternatively, after a fix for http://www.lyx.org/trac/ticket/1042
»Adding language "none"« you could tell LyX to ignore the
non-standard-English parts of your document when spellchecking.

Günter



LyX with pgfplotstable

2011-09-27 Thread florian.wilh...@gmail.com
Hi,

pgfplotstable uses external data files to generate formatted lists like
\pgfplotstabletypeset{example1.dat}
The problem is that LyX creates a temp directory, copies over all
files and runs latex to generate the document there. Since it does not
copy example1.dat I get a corresponding error message.
I read much about this problem and workarounds in earlier posts but I
wonder what's the best solution for this today with LyX 2.0 under
Linux?
I know that I could always specify absolute paths, but this is
inadequate if my document is in a git repo to collaborate with others.

Two proper solutions come to my mind:
1) Tell LyX to copy over example1.dat into the temp directory. This
could be done in the document settings or maybe with some ERT.
2) Have  a macro that is processed before the copy process so that I can write:
\pgfplotstabletypeset{CWD/example1.dat}
and CWD expands to the absolute path of the current working directory,
not the temp dir path.

I don't know if 1) or 2) is currently possible and would appreciate
any suggestion on how to overcome this problem.

Best regards,

Florian Wilhelm


Table width

2011-09-27 Thread Lastalda
I'm trying to write a thesis with Lyx and am using tables (some within
floats, some without). 

1. Is there a possibility to set the tablewidth to \textwidth for the whole
document as default? Like adding something to the latex header? 
(And does this have to be done seperately for tables within and tables
without floats?)

2. In some cases I would like to use one adjustment column to achieve this.
(Meaning I have 4 columns and want columns 1,2 and 4 to be as wide as they
need to be according to their content, and colum 3 to have the width that is
needed to bring the whole table to \textwidth.) Is there a variable or
something I can insert in ERT into the 3rd column so it would do that? Or do
I really have to adjust the columnwidth manually in every table?
Example picture below; I would like to know what to insert for the "fill
space"
http://lyx.475766.n2.nabble.com/file/n6835621/tablewidth.png 

Any help would be much appreciated.
Thank you!
Lastalda

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Table-width-tp6835621p6835621.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Problem Outputting Particular TIFF File

2011-09-27 Thread Julien Rioux

On 27/09/2011 7:47 AM, Jane Shevtsov wrote:

Hi Mark,

I haven't changed anything in the past couple of weeks, when I reinstalled
MiKTeX and reconfigured LyX. (BTW, I just tried out a different TIFF file,
and it worked fine.) The flowchart is something I copied from a PDF and then
edited in Paint. All the other graphics were generated by R, so there could
be something there.

Thanks,
Jane



As a workaround you can save in .png format directly from Paint.

--
Julien



Re: lyx can't find lilypond-book

2011-09-27 Thread Julien Rioux

On 27/09/2011 9:55 AM, Tao Cumplido wrote:

Julien Rioux  writes:



Most likely there is something not working with lilypond-book. You could
try to run it from the command line to get more info. Start Menu>  Run>
type "cmd">  OK. Now type this in
lilypond-book --version
and see what it gives you.




Thanks. That indeed produced an error. I reinstalled LilyPond and know LyX
recognises it but when I try to view the PDF I get another error:
LyX: Cannot convert file
An error occured while running:
lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf
"lilypond.lytex"

I was wondering if there is perhaps a problem because I have Python 3 installed.
After reinstalling LilyPond typing 'python' in cmd results in 2.4 being
recognised as default version by the system but I'm sure before it was
version 3 which I guess why lilypond-book --version also was erroneous.




You would have to make sure that lilypond-book runs from the 
command-line before attempting its use within LyX. Unfortunately there 
are further problems with lilypond on windows, not least of which is 
this bug:

http://code.google.com/p/lilypond/issues/detail?id=1815

My feeling is that very few if any of the lilypond developers are 
windows users.


--
Julien



Re: LyX with pgfplotstable

2011-09-27 Thread Florian Wilhelm
Mukhtar Ullah  informatik.uni-rostock.de> writes:

> 
> Follow this thread.Although about Inkscape but it addresses the same issue.
> http://thread.gmane.org/gmane.editors.lyx.general/71928
> 
> Mukhtar
> 
> 


Thanks. I found a more suitable solution for me.
- Open Command Buffer (Alt+X)
- Type: info-insert buffer path
- Result: A macro with the document's current path
- Surround this macro with ERT to include whatever
  you want to include like:

ERT[\pgfplotstableread{]
MACRO[/home/florian/Documents/lyx/]
ERT[benchmarks/benchmarks.dat} \datatable]

where ERT[...] is TeX code inserted with CTRL+L
and MACRO[...] the aforementioned info-insert macro.



Re: PDF won't generate

2011-09-27 Thread Julien Rioux

On 26/09/2011 11:26 PM, Kevin Buchs wrote:

I have a similar problem with Lyx 2.0 on Windows 7. I have a custom style
and some required .JPG files that are inserted by that style. Lyx does not
copy them to its temporary directory. Ideally, I'd like Lyx to run latex in
my working directory. If I find the temporary directory, I can copy the
files manually to that directory, and then a second PDF generate command
will provide results, but this is sort of klunky. Anyone have suggestions?



Running LyX 2.0.1 might help here. There was some changes in the 
handling of external files: LyX now sets the TEXINPUTS environment 
variable, adding the document directory to this variable.


Uwe provided an installer for windows.

--
Julien



Re: LyX with pgfplotstable

2011-09-27 Thread Mukhtar Ullah
> ERT[\pgfplotstableread{]
> MACRO[/home/florian/Documents/lyx/]
> ERT[benchmarks/benchmarks.dat} \datatable]
> 
> where ERT[...] is TeX code inserted with CTRL+L
> and MACRO[...] the aforementioned info-insert macro.
> 

Interesting solution. I would also encourage you to try the solution using
TEXINPUT path introduced in LyX 2.0.1. That you have to do only once in your
preferences.

Mukhtar





Thank You!

2011-09-27 Thread Påvel Nicklasson
I have just published my first book written in LyX and I want to thank the
developers and the members on the list for a fantastic program and help
using it.

I think I have understood that many LyX-users are scientists. I am a lowly
scholar in the humanities, an archaeologist, and LyX is a suberb tool for
writing and designing our kind of books too.

The book is in Swedish with the title: ”Att aldrig vandra vill Johan Haquin
Wallman Sveriges förste arkeolog”. Translated to English: ”Never to wander
astray: Johan Haquin Wallman, Sweden’s first archaeologist”. It‘s a
biography over an archaeologist from the early 19th century.

If my work can be used to promote LyX on the website or other places, I
could provide more information.

Best Regards
Påvel Nicklasson


Re: Thank You!

2011-09-27 Thread Manolo Martínez
Viva LyX! From another lowly scholar in the humanities.

Manolo

On 09/27/11 at 03:52pm, Påvel Nicklasson wrote:
> I have just published my first book written in LyX and I want to thank the
> developers and the members on the list for a fantastic program and help
> using it.
> 
> I think I have understood that many LyX-users are scientists. I am a lowly
> scholar in the humanities, an archaeologist, and LyX is a suberb tool for
> writing and designing our kind of books too.
> 
> The book is in Swedish with the title: ”Att aldrig vandra vill Johan Haquin
> Wallman Sveriges förste arkeolog”. Translated to English: ”Never to wander
> astray: Johan Haquin Wallman, Sweden’s first archaeologist”. It‘s a
> biography over an archaeologist from the early 19th century.
> 
> If my work can be used to promote LyX on the website or other places, I
> could provide more information.
> 
> Best Regards
> Påvel Nicklasson

-- 


Re: Thank You!

2011-09-27 Thread Richard Heck
On 09/27/2011 09:55 AM, Manolo Martínez wrote:
> Viva LyX! From another lowly scholar in the humanities.
>
And another.

I thought there was somewhere on the wiki that people listed their
LyX-created books and linked to them, but I can't find it now

Richard

> Manolo
>
> On 09/27/11 at 03:52pm, Påvel Nicklasson wrote:
>> I have just published my first book written in LyX and I want to thank the
>> developers and the members on the list for a fantastic program and help
>> using it.
>>
>> I think I have understood that many LyX-users are scientists. I am a lowly
>> scholar in the humanities, an archaeologist, and LyX is a suberb tool for
>> writing and designing our kind of books too.
>>
>> The book is in Swedish with the title: ”Att aldrig vandra vill Johan Haquin
>> Wallman Sveriges förste arkeolog”. Translated to English: ”Never to wander
>> astray: Johan Haquin Wallman, Sweden’s first archaeologist”. It‘s a
>> biography over an archaeologist from the early 19th century.
>>
>> If my work can be used to promote LyX on the website or other places, I
>> could provide more information.
>>
>> Best Regards
>> Påvel Nicklasson



Re: LyX with pgfplotstable

2011-09-27 Thread Paul Johnson
It seems to me you are working very hard there. If you are willing to
write out a path, can I suggest a simpler solution? Did you try just
writing in a path, as:

\pgfplotstabletypeset{/home/florian/Documents/lyx/example1.dat}

This is how I insert data in Sweave documents.  I have no reason to
believe it does/does not work with pgfplotstabletypset (since I've
never heard of it). But I just tried several test cases and both
"input' and "includegraphics" are OK:

\includegraphics{/home/pauljohn/ps/SVN-guides/Rcourse/plot-1/plots/t-bar06.pdf}

PJ

On Tue, Sep 27, 2011 at 7:34 AM, Florian Wilhelm
 wrote:
> Mukhtar Ullah  informatik.uni-rostock.de> writes:
>
>>
>> Follow this thread.Although about Inkscape but it addresses the same issue.
>> http://thread.gmane.org/gmane.editors.lyx.general/71928
>>
>> Mukhtar
>>
>>
>
>
> Thanks. I found a more suitable solution for me.
> - Open Command Buffer (Alt+X)
> - Type: info-insert buffer path
> - Result: A macro with the document's current path
> - Surround this macro with ERT to include whatever
>  you want to include like:
>
> ERT[\pgfplotstableread{]
> MACRO[/home/florian/Documents/lyx/]
> ERT[benchmarks/benchmarks.dat} \datatable]
>
> where ERT[...] is TeX code inserted with CTRL+L
> and MACRO[...] the aforementioned info-insert macro.
>
>



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


Re: Thank You!

2011-09-27 Thread Liviu Andronic
On Tue, Sep 27, 2011 at 5:17 PM, Richard Heck  wrote:
> I thought there was somewhere on the wiki that people listed their
> LyX-created books and linked to them, but I can't find it now
>
This page [1], I guess.
Liviu

[1] http://wiki.lyx.org/LyX/ProducedPublications


Re: LyX with pgfplotstable

2011-09-27 Thread Mukhtar Ullah
Paul Johnson  gmail.com> writes:

> 
> It seems to me you are working very hard there. If you are willing to
> write out a path,

Paul,
That is the problem--writing everytime an absolute path is not convenient and
kills portability of your document to another system.

Mukhtar





Re: Thank You!

2011-09-27 Thread Richard Heck
On 09/27/2011 11:38 AM, Liviu Andronic wrote:
> On Tue, Sep 27, 2011 at 5:17 PM, Richard Heck  wrote:
>> I thought there was somewhere on the wiki that people listed their
>> LyX-created books and linked to them, but I can't find it now
>>
> This page [1], I guess.
> Liviu
>
> [1] http://wiki.lyx.org/LyX/ProducedPublications
>
Someone, not necessarily you, should probably re-organize this, dividing
it (at least) into books versus articles. The number of articles written
with LyX must be astronomical; the number of books, especially books
actually printed from LyX-generated PDFs, must be much smaller.

Richard




Re: Thank You!

2011-09-27 Thread Shantanu Kulkarni
* Richard Heck  [110927 22:29]:
> Someone, not necessarily you, should probably re-organize this, dividing
> it (at least) into books versus articles. The number of articles written
> with LyX must be astronomical; the number of books, especially books
> actually printed from LyX-generated PDFs, must be much smaller.

I am also interested in seeing lyx codes of some books to learn about
typesetting. Does anyone knows any url for these? Even handouts or
tutorial done using lyx would do.

Thanks,
Shantanu
www.shantanukulkarni.org
-- 


Re: Thank You!

2011-09-27 Thread Richard Heck
On 09/27/2011 01:05 PM, Shantanu Kulkarni wrote:
> * Richard Heck  [110927 22:29]:
>> Someone, not necessarily you, should probably re-organize this, dividing
>> it (at least) into books versus articles. The number of articles written
>> with LyX must be astronomical; the number of books, especially books
>> actually printed from LyX-generated PDFs, must be much smaller.
> I am also interested in seeing lyx codes of some books to learn about
> typesetting. Does anyone knows any url for these? Even handouts or
> tutorial done using lyx would do.
>
The LyX documentation, available under Help, uses most of LyX's abilities.

Richard



Re: Thank You!

2011-09-27 Thread Påvel Nicklasson
2011/9/27 Richard Heck 

> On 09/27/2011 11:38 AM, Liviu Andronic wrote:
> > On Tue, Sep 27, 2011 at 5:17 PM, Richard Heck 
> wrote:
> >> I thought there was somewhere on the wiki that people listed their
> >> LyX-created books and linked to them, but I can't find it now
> >>
> > This page [1], I guess.
> > Liviu
> >
> > [1] http://wiki.lyx.org/LyX/ProducedPublications
> >
> Someone, not necessarily you, should probably re-organize this, dividing
> it (at least) into books versus articles. The number of articles written
> with LyX must be astronomical; the number of books, especially books
> actually printed from LyX-generated PDFs, must be much smaller.
>
> Richard
>
>
>
Actually my biggest problem was that the PDF:s produced by LyX were
impossible to use for the printing. I had to make a postscript file in LyX
and convert it in Adobe Distiller to PDF with the printing house's settings.
I suppose that it should be possible to have the correct settings directly
in LyX, but it was too much trouble and since the printing house never had
heard of LyX or LaTeX they could not assist me. The whole printing industry
uses Adobe's software.

I think that a guide on how to make prepress originals directly in LyX would
be great, but perhaps very hard to write, since all printing houses use
their own prepress settings. The documentation is poor and very advanced
when one scouts EPS2PDF, Ghostscript and other programs used behind the
scene.


LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Patrick De Visschere
Hello,

Including a .pdf file with \includegraphics and with a relative pathname like

\includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}

results in a "file not found" error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no problem.

This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

Regards,

P. De Visschere

Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Richard Heck
On 09/27/2011 04:47 PM, Patrick De Visschere wrote:
> Hello,
>
> Including a .pdf file with \includegraphics and with a relative pathname like
>
> \includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}
>
> results in a "file not found" error from the pdftex.def package.
>
> When exporting as .tex and processing with e.g. TeXShop there is no problem.
>
> This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)
>
There have been some changes to how LyX handles external paths. These
are noted in the RELEASE NOTES file. I would guess that is the source of
the problem. If you can't resolve it, post a note to the devel list.

Richard



Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane

On Sep 27, 2011, at 4:47 PM, Patrick De Visschere wrote:


Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a "file not found" error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

Regards,

P. De Visschere


Are you using \includegraphics in a TeX Code box?
Or through the insert graphics LyX interface?

The former will cause problems because of the way LyX does the Tex  
compile in a temporary directory, which is not where your relative  
path is pointing.
If you use the LyX interface,  it resolves all of the paths before  
passing it off to the latex command.


I have the same issue with the \includepdf command and have just  
learned to use full path strings.

(Yes I know there is now a LyX dialog for this command)
Or I think you can define a default pathname in the preamble, but it  
is kind of messy.


I am a bit puzzled why the behavior switched between 2.0.0 and 2.0.1?
But maybe someone on the dev team can help.

HTH
Steve


Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane


On Sep 27, 2011, at 5:11 PM, Richard Heck wrote:


On 09/27/2011 04:47 PM, Patrick De Visschere wrote:

Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a "file not found" error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)


There have been some changes to how LyX handles external paths. These
are noted in the RELEASE NOTES file. I would guess that is the  
source of

the problem. If you can't resolve it, post a note to the devel list.



Yes indeed, a welcome improvement!
See info here
http://www.lyx.org/announce/2_0_1.txt

I guess it is time for me to upgrade to 2.0.1
(and ignore my previous reply to this thread!)


Editing Tool Bar Icons

2011-09-27 Thread Rich Shepard

  I hesitate to bring this up to the list because I don't like to
micromanage the application, typography, or page layouts. I leave that to
the experts. (About a dozen years ago I spent a lot of time trying to
install Type1 fonts in LaTeX, but gave up when I realized 1) I was wasting
time better spent using the tool and 2) Palatino is a perfectly fine body
text typeface.)

  However, ... there are a couple of icons I regularly use (such as the
footnote insertion pictograph) that don't appear because despite the LyX
window size in my 20" LCD wide screen monitor, there's not sufficient room
for them. At the same time, there are some icons I never use (Save, Print,
Open) and I'd like to either delete them or change their positions with the
icons I use more frequently.

  In ~/.lyx/ui/classic.ui I find the menus. Where can I find the contents of
the toolbars so I can mess them up from the order set by the developers?

Rich


Re: Editing Tool Bar Icons [RESOLVED]

2011-09-27 Thread Rich Shepard

On Tue, 27 Sep 2011, Rich Shepard wrote:


 In ~/.lyx/ui/classic.ui I find the menus. Where can I find the contents
of the toolbars so I can mess them up from the order set by the
developers?


  Thanks to Richard this has been resolved.

Rich


Changed Shortcuts Not Working

2011-09-27 Thread Rich Shepard

  I'm running lyx-2.0.1 on Slackware-13.1. Using the menus Tools ->
Preferences -> Editing -> Shortcuts I define word-forward-delete as Alt-F.
LyX doesn't complain about a key conflict. But, when I try to use it I get
the File menu dropping down. Is this a Qt issue rather than a LyX issue? If
not, how do I make it work?

TIA,

Rich


Re: Changed Shortcuts Not Working

2011-09-27 Thread Richard Heck
On 09/27/2011 08:18 PM, Rich Shepard wrote:
>   I'm running lyx-2.0.1 on Slackware-13.1. Using the menus Tools ->
> Preferences -> Editing -> Shortcuts I define word-forward-delete as
> Alt-F.
> LyX doesn't complain about a key conflict. But, when I try to use it I
> get
> the File menu dropping down. Is this a Qt issue rather than a LyX
> issue? If
> not, how do I make it work?
>
I think Qt does see (and grab) the menu accelerator before LyX gets to
see it. But I'm not positive. If you really want to do this, you can
remove (or change) the menu accelerator in the stdmenus.inc file.

rh



Multilingual difficulties for beginners with Lyx

2011-09-27 Thread Lisa Andrews
I successfully use multiple languages in Lyx with Xetex by specifying
packages and fonts in the document preamble, or using inline ERT
(usepackage \fontspec etc)

I see on http://wiki.lyx.org/LyX/XeTeX, where it describes a similar
setup to my own, that it says:

"Note: the following steps are only necessary up to LyX 1.6.x. As of
LyX 2.0, you will just need to click Document→Settings...→Fonts→Use
non-TeX fonts (via XeTeX/LuaTeX). Then you can immediately View→PDF
(XeTeX). "

However, when I tried this out for someone I recently installed Lyx
for (2.0.1 on a Mac, I use 2.0rc3 Win7) it seems that Xetex had no
idea which fonts to use for Chinese (the default font was in English).
Use non-Tex fonts was selected, document language package made no
difference. Note the 1.6.x approach with the preamble did work.

Shall I tell this user to put fontspec etc. into their preamble the
way I do, should I try the xeCJK macro mentioned in the wiki.lyx xetex
page, or have I missed something?

Thanks, Lisa


Re: Multilingual difficulties for beginners with Lyx

2011-09-27 Thread PhilipPirrip
Lisa, could you please send us examples of your old and new preamble, so 
that we could compare, in the order the commands are called.

You can copy everything until \begin{document}, in both cases, from
View > View Source... > Complete source

or just export your documents to .tex and copy from there.



Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-27 Thread Joe(theWordy)Philbrook

It would appear that on Sep 27, Guenter Milde did say:

> Alternatively, after a fix for http://www.lyx.org/trac/ticket/1042
> »Adding language "none"« you could tell LyX to ignore the
> non-standard-English parts of your document when spellchecking.

I don't think I want to add the complexity of defining any part of my doc
an non-English... Because while there are parts of my document where I need
to be thinking about whatever fictional words and or non-standard names
that I don't want to add to the wordlist when I spellcheck it. When/if
something makes me rewrite something in one of those sections I'll still
want to use spellcheck to screen it for my all to frequent (and sometimes
nearly dyslexic) typos. I just don't want to do this by mistake when I'm
not thinking about it. Hence I always depended on spell checking in a
forward linear process starting from the cursor position and ending when/if I
close the spell checker without correcting a flagged word such as whatever
GarRRbae word I'm using as a marker that day.

But I'm getting used to the previously mentioned kludge involving pasting
the selected section of my document into an empty document and checking it
there. It's not really any harder than it used to be to insert the marker
lines...

So you see, this is already a non-issue for me. I just wish I had found the
new spellchecker's behavior to be a little more stable. 

-- 
|   ~^~   ~^~
|   <*>   <*>   Joe (theWordy) Philbrook
|   ^J(tWdy)P
| \___/ <>

Re: LyX 2: spell checker skips around whole document ARrrgGgaAaaaaaaaaaa!!!!!

2011-09-27 Thread Joe(theWordy)Philbrook

It would appear that on Sep 23, Joe(theWordy)Philbrook did say:

> While waiting in hopes of a better method, I figured out a very crude down
> and dirty work around...
> 
> First, as previously described, I wrap the section of the document I intend to
> spellcheck with the the begin and end marker lines. {with or without the
> deliberately misspelled garbage word} But it MUST stand out visually. 
> 
> Then I open a garbage .lyx file and delete any existing content. Then I
> switch back to the real file and mark & cut everything in between the
> marker lines. Next I paste that into the garbage file and spellcheck that
> file. When the spell checking is complete I can mark & cut the contents the
> return to the real file, and paste the spellchecked content in between the
> marker lines...
> 
> This at least works. But I shouldn't have to do it this way.

I Noticed a fringe benefit to doing it this way BTW...

One of my pet peeves about the new spell checker is that the sidebar
doesn't go away when I escape out of it AND there doesn't seem to be a way
to assign a keyboard shortcut to the act of dismissing it.
{I strongly dislike having to use my sometimes non-existent mouse pointer
coordination to position the durned pointer on that tiny little "x" long
enough to click on it...}

Well that fringe benefit is that since the garbage .lyx file ONLY contains
the text I actually want to spellcheck, I start spellchecking by first
pressing + Then  so when it gets to the end of the garbage
file the spellchecker knows it just checked the whole file. (Assuming I
didn't have to interrupt it in mid process) and then when it reaches the end
of the file that durned sidebar automatically goes away.
{You know the one. I'm talking about the sidebar that in my humble opinion
should go away by itself every time spell checking is ed out of... So
that by it's very presence on screen I could know that the enter key would
"push" the currently selected sidebar button rather than replacing the
hi-lighted word with a new paragraph...} 

-- 
|   ~~~   ~~~
|   <@>   <@>  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~   <>