Re: installation of a .def file for use in exporting polytonic greek text

2012-09-19 Thread Jacob Bishop
John,

What operating system are you using? If it is ubuntu linux, installing
texlive-
latex-extra and/or texlive-lang-greek through apt should do it (e.g. sudo
apt-get install texlive-latex-extra). If it's Windows and MiKTeX, you might
have to do it by hand. If you give more detailed information and perhaps a
minimal example, it would be easier to give a better response.

By the way, I just tried what you described on my Windows XP computer with
LyX 2.0.2 and MiKTeX 2.9. The .pdf compiles just fine. I think MiKTeX is
grabbing the package for me automatically.

Jacob


Re: installation of a .def file for use in exporting polytonic greek text

2012-09-19 Thread Scott Kostyshak
On Wed, Sep 19, 2012 at 6:58 PM, John Bova  wrote:
> Can anyone tell me how to find (I think I may have) and install (no idea!)
> this file (or whether this is a symptom of a deeper problem)?
>
> Thanks!
>
> John

Hi John, what OS are you using?
On Ubuntu I would do
sudo apt-get install texlive-lang-greek
Then in LyX, Tools > Reconfigure

Scott


installation of a .def file for use in exporting polytonic greek text

2012-09-19 Thread John Bova
I'm a complete beginner with LyX, so apologies in advance if this is
something that ought to be obvious.  Having set the language of a paragraph
to Polytonic Greek (in an otherwise English document), when I copy&paste
and/or type input, then try to export as a .pdf, I get the following error
message:

LaTeX Error: 'File iso-8859-7.def not found'.

Can anyone tell me how to find (I think I may have) and install (no idea!)
this file (or whether this is a symptom of a deeper problem)?

Thanks!

John


2.0.4: GUI handling of EPS bounding boxes

2012-09-19 Thread Matthias Hunstig
Hello,

In June I have been writing about problems in 2.0.3 with negative bounding box 
values (http://article.gmane.org/gmane.editors.lyx.general/75783). In 2.0.4, 
this problem seems to be fixed at first glance, negative values are read from 
the file. But a new problem has arisen: As mentioned on the tracker 
(http://www.lyx.org/trac/changeset/036e0c2a/lyxgit), the GUI does not handle 
the bounding box correctly. In my tries (Windows 7), I get two cases:

a) Bounding box is ignored in GUI. For finding good bounding box values I have 
to guess and hope. This could be seen as a missing feature, but the feature was 
there in 2.0.3, so it is disappointing.
b) If I select anything else than the values read from the file and activate 
"crop to bounding box", the figure completely disappears from the GUI (not from 
the created document). This is even worse and definitely a bug, not a missing 
feature.

I have not found out yet what determines whether I get case a) or b). For the 
time being, I will step back to 2.0.3 and use manual adjustment of bounding 
boxes as described in the link above. It would be nice if the GUI in the next 
version correctly handles bounding boxes.

Regards

Matthias



Re: Export to lyxhtml - format of \todo items

2012-09-19 Thread Richard Heck

On 09/19/2012 10:18 AM, Rainer M Krug wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/09/12 16:16, Richard Heck wrote:

On 09/19/2012 06:29 AM, Rainer M Krug wrote:

-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

On 19/09/12 11:45, Jürgen Spitzmüller wrote:

Rainer M Krug wrote:

Hi

I have a document which contains todo items I would like to format \todo items 
not in

div.flex_todo_inline_ { font-family: monospace; } div.flex_todo_margin_ { 
font-family:
monospace; }

as defined in the resulting xhtml, but formated as e.g. bold and in red.

How can I define these formats so that they are automatically used, or do I 
have to do
this manually?

In the todosalternate module, you can define the XHTML output of the insets via 
the
HTMLStyle tag. I.e., add something such as the following to the respective style
definitions:

HTMLStyle div.flex_todo_inline_ { border: 2px solid black; padding: 1ex; 
margin: 1ex;
background-color: #F0F0F0; font-weight: bold; font-family: serif; font-variant: 
normal;
font-style: normal; } EndHTMLStyle

(not tested)

And works like a charm

May I suggest to add this to the todosalternate module layout?

Where is that?

Sorry:

http://wiki.lyx.org/Layouts/Modules#toc2

and the actual layout file

http://wiki.lyx.org/uploads/Modules/todonotesalternate.module

In that case, you can update it, though I guess we have to figure out 
the upload problem


Richard



Re: Export to lyxhtml - format of \todo items

