-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/09/12 13:23, Rainer M Krug wrote: > Hi > > when I start LyX it restres the last session and everything looks fine, but > in the terminal > from which I start LyX, I get abunch of errors: > > > LyX: Unknown InsetLayout tag [around line 21 of file > /tmp/lyx_tmpdir.T17549/convert_layout.h17549 current token: 'LabelType' > context: ''] LyX: > Unknown InsetLayout tag [around line 22 of file > /tmp/lyx_tmpdir.T17549/convert_layout.h17549 > current token: 'Static' context: ''] LyX: Unknown InsetLayout tag [around > line 34 of file > /tmp/lyx_tmpdir.T17549/convert_layout.h17549 current token: 'Align' context: > ''] LyX: Unknown > InsetLayout tag [around line 35 of file > /tmp/lyx_tmpdir.T17549/convert_layout.h17549 current > token: 'Center' context: ''] LyX: Unknown InsetLayout tag [around line 38 of > file > /tmp/lyx_tmpdir.T17549/convert_layout.h17549 current token: 'OptionalArgs' > context: ''] LyX: > Unknown InsetLayout tag [around line 39 of file > /tmp/lyx_tmpdir.T17549/convert_layout.h17549 > current token: '0' context: ''] LyX: Unknown InsetLayout tag [around line 127 > of file > /tmp/lyx_tmpdir.T17549/convert_layout.h17549 current token: 'OptionalArgs' > context: ''] LyX: > Unknown InsetLayout tag [around line 128 of file > /tmp/lyx_tmpdir.T17549/convert_layout.h17549 > current token: '1' context: ''] LyX: Unknown InsetLayout tag [around line 31 > of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 current token: 'OptionalArgs' > context: ''] LyX: > Unknown InsetLayout tag [around line 32 of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 > current token: '0' context: ''] LyX: Unknown InsetLayout tag [around line 44 > of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 current token: 'OptionalArgs' > context: ''] LyX: > Unknown InsetLayout tag [around line 45 of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 > current token: '0' context: ''] LyX: Unknown InsetLayout tag [around line 57 > of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 current token: 'OptionalArgs' > context: ''] LyX: > Unknown InsetLayout tag [around line 58 of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 > current token: '0' context: ''] LyX: Unknown InsetLayout tag [around line 70 > of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 current token: 'OptionalArgs' > context: ''] LyX: > Unknown InsetLayout tag [around line 71 of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 > current token: '0' context: ''] LyX: Unknown InsetLayout tag [around line 83 > of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 current token: 'OptionalArgs' > context: ''] LyX: > Unknown InsetLayout tag [around line 84 of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 > current token: '0' context: ''] LyX: Unknown InsetLayout tag [around line 96 > of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 current token: 'OptionalArgs' > context: ''] LyX: > Unknown InsetLayout tag [around line 97 of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 > current token: '0' context: ''] LyX: Unknown InsetLayout tag [around line 109 > of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 current token: 'OptionalArgs' > context: ''] LyX: > Unknown InsetLayout tag [around line 110 of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 > current token: '0' context: ''] LyX: Unknown InsetLayout tag [around line 122 > of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 current token: 'OptionalArgs' > context: ''] LyX: > Unknown InsetLayout tag [around line 123 of file > /tmp/lyx_tmpdir.T17549/convert_layout.L17549 > current token: '0' context: ''] > > Running: svn proplist "AS_BC_manuscrip.lyx" > > "/tmp/lyx_tmpdir.T17549/lyxvcout.S17549" LyX: > Unknown InsetLayout tag [around line 21 of file > /tmp/lyx_tmpdir.T17549/convert_layout.n17549 > current token: 'LabelType' context: ''] LyX: Unknown InsetLayout tag [around > line 22 of file > /tmp/lyx_tmpdir.T17549/convert_layout.n17549 current token: 'Static' context: > ''] LyX: Unknown > InsetLayout tag [around line 34 of file > /tmp/lyx_tmpdir.T17549/convert_layout.n17549 current > token: 'Align' context: ''] LyX: Unknown InsetLayout tag [around line 35 of > file > /tmp/lyx_tmpdir.T17549/convert_layout.n17549 current token: 'Center' context: > ''] LyX: Unknown > InsetLayout tag [around line 38 of file > /tmp/lyx_tmpdir.T17549/convert_layout.n17549 current > token: 'OptionalArgs' context: ''] LyX: Unknown InsetLayout tag [around line > 39 of file > /tmp/lyx_tmpdir.T17549/convert_layout.n17549 current token: '0' context: ''] > LyX: Unknown > InsetLayout tag [around line 127 of file > /tmp/lyx_tmpdir.T17549/convert_layout.n17549 current > token: 'OptionalArgs' context: ''] LyX: Unknown InsetLayout tag [around line > 128 of file > /tmp/lyx_tmpdir.T17549/convert_layout.n17549 current token: '1' context: ''] > This is dvips(k) > 5.992 Copyright 2012 Radical Eye Software (www.radicaleye.com) ' TeX output > 2012.09.20:1319' -> > 0lyxpreview.ps (-> 0lyxpreview.001) > </home/rkrug/texlive/2012/texmf/dvips/base/tex.pro> > </home/rkrug/texlive/2012/texmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.enc> > > </home/rkrug/texlive/2012/texmf/dvips/base/texps.pro> > </home/rkrug/texlive/2012/texmf/dvips/base/special.pro> > </home/rkrug/texlive/2012/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb> > [1] GPL > Ghostscript 9.05: Unrecoverable error, exit code 1 > > > Any ideas what is causing this?
I could reproduce it as follow: I have the attached module installed, and if I add it to an empty file, save the file and open LyX, the error occurs - but there seems nothing wrong with the module? Thanks, Rainer > > Thanks, > > Rainer > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBa/sYACgkQoYgNqgF2egoXqgCfQOfwkc4OYZX2wKo772SzVx7B U5oAnjXSPcXmDTpBsCVA1v2AQwTCAYIP =VpI1 -----END PGP SIGNATURE-----
#\DeclareLyXModule{ToDo Notes Environments}
#DescriptionBegin
#Defines some custom insets to implement the todonotes package.
#DescriptionEnd
#Requires
#Excludes
#Author: Stephen
Format 11
AddToPreamble
\usepackage[color=green!40]{todonotes}
EndPreamble
InsetLayout MakeTableOfToDos
LyxType custom
LabelType Static
LabelString Table_of_todos
Decoration classic
BgColor blue
Font
Color yellow
Family Typewriter
EndFont
LabelFont
Color blue
Family Sans
Size Small
EndFont
Align Center
MultiPar 0
LatexType command
LatexName tableoftodos
OptionalArgs 0
Preamble
\newcommand{\tableoftodos}[1]{\listoftodos[Table of Items Still To Do]{#1}}
EndPreamble
End
InsetLayout Todo[Inline]
LyxType custom
LabelString ToDo[Inline]
Decoration classic
BgColor blue
Font
Color yellow
Family Typewriter
EndFont
LabelFont
Color blue
Family Sans
Size Small
EndFont
MultiPar true
LatexType command
LatexName todo
LatexParam [inline]
Preamble
EndPreamble
HTMLStyle
div.flex_todo_inline_ {
border: 2px solid black;
padding: 1ex;
margin: 1ex;
background-color: red;
font-weight: bold;
font-family: serif;
font-variant: normal;
font-style: normal;
}
EndHTMLStyle
End
InsetLayout Todo[margin]
LyxType custom
LabelString ToDo[margin]
Decoration classic
BgColor blue
Font
Color yellow
Family Typewriter
EndFont
LabelFont
Color blue
Family Sans
Size Small
EndFont
MultiPar true
LatexType command
LatexName todo
HTMLStyle
div.flex_todo_margin_ {
border: 2px solid black;
padding: 1ex;
margin: 1ex;
background-color: red;
font-weight: bold;
font-family: serif;
font-variant: normal;
font-style: normal;
}
EndHTMLStyle
End
InsetLayout MissingFigure
LyxType custom
LabelString missingFigure
Decoration classic
BgColor blue
Font
Color yellow
Family Typewriter
EndFont
LabelFont
Color blue
Family Sans
Size Small
EndFont
MultiPar 0
LatexType command
LatexName missingfigure
OptionalArgs 1
HTMLStyle
span.flex_missingfigure {
border: 2px solid black;
padding: 1ex;
margin: 1ex;
background-color: red;
font-weight: bold;
font-family: serif;
font-variant: normal;
font-style: normal;
}
EndHTMLStyle
End
InsetLayout Warning
LyxType custom
LabelString Warning
Decoration classic
BgColor red
Font
Color white
Family Typewriter
EndFont
LabelFont
Color blue
Family Sans
Size Small
EndFont
MultiPar true
LatexType command
LatexName warning
Preamble
\newcommand{\warning}[1]{\todo[color=red!80,prepend,caption={Warning!}]{{\#\#}#1{\#\#}}}
EndPreamble
End
todonotesalternate.module.sig
Description: Binary data
