Re: Polytonic Greek input?

2012-04-26 Thread Guenter Milde
On 2012-04-25, stefano franchi wrote:
 On Mon, Apr 23, 2012 at 3:49 PM, Guenter Milde mi...@users.sf.net wrote:
 On 2012-04-23, stefano franchi wrote:

 BTW: I am using memoir with Luatex, language is utf8(Xetex), babel
 loaded with Greek polutoniko (among others).

 I have no experience with LuaTeX and I don't know whether it works with
 the babel greek option at all (and which fonts are used in this case).

 Maybe your document loads fontspec after babel and this way overwrites the
 selection of LGR-encoded fonts for Greek.

 Hmm, unless memoir does something funny, fontspec should be loaded
 first. It's the second line in the Latex source (right after the doc
 class)

To be precise, the line(s) to look for not loading fontspec but the last
font definition(s) (\setmainfont etc.) which can happen also in the
custom LaTeX preamble.

 Do you use some hack to overwrite the font-encoding switch usually done
 with \textgreek?

 No.

This indicates that (in most cases) using the (8-bit) LaTeX fonts in LGR
encoding for Greek.

To be sure when which font is used, you could experiment with a different
(e.g. sans-serif) main text font via the use-non-tex-fonts GUI. Then
try with Greek Unicode characters inside and outside a region marked as
Greek (polytonic).

Also, try to find out whether you use babel or polyglossia (the latter is
recommended with Xe/LuaTeX and Greek.


 a) use the pre-composed Unicode characters in the Greek extended block
   (drag and drop from somewhere or use InsertSymbols).

 Using insertsymbols works, but it is a pain to use. Copy and pasting
 from external sources does not. I see the proper greek on screen, but
 the characters simply disappear in the pdf.

All characters or just some?

 Characters disappearing in the PDF are usually an indication of an
 incomplete font. On screen, the system (or the QT libs or fontconfig, or
 X...) use auto-substitution of missing characters in the configured font
 with characters from another known system font, xetex and luatex do not have
 this nice feature.

 Make sure the document text font contains the pre-composed characters in the
 Greek-extended Unicode block.

 I thought about that. I may be using an incomplete font. It's Minion
 Pro. I'll double check with another font with more complete coverage.

If simple Greek characters are present but accented ones not, this is a good
indicator for an incomplete font. If no Greek is visible at all, this hints
at a different problem.

 But:  the Greek text entered as ERT displays fine. Does that mean that
 latex (babel?) switches to an alternative font when it sees the
 \textgreek command?

Yes. The \textgreek command switches the font encoding to LGR, (La)TeX then
selects a font in LGR encoding.

 b) use the LGR transliteration which is described in the babel Greek
   documentation http://mirror.ctan.org/info/babel/babel.pdf

...

 The conversion of , , and | to \textless, \textgreater, and \textbar is
 only required with the legacy OT1 font encoding (i.e. never in Greek and
 not with LyX's default setting of T1). Write a bug report?


 Ok, I'll file a bug report. But what is the bug, exactly? Something like:

 Lyx should not escape symbols when using T1 font encoding?

LyX should escape , , and | only when using OT1 font encoding.

 If, instead, I enter  \textgreek{epim'eleia eato\~u} in ERT, I get
 the expected output

 This means you should be fine with ERT for these characters (or
 phrases/words containing these characters) and the tilde.
 (The \textgreek is inserted by LyX when you set the language.)

 Lyx actually inserts a \foreignlanguage{polutonikogreek}{...}. Is that
 equivalent?

This depends on the language package: babel switches the font encoding to
LGR, polyglossia not (because there is no need for a different font encoding
with Unicode-encoded fonts.
Just try: if the transliteration still works, it's babel; if the Latin
input come out as Latin, it's polyglossia.


 With XeTeX or LuaTeX, I recommend

 * Use polyglossia instead of babel.

 * Use a text font that contains the precomposed Greek characters
  (you can also set up a different font for Greek and Latin in the LaTeX
  preamble, see the fontspec manual).

 * Use Unicode characters for the input. (The LGR transliteration does not
  work without legacy 8-bit LGR encoded fonts.)

If you need this often, set up keybindings (e.g. a system-wide toggle
between Greek and Latin keyboard layout).


Günter



Moderncv problems

2012-04-26 Thread Emil Pavlov

Dear Lyx users,

I downloaded the example lyx file for moderncv from

http://wiki.lyx.org/Examples/CV

but I get the following error when I try to compile it

! LaTeX Error: There's no line here to end.

See the LaTeX manual or LaTeX Companion for explanation.

Type H return for immediate help.

...

l.68 \maketitle

Your command was ignored.

Type I command return to replace it with another command,

or return to continue without it.


Any ideas



Re: Compilation problem

2012-04-26 Thread Richard Heck

On 04/25/2012 06:44 PM, Emil Pavlov wrote:
I have a problem with compiling my bachelor thesis and do not know 
what to do. Can you take a look and give me some ideas?


Erase the last half of it, and see if it compiles. If so, put that back 
and erase the first half. Keep going until you isolate the problem.


Obviously, do this on a copy, not on the original!

Richard



Re: HTML Pagination Issues

2012-04-26 Thread Richard Heck

On 04/25/2012 11:59 PM, Raymond Lillard wrote:

Dear Lyx-Users,

I have looked and read documentation and Googled for
hours and have yet to find answers to two questions.

My Lyx environment:

Lyx 2.1.0svn as of about a week ago.
TexLive2011 + updates also current about a week ago.

I have written a ~100 page document and would like
to accomplish two things.  While writing this document
I have been previewing it as a PDF and now have a nice
looking document.

I have been asked to prepare an HTML version of the
document. I have done so and it too looks really nice
with two minor (well maybe 1 1/2) flaws.

The first and most bothersome is that I have placed
some ERT to handle page numbering in the PDF output.

For the cover page:
\thispagestyleempty

and for general page numbering:
\lhead Name: \pagenumberingroman

This ERT appears in my HTML output when view in a
browser.

What are you using to produce the HTML output? LyX's own method should 
not do this, and does not do it in the test I just ran.



I would like to not need to modify the document
depending on the output form.  Is this possible?


You could use branches to turn things on and off.


Secondly, I would like the output to be one large
file but with defined page numbers just like the PDF.

I guess I don't really understand this. I'd be happy to add it to LyX's 
XHTML output routine, but how does one know where to break the pages?


Richard



keyboard Scrolling Anomaly

2012-04-26 Thread Rashif Ray Rahman
Hi all

I've not been a LyX user for long but am going to write a 300-page academic
paper with it for the final typesetting and formatting. I've practised on
and off for the past few months but one thing that has always troubled me
is how I'm unable to scroll with the keyboard (up and down arrow keys). I'd
like to be rid of the mouse if possible.

When I hold a particular directional key for up to 20 secs it appears to
work but as if it's in slow motion. Qt shouldn't be having any such
scrolling problem, so I haven't been able to troubleshoot this any further.

Has anyone noticed this? I've not found any trace of such an issue on the
bugtracker or elsewhere, but it's possible I might've missed something.

Thanks for reading!


--
GPG/PGP ID: C0711BF1


Re: keyboard Scrolling Anomaly

2012-04-26 Thread David L. Johnson

On 04/26/2012 10:30 AM, Rashif Ray Rahman wrote:

Hi all

I've not been a LyX user for long but am going to write a 300-page 
academic paper with it for the final typesetting and formatting. I've 
practised on and off for the past few months but one thing that has 
always troubled me is how I'm unable to scroll with the keyboard (up 
and down arrow keys). I'd like to be rid of the mouse if possible.


When I hold a particular directional key for up to 20 secs it appears 
to work but as if it's in slow motion. Qt shouldn't be having any such 
scrolling problem, so I haven't been able to troubleshoot this any 
further.
I don't see this behavior at all.  The only thing that slows down 
scrolling with the arrows is if the cursor enters a math formula.  Then 
it runs through all the superscripts and subscripts, but still it is 
reasonably fast.


You also might try using the Pageup and Pagedown keys.

What system are you using?  Mine is debian testing (a linux variant), on 
a fast machine -- but it works well on even my slow netbook.


--

David L. Johnson

A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines.
--Ralph Waldo Emerson



Symbols in 2.0.3

2012-04-26 Thread Sebastian Stein
Hi.

I tried to insert different symbols in an standard environment (not math mode) 
within KOMA article using utf8.
While the handbook claims otherwise it doesn't work.


Error messages:
Package inputenc Error: Unicode char \u8:⇓ not set up for use with LaTeX.
Package inputenc Error: Unicode char \u8:↠ not set up for use with LaTeX.

Any ideas or workarounds?

Regards
Sebastian


v1.lyx
Description: application/lyx


Scrolling Slowness [Re: keyboard Scrolling Anomaly]

2012-04-26 Thread Richard Heck

On 04/26/2012 11:02 AM, David L. Johnson wrote:

On 04/26/2012 10:30 AM, Rashif Ray Rahman wrote:

Hi all

I've not been a LyX user for long but am going to write a 300-page 
academic paper with it for the final typesetting and formatting. I've 
practised on and off for the past few months but one thing that has 
always troubled me is how I'm unable to scroll with the keyboard (up 
and down arrow keys). I'd like to be rid of the mouse if possible.


When I hold a particular directional key for up to 20 secs it appears 
to work but as if it's in slow motion. Qt shouldn't be having any 
such scrolling problem, so I haven't been able to troubleshoot this 
any further.


I don't see this behavior at all.  The only thing that slows down 
scrolling with the arrows is if the cursor enters a math formula.  
Then it runs through all the superscripts and subscripts, but still it 
is reasonably fast.


You also might try using the Pageup and Pagedown keys.

What system are you using?  Mine is debian testing (a linux variant), 
on a fast machine -- but it works well on even my slow netbook.


There have been occasional reports of this kind of problem, usually 
connected, as far as we can tell, to interactions issues between LyX and 
certain video drivers. So I'll ask, too: What system is this and, if 
it's Linux, what desktop, what window manager, what X drivers?


Richard




Re: hanging indentation in bibiography (using lyx bibtex)

2012-04-26 Thread Peter Coles
stefano franchi stefano.franchi at gmail.com writes:

 
 On Tue, Apr 24, 2012 at 9:01 PM, Peter Coles coleszilla at gmail.com 
wrote:
  Richard Heck rgheck at comcast.net writes:
  Thank you. Could you shed some light on where I should be making these 
edits?
  Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere 
in
  the main .lyx document? Or is there some other file I need to edit?  I'm 
using
  LyX for Windows.
 
 
 Peter,
 
 you should copy the whole block of code and paste it into your
 preamble (DocumentSettingsLatex Preamble)
 
 Then, change the first line to read
 
 \renewenvironment{thebibliography}[1]
 
 (renew instead of new)
 
 Now you are ready to play with the parameters as Richard suggested.
 
 Cheers,
 
 Stefano

Stefano, Richard thanks.  After some toying, the following worked:

1) I added to the preamble the full block Richard described, replacing the 
at's with at symbols (this replacement was probably obvious to everyone 
except 
me.) I also changed the first line as you suggested.