2012-09-19 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/09/12 16:16, Richard Heck wrote:
> On 09/19/2012 06:29 AM, Rainer M Krug wrote:
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>> 
>> On 19/09/12 11:45, Jürgen Spitzmüller wrote:
>>> Rainer M Krug wrote:
 Hi
 
 I have a document which contains todo items I would like to format \todo 
 items not in
 
 div.flex_todo_inline_ { font-family: monospace; } div.flex_todo_margin_ { 
 font-family: 
 monospace; }
 
 as defined in the resulting xhtml, but formated as e.g. bold and in red.
 
 How can I define these formats so that they are automatically used, or do 
 I have to do
 this manually?
>>> In the todosalternate module, you can define the XHTML output of the insets 
>>> via the
>>> HTMLStyle tag. I.e., add something such as the following to the respective 
>>> style
>>> definitions:
>>> 
>>> HTMLStyle div.flex_todo_inline_ { border: 2px solid black; padding: 1ex; 
>>> margin: 1ex; 
>>> background-color: #F0F0F0; font-weight: bold; font-family: serif; 
>>> font-variant: normal; 
>>> font-style: normal; } EndHTMLStyle
>>> 
>>> (not tested)
>> And works like a charm
>> 
>> May I suggest to add this to the todosalternate module layout?
> Where is that?

Sorry:

http://wiki.lyx.org/Layouts/Modules#toc2

and the actual layout file

http://wiki.lyx.org/uploads/Modules/todonotesalternate.module

Rainer

> 
> rh
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBZ1CEACgkQoYgNqgF2egr7wwCfenb9NMdsynIVuYKiR9izFgEm
dsoAnjyeUj7J7fALaa6FAuATC9ZduXKG
=FwBy
-END PGP SIGNATURE-


Re: import ms word

2012-09-19 Thread Richard Heck

On 09/19/2012 08:05 AM, Csikos Bela wrote:

Hello:

In openSUSE 11.2 system lyx 2.0.2 had File->
Import->MS Word option. In openSUSE 12.1 lyx
2.0.4 this option is missing.
Was it removed from lyx, or does it require some
dependency?

Seems to require wvCleanLatex.

rh



Re: Export to lyxhtml - format of \todo items

2012-09-19 Thread Richard Heck

On 09/19/2012 06:29 AM, Rainer M Krug wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/09/12 11:45, Jürgen Spitzmüller wrote:

Rainer M Krug wrote:

Hi

I have a document which contains todo items I would like to format \todo items 
not in

div.flex_todo_inline_ { font-family: monospace; } div.flex_todo_margin_ { 
font-family:
monospace; }

as defined in the resulting xhtml, but formated as e.g. bold and in red.

How can I define these formats so that they are automatically used, or do I 
have to do this
manually?

In the todosalternate module, you can define the XHTML output of the insets via 
the HTMLStyle
tag. I.e., add something such as the following to the respective style 
definitions:

HTMLStyle div.flex_todo_inline_ { border: 2px solid black; padding: 1ex; 
margin: 1ex;
background-color: #F0F0F0; font-weight: bold; font-family: serif; font-variant: 
normal;
font-style: normal; } EndHTMLStyle

(not tested)

And works like a charm

May I suggest to add this to the todosalternate module layout?

Where is that?

rh



pdf cropping

2012-09-19 Thread Stephen Buonopane
I have a pdf file that has  /MediaBox [0 0 630 376]
when I ask LyX to get the bounding box from the file it returns [0 0 611 376]
which means the right edge of the image is cut off in both the LyX preview and 
the pdf output, unless I change the 611 to 630. 

I searched the pdf file in a text editor and cannot find 611 anywhere.
Anyone know where LyX gets the bounding box values from?

Thanks
Steve

import ms word

2012-09-19 Thread Csikos Bela
Hello:

In openSUSE 11.2 system lyx 2.0.2 had File->
Import->MS Word option. In openSUSE 12.1 lyx
2.0.4 this option is missing.
Was it removed from lyx, or does it require some
dependency?

Thanks,

bcsikos




Re: Export to lyxhtml - format of \todo items

2012-09-19 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/09/12 11:45, Jürgen Spitzmüller wrote:
> Rainer M Krug wrote:
>> Hi
>> 
>> I have a document which contains todo items I would like to format \todo 
>> items not in
>> 
>> div.flex_todo_inline_ { font-family: monospace; } div.flex_todo_margin_ { 
>> font-family:
>> monospace; }
>> 
>> as defined in the resulting xhtml, but formated as e.g. bold and in red.
>> 
>> How can I define these formats so that they are automatically used, or do I 
>> have to do this
>> manually?
> 
> In the todosalternate module, you can define the XHTML output of the insets 
> via the HTMLStyle
> tag. I.e., add something such as the following to the respective style 
> definitions:
> 
> HTMLStyle div.flex_todo_inline_ { border: 2px solid black; padding: 1ex; 
> margin: 1ex; 
> background-color: #F0F0F0; font-weight: bold; font-family: serif; 
> font-variant: normal; 
> font-style: normal; } EndHTMLStyle
> 
> (not tested)

