Re: http:// renderings in lyx

2009-11-04 Thread Mike Meredith
On Wed, 4 Nov 2009 20:43:19 +0530, Frederick Noronha [फ़रेदरिक नोरोनया]
فريدريك نورونيا wrote:
> Guys, could you tell me if I'm doing something wrong, the
> http://whatever.com doesn't render when in lyx. In particuarly the //
> looks too far from the text. Should I use some other way of doing
> this? Thanks! FN

Menu "Insert" and then "URL".


Paragraph Indent Alignment in .layout file

2009-11-04 Thread Rob
Hi,

I changed the alignment of the standard environment in my layout file. I did it
by simply adding these lines to my .layout file:

Style Standard
Align Left
End

This is now ragged right in my layout, as I desire, but I lost the paragraph
indents in the process.  When I changed the above to this:

Style Standard
ParIndent 30pt
Align Left
End

I still didn't get the paragraph indents.  I definitely do not know what I am
doing.  What should I do to keep my ragged right appearance and the conventional
paragraph indents in my layout?

Thanks.

Rob



Snow Leopard, Auto-save, Etc: Binary for Testing

2009-11-04 Thread rgheck


Just reposting this with a more informative title. The binary is here:

 Original Message 
Subject:Re: LyX 1.6.4.1 and Snow Leopard
Date:   Wed, 04 Nov 2009 11:29:05 +0100
From:   Jürgen Spitzmüller 
To: lyx-users@lists.lyx.org
Followup-To:gmane.editors.lyx.general



OK, a binary for testing is now available here:
ftp://ftp.devel.lyx.org/pub/lyx/devel/LyX-1.6.5svn-Snow-Leopard-Test.app.zip

Please test if this fixes your problems on Snow Leopard and report back.
Also please report whether the autosave slowdown is bearable, or any strange
behaviour that might occur.

If the fix proves to do what it ought to (i.e., prevent the pseudo-crashes
on autosave), we will release a patched 1.6.4.2 specifically for Snow
Leopard soon.

The binary is not such a patched 1.6.4, but rather a snapshot of the current
1.6.5svn trunk. It should be stable, but be advised it's not "officially"
declared stable.

Jürgen



Re: Paragraph Indent Alignment in .layout file

2009-11-04 Thread Uwe Stöhr

Rob schrieb:


This is now ragged right in my layout, as I desire, but I lost the paragraph
indents in the process.  When I changed the above to this:

Style Standard
ParIndent 30pt
Align Left
End

I still didn't get the paragraph indents.  I definitely do not know what I am
doing.


That's the problem ;-)

Have a look at the Customization manual that you fiond in LyX's Help menu. You find there that you 
have to use


LeftMargin

to specify the margin.

ParIndent

only affects the first line of the paragraph and it is furthermore a sting, not 
a length. So

ParIndent "MMM"

would do the job.

regards Uwe


Re: http:// renderings in lyx

2009-11-04 Thread Uwe Stöhr

Frederick Noronha [फ़रेदरिक नोरोनया] فريدريك نورونيا schrieb:


Guys, could you tell me if I'm doing something wrong, the
http://whatever.com doesn't render when in lyx. In particuarly the //
looks too far from the text. Should I use some other way of doing
this?


Menu Insert-> Hyperlink (or the corresponding toolbar button)

regards Uwe


Re: Paragraph Indent Alignment in .layout file

2009-11-04 Thread rgheck

On 11/04/2009 10:57 AM, Rob wrote:

Hi,

I changed the alignment of the standard environment in my layout file. I did it
by simply adding these lines to my .layout file:

Style Standard
Align Left
End

This is now ragged right in my layout, as I desire, but I lost the paragraph
indents in the process.  When I changed the above to this:

Style Standard
ParIndent 30pt
Align Left
End

I still didn't get the paragraph indents.  I definitely do not know what I am
doing.  What should I do to keep my ragged right appearance and the conventional
paragraph indents in my layout?

   
First, ParIndent takes a string, like "M", as argument. The indent 
will then be as big as the string.