2) I added   \setlength\itemindent{-.5in} to the block, and changed 
\leftmargin\labelwidth to \setlength\leftmargin{.5in}

The bibliography style I am using, aea.bst, seems to use empty labels rather 
than, for example, numbers to enumerate bibliography items. Hence, rather than 
playing with the labelwidth, which had no effect for me, I indented by a 
negative amount and then shoved the whole list back to the right the same 
amount. 

A pain, but it's done!  Thanks, all.




Re: Jurabib's Bibliography and the use of et al

2012-04-26 Thread stefano franchi
On Wed, Apr 25, 2012 at 10:16 PM, Brett Randall brett.rand...@gmail.com wrote:
 On Thu, Apr 26, 2012 at 10:34 AM, stefano franchi
 stefano.fran...@gmail.com wrote:

 I am not sure starting to use Jurabib is such a great choice. Jurabib
 is basically a dead project, as far as I know. It would better to
 start with biblatex.


 Thanks Stefano - I have tried biblatex and just can't get it to work. If I
 was still using Linux I'm sure it would be easy, but running LyX 2.0.2 on
 Windows with MikTeX 2.9, I just can't get bibtex/biber to spit out anything.
 I'm having the same result as this person:

 http://www.latex-community.org/forum/viewtopic.php?f=19t=11317

 (i.e. bold keys in place of citations, and no bibliography printing out).

Brett,

I'm sorry to hear that biblatex is not working for you. Unfortunately
I have no idea why that would be the case, except that it seems from
the log snippet you posted that biber may not be running at all.
Debugging requires more info on your part, I am afraid. Can you post a
minimal lyx example, minimal bib file, and the complete latex log.  Or
send them to me privately. By minimal I really mean minimal: one or
two lines for the lyx file, one ref for the bib file.
On the other hand, if you are working against deadline, it may be
better to keep working on Jurabib and switch to biblatex later. BTW,
there used to be a jurabib-only mailing list, have you tried it? Or
you may try comp.text.tex (via the google interface).

Cheers,

S.



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Monitor BibTeX files?

2012-04-26 Thread Chris Hennick
My BibTeX files are automatically updated by Mendeley. Is there any way to
have LyX monitor them for changes, so that I don't have to scroll down to
the bibliography and click Rescan all the time? This would be handy, since
I often start writing with the research still in progress.

Sincerely,
Chris Hennick
Trent University
Peterborough, ON, Canada
http://softwetware.blogspot.com/


Re: Monitor BibTeX files?

2012-04-26 Thread Richard Heck

On 04/26/2012 05:45 PM, Chris Hennick wrote:
My BibTeX files are automatically updated by Mendeley. Is there any 
way to have LyX monitor them for changes, so that I don't have to 
scroll down to the bibliography and click Rescan all the time? This 
would be handy, since I often start writing with the research still in 
progress.



What version are you using? This was recently fixed.

Richard



Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Raymond Lillard

On 04/26/2012 05:15 AM, Richard Heck wrote:

On 04/25/2012 11:59 PM, Raymond Lillard wrote:

Dear Lyx-Users,

I have looked and read documentation and Googled for
hours and have yet to find answers to two questions.

My Lyx environment:

Lyx 2.1.0svn as of about a week ago.
TexLive2011 + updates also current about a week ago.

I have written a ~100 page document and would like
to accomplish two things. While writing this document
I have been previewing it as a PDF and now have a nice
looking document.

I have been asked to prepare an HTML version of the
document. I have done so and it too looks really nice
with two minor (well maybe 1 1/2) flaws.

The first and most bothersome is that I have placed
some ERT to handle page numbering in the PDF output.

For the cover page:
\thispagestyleempty

and for general page numbering:
\lhead Name: \pagenumberingroman

This ERT appears in my HTML output when view in a
browser.

What are you using to produce the HTML output? LyX's own method should
not do this, and does not do it in the test I just ran.


$ elyxer --version
* eLyXer version 1.2.3 (2011-08-31)

When my document output format is set to HTML I get:
Line 3: * Warning: unsupported new format version 430
Line 149: * Unknown command \thispagestyle
Line 192: * Unknown command \lhead
Line 192: * Unknown command \pagenumbering
Line 262: * Unknown command \pagenumbering
Line 262: * Unknown command \topmargin
on STDERR from elyxer.

These unrecognized commands get passed through as plain
text in the HTML.

Sorry, but LyXHTML is too ugly for my taste.

I'm not clear on these things, but it looks like
Elyxer is not maintained by the Lyx project.  Should
I take silly little problem elsewhere?



I would like to not need to modify the document
depending on the output form. Is this possible?


You could use branches to turn things on and off.


Secondly, I would like the output to be one large
file but with defined page numbers just like the PDF.


I guess I don't really understand this. I'd be happy to add it to LyX's
XHTML output routine, but how does one know where to break the pages?


OK, I made an incorrect assumption when I wrote the above.
I didn't realize the HTML was being created directly from
lyx code.  I was thinking it was going through some common
intermediate format.  Since not, the problem is between me
and elyxer and probably insoluble since neither HTML or
Lyx code have a any concept of a letter sized page.








Re: Boxing eqnarray

2012-04-26 Thread Paul A . Rubin
Merhebi, Bob bobmerhebi at gmail.com writes:


 I am usually use the TeX \boxed to box an equation but I can't seem to
 be able to box an eqnarray. Is it possible?
 

Try empheq.sty, part of the mh package.

Paul






Re: Monitor BibTeX files?

2012-04-26 Thread Chris Hennick
On 26 April 2012 18:05, Richard Heck rgh...@comcast.net wrote:

 On 04/26/2012 05:45 PM, Chris Hennick wrote:

 My BibTeX files are automatically updated by Mendeley. Is there any way
 to have LyX monitor them for changes, so that I don't have to scroll down
 to the bibliography and click Rescan all the time? This would be handy,
 since I often start writing with the research still in progress.

  What version are you using? This was recently fixed.

 Richard

 2.0.2. Is there any way to get updates automatically?


RE: Monitor BibTeX files?

2012-04-26 Thread Scott Kostyshak
From: Chris Hennick [christophe...@trentu.ca]
Sent: Thursday, April 26, 2012 6:40 PM

2.0.2. Is there any way to get updates automatically?

If you are using Ubuntu, you can use this PPA:
https://launchpad.net/~lyx-devel/+archive/release

That should give you (stable) updates automatically.

If you are using Mac or Windows, I think the answer is no.

Scott


Re: Scrolling Slowness [Re: keyboard Scrolling Anomaly]

2012-04-26 Thread Thomas Coffee
I have experienced unbearably sluggish scrolling and typing in LyX that
after much research I attribute to a poor interaction between Qt 4 and my
NVIDIA graphics card driver.

I solved these issues by starting LyX with:

lyx -graphicssystem raster

