]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ruby.module
DocBook: implement svjour (still partial).
[lyx.git] / lib / layouts / ruby.module
index 1ad14e2e3d047090b5c84c4db25b3c3c789dfcd8..7b5fcc8ce64f237ff93ac68d3eb20a71930b0d85 100644 (file)
 #Authors: Koji Yokota (original implementation as local layout),
 #         Günter Milde <milde@lyx.org> (module)
 
-Format 74
+# References:
+# required packages
+#   okumacro.sty:       https://ctan.org/pkg/jsclasses
+#   luatexja-ruby.sty:  https://ctan.org/pkg/luatexja
+#   ruby.sty:           https://www.ctan.org/pkg/cjk
+# extended ruby support package (currently not used): 
+#   https://ctan.org/pkg/pxrubrica
+# W3W spec: 
+#   https://www.w3.org/International/articles/ruby/markup.en.html
+
+Format 84
 
 InsetLayout Flex:Ruby
        LyxType         charstyle
        LatexType       command
        LatexName       ruby
+       HTMLTag         ruby
+       HTMLAttr        ""
+       HTMLInnerTag    rb
+       HTMLInnerAttr   ""
        BgColor         none
        LabelString     "Ruby"
        Decoration      Conglomerate
@@ -30,6 +44,7 @@ InsetLayout Flex:Ruby
          \fi\fi\fi
          \providecommand{\ruby}[2]{\shortstack{\tiny #2\\#1}}
        EndPreamble
+        # Fixme: Currently the ruby text is ignored in HTML
        Argument        post:1
                LabelString     "ruby text"
                MenuString      "Ruby Text|R"