Re: LyX on iPad (or other Tablet devices)

2012-04-25 Thread Peter Kelly
On 12/04/2012, at 2:13 PM, am...@bath.ac.uk wrote:

 Dear LyX,
 
 Is it possible to run LyX software on an Apple iPad or other Tablet  
 devices such as Android etc.? (I assume it can run on Windows 7 tablet  
 devices?)

Although LyX itself doesn't run on the iPad, I'm currently working a similar 
app called UX Write which follows the same basic authoring philosophy but is 
designed specifically for the iPad. It uses HTML as its native file format (and 
WebKit for on-screen layout  PDF output) but in a future release it will 
support import  export of LaTeX documents. It's a commercial product but will 
be priced fairly cheaply, at a similar cost to Pages/Documents to go etc.

The first release isn't out yet but is currently in private beta testing. I'm 
looking for feedback from as many people as possible so I'm happy to send you a 
copy of the beta to try if you're interested.

Some more info is available at:

http://www.uxproductivity.com/blog/
http://ffeathers.wordpress.com/2012/04/20/new-text-processor-for-ios-ux-write-looking-for-beta-testers/

 Many thanks in advance,
 
 Andrew Smith (Year 1 - Mathematical Sciences)

--
Dr. Peter M. Kelly
kelly...@gmail.com
http://www.kellypmk.net/



Re: Using LyX to edit organise bibliographies

2012-04-25 Thread Andrew Parsloe

On 25/04/2012 2:08 p.m., Sam Lewis wrote:

From: Liviu Androniclandronim...@gmail.com
It may be nice, perhaps, for LyX to provide an 'Edit BibTeX refs'
button that would allow to easily launch your preferred reference
manager on your ref library.


+1

Cheers, Sam



Ah! You mean launch another instance of LyX?

Andrew

(Sorry, couldn't resist.)


Re: aspect ratio in figures

2012-04-25 Thread Allen Barker

On 04/23/2012 08:27 AM, Allen Barker wrote:


I'm having some problems with the aspect ratio of figures
which are inserted into Lyx. This is with version 2.0.3
on a Fedora 15 system.

I insert a .png screenshot with insert-graphics and set
the width to some value (with the maintain aspect ratio box
checked). The preview looks fine. But, when the file is
printed in PDF the aspect ratio is not preserved. For
example, a square image is stretched too much vertically
(by a very noticeable amount). Postscript is the same.

If I set both the width and the height then the PDF
comes out as it should. If I view as LyxHTML then the
size is also correct.

I'm just using the default article style, with no packages
inserted and an empty preamble.

Any ideas what's going on?


I still haven't figured out what was going on, but I did
discover that the problem does not occur with the .gif
format.  This works well enough for the screenshot I was
inserting.






Re: Polytonic Greek input?

2012-04-25 Thread stefano franchi
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).

 This is important info. Many more things may go wrong in this case.

 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)


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


No.


 On Mon, Apr 23, 2012 at 2:48 AM, Guenter Milde mi...@users.sf.net wrote:
 On 2012-04-23, René Grognard wrote:

 For all methods, you must mark the text in question as Greek.
 Done. In my case, Greek (polutoniko)

 With LuaTeX, babel (instead of polyglossia) and Unicode (utf8 XeTeX), it
 *may* be better not to set the language to Grekk (YMMV).


 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.

 Very strange. Does this happen to the same characters with the same language
 setting?

 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.
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?

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

 Sorry, I did not consider LyX' paranoia escaping of text input because
 there is no problem using | in the unicodesymbols file (only ~, because
 this is no-break space in normal LaTeX, disabled by Babel for Greek but
 re-enabled by LyX).

 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?


 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?



   Alternatively, you can look in the file unicodesymbols in the LyXdir to
   see how LyX maps the Unicode characters to LaTeX code.

 c) if you load the LGRX extended font definitions for the Greek LGR fonts
   (http://milde.users.sourceforge.net/LGR/) in the latex preamble, you
   can also use standard accent commands (and their extensions) as
   described in http://milde.users.sourceforge.net/LGR/lgrxenc.pdf For
   single accents, this should also work with accent-... LyXfuns + base
   character in the minibuffer or bound to some key.


 I will have to try this once I get method (b) to work.

 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.)