I have seen this problem described using both GNOME and KDE with NVIDIA
cards (though there also appear to be unrelated scrolling and typing lag
problems out there). The same fallback helps with other Qt-based programs I
run, but beware that it may cause some rendering glitches (though I have
not seen any in LyX).

http://forum.kde.org/viewtopic.php?f=66t=90821
http://www.nvnews.net/vbulletin/showthread.php?t=148778page=2

- Thomas


On Thu, Apr 26, 2012 at 3:17 PM, Richard Heck rgh...@comcast.net wrote:

 On 04/26/2012 11:02 AM, David L. Johnson wrote:

 On 04/26/2012 10:30 AM, Rashif Ray Rahman wrote:

 Hi all

 I've not been a LyX user for long but am going to write a 300-page
 academic paper with it for the final typesetting and formatting. I've
 practised on and off for the past few months but one thing that has always
 troubled me is how I'm unable to scroll with the keyboard (up and down
 arrow keys). I'd like to be rid of the mouse if possible.

 When I hold a particular directional key for up to 20 secs it appears to
 work but as if it's in slow motion. Qt shouldn't be having any such
 scrolling problem, so I haven't been able to troubleshoot this any further.

  I don't see this behavior at all.  The only thing that slows down
 scrolling with the arrows is if the cursor enters a math formula.  Then it
 runs through all the superscripts and subscripts, but still it is
 reasonably fast.

 You also might try using the Pageup and Pagedown keys.

 What system are you using?  Mine is debian testing (a linux variant), on
 a fast machine -- but it works well on even my slow netbook.

  There have been occasional reports of this kind of problem, usually
 connected, as far as we can tell, to interactions issues between LyX and
 certain video drivers. So I'll ask, too: What system is this and, if it's
 Linux, what desktop, what window manager, what X drivers?

 Richard





Re: Monitor BibTeX files?

2012-04-26 Thread Richard Heck

On 04/26/2012 06:40 PM, Chris Hennick wrote:
On 26 April 2012 18:05, Richard Heck rgh...@comcast.net 
mailto:rgh...@comcast.net wrote:


On 04/26/2012 05:45 PM, Chris Hennick wrote:

My BibTeX files are automatically updated by Mendeley. Is
there any way to have LyX monitor them for changes, so that I
don't have to scroll down to the bibliography and click Rescan
all the time? This would be handy, since I often start writing
with the research still in progress.

What version are you using? This was recently fixed.

Richard

2.0.2.

I think it was fixed for 2.0.3, though I'm not absolutely positive. It 
worked, then it got broke somehow. You can check the bug tracker and 
search on bugs with a 2.0.3 milestone.


Richard



Re: Scrolling Slowness [Re: keyboard Scrolling Anomaly]

2012-04-26 Thread Richard Heck

On 04/26/2012 07:27 PM, Thomas Coffee wrote:
I have experienced unbearably sluggish scrolling and typing in LyX 
that after much research I attribute to a poor interaction between Qt 
4 and my NVIDIA graphics card driver.


Yes, that's what most people have reported. But it seems to be dependent 
upon something else, too. I use Fedora with KDE and the proprietary 
NVidia drivers, and I do not have a problem. That said, there was one 
time I did see it, though a restart fixed it. So it's very puzzling.


Richard



Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Richard Heck

On 04/26/2012 06:27 PM, Raymond Lillard wrote:


Sorry, but LyXHTML is too ugly for my taste.


How so? Do you mean the visual output or the file structure, or?

Richard



Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Raymond Lillard

On 04/26/2012 04:48 PM, Richard Heck wrote:

On 04/26/2012 06:27 PM, Raymond Lillard wrote:


Sorry, but LyXHTML is too ugly for my taste.


How so? Do you mean the visual output or the file structure, or?


Richard,

I'm not experienced enough at HTML to have an opinion
on file structure.

When I set the document default output to HTML (filtered
through elyxer) the viewed document is more visually
appealing than when set to LyXHTML. Perhaps ugly is too
strong a word here, but I think most people would agree
it looks dated.

I didn't mean to give offense and please don't take my
comment that way.

It has been said that a gentleman never gives offense,
unintentionally.

If you or the Lyx team were offended, then my normal
gentlemanly demeanor has suffered a glitch.

Regards,
Ray


Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Alex Fernandez
Hi Ray,

On Fri, Apr 27, 2012 at 12:27 AM, Raymond Lillard rlill...@sonic.netwrote:

 I'm not clear on these things, but it looks like
 Elyxer is not maintained by the Lyx project.  Should
 I take silly little problem elsewhere?


Sure, you can email me directly. I have received other requests to remove
parsing errors from the output; I should probably do that for the next
version.

OK, I made an incorrect assumption when I wrote the above.
 I didn't realize the HTML was being created directly from
 lyx code.  I was thinking it was going through some common
 intermediate format.  Since not, the problem is between me
 and elyxer and probably insoluble since neither HTML or
 Lyx code have a any concept of a letter sized page.


Yes, your intentions (output numbered by actual paper pages) is quite alien
to eLyXer and even to the HTML format itself. Apart from cutting pages at a
fixed number of words, or doing some troff-like abomination (the kind you
see on RFCs: http://www.rfc-editor.org/rfc/rfc1866.txt), I don't see how
that would even work. The natural way to do what you want would be to cut
the output by sections; and frankly I don't understand why that solution
doesn't cut it for you (pun intended).

Another request I have received, and which I need myself, is to output
section names as page names, the kind of dash-separated-titles that you see
on blog posts. I should take out some time to work on eLyXer!

Alex.


Re: Monitor BibTeX files?

2012-04-26 Thread Chris Hennick
On 26 April 2012 19:45, Richard Heck rgh...@comcast.net wrote:

 I think it was fixed for 2.0.3, though I'm not absolutely positive. It
 worked, then it got broke somehow. You can check the bug tracker and search
 on bugs with a 2.0.3 milestone.


I've manually updated to 2.0.3, and the automatic rescan is working. Thanks!

On a related note, is there any way to set a target file path for PDF
rendering, so that I don't have to click Save As in Adobe Reader? Then, I'd
be able to update my prof's snapshot with just one manual step.


Re: Polytonic Greek input?

2012-04-26 Thread Guenter Milde
On 2012-04-25, stefano franchi wrote:
 On Mon, Apr 23, 2012 at 3:49 PM, Guenter Milde mi...@users.sf.net wrote:
 On 2012-04-23, stefano franchi wrote:

 BTW: I am using memoir with Luatex, language is utf8(Xetex), babel
 loaded with Greek polutoniko (among others).

 I have no experience with LuaTeX and I don't know whether it works with
 the babel greek option at all (and which fonts are used in this case).

 Maybe your document loads fontspec after babel and this way overwrites the
 selection of LGR-encoded fonts for Greek.

 Hmm, unless memoir does something funny, fontspec should be loaded
 first. It's the second line in the Latex source (right after the doc
 class)

To be precise, the line(s) to look for not loading fontspec but the last
font definition(s) (\setmainfont etc.) which can happen also in the
custom LaTeX preamble.

 Do you use some hack to overwrite the font-encoding switch usually done
 with \textgreek?

 No.

This indicates that (in most cases) using the (8-bit) LaTeX fonts in LGR
encoding for Greek.

To be sure when which font is used, you could experiment with a different
(e.g. sans-serif) main text font via the use-non-tex-fonts GUI. Then
try with Greek Unicode characters inside and outside a region marked as
Greek (polytonic).

Also, try to find out whether you use babel or polyglossia (the latter is
recommended with Xe/LuaTeX and Greek.


 a) use the pre-composed Unicode characters in the Greek extended block
   (drag and drop from somewhere or use InsertSymbols).

 Using insertsymbols works, but it is a pain to use. Copy and pasting
 from external sources does not. I see the proper greek on screen, but
 the characters simply disappear in the pdf.

All characters or just some?

 Characters disappearing in the PDF are usually an indication of an
 incomplete font. On screen, the system (or the QT libs or fontconfig, or
 X...) use auto-substitution of missing characters in the configured font
 with characters from another known system font, xetex and luatex do not have
 this nice feature.

 Make sure the document text font contains the pre-composed characters in the
 Greek-extended Unicode block.

 I thought about that. I may be using an incomplete font. It's Minion
 Pro. I'll double check with another font with more complete coverage.

If simple Greek characters are present but accented ones not, this is a good
indicator for an incomplete font. If no Greek is visible at all, this hints
at a different problem.

 But:  the Greek text entered as ERT displays fine. Does that mean that
 latex (babel?) switches to an alternative font when it sees the
 \textgreek command?

Yes. The \textgreek command switches the font encoding to LGR, (La)TeX then
selects a font in LGR encoding.

 b) use the LGR transliteration which is described in the babel Greek
   documentation http://mirror.ctan.org/info/babel/babel.pdf

