Initials not scaled properly over 3 Lines

2017-05-24 Thread Pilhofer, Frank
Hi,
I am trying to use the Initials package with initials set over three lines. I 
have placed "\setcounter{DefaultLines}{3}" in the preamble. In the PDF output, 
I see that the initial "E" is indeed vertically spaced across three lines. 
However, the letter "E" is only scaled across two lines. In fact, the "E" is 
the same size as if DefaultLines was set to 2. Please see my attached test 
file. Also, the "loversize=.5" option, if added to the Initials, appears to be 
ignored (which I've tried to use to compensate). Since this is my first attempt 
at using this package, I assume that this is my fault and not a bug. Could you 
enlighten me please? This is with LyX 2.2.3.
Thank you,
Frank



Test.lyx
Description: Test.lyx


Re: LyX Layout File Problem

2017-05-24 Thread Richard Heck
On 05/21/2017 07:59 AM, km22 wrote:
> I am trying to load a custom LyX layout file but I get the following
> error when I try to set the Document Class for the document.  I have
> reconfigured many times and restarted LyX many time.  The error
> message reads as follows.  Is there a way to determine why exactly LyX
> is complaining about the layout file?
>
> Thanks,
> Ken
>
>
> Log messages:
>
> 19:48:56.710: Opening document ~\Documents\Projects\MyProjects\Test\My
> Test File v20170521.lyx...
>
> 19:48:56.754: The process failed to start. Either the invoked program
> is missing, or you may have insufficient permissions to invoke the
> program.D:\LyXGit\LyX22\src\support\Systemcall.cpp (260): Systemcall:
> 'git ls-files "My Test File v20170521.lyx"' did not start!
>
> D:\LyXGit\LyX22\src\support\Systemcall.cpp (261): error The process
> failed to start. Either the invoked program is missing, or you may
> have insufficient permissions to invoke the program.
>
> D:\LyXGit\LyX22\src\TextClass.cpp (345): Unable to convert
> C:/Users/Ken/AppData/Roaming/LyX2.2/layouts/lknote_test.layout to
> format 60
>
> Error reading `~\AppData\Roaming\LyX2.2\layouts\lknote_test.layout'
>
> (Check `lknote_test')
>
> Check your installation and try Options/Reconfigure...
>
> Error: Could not load class
>
> 
>
> Due to some error in it, the layout file:
>
> lknote_test
>
> could not be loaded. A default textclass with default
>
> layouts will be used. LyX will not be able to produce
>
> correct output.
>
> 19:48:58.746: Document ~\Documents\Projects\MyProjects\Test\My Test
> File v20170521.lyx opened.
>
> 19:48:58.751: (file-open
> C:/Users/Ken/Documents/Projects/MyProjects/Test/My Test File
> v20170521.lyx)
>
>
>
>
> I have created a minimal layout file as follows which causes the error
> above:
>
> #  \DeclareLaTeXClass[lknote_test,scheme_main.sty]{LK Note Test}
> #  \DeclareCategory{LKNote}
> # Input general definitions
> Input stdclass.inc
>
> Format 49

This is invalid. The format line *has* to be the first non-empty,
non-comment line.

As Philip mentioned, though, if this is for 2.2.x, you should use format
60, so no conversion is needed.

> ClassOptions
> Otherdevel
> end
>
> Preamble
>
> EndPreamble

You don't need those, if there's nothing in them.

That may be the only issue with the layout. The program that is failing
to start is git, which is a different issue.

Richard