I'll have to try these ones too.



Thanks,

Stefano


-- 
__
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


Moderncv problems

2012-04-25 Thread Emil Pavlov

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.




Jurabib's Bibliography and the use of et al

2012-04-25 Thread Brett Randall
Hi all

I'm not sure this is entirely the right place to post this, but am hopeful
nonetheless that someone can help me!

I am starting to use BibTeX for referencing for the first time (used to be
by hand). I need to use the Harvard referencing format so am using the
jurabib style. In my LaTeX preamble, I have stolen bits from random sites
to make it:

\jurabibsetup{%

titleformat=italic,%

titleformat=commasep,%

commabeforerest,%

citefull=first,%

lookat,%

oxford,%

pages=format,%

idem%

}



Which basically makes everything as Harvard-ish as possible. The only thing
which seems to be a problem is that when I have 4 or more authors, both the
in-text reference AND the bibliography have et al. in place of the
remaining authors. I need to have et al. in the in-text references, but
all authors listed in the bibliography.



Does anyone know how I can make this work?



Thanks in advance



Brett.


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

2012-04-25 Thread Brett Randall
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). I
downloaded and updated the Test LyX files the person there managed to get
working and can't even get them working on my installation - just prints
BIB keys and no bibliography. So after an hour of trying to get biblatex
working in place of jurabib, I'm down an hour on a tight deadline and still
no closer to solving the only prob I have with jurabib which is the
bibliography style :) Would be nice if LyX just supported biblatex
natively... If anyone is interested, the LaTeX log is showing me the
following when I try and output the PDF file:

Package biblatex Info: Trying to load bibliographic data...

Package biblatex Info: ... file 'Literature_Review_Draft.bbl' not found.

No file Literature_Review_Draft.bbl.

LaTeX Warning: Citation 'abs_labour' on page 2 undefined on input line 39.



(The LyX file is called Literature_Review_Draft.bbl and is in one of my
Documents folders. The BIB file is called ITMPResearch.bib and is in
C:\Users\brett\AppData\Roaming\MikTeX\2.9, which is a MiKTeX-maintained
root directory).



Thanks in advance



Brett.


HTML Pagination Issues

2012-04-25 Thread Raymond Lillard

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.

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

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

I know about the pagination offered by elyxer, but
that breaks the document into separate files based
on document structure.  Not what I want.

I apologize if this is easy, I am by no means a Tex guru
and I realize this sort of thing was not part of the
original Tex program.

My docs are beautiful, and I offer my thanks to all
the developers.

Regards,
Ray







Re: LyX on iPad (or other Tablet devices)

2012-04-25 Thread Peter Kelly
On 12/04/2012, at 2:13 PM, am...@bath.ac.uk wrote:

 Dear LyX,
 
 Is it possible to run LyX software on an Apple iPad or other Tablet  
 devices such as Android etc.? (I assume it can run on Windows 7 tablet  
 devices?)

Although LyX itself doesn't run on the iPad, I'm currently working a similar 
app called UX Write which follows the same basic authoring philosophy but is 
designed specifically for the iPad. It uses HTML as its native file format (and 
WebKit for on-screen layout  PDF output) but in a future release it will 
support import  export of LaTeX documents. It's a commercial product but will 
be priced fairly cheaply, at a similar cost to Pages/Documents to go etc.

The first release isn't out yet but is currently in private beta testing. I'm 
looking for feedback from as many people as possible so I'm happy to send you a 
copy of the beta to try if you're interested.

Some more info is available at:

http://www.uxproductivity.com/blog/
http://ffeathers.wordpress.com/2012/04/20/new-text-processor-for-ios-ux-write-looking-for-beta-testers/

 Many thanks in advance,
 
 Andrew Smith (Year 1 - Mathematical Sciences)

--
Dr. Peter M. Kelly
kelly...@gmail.com
http://www.kellypmk.net/



Re: Using LyX to edit organise bibliographies

2012-04-25 Thread Andrew Parsloe