Second, I would suggest putting this kind of thing into a simple module, 
like the attached. Then you can use it with whatever class you want, or not.


Finally, though, yes, I see the problem. This is presumably a bug. Can 
you enter it into the bugtracker?


rh

#\DeclareLyXModule{Test}
#DescriptionBegin
#Test Module
#DescriptionEnd

Format 11

Style Standard
Align Left
ParIndent M
End



Re: URL wraping - someone got it working?

2009-11-04 Thread Uwe Stöhr

Sven Hoexter schrieb:


did someone succeed in getting wraped and formated URLs in any document?
Background is that I tried to reproduce Debian bug #531992 [1].

The "Break links over lines" checkbox in the document settings is activated
and the 'breaklinks' setting is set in the tex export.


With this settings it works for me, but you need to use Insert->Hyperlink instead 
of Insert->URL.
I'm on Windows using MiKTeX 2.7 with the latest hyperref.

regards Uwe


Re: Paragraph Indent Alignment in .layout file

2009-11-04 Thread rgheck

On 11/04/2009 11:18 AM, Uwe Stöhr wrote:

Rob schrieb:

This is now ragged right in my layout, as I desire, but I lost the 
paragraph

indents in the process.  When I changed the above to this:

Style Standard
ParIndent 30pt
Align Left
End

I still didn't get the paragraph indents.  I definitely do not know 
what I am

doing.


That's the problem ;-)

As I say in the other message, though, this is definitely a bug. Simply 
setting Align to Left should not kill the indentation, which is set at 
document level, right?


rh



Re: Paragraph Indent Alignment in .layout file

2009-11-04 Thread Rob
Thanks Uwe,

But when I specify

Style Standard
Align  Left
ParIndent  MMM
End

the problems persists.  In fact, no matter the string entry for ParIndent, the
problem persists.  I've looked closely at the customization manual, but cannot
find my solution there.  

thanks.



Re: Paragraph Indent Alignment in .layout file

2009-11-04 Thread rgheck

On 11/04/2009 11:36 AM, Rob wrote:

Thanks Uwe,

But when I specify

Style Standard
Align  Left
ParIndent  MMM
End

the problems persists.  In fact, no matter the string entry for ParIndent, the
problem persists.  I've looked closely at the customization manual, but cannot
find my solution there.

   
This seems to be ignored if the alignment isn't Block. There's 
definitely a bug here somewhere.


rh



Re: Paragraph Indent Alignment in .layout file

2009-11-04 Thread Rob
> 
> #\DeclareLyXModule{Test}
> #DescriptionBegin
> #Test Module
> #DescriptionEnd
> 
> Format 11
> 
> Style Standard
>   Align Left
>   ParIndent M
> End
> 
> 


Hi RG,  

Thanks for your help with this.  I copied your text 
to make a module and am able to change the margins, 
alignment etc., but still not the paragraph indent.  
Were you able to change the paragraph indent with 
this module as it's written?  Thanks.

Rob



Re: Paragraph Indent Alignment in .layout file

2009-11-04 Thread rgheck

On 11/04/2009 12:07 PM, Rob wrote:

#\DeclareLyXModule{Test}
#DescriptionBegin
#Test Module
#DescriptionEnd

Format 11

Style Standard
Align Left
ParIndent M
End


 


Hi RG,

Thanks for your help with this.  I copied your text
to make a module and am able to change the margins,
alignment etc., but still not the paragraph indent.
Were you able to change the paragraph indent with
this module as it's written?  Thanks.

   
No. I only meant it as an example. The parindent problem is elsewhere, 
and there isn't any way to solve it, other than by fixing the bug that 
is causing it.


rh



using of aspell libraries on windows

2009-11-04 Thread Sergey
Hi