And works like a charm

May I suggest to add this to the todosalternate module layout?

Thanks,

Rainer
> 
> HTH Jürgen
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBZnowACgkQoYgNqgF2egqA9QCfSaXBjbFtPG/whSz8n4hn4jzT
+0kAn2ewRD8TpMBBF7//wxFKuqjSJxxB
=2JOp
-END PGP SIGNATURE-


Re: Export to lyxhtml - format of \todo items

2012-09-19 Thread Jürgen Spitzmüller
Rainer M Krug wrote:
> Hi
> 
> I have a document which contains todo items
> I would like to format \todo items not in
> 
> div.flex_todo_inline_ {
> font-family: monospace;
> }
> div.flex_todo_margin_ {
> font-family: monospace;
> }
> 
> as defined in the resulting xhtml, but
> formated as e.g. bold and in red.
> 
> How can I define these formats so that they are automatically used, or do I
> have to do this manually?

In the todosalternate module, you can define the XHTML output of the insets 
via the HTMLStyle tag. I.e., add something such as the following to the 
respective style definitions:

HTMLStyle
div.flex_todo_inline_ {
border: 2px solid black;
padding: 1ex;
margin: 1ex;
background-color: #F0F0F0;
font-weight: bold;
font-family: serif;
font-variant: normal;
font-style: normal;
}
EndHTMLStyle

(not tested)

HTH
Jürgen


Export to lyxhtml - format of \todo items

2012-09-19 Thread Rainer M Krug
Hi

I have a document which contains todo items
I would like to format \todo items not in

div.flex_todo_inline_ {
font-family: monospace;
}
div.flex_todo_margin_ {
font-family: monospace;
}

as defined in the resulting xhtml, but
formated as e.g. bold and in red.

How can I define these formats so that they are automatically used, or do I 
have to do this manually?

I attach the .lyx and .html as reference

Thanks,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


LyxHTML_export.lyx
Description: application/lyx


LyxHTML_export.xhtml
Description: application/xhtml


Re: Hyperlinks not hyphenated?

2012-09-19 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/09/12 00:42, Charlie wrote:
> On Tue, 18 Sep 2012 15:40:11 +0200 "Rainer M Krug r.m.k...@gmail.com" 
> suggested this:
> 
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>> 
>> Hi
>> 
>> In the attached document, the hyperlink is not hyphenated - is this a bug or 
>> am I missing
>> something? In the User Guide 6.3.2, it states:
>> 
>> ### Hyperlinks will automatically be hyphenated if necessary in the PDF 
>> output, and become
>> clickable in the DVI and PDF-output. ###
> 
> I think that someone might already have posted this as a slution:
> 
> http://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url

Not actually - this concerns \url and not \href. I attach the reworked example, 
which uses
\breakurl and \sloppy \fussy to "force" linebreaks, which works as expected for 
the \url.

But with \href it doesn't work. I can put the url in the description of \href 
and manually include
a space where it should break, but this not as flexible as I would like it to 
be.

Rainer

> 
> Hope it helps, because it certainly works for me.
> 
> Charlie -- **  **  **  **  **  **  **  **  **  ** Registered Linux User:- 
> 329524 
> ***
> 
> Some things have to be believed to be seen. -- Ralph Hodgeson
> 
> *** Debian GNU/Linux - just the 
> best way to create
> magic ___
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBZgMwACgkQoYgNqgF2egrxkACgiL+0wElMSjvSc+NOWirk6Os8
NtEAmgJwopH/zcak05yXmjGMoB/Db2UQ
=GxJM
-END PGP SIGNATURE-


Href_linebreak.lyx
Description: application/lyx


Href_linebreak.lyx.sig
Description: Binary data


Re: no readable lyx format

2012-09-19 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
> I try to install lyx (windows 7) for a colleague. I am usually on Debian
> Linux.
> 
> according to
> 2.1 Windows binaries (XP/Vista/7)
> The Windows installer can be downloaded here: LyX-2.0.4-1-Installer.exe.
> A binary for CygWin can be downloaded here: lyx-2.0.4-cygwin.tar.gz.
> I downloaded the installer.exe and got lyx installed. Trying to open an
> existing lyx file (2.0.1 format) I get en error
> no readable lyx format.
> and
> C:/users/Sigrun/AppData/Local/Temp/lyx_tmpdir.HP1712/Buffer_convert-
> LyxFormat.em1712
> 
> What went wrong?
> 
> Should I have downloaded lyx-2.0.4-cygwin.tar.gz additionally? I thought it
> was done while installing.

I cannot help with the actual problem, but I can tell you that you do not need 
the cygwin tarball. This is an alternative windows binary for people who run 
CygWin (some sort of UNIX emulator for windows).

Jürgen

> Wolfgang