On 25/04/2012 2:08 p.m., Sam Lewis wrote:

From: Liviu Androniclandronim...@gmail.com
It may be nice, perhaps, for LyX to provide an 'Edit BibTeX refs'
button that would allow to easily launch your preferred reference
manager on your ref library.


+1

Cheers, Sam



Ah! You mean launch another instance of LyX?

Andrew

(Sorry, couldn't resist.)


Re: aspect ratio in figures

2012-04-25 Thread Allen Barker

On 04/23/2012 08:27 AM, Allen Barker wrote:


I'm having some problems with the aspect ratio of figures
which are inserted into Lyx. This is with version 2.0.3
on a Fedora 15 system.

I insert a .png screenshot with insert-graphics and set
the width to some value (with the maintain aspect ratio box
checked). The preview looks fine. But, when the file is
printed in PDF the aspect ratio is not preserved. For
example, a square image is stretched too much vertically
(by a very noticeable amount). Postscript is the same.

If I set both the width and the height then the PDF
comes out as it should. If I view as LyxHTML then the
size is also correct.

I'm just using the default article style, with no packages
inserted and an empty preamble.

Any ideas what's going on?


I still haven't figured out what was going on, but I did
discover that the problem does not occur with the .gif
format.  This works well enough for the screenshot I was
inserting.






Re: Polytonic Greek input?

2012-04-25 Thread stefano franchi
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).

 This is important info. Many more things may go wrong in this case.

 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)


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


No.


 On Mon, Apr 23, 2012 at 2:48 AM, Guenter Milde mi...@users.sf.net wrote:
 On 2012-04-23, René Grognard wrote:

 For all methods, you must mark the text in question as Greek.
 Done. In my case, Greek (polutoniko)

 With LuaTeX, babel (instead of polyglossia) and Unicode (utf8 XeTeX), it
 *may* be better not to set the language to Grekk (YMMV).


 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.

 Very strange. Does this happen to the same characters with the same language
 setting?

 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.
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?

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

 Sorry, I did not consider LyX' paranoia escaping of text input because
 there is no problem using | in the unicodesymbols file (only ~, because
 this is no-break space in normal LaTeX, disabled by Babel for Greek but
 re-enabled by LyX).

 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?


 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?



   Alternatively, you can look in the file unicodesymbols in the LyXdir to
   see how LyX maps the Unicode characters to LaTeX code.

 c) if you load the LGRX extended font definitions for the Greek LGR fonts
   (http://milde.users.sourceforge.net/LGR/) in the latex preamble, you
   can also use standard accent commands (and their extensions) as
   described in http://milde.users.sourceforge.net/LGR/lgrxenc.pdf For
   single accents, this should also work with accent-... LyXfuns + base
   character in the minibuffer or bound to some key.


 I will have to try this once I get method (b) to work.

 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.)


I'll have to try these ones too.



Thanks,

Stefano


-- 
__
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


Moderncv problems

2012-04-25 Thread Emil Pavlov

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.




Jurabib's Bibliography and the use of et al

2012-04-25 Thread Brett Randall
Hi all

I'm not sure this is entirely the right place to post this, but am hopeful
nonetheless that someone can help me!

I am starting to use BibTeX for referencing for the first time (used to be
by hand). I need to use the Harvard referencing format so am using the
jurabib style. In my LaTeX preamble, I have stolen bits from random sites
to make it:

\jurabibsetup{%

titleformat=italic,%

titleformat=commasep,%

commabeforerest,%

citefull=first,%

lookat,%

oxford,%

pages=format,%

idem%

}



Which basically makes everything as Harvard-ish as possible. The only thing
which seems to be a problem is that when I have 4 or more authors, both the
in-text reference AND the bibliography have et al. in place of the
remaining authors. I need to have et al. in the in-text references, but
all authors listed in the bibliography.



Does anyone know how I can make this work?



Thanks in advance



Brett.


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

2012-04-25 Thread Brett Randall
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). I
downloaded and updated the Test LyX files the person there managed to get
working and can't even get them working on my installation - just prints
BIB keys and no bibliography. So after an hour of trying to get biblatex
working in place of jurabib, I'm down an hour on a tight deadline and still
no closer to solving the only prob I have with jurabib which is the
bibliography style :) Would be nice if LyX just supported biblatex
natively... If anyone is interested, the LaTeX log is showing me the
following when I try and output the PDF file:

Package biblatex Info: Trying to load bibliographic data...

Package biblatex Info: ... file 'Literature_Review_Draft.bbl' not found.

No file Literature_Review_Draft.bbl.

LaTeX Warning: Citation 'abs_labour' on page 2 undefined on input line 39.



(The LyX file is called Literature_Review_Draft.bbl and is in one of my
Documents folders. The BIB file is called ITMPResearch.bib and is in
C:\Users\brett\AppData\Roaming\MikTeX\2.9, which is a MiKTeX-maintained
root directory).



Thanks in advance



Brett.


HTML Pagination Issues

2012-04-25 Thread Raymond Lillard

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.

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

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

I know about the pagination offered by elyxer, but
that breaks the document into separate files based
on document structure.  Not what I want.

I apologize if this is easy, I am by no means a Tex guru
and I realize this sort of thing was not part of the
original Tex program.

My docs are beautiful, and I offer my thanks to all
the developers.

Regards,
Ray







Re: LyX on iPad (or other Tablet devices)

2012-04-25 Thread Peter Kelly
On 12/04/2012, at 2:13 PM, am...@bath.ac.uk wrote:

> Dear LyX,
> 
> Is it possible to run LyX software on an Apple iPad or other Tablet  
> devices such as Android etc.? (I assume it can run on Windows 7 tablet  
> devices?)

Although LyX itself doesn't run on the iPad, I'm currently working a similar 
app called UX Write which follows the same basic authoring philosophy but is 
designed specifically for the iPad. It uses HTML as its native file format (and 
WebKit for on-screen layout & PDF output) but in a future release it will 
support import & export of LaTeX documents. It's a commercial product but will 
be priced fairly cheaply, at a similar cost to Pages/Documents to go etc.

The first release isn't out yet but is currently in private beta testing. I'm 
looking for feedback from as many people as possible so I'm happy to send you a 
copy of the beta to try if you're interested.

Some more info is available at:

http://www.uxproductivity.com/blog/
http://ffeathers.wordpress.com/2012/04/20/new-text-processor-for-ios-ux-write-looking-for-beta-testers/

> Many thanks in advance,
> 
> Andrew Smith (Year 1 - Mathematical Sciences)

--
Dr. Peter M. Kelly
kelly...@gmail.com
http://www.kellypmk.net/



Re: Using LyX to edit & organise bibliographies

2012-04-25 Thread Andrew Parsloe

On 25/04/2012 2:08 p.m., Sam Lewis wrote:

From: Liviu Andronic
It may be nice, perhaps, for LyX to provide an 'Edit BibTeX refs'
button that would allow to easily launch your preferred reference
manager on your ref library.


+1

Cheers, Sam



Ah! You mean launch another instance of LyX?

Andrew

(Sorry, couldn't resist.)


Re: aspect ratio in figures

2012-04-25 Thread Allen Barker

On 04/23/2012 08:27 AM, Allen Barker wrote:


I'm having some problems with the aspect ratio of figures
which are inserted into Lyx. This is with version 2.0.3
on a Fedora 15 system.

I insert a .png screenshot with insert->graphics and set
the width to some value (with the maintain aspect ratio box
checked). The preview looks fine. But, when the file is
printed in PDF the aspect ratio is not preserved. For
example, a square image is stretched too much vertically
(by a very noticeable amount). Postscript is the same.

If I set both the width and the height then the PDF
comes out as it should. If I view as LyxHTML then the
size is also correct.

I'm just using the default article style, with no packages
inserted and an empty preamble.

Any ideas what's going on?


I still haven't figured out what was going on, but I did
discover that the problem does not occur with the .gif
format.  This works well enough for the screenshot I was
inserting.






Re: Polytonic Greek input?

2012-04-25 Thread stefano franchi
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).
>
> This is important info. Many more things may go wrong in this case.
>
> 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)

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

No.