...

 The conversion of , , and | to \textless, \textgreater, and \textbar is
 only required with the legacy OT1 font encoding (i.e. never in Greek and
 not with LyX's default setting of T1). Write a bug report?


 Ok, I'll file a bug report. But what is the bug, exactly? Something like:

 Lyx should not escape symbols when using T1 font encoding?

LyX should escape , , and | only when using OT1 font encoding.

 If, instead, I enter  \textgreek{epim'eleia eato\~u} in ERT, I get
 the expected output

 This means you should be fine with ERT for these characters (or
 phrases/words containing these characters) and the tilde.
 (The \textgreek is inserted by LyX when you set the language.)

 Lyx actually inserts a \foreignlanguage{polutonikogreek}{...}. Is that
 equivalent?

This depends on the language package: babel switches the font encoding to
LGR, polyglossia not (because there is no need for a different font encoding
with Unicode-encoded fonts.
Just try: if the transliteration still works, it's babel; if the Latin
input come out as Latin, it's polyglossia.


 With XeTeX or LuaTeX, I recommend

 * Use polyglossia instead of babel.

 * Use a text font that contains the precomposed Greek characters
  (you can also set up a different font for Greek and Latin in the LaTeX
  preamble, see the fontspec manual).

 * Use Unicode characters for the input. (The LGR transliteration does not
  work without legacy 8-bit LGR encoded fonts.)

If you need this often, set up keybindings (e.g. a system-wide toggle
between Greek and Latin keyboard layout).


Günter



Moderncv problems

2012-04-26 Thread Emil Pavlov

Dear Lyx users,

I downloaded the example lyx file for moderncv from

http://wiki.lyx.org/Examples/CV

but I get the following error when I try to compile it

! LaTeX Error: There's no line here to end.

See the LaTeX manual or LaTeX Companion for explanation.

Type H return for immediate help.

...

l.68 \maketitle

Your command was ignored.

Type I command return to replace it with another command,

or return to continue without it.


Any ideas



Re: Compilation problem

2012-04-26 Thread Richard Heck

On 04/25/2012 06:44 PM, Emil Pavlov wrote:
I have a problem with compiling my bachelor thesis and do not know 
what to do. Can you take a look and give me some ideas?


Erase the last half of it, and see if it compiles. If so, put that back 
and erase the first half. Keep going until you isolate the problem.


Obviously, do this on a copy, not on the original!

Richard



Re: HTML Pagination Issues

2012-04-26 Thread Richard Heck

On 04/25/2012 11:59 PM, Raymond Lillard wrote:

Dear Lyx-Users,

I have looked and read documentation and Googled for
hours and have yet to find answers to two questions.

My Lyx environment:

Lyx 2.1.0svn as of about a week ago.
TexLive2011 + updates also current about a week ago.

I have written a ~100 page document and would like
to accomplish two things.  While writing this document
I have been previewing it as a PDF and now have a nice
looking document.

I have been asked to prepare an HTML version of the
document. I have done so and it too looks really nice
with two minor (well maybe 1 1/2) flaws.

The first and most bothersome is that I have placed
some ERT to handle page numbering in the PDF output.

For the cover page:
\thispagestyleempty

and for general page numbering:
\lhead Name: \pagenumberingroman

This ERT appears in my HTML output when view in a
browser.

What are you using to produce the HTML output? LyX's own method should 
not do this, and does not do it in the test I just ran.



I would like to not need to modify the document
depending on the output form.  Is this possible?


You could use branches to turn things on and off.


Secondly, I would like the output to be one large
file but with defined page numbers just like the PDF.

I guess I don't really understand this. I'd be happy to add it to LyX's 
XHTML output routine, but how does one know where to break the pages?


Richard



keyboard Scrolling Anomaly

2012-04-26 Thread Rashif Ray Rahman
Hi all

I've not been a LyX user for long but am going to write a 300-page academic
paper with it for the final typesetting and formatting. I've practised on
and off for the past few months but one thing that has always troubled me
is how I'm unable to scroll with the keyboard (up and down arrow keys). I'd
like to be rid of the mouse if possible.

When I hold a particular directional key for up to 20 secs it appears to
work but as if it's in slow motion. Qt shouldn't be having any such
scrolling problem, so I haven't been able to troubleshoot this any further.

Has anyone noticed this? I've not found any trace of such an issue on the
bugtracker or elsewhere, but it's possible I might've missed something.

Thanks for reading!


--
GPG/PGP ID: C0711BF1


Re: keyboard Scrolling Anomaly

2012-04-26 Thread David L. Johnson

On 04/26/2012 10:30 AM, Rashif Ray Rahman wrote:

Hi all

I've not been a LyX user for long but am going to write a 300-page 
academic paper with it for the final typesetting and formatting. I've 
practised on and off for the past few months but one thing that has 
always troubled me is how I'm unable to scroll with the keyboard (up 
and down arrow keys). I'd like to be rid of the mouse if possible.


When I hold a particular directional key for up to 20 secs it appears 
to work but as if it's in slow motion. Qt shouldn't be having any such 
scrolling problem, so I haven't been able to troubleshoot this any 
further.
I don't see this behavior at all.  The only thing that slows down 
scrolling with the arrows is if the cursor enters a math formula.  Then 
it runs through all the superscripts and subscripts, but still it is 
reasonably fast.


You also might try using the Pageup and Pagedown keys.

What system are you using?  Mine is debian testing (a linux variant), on 
a fast machine -- but it works well on even my slow netbook.


--

David L. Johnson

A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines.
--Ralph Waldo Emerson



Symbols in 2.0.3

2012-04-26 Thread Sebastian Stein
Hi.

I tried to insert different symbols in an standard environment (not math mode) 
within KOMA article using utf8.
While the handbook claims otherwise it doesn't work.


Error messages:
Package inputenc Error: Unicode char \u8:⇓ not set up for use with LaTeX.
Package inputenc Error: Unicode char \u8:↠ not set up for use with LaTeX.

Any ideas or workarounds?

Regards
Sebastian


v1.lyx
Description: application/lyx


Scrolling Slowness [Re: keyboard Scrolling Anomaly]

2012-04-26 Thread Richard Heck

On 04/26/2012 11:02 AM, David L. Johnson wrote:

On 04/26/2012 10:30 AM, Rashif Ray Rahman wrote:

Hi all

I've not been a LyX user for long but am going to write a 300-page 
academic paper with it for the final typesetting and formatting. I've 
practised on and off for the past few months but one thing that has 
always troubled me is how I'm unable to scroll with the keyboard (up 
and down arrow keys). I'd like to be rid of the mouse if possible.


When I hold a particular directional key for up to 20 secs it appears 
to work but as if it's in slow motion. Qt shouldn't be having any 
such scrolling problem, so I haven't been able to troubleshoot this 
any further.


I don't see this behavior at all.  The only thing that slows down 
scrolling with the arrows is if the cursor enters a math formula.  
Then it runs through all the superscripts and subscripts, but still it 
is reasonably fast.


You also might try using the Pageup and Pagedown keys.

What system are you using?  Mine is debian testing (a linux variant), 
on a fast machine -- but it works well on even my slow netbook.


There have been occasional reports of this kind of problem, usually 
connected, as far as we can tell, to interactions issues between LyX and 
certain video drivers. So I'll ask, too: What system is this and, if 
it's Linux, what desktop, what window manager, what X drivers?


Richard




Re: hanging indentation in bibiography (using lyx bibtex)

2012-04-26 Thread Peter Coles
stefano franchi stefano.franchi at gmail.com writes:

 
 On Tue, Apr 24, 2012 at 9:01 PM, Peter Coles coleszilla at gmail.com 
wrote:
  Richard Heck rgheck at comcast.net writes:
  Thank you. Could you shed some light on where I should be making these 
edits?
  Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere 
in
  the main .lyx document? Or is there some other file I need to edit?  I'm 
using
  LyX for Windows.
 
 
 Peter,
 
 you should copy the whole block of code and paste it into your
 preamble (DocumentSettingsLatex Preamble)
 
 Then, change the first line to read
 
 \renewenvironment{thebibliography}[1]
 
 (renew instead of new)
 
 Now you are ready to play with the parameters as Richard suggested.
 
 Cheers,
 
 Stefano

Stefano, Richard thanks.  After some toying, the following worked:

1) I added to the preamble the full block Richard described, replacing the 
at's with at symbols (this replacement was probably obvious to everyone 
except 
me.) I also changed the first line as you suggested.

2) I added   \setlength\itemindent{-.5in} to the block, and changed 
\leftmargin\labelwidth to \setlength\leftmargin{.5in}

The bibliography style I am using, aea.bst, seems to use empty labels rather 
than, for example, numbers to enumerate bibliography items. Hence, rather than 
playing with the labelwidth, which had no effect for me, I indented by a 
negative amount and then shoved the whole list back to the right the same 
amount. 

A pain, but it's done!  Thanks, all.




Re: Jurabib's Bibliography and the use of et al

