Richard Heck wrote: > I bumped the format number, which seemed like a good idea, and wrote > some lyx2lyx to deal with this, but it doesn't really work. I mean, I > can use it manually to convert my own layouts, which seems like a good > idea, but the category info is written at conversion time, by > chkconfig.ltx, not at run time, so it doesn't do anything about > categories from within LyX. So a user would need to run layout2layout.py > manually, then reconfigure.
Thanks for this! The script tries to convert my layouts at run-time, but it produces an invalid file. The input file header is: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[uzhhandout-neu]{handout (uzh + beamer)} # Author : Jürgen Spitzmüller Format 35 And output (not the Format tags): #% Do not delete the line below; configure depends on this Format 40 # \DeclareLaTeXClass[uzhhandout-neu]{uzh + beamer} # \DeclareCategory{Handouts} # Author : Jürgen Spitzmüller Format 35 Jürgen