@@ -90,7 +90,7 @@ List of all DocBook tags, with [x] indicating implemented,
9090[ ] collabname - The name of a collaborator
9191[ ] colophon - Text at the back of a book describing facts about its production
9292[x] colspec - Specifications for a column in a table
93−[ ] command - The name of an executable program or other software command
93+[x] command - The name of an executable program or other software command
9494[x] computeroutput - Data, generally text, displayed or presented by a computer
9595[ ] confdates - The dates of a conference for which a document was written
9696[ ] confgroup - A wrapper for document meta-information about a conference
@@ -262,7 +262,7 @@ List of all DocBook tags, with [x] indicating implemented,
262262[ ] ooexception - An exception in an object-oriented programming language
263263[ ] oointerface - An interface in an object-oriented programming language
264264[x] option - An option for a software command
265−[ ] optional - Optional information
265+[x] optional - Optional information
266266[x] orderedlist - A list in which each entry is marked with a sequentially
267267 incremented label
268268[ ] orgdiv - A division of an organization
@@ -781,8 +781,11 @@ parseInline (Elem e) =
781781 "filename" -> return $ codeWith ("",["filename"],[]) $ strContent e -- TODO attrs
782782 "literal" -> return $ code $ strContent e -- TODO attrs
783783 "option" -> return $ codeWith ("",["option"],[]) $ strContent e -- TODO attrs
784+ "optional" -> do x <- getInlines e
785+ return $ str "[" <> x <> str "]"
784786 "markup" -> return $ code $ strContent e -- TODO attrs
785787 "wordasword" -> emph <$> innerInlines
788+ "command" -> return $ codeWith ("",["command"],[]) $ strContent e
786789 "varname" -> return $ codeWith ("",["varname"],[]) $ strContent e
787790 "function" -> return $ codeWith ("",["function"],[]) $ strContent e
788791 "type" -> return $ codeWith ("",["type"],[]) $ strContent e