2012-04-26 Thread stefano franchi
On Wed, Apr 25, 2012 at 10:16 PM, Brett Randall brett.rand...@gmail.com wrote:
 On Thu, Apr 26, 2012 at 10:34 AM, stefano franchi
 stefano.fran...@gmail.com wrote:

 I am not sure starting to use Jurabib is such a great choice. Jurabib
 is basically a dead project, as far as I know. It would better to
 start with biblatex.


 Thanks Stefano - I have tried biblatex and just can't get it to work. If I
 was still using Linux I'm sure it would be easy, but running LyX 2.0.2 on
 Windows with MikTeX 2.9, I just can't get bibtex/biber to spit out anything.
 I'm having the same result as this person:

 http://www.latex-community.org/forum/viewtopic.php?f=19t=11317

 (i.e. bold keys in place of citations, and no bibliography printing out).

Brett,

I'm sorry to hear that biblatex is not working for you. Unfortunately
I have no idea why that would be the case, except that it seems from
the log snippet you posted that biber may not be running at all.
Debugging requires more info on your part, I am afraid. Can you post a
minimal lyx example, minimal bib file, and the complete latex log.  Or
send them to me privately. By minimal I really mean minimal: one or
two lines for the lyx file, one ref for the bib file.
On the other hand, if you are working against deadline, it may be
better to keep working on Jurabib and switch to biblatex later. BTW,
there used to be a jurabib-only mailing list, have you tried it? Or
you may try comp.text.tex (via the google interface).

Cheers,

S.



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Monitor BibTeX files?

2012-04-26 Thread Chris Hennick
My BibTeX files are automatically updated by Mendeley. Is there any way to
have LyX monitor them for changes, so that I don't have to scroll down to
the bibliography and click Rescan all the time? This would be handy, since
I often start writing with the research still in progress.

Sincerely,
Chris Hennick
Trent University
Peterborough, ON, Canada
http://softwetware.blogspot.com/


Re: Monitor BibTeX files?

2012-04-26 Thread Richard Heck

On 04/26/2012 05:45 PM, Chris Hennick wrote:
My BibTeX files are automatically updated by Mendeley. Is there any 
way to have LyX monitor them for changes, so that I don't have to 
scroll down to the bibliography and click Rescan all the time? This 
would be handy, since I often start writing with the research still in 
progress.



What version are you using? This was recently fixed.

Richard



Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Raymond Lillard

On 04/26/2012 05:15 AM, Richard Heck wrote:

On 04/25/2012 11:59 PM, Raymond Lillard wrote:

Dear Lyx-Users,

I have looked and read documentation and Googled for
hours and have yet to find answers to two questions.

My Lyx environment:

Lyx 2.1.0svn as of about a week ago.
TexLive2011 + updates also current about a week ago.

I have written a ~100 page document and would like
to accomplish two things. While writing this document
I have been previewing it as a PDF and now have a nice
looking document.

I have been asked to prepare an HTML version of the
document. I have done so and it too looks really nice
with two minor (well maybe 1 1/2) flaws.

The first and most bothersome is that I have placed
some ERT to handle page numbering in the PDF output.

For the cover page:
\thispagestyleempty

and for general page numbering:
\lhead Name: \pagenumberingroman

This ERT appears in my HTML output when view in a
browser.

What are you using to produce the HTML output? LyX's own method should
not do this, and does not do it in the test I just ran.


$ elyxer --version
* eLyXer version 1.2.3 (2011-08-31)

When my document output format is set to HTML I get:
Line 3: * Warning: unsupported new format version 430
Line 149: * Unknown command \thispagestyle
Line 192: * Unknown command \lhead
Line 192: * Unknown command \pagenumbering
Line 262: * Unknown command \pagenumbering
Line 262: * Unknown command \topmargin
on STDERR from elyxer.

These unrecognized commands get passed through as plain
text in the HTML.

Sorry, but LyXHTML is too ugly for my taste.

I'm not clear on these things, but it looks like
Elyxer is not maintained by the Lyx project.  Should
I take silly little problem elsewhere?



I would like to not need to modify the document
depending on the output form. Is this possible?


You could use branches to turn things on and off.


Secondly, I would like the output to be one large
file but with defined page numbers just like the PDF.


I guess I don't really understand this. I'd be happy to add it to LyX's
XHTML output routine, but how does one know where to break the pages?


OK, I made an incorrect assumption when I wrote the above.
I didn't realize the HTML was being created directly from
lyx code.  I was thinking it was going through some common
intermediate format.  Since not, the problem is between me
and elyxer and probably insoluble since neither HTML or
Lyx code have a any concept of a letter sized page.








Re: Boxing eqnarray

2012-04-26 Thread Paul A . Rubin
Merhebi, Bob bobmerhebi at gmail.com writes:


 I am usually use the TeX \boxed to box an equation but I can't seem to
 be able to box an eqnarray. Is it possible?
 

Try empheq.sty, part of the mh package.

Paul






Re: Monitor BibTeX files?

2012-04-26 Thread Chris Hennick
On 26 April 2012 18:05, Richard Heck rgh...@comcast.net wrote:

 On 04/26/2012 05:45 PM, Chris Hennick wrote:

 My BibTeX files are automatically updated by Mendeley. Is there any way
 to have LyX monitor them for changes, so that I don't have to scroll down
 to the bibliography and click Rescan all the time? This would be handy,
 since I often start writing with the research still in progress.

  What version are you using? This was recently fixed.

 Richard

 2.0.2. Is there any way to get updates automatically?


RE: Monitor BibTeX files?

2012-04-26 Thread Scott Kostyshak
From: Chris Hennick [christophe...@trentu.ca]
Sent: Thursday, April 26, 2012 6:40 PM

2.0.2. Is there any way to get updates automatically?

If you are using Ubuntu, you can use this PPA:
https://launchpad.net/~lyx-devel/+archive/release

That should give you (stable) updates automatically.

If you are using Mac or Windows, I think the answer is no.

Scott


Re: Scrolling Slowness [Re: keyboard Scrolling Anomaly]

2012-04-26 Thread Thomas Coffee
I have experienced unbearably sluggish scrolling and typing in LyX that
after much research I attribute to a poor interaction between Qt 4 and my
NVIDIA graphics card driver.

I solved these issues by starting LyX with:

lyx -graphicssystem raster

I have seen this problem described using both GNOME and KDE with NVIDIA
cards (though there also appear to be unrelated scrolling and typing lag
problems out there). The same fallback helps with other Qt-based programs I
run, but beware that it may cause some rendering glitches (though I have
not seen any in LyX).

http://forum.kde.org/viewtopic.php?f=66t=90821
http://www.nvnews.net/vbulletin/showthread.php?t=148778page=2

- Thomas


On Thu, Apr 26, 2012 at 3:17 PM, Richard Heck rgh...@comcast.net wrote:

 On 04/26/2012 11:02 AM, David L. Johnson wrote:

 On 04/26/2012 10:30 AM, Rashif Ray Rahman wrote:

 Hi all

 I've not been a LyX user for long but am going to write a 300-page
 academic paper with it for the final typesetting and formatting. I've
 practised on and off for the past few months but one thing that has always
 troubled me is how I'm unable to scroll with the keyboard (up and down
 arrow keys). I'd like to be rid of the mouse if possible.

 When I hold a particular directional key for up to 20 secs it appears to
 work but as if it's in slow motion. Qt shouldn't be having any such
 scrolling problem, so I haven't been able to troubleshoot this any further.

  I don't see this behavior at all.  The only thing that slows down
 scrolling with the arrows is if the cursor enters a math formula.  Then it
 runs through all the superscripts and subscripts, but still it is
 reasonably fast.

 You also might try using the Pageup and Pagedown keys.

 What system are you using?  Mine is debian testing (a linux variant), on
 a fast machine -- but it works well on even my slow netbook.

  There have been occasional reports of this kind of problem, usually
 connected, as far as we can tell, to interactions issues between LyX and
 certain video drivers. So I'll ask, too: What system is this and, if it's
 Linux, what desktop, what window manager, what X drivers?

 Richard





Re: Monitor BibTeX files?

2012-04-26 Thread Richard Heck

On 04/26/2012 06:40 PM, Chris Hennick wrote:
On 26 April 2012 18:05, Richard Heck rgh...@comcast.net 
mailto:rgh...@comcast.net wrote:


On 04/26/2012 05:45 PM, Chris Hennick wrote:

My BibTeX files are automatically updated by Mendeley. Is
there any way to have LyX monitor them for changes, so that I
don't have to scroll down to the bibliography and click Rescan
all the time? This would be handy, since I often start writing
with the research still in progress.

What version are you using? This was recently fixed.

Richard

2.0.2.

I think it was fixed for 2.0.3, though I'm not absolutely positive. It 
worked, then it got broke somehow. You can check the bug tracker and 
search on bugs with a 2.0.3 milestone.


Richard



Re: Scrolling Slowness [Re: keyboard Scrolling Anomaly]

2012-04-26 Thread Richard Heck

On 04/26/2012 07:27 PM, Thomas Coffee wrote:
I have experienced unbearably sluggish scrolling and typing in LyX 
that after much research I attribute to a poor interaction between Qt 
4 and my NVIDIA graphics card driver.


Yes, that's what most people have reported. But it seems to be dependent 
upon something else, too. I use Fedora with KDE and the proprietary 
NVidia drivers, and I do not have a problem. That said, there was one 
time I did see it, though a restart fixed it. So it's very puzzling.


