MultiPar true
End
+InsetLayout URL
+ LyXType standard
+ LatexName url
+ Decoration minimalistic
+ LabelString URL
+ PassThru true
+ ForceLTR true
+ Font
+ Family Typewriter
+ Color Blue
+ EndFont
+ LabelFont
+ Family Typewriter
+ Color Blue
+ Size Small
+ EndFont
+ Preamble
+ \usepackage{url}
+ EndPreamble
+End
+
+++ /dev/null
-#\DeclareLyXModule[url.sty]{Adds a character style for the \url command.}{URL}
-
-Format 4
-
-InsetLayout URL
- LyXType charstyle
- LatexType command
- LatexName url
- Decoration minimalistic
- LabelString URL
- PassThru true
- ForceLTR true
- Font
- Family Typewriter
- Color Blue
- EndFont
- LabelFont
- Family Typewriter
- Color Blue
- Size Small
- EndFont
- Preamble
- \usepackage{url}
- EndPreamble
-End
Separator
Item "Table...|T" "tabular-insert"
Item "Graphics...|G" "dialog-show-new-inset graphics"
+ Item "URL" "flex-insert URL"
Item "Hyperlink|k" "href-insert"
Item "Footnote|F" "footnote-insert"
Item "Marginal Note|M" "marginalnote-insert"
InsetLayout il = cur.buffer().params().getTextClass().insetlayout(from_utf8(s));
if (il.lyxtype != "charstyle" &&
il.lyxtype != "custom" &&
- il.lyxtype != "element")
+ il.lyxtype != "element" &&
+ il.lyxtype != "standard")
enable = false;
break;
}