>
>> On Mon, Apr 23, 2012 at 2:48 AM, Guenter Milde  wrote:
>>> On 2012-04-23, René Grognard wrote:
>
>>> For all methods, you must mark the text in question as "Greek".
>> Done. In my case, Greek (polutoniko)
>
> With LuaTeX, babel (instead of polyglossia) and Unicode (utf8 XeTeX), it
> *may* be better not to set the language to Grekk (YMMV).
>

>>> 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.
>
> Very strange. Does this happen to the same characters with the same language
> setting?
>
> 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.
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?

>>> b) use the "LGR transliteration" which is described in the babel Greek
>>>   documentation http://mirror.ctan.org/info/babel/babel.pdf
>
> Sorry, I did not consider LyX' "paranoia escaping" of text input because
> there is no problem using <>| in the unicodesymbols file (only ~, because
> this is no-break space in "normal" LaTeX, disabled by Babel for Greek but
> re-enabled by LyX).
>
> 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"?


>> 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?

>
>
>>>   Alternatively, you can look in the file "unicodesymbols" in the LyXdir to
>>>   see how LyX maps the Unicode characters to LaTeX code.
>
>>> c) if you load the "LGRX" extended font definitions for the Greek LGR fonts
>>>   (http://milde.users.sourceforge.net/LGR/) in the latex preamble, you
>>>   can also use standard accent commands (and their extensions) as
>>>   described in http://milde.users.sourceforge.net/LGR/lgrxenc.pdf For
>>>   single accents, this should also work with accent-... LyXfuns + base
>>>   character in the minibuffer or bound to some key.
>
>
>> I will have to try this once I get method (b) to work.
>
> 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.)
>

I'll have to try these ones too.



Thanks,

Stefano


-- 
__
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


Moderncv problems

2012-04-25 Thread Emil Pavlov

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.




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

2012-04-25 Thread Brett Randall
Hi all

I'm not sure this is entirely the right place to post this, but am hopeful
nonetheless that someone can help me!

I am starting to use BibTeX for referencing for the first time (used to be
by hand). I need to use the Harvard referencing format so am using the
jurabib style. In my LaTeX preamble, I have stolen bits from random sites
to make it:

\jurabibsetup{%

titleformat=italic,%

titleformat=commasep,%

commabeforerest,%

citefull=first,%

lookat,%

oxford,%

pages=format,%

idem%

}



Which basically makes everything as Harvard-ish as possible. The only thing
which seems to be a problem is that when I have 4 or more authors, both the
in-text reference AND the bibliography have "et al." in place of the
remaining authors. I need to have "et al." in the in-text references, but
all authors listed in the bibliography.



Does anyone know how I can make this work?



Thanks in advance



Brett.


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

2012-04-25 Thread Brett Randall
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). I
downloaded and updated the Test LyX files the person there managed to get
working and can't even get them working on my installation - just prints
BIB keys and no bibliography. So after an hour of trying to get biblatex
working in place of jurabib, I'm down an hour on a tight deadline and still
no closer to solving the only prob I have with jurabib which is the
bibliography style :) Would be nice if LyX just supported biblatex
natively... If anyone is interested, the LaTeX log is showing me the
following when I try and output the PDF file:

Package biblatex Info: Trying to load bibliographic data...

Package biblatex Info: ... file 'Literature_Review_Draft.bbl' not found.

No file Literature_Review_Draft.bbl.

LaTeX Warning: Citation 'abs_labour' on page 2 undefined on input line 39.



(The LyX file is called Literature_Review_Draft.bbl and is in one of my
Documents folders. The BIB file is called ITMPResearch.bib and is in
C:\Users\brett\AppData\Roaming\MikTeX\2.9, which is a MiKTeX-maintained
root directory).



Thanks in advance



Brett.


HTML Pagination Issues

2012-04-25 Thread Raymond Lillard

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.

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

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

I know about the pagination offered by elyxer, but
that breaks the document into separate files based
on document structure.  Not what I want.

I apologize if this is easy, I am by no means a Tex guru
and I realize this sort of thing was not part of the
original Tex program.

My docs are beautiful, and I offer my thanks to all
the developers.

Regards,
Ray