Richard



Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Richard Heck

On 04/26/2012 06:27 PM, Raymond Lillard wrote:


Sorry, but LyXHTML is too ugly for my taste.


How so? Do you mean the visual output or the file structure, or?

Richard



Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Raymond Lillard

On 04/26/2012 04:48 PM, Richard Heck wrote:

On 04/26/2012 06:27 PM, Raymond Lillard wrote:


Sorry, but LyXHTML is too ugly for my taste.


How so? Do you mean the visual output or the file structure, or?


Richard,

I'm not experienced enough at HTML to have an opinion
on file structure.

When I set the document default output to HTML (filtered
through elyxer) the viewed document is more visually
appealing than when set to LyXHTML. Perhaps ugly is too
strong a word here, but I think most people would agree
it looks dated.

I didn't mean to give offense and please don't take my
comment that way.

It has been said that a gentleman never gives offense,
unintentionally.

If you or the Lyx team were offended, then my normal
gentlemanly demeanor has suffered a glitch.

Regards,
Ray


Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Alex Fernandez
Hi Ray,

On Fri, Apr 27, 2012 at 12:27 AM, Raymond Lillard rlill...@sonic.netwrote:

 I'm not clear on these things, but it looks like
 Elyxer is not maintained by the Lyx project.  Should
 I take silly little problem elsewhere?


Sure, you can email me directly. I have received other requests to remove
parsing errors from the output; I should probably do that for the next
version.

OK, I made an incorrect assumption when I wrote the above.
 I didn't realize the HTML was being created directly from
 lyx code.  I was thinking it was going through some common
 intermediate format.  Since not, the problem is between me
 and elyxer and probably insoluble since neither HTML or
 Lyx code have a any concept of a letter sized page.


Yes, your intentions (output numbered by actual paper pages) is quite alien
to eLyXer and even to the HTML format itself. Apart from cutting pages at a
fixed number of words, or doing some troff-like abomination (the kind you
see on RFCs: http://www.rfc-editor.org/rfc/rfc1866.txt), I don't see how
that would even work. The natural way to do what you want would be to cut
the output by sections; and frankly I don't understand why that solution
doesn't cut it for you (pun intended).

Another request I have received, and which I need myself, is to output
section names as page names, the kind of dash-separated-titles that you see
on blog posts. I should take out some time to work on eLyXer!

Alex.


Re: Monitor BibTeX files?

2012-04-26 Thread Chris Hennick
On 26 April 2012 19:45, Richard Heck rgh...@comcast.net wrote:

 I think it was fixed for 2.0.3, though I'm not absolutely positive. It
 worked, then it got broke somehow. You can check the bug tracker and search
 on bugs with a 2.0.3 milestone.


I've manually updated to 2.0.3, and the automatic rescan is working. Thanks!

On a related note, is there any way to set a target file path for PDF
rendering, so that I don't have to click Save As in Adobe Reader? Then, I'd
be able to update my prof's snapshot with just one manual step.


Re: Polytonic Greek input?

2012-04-26 Thread Guenter Milde
On 2012-04-25, stefano franchi wrote:
> On Mon, Apr 23, 2012 at 3:49 PM, Guenter Milde  wrote:
>> On 2012-04-23, stefano franchi wrote:

>>> BTW: I am using memoir with Luatex, language is utf8(Xetex), babel
>>> loaded with Greek polutoniko (among others).

>> I have no experience with LuaTeX and I don't know whether it works with
>> the babel greek option at all (and which fonts are used in this case).

>> Maybe your document loads fontspec after babel and this way overwrites the
>> selection of LGR-encoded fonts for Greek.

> Hmm, unless memoir does something funny, fontspec should be loaded
> first. It's the second line in the Latex source (right after the doc
> class)

To be precise, the line(s) to look for not loading fontspec but the last
font definition(s) (\setmainfont etc.) which can happen also in the
custom LaTeX preamble.

>> Do you use some hack to overwrite the font-encoding switch usually done
>> with \textgreek?

> No.

This indicates that (in most cases) using the (8-bit) LaTeX fonts in LGR
encoding for Greek.

To be sure when which font is used, you could experiment with a different
(e.g. sans-serif) main text font via the "use-non-tex-fonts" GUI. Then
try with Greek Unicode characters inside and outside a region marked as
Greek (polytonic).

Also, try to find out whether you use babel or polyglossia (the latter is
recommended with Xe/LuaTeX and Greek.


 a) use the pre-composed Unicode characters in the "Greek extended" block
   (drag and drop from somewhere or use Insert>Symbols).

>>> Using insert>symbols works, but it is a pain to use. Copy and pasting
>>> from external sources does not. I see the proper greek on screen, but
>>> the characters simply disappear in the pdf.

All characters or just some?

>> Characters "disappearing" in the PDF are usually an indication of an
>> incomplete font. On screen, the system (or the QT libs or fontconfig, or
>> X...) use auto-substitution of missing characters in the configured font
>> with characters from another known system font, xetex and luatex do not have
>> this nice feature.

>> Make sure the document text font contains the pre-composed characters in the
>> Greek-extended Unicode block.

> I thought about that. I may be using an incomplete font. It's Minion
> Pro. I'll double check with another font with more complete coverage.

If simple Greek characters are present but accented ones not, this is a good
indicator for an incomplete font. If no Greek is visible at all, this hints
at a different problem.

> But:  the Greek text entered as ERT displays fine. Does that mean that
> latex (babel?) switches to an alternative font when it sees the
> \textgreek command?

Yes. The \textgreek command switches the font encoding to LGR, (La)TeX then
selects a font in LGR encoding.

 b) use the "LGR transliteration" which is described in the babel Greek
   documentation http://mirror.ctan.org/info/babel/babel.pdf

...

>> The conversion of <, >, and | to \textless, \textgreater, and \textbar is
>> only required with the legacy OT1 font encoding (i.e. never in Greek and
>> not with LyX's default setting of T1). Write a bug report?


> Ok, I'll file a bug report. But what is the bug, exactly? Something like:

> "Lyx should not escape symbols when using T1 font encoding"?

"LyX should escape <, >, and | only when using OT1 font encoding."

>>> If, instead, I enter  \textgreek{eato\~u} in ERT, I get
>>> the expected output

>> This means you should be fine with ERT for these characters (or
>> phrases/words containing these characters) and the tilde.
>> (The \textgreek is inserted by LyX when you set the language.)

> Lyx actually inserts a \foreignlanguage{polutonikogreek}{...}. Is that
> equivalent?

This depends on the language package: babel switches the font encoding to
LGR, polyglossia not (because there is no need for a different font encoding
with Unicode-encoded fonts.
Just try: if the transliteration still works, it's babel; if the Latin
input come out as Latin, it's polyglossia.


>> With XeTeX or LuaTeX, I recommend

>> * Use polyglossia instead of babel.

>> * Use a text font that contains the precomposed Greek characters
>>  (you can also set up a different font for Greek and Latin in the LaTeX
>>  preamble, see the fontspec manual).

>> * Use Unicode characters for the input. (The LGR transliteration does not
>>  work without legacy 8-bit LGR encoded fonts.)

If you need this often, set up keybindings (e.g. a system-wide toggle
between Greek and Latin keyboard layout).


Günter



Moderncv problems

2012-04-26 Thread Emil Pavlov

Dear Lyx users,

I downloaded the example lyx file for moderncv from

http://wiki.lyx.org/Examples/CV

but I get the following error when I try to compile it

! LaTeX Error: There's no line here to end.

See the LaTeX manual or LaTeX Companion for explanation.

Type H  for immediate help.

...

l.68 \maketitle

Your command was ignored.

Type I   to replace it with another command,

or  to continue without it.


Any ideas



Re: Compilation problem

2012-04-26 Thread Richard Heck

On 04/25/2012 06:44 PM, Emil Pavlov wrote:
I have a problem with compiling my bachelor thesis and do not know 
what to do. Can you take a look and give me some ideas?


Erase the last half of it, and see if it compiles. If so, put that back 
and erase the first half. Keep going until you isolate the problem.


Obviously, do this on a copy, not on the original!

Richard



Re: HTML Pagination Issues

2012-04-26 Thread Richard Heck

On 04/25/2012 11:59 PM, Raymond Lillard wrote:

Dear Lyx-Users,

I have looked and read documentation and Googled for
hours and have yet to find answers to two questions.

My Lyx environment:

Lyx 2.1.0svn as of about a week ago.
TexLive2011 + updates also current about a week ago.

I have written a ~100 page document and would like
to accomplish two things.  While writing this document
I have been previewing it as a PDF and now have a nice
looking document.

I have been asked to prepare an HTML version of the
document. I have done so and it too looks really nice
with two minor (well maybe 1 1/2) flaws.

The first and most bothersome is that I have placed
some ERT to handle page numbering in the PDF output.

For the cover page:
\thispagestyleempty

and for general page numbering:
\lhead Name: \pagenumberingroman

This ERT appears in my HTML output when view in a
browser.

What are you using to produce the HTML output? LyX's own method should 
not do this, and does not do it in the test I just ran.



I would like to not need to modify the document
depending on the output form.  Is this possible?


You could use branches to turn things on and off.


Secondly, I would like the output to be one large
file but with defined page numbers just like the PDF.

I guess I don't really understand this. I'd be happy to add it to LyX's 
XHTML output routine, but how does one know where to break the pages?


Richard



keyboard Scrolling Anomaly

2012-04-26 Thread Rashif Ray Rahman
Hi all

I've not been a LyX user for long but am going to write a 300-page academic
paper with it for the final typesetting and formatting. I've practised on
and off for the past few months but one thing that has always troubled me
is how I'm unable to scroll with the keyboard (up and down arrow keys). I'd
like to be rid of the mouse if possible.

When I hold a particular directional key for up to 20 secs it appears to
work but as if it's in slow motion. Qt shouldn't be having any such
scrolling problem, so I haven't been able to troubleshoot this any further.

Has anyone noticed this? I've not found any trace of such an issue on the
bugtracker or elsewhere, but it's possible I might've missed something.

Thanks for reading!


--
GPG/PGP ID: C0711BF1


Re: keyboard Scrolling Anomaly

2012-04-26 Thread David L. Johnson

On 04/26/2012 10:30 AM, Rashif Ray Rahman wrote:

Hi all

I've not been a LyX user for long but am going to write a 300-page 
academic paper with it for the final typesetting and formatting. I've 
practised on and off for the past few months but one thing that has 
always troubled me is how I'm unable to scroll with the keyboard (up 
and down arrow keys). I'd like to be rid of the mouse if possible.


When I hold a particular directional key for up to 20 secs it appears 
to work but as if it's in slow motion. Qt shouldn't be having any such 
scrolling problem, so I haven't been able to troubleshoot this any 
further.
I don't see this behavior at all.  The only thing that slows down 
scrolling with the arrows is if the cursor enters a math formula.  Then 
it runs through all the superscripts and subscripts, but still it is 
reasonably fast.


You also might try using the  and  keys.

What system are you using?  Mine is debian testing (a linux variant), on 
a fast machine -- but it works well on even my slow netbook.


--

David L. Johnson

"A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines."
--Ralph Waldo Emerson



Symbols in 2.0.3

2012-04-26 Thread Sebastian Stein
Hi.

I tried to insert different symbols in an standard environment (not math mode) 
within KOMA article using utf8.
While the handbook claims otherwise it doesn't work.


Error messages:
Package inputenc Error: Unicode char \u8:⇓ not set up for use with LaTeX.
Package inputenc Error: Unicode char \u8:↠ not set up for use with LaTeX.

Any ideas or workarounds?

Regards
Sebastian


v1.lyx
Description: application/lyx


Scrolling Slowness [Re: keyboard Scrolling Anomaly]

2012-04-26 Thread Richard Heck

On 04/26/2012 11:02 AM, David L. Johnson wrote:

On 04/26/2012 10:30 AM, Rashif Ray Rahman wrote:

Hi all

I've not been a LyX user for long but am going to write a 300-page 
academic paper with it for the final typesetting and formatting. I've 
practised on and off for the past few months but one thing that has 
always troubled me is how I'm unable to scroll with the keyboard (up 
and down arrow keys). I'd like to be rid of the mouse if possible.