i just noticed lyx team maintains up-to-date aspell windows port.
I tried to use with Psi. so i got aspell-mingw tarball
(ftp://ftp.lyx.org/pub/lyx/contrib/lyx-windows-deps-mingw.zip), compiled Psi
with it, put 2 dlls from tarball (aspell-15.dll and libintl-3.dll) into
directory with Psi.exe, installed russian dictionary from here
(http://wiki.lyx.org/Windows/Aspell6). Started Psi.
As result spellchecking checkbox is not active in Psi.

I guess Psi/aspell for some reason can't find dictionaries. but probably new
aspell (not 0.50) requires some more initialization or smth.

I'd very glad if you guys give me some hints what may be wrong with aspell.



layout files & document frontmatter

2009-11-04 Thread 2450help
I am defining a layout where I need to have a few LaTeX definitions  
made.  In LaTeX, these would be:


\ICSEnum{12345}
This is not displayed - it is required for the class (.cls) file I am  
using.


In the LyX layout file, I tried the following:

InsetLayout "ReportNumber"
LyxType custom
LatexType   command
LatexName   ICSEnum
CategoryFrontMatter
LabelString "Publication Number"
Align   left
Font
  Shape Slanted
  Color green
EndFont
LabelFont
  Color green
  Size  Small
EndFont
End

This does correctly define the LaTeX command I need, but it is placed  
in the document body, not in the frontmatter (before \begin{document})  
where I need it placed.


Any ideas on what I am doing wrong?

James



Re: layout files & document frontmatter

2009-11-04 Thread James C. Sutherland


On Nov 4, 2009, at 11:40 AM, <2450h...@gmail.com> <2450h...@gmail.com>  
wrote:


I am defining a layout where I need to have a few LaTeX definitions  
made.  In LaTeX, these would be:


\ICSEnum{12345}
This is not displayed - it is required for the class (.cls) file I  
am using.


In the LyX layout file, I tried the following:

InsetLayout "ReportNumber"
LyxType custom
LatexType   command
LatexName   ICSEnum
CategoryFrontMatter
LabelString "Publication Number"
Align   left
Font
  Shape Slanted
  Color green
EndFont
LabelFont
  Color green
  Size  Small
EndFont
End

This does correctly define the LaTeX command I need, but it is  
placed in the document body, not in the frontmatter (before \begin 
{document}) where I need it placed.



To be more clear, I meant "preamble" and not "frontmatter"

It doesn't look like there is a way to push information into the  
preamble from within the LyX document, unless you do it in Document- 
>Settings, right?


Re: Paragraph Indent Alignment in .layout file

2009-11-04 Thread Guenter Milde
On 2009-11-04, rgheck wrote:

>> I changed the alignment of the standard environment in my layout file.
...
>> What should I do to keep my ragged right appearance
>> and the conventional paragraph indents in my layout?

> Second, I would suggest putting this kind of thing into a simple module, 

See the leftalign module below.

> Finally, though, yes, I see the problem. This is presumably a bug. Can 
> you enter it into the bugtracker?

It is a bug. I am not sure, whether I submitted it to the bugtracker
already (i.e. 1,5 years ago), though.

Günter




#\DeclareLyXModule{leftalign}
#DescriptionBegin
#Left align text (instead of block align; on screen).
#DescriptionEnd

#Author: Günter Milde 

# Left align instead of block align (on screen)
# -

# As LyX's linebreaking algorithm does not include hyphenation of longer
# words, some very large inter-word spaces frequently occure (especially in
# languages with many long words as, e.g., German).

# Readability can be improved by setting the paragraph alignment 
# in the LyX window to "left".
# This does not influence the appearance of the printout.

# Drawbacks: 
#
# * the Edit>Paragraph Settings dialog will display "default (left)"
#   even if the default alignment of the class is "block".
#
# * Paragraph indentation is supressed (therefore currently commented out).


# Style Standard
#   Align Left
# End

#stdlists
Style Itemize
Align Left
End

Style Description
Align Left
End

Style Enumeration
Align Left
End

Style List
Align Left
End

Style Quotation
Align Left
End

Style Quote
Align Left
End

# stdsections
Style Part
Align Left
End

Style Chapter
Align Left
End


Style Section
Align Left
End

Style Subsection
Align Left
End

Style Subsubsection
Align Left
End




Re: Snow Leopard, Auto-save, Etc: Binary for Testing

2009-11-04 Thread Dennis Hohmann
Thank you for the binary!

I did a small test and had no autosave pseudo-crashes. Sometimes I imagine that
my overall system runs slower.



Re: Professional and Scientific Writing Book

2009-11-04 Thread Christian Ridderström
I would suggest putting in some discussion on how to choose Document 
Class --


This is a very good idea IMHO. I've used LyX since a long time ago, and 
choosing a suitable class isn't the easiest.


In addition, I'd really like some instructions/examples on how to create 
"business" like documents. When I've tried, I've found it difficult and 
annoying to try to get the appearance the way the company wants it. (With 
logos, lines and legaleese..). So tips and instructions on that would 
certainly be useful.


Best regads,
Christian





Re: Professional and Scientific Writing Book

2009-11-04 Thread Graham M Smith


>In addition, I'd really like some instructions/examples on how to 
create "business" like >documents. When I've tried, I've found it 
difficult and annoying to try to get the appearance the >way the company 
wants it. (With logos, lines and legaleese..). So tips and instructions 
on that >would certainly be useful


I would also support this.

Graham



Re: layout files & document frontmatter

2009-11-04 Thread Paul A. Rubin

James C. Sutherland wrote:


On Nov 4, 2009, at 11:40 AM, 
<2450h...@gmail.com> 
<2450h...@gmail.com> wrote:


I am defining a layout where I need to have a few LaTeX definitions 
made.  In LaTeX, these would be:


\ICSEnum{12345}
This is not displayed - it is required for the class (.cls) file I am 
using.


In the LyX layout file, I tried the following:

InsetLayout "ReportNumber"
LyxTypecustom
LatexTypecommand
LatexNameICSEnum
CategoryFrontMatter
LabelString"Publication Number"
Alignleft
Font
  ShapeSlanted
  Colorgreen
EndFont
LabelFont
  Colorgreen
  SizeSmall
EndFont
End

This does correctly define the LaTeX command I need, but it is placed 
in the document body, not in the frontmatter (before \begin{document}) 
where I need it placed.



To be more clear, I meant "preamble" and not "frontmatter"

It doesn't look like there is a way to push information into the 
preamble from within the LyX document, unless you do it in 
Document->Settings, right?




Customization Manual section 5.3.6: you can include

Preamble
  stuff that goes into the preamble
EndPreamble

to do what you want.

/Paul



Re: Professional and Scientific Writing Book

2009-11-04 Thread Rich Shepard

On Wed, 4 Nov 2009, Graham M Smith wrote:


In addition, I'd really like some instructions/examples on how to create
"business" like >documents. When I've tried, I've found it difficult and
annoying to try to get the appearance the >way the company wants it. (With
logos, lines and legaleese..). So tips and instructions on that >would
certainly be useful



I would also support this.


  Don't know if I can help, but I use LyX for most business reports,
proposals, and permit applications. The document classes are those from the
KOMA-script collection because of their flexibility and ease of
customization and how readily they accept logos above titles and in other
positions. My proposals -- most of them, anyway -- use the letter2 class
with the company logo as the letterhead on the first page and the
addressee's name, date, and page number on continuation pages.

  Much nicer than when I'm forced to use OO.o Writer for this stuff.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: layout files & document frontmatter

2009-11-04 Thread James C. Sutherland


On Nov 4, 2009, at 3:35 PM, Paul A. Rubin wrote:


James C. Sutherland wrote:
On Nov 4, 2009, at 11:40 AM, <2450h...@gmail.com>  
<2450h...@gmail.com> wrote:
I am defining a layout where I need to have a few LaTeX  
definitions made.  In LaTeX, these would be:


\ICSEnum{12345}
This is not displayed - it is required for the class (.cls) file I  
am using.


In the LyX layout file, I tried the following:

InsetLayout "ReportNumber"
   LyxTypecustom
   LatexTypecommand
   LatexNameICSEnum
   CategoryFrontMatter
   LabelString"Publication Number"
   Alignleft
   Font
 ShapeSlanted
 Colorgreen
   EndFont
   LabelFont
 Colorgreen
 SizeSmall
   EndFont
End

This does correctly define the LaTeX command I need, but it is  
placed in the document body, not in the frontmatter (before \begin 
{document}) where I need it placed.



To be more clear, I meant "preamble" and not "frontmatter"
It doesn't look like there is a way to push information into the  
preamble from within the LyX document, unless you do it in Document- 
>Settings, right?


Customization Manual section 5.3.6: you can include

Preamble
 stuff that goes into the preamble
EndPreamble

to do what you want.

/Paul



I tried this:

InsetLayout "ReportNumber"
LyxType custom
LatexType   command
LatexName   ICSEnum
CategoryFrontMatter
LabelString "Publication Number"
Align   left
Font
  Shape Slanted
  Color green
EndFont
LabelFont
  Color green
  Size  Small
EndFont
Preamble
  \ICSEnum{ICSEnum}
EndPreamble
End

This results in the \ICSEnum{...} being put in the preamble AND the  
body of the document.  How can I make it go ONLY in the preamble?




Re: using of aspell libraries on windows

2009-11-04 Thread Joost Verburg

Sergey wrote:

(ftp://ftp.lyx.org/pub/lyx/contrib/lyx-windows-deps-mingw.zip), compiled Psi


This is an old file which is no longer maintained, we currently use the 
msvc version.


Joost



Re: Professional and Scientific Writing Book

2009-11-04 Thread Ralf
Rob Oakes  writes:

> I'm currently working on a book which shows how professional and
> scientific writing can be done using purely open source tools.  
>
> [snip]
> 
> But are there other things that you would like to see?  


Since nobody has mentioned it ...

scientific works mostly include a lot of figures - I am finished now with my
thesis but I struggled immensely with the amount of large figures I had which
messed up most of the layout - I practivally needed to fix every position  of
the figures (lots of ERTs). The requirement that the figures should be as close
as possible to the first reference  did not help as you can imagine. At times I
was so frustrated I glanced at Word which makes this indeed easier. In fact I
think I will use Word for future work - the amount of time is just not worth the
superior look of Latex (however only text/math and a small number of figures is
a totally  different story). Moreover, scientific journal publishers mostly only
except Word files ...

So, how about a section giving tips on how to (strategically & technically)
proceed with large figures (typically exceeding the page borders but still A4)
with the requirement that they should appear close the first reference ...

Cheers
-Ralf



Re: layout files & document frontmatter

2009-11-04 Thread rgheck

On 11/04/2009 07:11 PM, James C. Sutherland wrote:


This results in the \ICSEnum{...} being put in the preamble AND the 
body of the document.  How can I make it go ONLY in the preamble?



Try:
InTitle 1
This indicates that this is like \title{} and \author{} and should go 
before the body.


rh



Re: compiling LyX for maemo (arm architecture)

2009-11-04 Thread Stacia Hartleben
Sorry about the late reply.

I was using the included library. When I try the
--without-included-boost flag, it says it can't find it, even though
it's installed. Do I need to put something in my path so it sees the
native version?

On Fri, Oct 23, 2009 at 12:42 AM, Jean-Marc Lasgouttes
 wrote:
> Stacia Hartleben  writes:
>
>> I don't know the first thing about compiling on OS 2008 (Maemo) for
>> Nokia internet tablets. The architecture is armel - do I need to put
>> any special flags in while compiling? I have a dev environment set up
>> and I think I have all the dependencies (QT libs, etc)
>>
>> I have an error as described here:
>> http://talk.maemo.org/showthread.php?t=3087
>
> The error is
> multiple definition of `boost::exception_detail::clone_base* 
> boost::exception_detail::make_clone  >(boost::exception_detail::error_info_injector 
> const&)::bad_alloc'
>
> For some reason, this exception-related boost method is defined in
> several objects. I never saw this error, actually.
>
> Is this with included boost library, or a system one?
>
> JMarc
>


<    1   2