use vars qw(%result_texis %result_texts %result_trees %result_errors
%result_indices %result_sectioning %result_nodes %result_menus
%result_floats %result_converted %result_converted_errors
%result_elements %result_directions_text %result_indices_sort_strings);
use utf8;
$result_trees{'defline_no_params'} = {
'contents' => [
{
'contents' => [
{
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'defblock',
'contents' => [
{
'args' => [
{
'contents' => [
{
'extra' => {
'def_role' => 'category'
},
'text' => 'Builtin'
},
{
'extra' => {
'def_role' => 'spaces'
},
'text' => ' ',
'type' => 'spaces'
},
{
'extra' => {
'def_role' => 'name'
},
'text' => 'truc'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'defline',
'extra' => {
'def_command' => 'defline',
'def_index_element' => {},
'original_def_cmdname' => 'defline'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 2,
'macro' => ''
},
'type' => 'def_line'
},
{
'contents' => [
{
'contents' => [
{
'text' => 'Description of truc
'
}
],
'type' => 'paragraph'
}
],
'type' => 'def_item'
},
{
'args' => [
{
'contents' => [
{
'text' => 'defblock'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'defblock'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 4,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => '',
'line_nr' => 1,
'macro' => ''
}
}
],
'type' => 'before_node_section'
}
],
'type' => 'document_root'
};
$result_trees{'defline_no_params'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'def_index_element'} = $result_trees{'defline_no_params'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2];
$result_texis{'defline_no_params'} = '@defblock
@defline Builtin truc
Description of truc
@end defblock
';
$result_texts{'defline_no_params'} = 'Builtin: truc
Description of truc
';
$result_errors{'defline_no_params'} = [];
$result_floats{'defline_no_params'} = {};
$result_converted{'plaintext'}->{'defline_no_params'} = ' -- Builtin: truc
Description of truc
';
$result_converted{'html'}->{'defline_no_params'} = '<!DOCTYPE html>
<html>
<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<meta name="description" content="Untitled Document">
<meta name="keywords" content="Untitled Document">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="viewport" content="width=device-width,initial-scale=1">
<style type="text/css">
<!--
strong.def-name {font-family: monospace; font-weight: bold; font-size: larger}
-->
</style>
</head>
<body lang="en">
<dl class="first-defblock">
<dt class="defline"><span class="category-def">Builtin: </span><strong class="def-name">truc</strong></dt>
<dd><p>Description of truc
</p></dd></dl>
</body>
</html>
';
$result_converted_errors{'html'}->{'defline_no_params'} = [
{
'error_line' => 'warning: must specify a title with a title command or @top
',
'text' => 'must specify a title with a title command or @top',
'type' => 'warning'
}
];
$result_converted{'latex'}->{'defline_no_params'} = '\\documentclass{book}
\\usepackage{amsfonts}
\\usepackage{amsmath}
\\usepackage[gen]{eurosym}
\\usepackage{textcomp}
\\usepackage{graphicx}
\\usepackage{etoolbox}
\\usepackage{titleps}
\\usepackage[utf8]{inputenc}
\\usepackage[T1]{fontenc}
\\usepackage{tabularx}
\\usepackage{float}
% use hidelinks to remove boxes around links to be similar to Texinfo TeX
\\usepackage[hidelinks]{hyperref}
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
% redefine the \\mainmatter command such that it does not clear page
% as if in double page
\\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
\\newenvironment{Texinfopreformatted}{%
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
{\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 \\def^^M{\\null\\par}}}
\\newenvironment{Texinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
% used for substitutions in commands
\\newcommand{\\Texinfoplaceholder}[1]{}
\\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} \\chaptertitle{}][][\\thepage]
{\\chaptername{} \\thechapter{} \\chaptertitle{}}{}{\\thepage}}
% allow line breaking at underscore
\\let\\Texinfounderscore\\_
\\renewcommand{\\_}{\\Texinfounderscore\\discretionary{}{}{}}
\\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
\\makeatother
% set default for @setchapternewpage
\\makeatletter
\\patchcmd{\\chapter}{\\if@openright\\cleardoublepage\\else\\clearpage\\fi}{\\Texinfoplaceholder{setchapternewpage placeholder}\\clearpage}{}{}
\\makeatother
\\pagestyle{single}%
\\noindent\\begin{tabularx}{\\linewidth}{@{}Xr}
\\rightskip=5em plus 1 fill \\hangindent=2em \\hyphenpenalty=10000
\\texttt{truc}& [Builtin]
\\end{tabularx}
\\begin{quote}
\\unskip{\\parskip=0pt\\noindent}%
Description of truc
\\end{quote}
\\end{document}
';
$result_converted{'docbook'}->{'defline_no_params'} = '<synopsis><phrase role="category"><emphasis role="bold">Builtin</emphasis>:</phrase> <varname>truc</varname></synopsis>
<blockquote><para>Description of truc
</para></blockquote>';
1;