When I hold a particular directional key for up to 20 secs it appears 
to work but as if it's in slow motion. Qt shouldn't be having any 
such scrolling problem, so I haven't been able to troubleshoot this 
any further.


I don't see this behavior at all.  The only thing that slows down 
scrolling with the arrows is if the cursor enters a math formula.  
Then it runs through all the superscripts and subscripts, but still it 
is reasonably fast.


You also might try using the  and  keys.

What system are you using?  Mine is debian testing (a linux variant), 
on a fast machine -- but it works well on even my slow netbook.


There have been occasional reports of this kind of problem, usually 
connected, as far as we can tell, to interactions issues between LyX and 
certain video drivers. So I'll ask, too: What system is this and, if 
it's Linux, what desktop, what window manager, what X drivers?


Richard




Re: hanging indentation in bibiography (using lyx & bibtex)

2012-04-26 Thread Peter Coles
stefano franchi  gmail.com> writes:

> 
> On Tue, Apr 24, 2012 at 9:01 PM, Peter Coles  gmail.com> 
wrote:
> >> Richard Heck  comcast.net> writes:
> > Thank you. Could you shed some light on where I should be making these 
edits?
> > Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere 
in
> > the main .lyx document? Or is there some other file I need to edit?  I'm 
using
> > LyX for Windows.
> >
> 
> Peter,
> 
> you should copy the whole block of code and paste it into your
> preamble (Document>>Settings>>Latex Preamble)
> 
> Then, change the first line to read
> 
> \renewenvironment{thebibliography}[1]
> 
> ("renew" instead of "new")
> 
> Now you are ready to play with the parameters as Richard suggested.
> 
> Cheers,
> 
> Stefano

Stefano, Richard thanks.  After some toying, the following worked:

1) I added to the preamble the full block Richard described, replacing the 
's with at symbols (this replacement was probably obvious to everyone 
except 
me.) I also changed the first line as you suggested.

2) I added   \setlength\itemindent{-.5in} to the block, and changed 
\leftmargin\labelwidth to \setlength\leftmargin{.5in}

The bibliography style I am using, aea.bst, seems to use empty labels rather 
than, for example, numbers to enumerate bibliography items. Hence, rather than 
playing with the labelwidth, which had no effect for me, I indented by a 
negative amount and then shoved the whole list back to the right the same 
amount. 

A pain, but it's done!  Thanks, all.




Re: Jurabib's Bibliography and the use of "et al"

2012-04-26 Thread stefano franchi
On Wed, Apr 25, 2012 at 10:16 PM, Brett Randall  wrote:
> On Thu, Apr 26, 2012 at 10:34 AM, stefano franchi
>  wrote:
>>
>> I am not sure starting to use Jurabib is such a great choice. Jurabib
>> is basically a dead project, as far as I know. It would better to
>> start with biblatex.
>
>
> Thanks Stefano - I have tried biblatex and just can't get it to work. If I
> was still using Linux I'm sure it would be easy, but running LyX 2.0.2 on
> Windows with MikTeX 2.9, I just can't get bibtex/biber to spit out anything.
> I'm having the same result as this person:
>
> http://www.latex-community.org/forum/viewtopic.php?f=19=11317
>
> (i.e. bold keys in place of citations, and no bibliography printing out).

Brett,

I'm sorry to hear that biblatex is not working for you. Unfortunately
I have no idea why that would be the case, except that it seems from
the log snippet you posted that biber may not be running at all.
Debugging requires more info on your part, I am afraid. Can you post a
minimal lyx example, minimal bib file, and the complete latex log.  Or
send them to me privately. By "minimal" I really mean minimal: one or
two lines for the lyx file, one ref for the bib file.
On the other hand, if you are working against deadline, it may be
better to keep working on Jurabib and switch to biblatex later. BTW,
there used to be a jurabib-only mailing list, have you tried it? Or
you may try comp.text.tex (via the google interface).

Cheers,

S.



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Monitor BibTeX files?

2012-04-26 Thread Chris Hennick
My BibTeX files are automatically updated by Mendeley. Is there any way to
have LyX monitor them for changes, so that I don't have to scroll down to
the bibliography and click Rescan all the time? This would be handy, since
I often start writing with the research still in progress.

Sincerely,
Chris Hennick
Trent University
Peterborough, ON, Canada
http://softwetware.blogspot.com/


Re: Monitor BibTeX files?

2012-04-26 Thread Richard Heck

On 04/26/2012 05:45 PM, Chris Hennick wrote:
My BibTeX files are automatically updated by Mendeley. Is there any 
way to have LyX monitor them for changes, so that I don't have to 
scroll down to the bibliography and click Rescan all the time? This 
would be handy, since I often start writing with the research still in 
progress.



What version are you using? This was recently fixed.

Richard



Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Raymond Lillard

On 04/26/2012 05:15 AM, Richard Heck wrote:

On 04/25/2012 11:59 PM, Raymond Lillard wrote:

Dear Lyx-Users,

I have looked and read documentation and Googled for
hours and have yet to find answers to two questions.

My Lyx environment:

Lyx 2.1.0svn as of about a week ago.
TexLive2011 + updates also current about a week ago.

I have written a ~100 page document and would like
to accomplish two things. While writing this document
I have been previewing it as a PDF and now have a nice
looking document.

I have been asked to prepare an HTML version of the
document. I have done so and it too looks really nice
with two minor (well maybe 1 1/2) flaws.

The first and most bothersome is that I have placed
some ERT to handle page numbering in the PDF output.

For the cover page:
\thispagestyleempty

and for general page numbering:
\lhead Name: \pagenumberingroman

This ERT appears in my HTML output when view in a
browser.

What are you using to produce the HTML output? LyX's own method should
not do this, and does not do it in the test I just ran.


$ elyxer --version
* eLyXer version 1.2.3 (2011-08-31)

When my document output format is set to HTML I get:
Line 3: * Warning: unsupported new format version 430
Line 149: * Unknown command \thispagestyle
Line 192: * Unknown command \lhead
Line 192: * Unknown command \pagenumbering
Line 262: * Unknown command \pagenumbering
Line 262: * Unknown command \topmargin
on STDERR from elyxer.

These unrecognized commands get passed through as plain
text in the HTML.

Sorry, but LyXHTML is too ugly for my taste.

I'm not clear on these things, but it looks like
Elyxer is not maintained by the Lyx project.  Should
I take silly little problem elsewhere?



I would like to not need to modify the document
depending on the output form. Is this possible?


You could use branches to turn things on and off.


Secondly, I would like the output to be one large
file but with defined page numbers just like the PDF.


I guess I don't really understand this. I'd be happy to add it to LyX's
XHTML output routine, but how does one know where to break the pages?


OK, I made an incorrect assumption when I wrote the above.
I didn't realize the HTML was being created directly from
lyx code.  I was thinking it was going through some common
intermediate format.  Since not, the problem is between me
and elyxer and probably insoluble since neither HTML or
Lyx code have a any concept of a letter sized page.








Re: Boxing eqnarray

2012-04-26 Thread Paul A . Rubin
Merhebi, Bob  gmail.com> writes:


> I am usually use the TeX \boxed to box an equation but I can't seem to
> be able to box an eqnarray. Is it possible?
> 

Try empheq.sty, part of the mh package.

Paul






Re: Monitor BibTeX files?

2012-04-26 Thread Chris Hennick
On 26 April 2012 18:05, Richard Heck  wrote:

> On 04/26/2012 05:45 PM, Chris Hennick wrote:
>
>> My BibTeX files are automatically updated by Mendeley. Is there any way
>> to have LyX monitor them for changes, so that I don't have to scroll down
>> to the bibliography and click Rescan all the time? This would be handy,
>> since I often start writing with the research still in progress.
>>
>>  What version are you using? This was recently fixed.
>
> Richard
>
> 2.0.2. Is there any way to get updates automatically?


RE: Monitor BibTeX files?

2012-04-26 Thread Scott Kostyshak
From: Chris Hennick [christophe...@trentu.ca]
Sent: Thursday, April 26, 2012 6:40 PM

>2.0.2. Is there any way to get updates automatically?

If you are using Ubuntu, you can use this PPA:
https://launchpad.net/~lyx-devel/+archive/release

That should give you (stable) updates automatically.

If you are using Mac or Windows, I think the answer is no.

Scott


Re: Scrolling Slowness [Re: keyboard Scrolling Anomaly]

2012-04-26 Thread Thomas Coffee
I have experienced unbearably sluggish scrolling and typing in LyX that
after much research I attribute to a poor interaction between Qt 4 and my
NVIDIA graphics card driver.

I solved these issues by starting LyX with:

lyx -graphicssystem raster

I have seen this problem described using both GNOME and KDE with NVIDIA
cards (though there also appear to be unrelated scrolling and typing lag
problems out there). The same fallback helps with other Qt-based programs I
run, but beware that it may cause some rendering glitches (though I have
not seen any in LyX).

http://forum.kde.org/viewtopic.php?f=66=90821
http://www.nvnews.net/vbulletin/showthread.php?t=148778=2

- Thomas


On Thu, Apr 26, 2012 at 3:17 PM, Richard Heck  wrote:

> On 04/26/2012 11:02 AM, David L. Johnson wrote:
>
>> On 04/26/2012 10:30 AM, Rashif Ray Rahman wrote:
>>
>>> Hi all
>>>
>>> I've not been a LyX user for long but am going to write a 300-page
>>> academic paper with it for the final typesetting and formatting. I've
>>> practised on and off for the past few months but one thing that has always
>>> troubled me is how I'm unable to scroll with the keyboard (up and down
>>> arrow keys). I'd like to be rid of the mouse if possible.
>>>
>>> When I hold a particular directional key for up to 20 secs it appears to
>>> work but as if it's in slow motion. Qt shouldn't be having any such
>>> scrolling problem, so I haven't been able to troubleshoot this any further.
>>>
>>>  I don't see this behavior at all.  The only thing that slows down
>> scrolling with the arrows is if the cursor enters a math formula.  Then it
>> runs through all the superscripts and subscripts, but still it is
>> reasonably fast.
>>
>> You also might try using the  and  keys.
>>
>> What system are you using?  Mine is debian testing (a linux variant), on
>> a fast machine -- but it works well on even my slow netbook.
>>
>>  There have been occasional reports of this kind of problem, usually
> connected, as far as we can tell, to interactions issues between LyX and
> certain video drivers. So I'll ask, too: What system is this and, if it's
> Linux, what desktop, what window manager, what X drivers?
>
> Richard
>
>
>


Re: Monitor BibTeX files?

2012-04-26 Thread Richard Heck

On 04/26/2012 06:40 PM, Chris Hennick wrote:
On 26 April 2012 18:05, Richard Heck > wrote:


On 04/26/2012 05:45 PM, Chris Hennick wrote:

My BibTeX files are automatically updated by Mendeley. Is
there any way to have LyX monitor them for changes, so that I
don't have to scroll down to the bibliography and click Rescan
all the time? This would be handy, since I often start writing
with the research still in progress.

What version are you using? This was recently fixed.

Richard

2.0.2.

I think it was fixed for 2.0.3, though I'm not absolutely positive. It 
worked, then it got broke somehow. You can check the bug tracker and 
search on bugs with a 2.0.3 milestone.


Richard



Re: Scrolling Slowness [Re: keyboard Scrolling Anomaly]

2012-04-26 Thread Richard Heck

On 04/26/2012 07:27 PM, Thomas Coffee wrote:
I have experienced unbearably sluggish scrolling and typing in LyX 
that after much research I attribute to a poor interaction between Qt 
4 and my NVIDIA graphics card driver.


Yes, that's what most people have reported. But it seems to be dependent 
upon something else, too. I use Fedora with KDE and the proprietary 
NVidia drivers, and I do not have a problem. That said, there was one 
time I did see it, though a restart fixed it. So it's very puzzling.


Richard



Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Richard Heck

On 04/26/2012 06:27 PM, Raymond Lillard wrote:


Sorry, but LyXHTML is too ugly for my taste.


How so? Do you mean the visual output or the file structure, or?

Richard



Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Raymond Lillard

On 04/26/2012 04:48 PM, Richard Heck wrote:

On 04/26/2012 06:27 PM, Raymond Lillard wrote:


Sorry, but LyXHTML is too ugly for my taste.


How so? Do you mean the visual output or the file structure, or?


Richard,

I'm not experienced enough at HTML to have an opinion
on file structure.

When I set the document default output to HTML (filtered
through elyxer) the viewed document is more visually
appealing than when set to LyXHTML. Perhaps ugly is too
strong a word here, but I think most people would agree
it looks dated.

I didn't mean to give offense and please don't take my
comment that way.

It has been said that a gentleman never gives offense,
unintentionally.

If you or the Lyx team were offended, then my normal
gentlemanly demeanor has suffered a glitch.

Regards,
Ray


Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Alex Fernandez
Hi Ray,

On Fri, Apr 27, 2012 at 12:27 AM, Raymond Lillard wrote:

> I'm not clear on these things, but it looks like
> Elyxer is not maintained by the Lyx project.  Should
> I take silly little problem elsewhere?
>

Sure, you can email me directly. I have received other requests to remove
parsing errors from the output; I should probably do that for the next
version.

OK, I made an incorrect assumption when I wrote the above.
> I didn't realize the HTML was being created directly from
> lyx code.  I was thinking it was going through some common
> intermediate format.  Since not, the problem is between me
> and elyxer and probably insoluble since neither HTML or
> Lyx code have a any concept of a letter sized page.
>

Yes, your intentions (output numbered by actual paper pages) is quite alien
to eLyXer and even to the HTML format itself. Apart from cutting pages at a
fixed number of words, or doing some troff-like abomination (the kind you
see on RFCs: http://www.rfc-editor.org/rfc/rfc1866.txt), I don't see how
that would even work. The natural way to do what you want would be to cut
the output by sections; and frankly I don't understand why that solution
doesn't cut it for you (pun intended).

Another request I have received, and which I need myself, is to output
section names as page names, the kind of dash-separated-titles that you see
on blog posts. I should take out some time to work on eLyXer!

Alex.


Re: Monitor BibTeX files?

2012-04-26 Thread Chris Hennick
On 26 April 2012 19:45, Richard Heck  wrote:

> I think it was fixed for 2.0.3, though I'm not absolutely positive. It
> worked, then it got broke somehow. You can check the bug tracker and search
> on bugs with a 2.0.3 milestone.
>

I've manually updated to 2.0.3, and the automatic rescan is working. Thanks!

On a related note, is there any way to set a target file path for PDF
rendering, so that I don't have to click Save As in Adobe Reader? Then, I'd
be able to update my prof's snapshot with just one manual step.