l.leo 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Created by Leo: http://leoeditor.com/leo_toc.html -->
  3. <leo_file xmlns:leo="http://leoeditor.com/namespaces/leo-python-editor/1.1" >
  4. <leo_header file_format="2"/>
  5. <globals/>
  6. <preferences/>
  7. <find_panel_settings/>
  8. <vnodes>
  9. <v t="caminhante.20200313155940.1"><vh>@settings</vh>
  10. <v t="caminhante.20200619162742.1"><vh>@command open-url-here @key=Ctrl-U</vh></v>
  11. <v t="caminhante.20200618180759.1"><vh>@command terminal-here @key=Alt-T</vh></v>
  12. <v t="caminhante.20200828195842.1"><vh>@data abbreviations</vh></v>
  13. <v t="caminhante.20200313155940.4"><vh>@outline-data tree-abbreviations</vh>
  14. <v t="caminhante.20210314201427.1"><vh>odttoc;;</vh>
  15. <v t="caminhante.20210314201349.4"><vh>&lt;text:table-of-content&gt;</vh>
  16. <v t="caminhante.20210314201349.5"><vh>&lt;text:table-of-content-source&gt;</vh>
  17. <v t="caminhante.20210314201349.6"><vh>&lt;text:index-title-template&gt;</vh></v>
  18. <v t="caminhante.20210314201349.7"><vh>&lt;text:table-of-content-entry-template&gt; 01</vh></v>
  19. <v t="caminhante.20210314201349.8"><vh>&lt;text:table-of-content-entry-template&gt; 02</vh></v>
  20. <v t="caminhante.20210314201349.9"><vh>&lt;text:table-of-content-entry-template&gt; 03</vh></v>
  21. <v t="caminhante.20210314201349.10"><vh>&lt;text:table-of-content-entry-template&gt; 04</vh></v>
  22. <v t="caminhante.20210314201349.11"><vh>&lt;text:table-of-content-entry-template&gt; 05</vh></v>
  23. <v t="caminhante.20210314201349.12"><vh>&lt;text:table-of-content-entry-template&gt; 06</vh></v>
  24. <v t="caminhante.20210314201349.13"><vh>&lt;text:table-of-content-entry-template&gt; 07</vh></v>
  25. <v t="caminhante.20210314201349.14"><vh>&lt;text:table-of-content-entry-template&gt; 08</vh></v>
  26. <v t="caminhante.20210314201349.15"><vh>&lt;text:table-of-content-entry-template&gt; 09</vh></v>
  27. <v t="caminhante.20210314201349.16"><vh>&lt;text:table-of-content-entry-template&gt; 10</vh></v>
  28. </v>
  29. <v t="caminhante.20210314201349.17"><vh>&lt;text:index-body&gt;</vh>
  30. <v t="caminhante.20210314201349.18"><vh>&lt;text:index-title&gt;</vh></v>
  31. <v t="caminhante.20210314201349.19"><vh>Body</vh></v>
  32. </v>
  33. </v>
  34. </v>
  35. </v>
  36. <v t="caminhante.20200313155940.99"><vh>nodeActions</vh>
  37. <v t="caminhante.20200604232050.1"><vh>@cmd *</vh></v>
  38. <v t="caminhante.20200619161501.1"><vh>@download *</vh></v>
  39. <v t="caminhante.20200619155412.1"><vh>@duck *</vh></v>
  40. <v t="caminhante.20200927204806.1"><vh>@gcc|@gcc .* [X]</vh></v>
  41. <v t="caminhante.20200808174417.1"><vh>@js|@js .* [X]</vh></v>
  42. <v t="caminhante.20200912185313.1"><vh>@lua|@lua .* [X]</vh></v>
  43. <v t="caminhante.20200619213937.1"><vh>@node|@node .* [X]</vh></v>
  44. <v t="caminhante.20200618203115.1"><vh>@run|@run .* [X]</vh></v>
  45. <v t="caminhante.20200619154823.1"><vh>@web *</vh></v>
  46. </v>
  47. </v>
  48. <v t="caminhante.20210315081418.1"><vh>@auto README.md</vh></v>
  49. <v t="caminhante.20210311203521.1"><vh>@edit .gitignore</vh></v>
  50. <v t="caminhante.20210315081402.1"><vh>@edit LICENSE</vh></v>
  51. <v t="caminhante.20210315081525.1"><vh>@path livro</vh>
  52. <v t="caminhante.20210315082812.2"><vh>*Manual*</vh>
  53. <v t="caminhante.20210315082812.3"><vh>*Lista*</vh></v>
  54. <v t="caminhante.20210315082812.4"><vh>*Texto formatado*</vh></v>
  55. <v t="caminhante.20210315082812.5"><vh>*Notas de rodapé ou final de documento*</vh></v>
  56. </v>
  57. <v t="caminhante.20210315082812.6"><vh>/META-INF/</vh>
  58. <v t="caminhante.20210315082812.7"><vh>@file manifest.xml</vh></v>
  59. </v>
  60. <v t="caminhante.20210315082812.8"><vh>@edit mimetype</vh></v>
  61. <v t="caminhante.20210315082812.9"><vh>@file content.xml</vh></v>
  62. <v t="caminhante.20210315082812.11"><vh>@file manifest.rdf</vh></v>
  63. <v t="caminhante.20210320162941.1"><vh>Clones of marked nodes</vh>
  64. <v t="caminhante.20210315092239.3"><vh>&lt;text:table-of-content-source&gt;</vh>
  65. <v t="caminhante.20210315092239.4"><vh>&lt;text:index-title-template&gt;</vh></v>
  66. <v t="caminhante.20210315092239.5"><vh>&lt;text:table-of-content-entry-template&gt; 01</vh></v>
  67. <v t="caminhante.20210315092239.6"><vh>&lt;text:table-of-content-entry-template&gt; 02</vh></v>
  68. <v t="caminhante.20210315092239.7"><vh>&lt;text:table-of-content-entry-template&gt; 03</vh></v>
  69. <v t="caminhante.20210315092239.8"><vh>&lt;text:table-of-content-entry-template&gt; 04</vh></v>
  70. <v t="caminhante.20210315092239.9"><vh>&lt;text:table-of-content-entry-template&gt; 05</vh></v>
  71. <v t="caminhante.20210315092239.10"><vh>&lt;text:table-of-content-entry-template&gt; 06</vh></v>
  72. <v t="caminhante.20210315092239.11"><vh>&lt;text:table-of-content-entry-template&gt; 07</vh></v>
  73. <v t="caminhante.20210315092239.12"><vh>&lt;text:table-of-content-entry-template&gt; 08</vh></v>
  74. <v t="caminhante.20210315092239.13"><vh>&lt;text:table-of-content-entry-template&gt; 09</vh></v>
  75. <v t="caminhante.20210315092239.14"><vh>&lt;text:table-of-content-entry-template&gt; 10</vh></v>
  76. </v>
  77. </v>
  78. <v t="caminhante.20210315082812.12"><vh>@file meta.xml</vh></v>
  79. <v t="caminhante.20210315082812.13"><vh>@file styles.xml</vh></v>
  80. <v t="caminhante.20210315082812.144"><vh>@run abrir documento</vh></v>
  81. <v t="caminhante.20210315082812.145"><vh>@run atualizar documento</vh></v>
  82. <v t="caminhante.20210315082812.146"><vh>@run gerar documento</vh></v>
  83. <v t="caminhante.20210315082812.147"><vh>@run gerar pdf</vh></v>
  84. <v t="caminhante.20210315082952.1"><vh>documento.odt</vh></v>
  85. </v>
  86. </vnodes>
  87. <tnodes>
  88. <t tx="caminhante.20200313155940.1"></t>
  89. <t tx="caminhante.20200313155940.4">@language xml
  90. odttree;;
  91. odttoc;;</t>
  92. <t tx="caminhante.20200313155940.99">@language python
  93. </t>
  94. <t tx="caminhante.20200604232050.1">import subprocess
  95. def execute (cmd):
  96. return subprocess.run(cmd,shell=True,universal_newlines=True,stderr=subprocess.STDOUT,stdout=subprocess.PIPE).stdout
  97. if c.isChanged(): c.save()
  98. path = c.getNodePath(c.p)
  99. g.os.chdir(path)
  100. command = ''.join(c.p.h.split('@cmd ')[1:])
  101. command = "cat &lt;&lt;'EOFEOFEOFEOFEOFEOF' | bash\n"+command+'\nEOFEOFEOFEOFEOFEOF'
  102. g.es(c.p.h)
  103. c.p.b += execute(command)
  104. c.save()
  105. </t>
  106. <t tx="caminhante.20200618180759.1">@language python
  107. import subprocess
  108. def execute (cmd):
  109. return subprocess.run(cmd,shell=True,universal_newlines=True,stderr=subprocess.STDOUT,stdout=subprocess.PIPE).stdout
  110. if c.isChanged(): c.save()
  111. path = c.getNodePath(c.p)
  112. execute('terminator --working-directory="'+path+'" --new-tab')
  113. </t>
  114. <t tx="caminhante.20200618203115.1">@language python
  115. import subprocess
  116. # def getpath (p):
  117. # dict = c.scanAllDirectives(p)
  118. # d = dict.get("path")
  119. # if p.isAnyAtFileNode():
  120. # filename = p.anyAtFileNodeName()
  121. # filename = g.os_path_join(d,filename)
  122. # if filename:
  123. # d = g.os_path_dirname(filename)
  124. # if d is None:
  125. # return ""
  126. # else:
  127. # return g.os_path_normpath(d)
  128. # if c.isChanged(): c.save()
  129. def execute (cmd):
  130. return subprocess.run(cmd,shell=True,universal_newlines=True,stderr=subprocess.STDOUT,stdout=subprocess.PIPE).stdout
  131. path = c.getNodePath(c.p)
  132. g.os.chdir(path)
  133. w = c.frame.body.wrapper
  134. s1,s2 = w.getSelectionRange()
  135. if s1 == s2:
  136. code = c.p.b
  137. else:
  138. linebr = c.p.b.find('\n',s2)
  139. if linebr == -1: linebr = len(c.p.b)
  140. code = c.p.b[s1:s2]
  141. g.es(c.p.h)
  142. command = "cat &lt;&lt;'EOFEOFEOFEOFEOFEOF' | bash\n"+code+'\nEOFEOFEOFEOFEOFEOF'
  143. # if s1 == s2:
  144. # c.p.b += '\n' + execute(command)
  145. # else:
  146. # c.p.b = c.p.b[0:linebr] + '\n' + execute(command) + c.p.b[linebr:]
  147. cpc = c.p.copy()
  148. novoNo = cpc.insertAsLastChild()
  149. novoNo.h = c.p.h
  150. novoNo.b = execute(command)
  151. c.redraw()
  152. c.save()
  153. w.setSelectionRange(s1,s2)
  154. </t>
  155. <t tx="caminhante.20200619154823.1">import subprocess
  156. def execute (cmd):
  157. return subprocess.run(cmd,shell=True,universal_newlines=True,stderr=subprocess.STDOUT,stdout=subprocess.PIPE).stdout
  158. if c.isChanged(): c.save()
  159. url = ''.join(c.p.h.split('@web ')[1:])
  160. command = 'lynx -image_links -dump "'+url+'"'
  161. g.es(c.p.h)
  162. c.p.b = execute(command)
  163. c.save()
  164. </t>
  165. <t tx="caminhante.20200619155412.1">import subprocess
  166. import urllib.parse
  167. def execute (cmd):
  168. return subprocess.run(cmd,shell=True,universal_newlines=True,stderr=subprocess.STDOUT,stdout=subprocess.PIPE).stdout
  169. if c.isChanged(): c.save()
  170. search = ''.join(c.p.h.split('@duck ')[1:])
  171. searchenc = urllib.parse.quote(search)
  172. command = 'lynx -dump "https://duckduckgo.com/html/?q='+searchenc+'&amp;t=seamonkey"'
  173. g.es(c.p.h)
  174. c.p.b = execute(command)
  175. c.save()
  176. </t>
  177. <t tx="caminhante.20200619161501.1">import subprocess
  178. def execute (cmd):
  179. return subprocess.run(cmd,shell=True,universal_newlines=True,stderr=subprocess.STDOUT,stdout=subprocess.PIPE).stdout
  180. if c.isChanged(): c.save()
  181. path = c.getNodePath(c.p)
  182. g.os.chdir(path)
  183. url = ''.join(c.p.h.split('@download ')[1:])
  184. command = 'wget --no-config --continue --no-verbose --adjust-extension --tries=3 --content-on-error "'+url+'"'
  185. g.es(c.p.h)
  186. c.p.b += execute(command)
  187. c.save()
  188. </t>
  189. <t tx="caminhante.20200619162742.1">@language python
  190. w = c.frame.body.wrapper
  191. b = c.p.b
  192. i,j = w.getSelectionRange()
  193. selecao = b[i:j]
  194. cpc = c.p.copy()
  195. novoNo = cpc.insertAsLastChild()
  196. c.setHeadString(novoNo, '@web '+selecao)
  197. c.selectPosition(novoNo)
  198. c.redraw()
  199. </t>
  200. <t tx="caminhante.20200619213937.1">import subprocess
  201. import re
  202. def execute (cmd):
  203. return subprocess.run(cmd,shell=True,universal_newlines=True,stderr=subprocess.STDOUT,stdout=subprocess.PIPE).stdout
  204. path = c.getNodePath(c.p)
  205. g.os.chdir(path)
  206. code = re.sub(r'^#|\n+#', '\n///', g.getScript(c,c.p))
  207. g.es(c.p.h)
  208. command = "cat &lt;&lt;'EOFEOFEOFEOFEOFEOF' | node\n"+code+'\nEOFEOFEOFEOFEOFEOF'
  209. c.p.b += '\n' + execute(command)
  210. </t>
  211. <t tx="caminhante.20200808174417.1">import subprocess
  212. import re
  213. def execute (cmd):
  214. return subprocess.run(cmd,shell=True,universal_newlines=True,stderr=subprocess.STDOUT,stdout=subprocess.PIPE).stdout
  215. path = c.getNodePath(c.p)
  216. g.os.chdir(path)
  217. code = re.sub(r'^#|\n+#', '\n///', g.getScript(c,c.p))
  218. g.es(c.p.h)
  219. command = "cat &lt;&lt;'EOFEOFEOFEOFEOFEOF' | js\n"+code+'\nEOFEOFEOFEOFEOFEOF'
  220. c.p.b += '\n' + execute(command)
  221. </t>
  222. <t tx="caminhante.20200828195842.1">@tabwidth -2
  223. odtp;;=&lt;text:p text:style-name="&lt;|Text_Body|&gt;"&gt;&lt;||&gt;&lt;/text:p&gt;
  224. odth;;=&lt;text:h text:style-name="Heading_&lt;|Level|&gt;" text:outline-level="&lt;|Level|&gt;"&gt;&lt;||&gt;&lt;/text:h&gt;
  225. odtspan;;=&lt;text:span text:style-name="&lt;|Style|&gt;"&gt;&lt;||&gt;&lt;/text:span&gt;
  226. odtlist;;=&lt;text:list text:style-name="&lt;|Numbered_List|&gt;"&gt;
  227. \:&lt;text:list-item&gt;&lt;||&gt;&lt;/text:list-item&gt;
  228. \:&lt;/text:list&gt;
  229. odtlistitem;;=&lt;text:list-item&gt;&lt;||&gt;&lt;/text:list-item&gt;
  230. odtnote;;=&lt;text:note text:note-class="&lt;|footnote|&gt;"&gt;
  231. \:&lt;text:note-body&gt;
  232. \:&lt;text:p text:style-name="Footnote"&gt;&lt;|Note|&gt;&lt;/text:p&gt;
  233. \:&lt;/text:note-body&gt;
  234. \:&lt;/text:note&gt;
  235. odtbookmark;;=&lt;text:bookmark-start text:name="&lt;|Name|&gt;"/&gt;
  236. \:&lt;text:bookmark-end text:name="&lt;|Name|&gt;"/&gt;
  237. odtlink;;=&lt;text:a xlink:type="simple" xlink:href="#&lt;|Link name|&gt;"
  238. \:text:style-name="Index_Link" text:visited-style-name="Index_Link"&gt;
  239. \:&lt;|Link content|&gt;&lt;/text:a&gt;
  240. odttocentry;;=&lt;text:p text:style-name="TOC_Entry_&lt;|Level|&gt;"&gt;
  241. \:&lt;text:a xlink:type="simple" xlink:href="#&lt;|Link name|&gt;"
  242. \:text:style-name="Index_Link"&gt;
  243. \:&lt;|Link content|&gt;&lt;text:tab/&gt;&lt;|Page number|&gt;&lt;/text:a&gt;
  244. \:&lt;/text:p&gt;</t>
  245. <t tx="caminhante.20200912185313.1">import subprocess
  246. import re
  247. def execute (cmd):
  248. return subprocess.run(cmd,shell=True,universal_newlines=True,stderr=subprocess.STDOUT,stdout=subprocess.PIPE).stdout
  249. path = c.getNodePath(c.p)
  250. g.os.chdir(path)
  251. code = re.sub(r'^#|\n+#', '\n---', g.getScript(c,c.p))
  252. g.es(c.p.h)
  253. command = "cat &lt;&lt;'EOFEOFEOFEOFEOFEOF' | lua\n"+code+'\nEOFEOFEOFEOFEOFEOF'
  254. c.p.b += '\n' + execute(command)
  255. </t>
  256. <t tx="caminhante.20200927204806.1">import subprocess
  257. import re
  258. def execute (cmd):
  259. return subprocess.run(cmd,shell=True,universal_newlines=True,stderr=subprocess.STDOUT,stdout=subprocess.PIPE).stdout
  260. path = c.getNodePath(c.p)
  261. g.os.chdir(path)
  262. code = re.sub(r'^#@|\n+#@', '\n///', g.getScript(c,c.p))
  263. args = ''.join(c.p.h.split('@gcc ')[1:])
  264. g.es(c.p.h)
  265. command = "cat &lt;&lt;'EOFEOFEOFEOFEOFEOF' | gcc -xc - -Wall -Werror -std=gnu11 -c -o /dev/null \n"+code+'\nEOFEOFEOFEOFEOFEOF'
  266. c.p.b += '\n' + execute(command)
  267. # g.es(command)
  268. </t>
  269. <t tx="caminhante.20210314201349.10">&lt;text:table-of-content-entry-template text:outline-level="4" text:style-name="Contents_4"&gt;
  270. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  271. &lt;text:index-entry-chapter/&gt;
  272. &lt;text:index-entry-text/&gt;
  273. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  274. &lt;text:index-entry-page-number/&gt;
  275. &lt;text:index-entry-link-end/&gt;
  276. &lt;/text:table-of-content-entry-template&gt;
  277. </t>
  278. <t tx="caminhante.20210314201349.11">&lt;text:table-of-content-entry-template text:outline-level="5" text:style-name="Contents_5"&gt;
  279. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  280. &lt;text:index-entry-chapter/&gt;
  281. &lt;text:index-entry-text/&gt;
  282. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  283. &lt;text:index-entry-page-number/&gt;
  284. &lt;text:index-entry-link-end/&gt;
  285. &lt;/text:table-of-content-entry-template&gt;
  286. </t>
  287. <t tx="caminhante.20210314201349.12">&lt;text:table-of-content-entry-template text:outline-level="6" text:style-name="Contents_6"&gt;
  288. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  289. &lt;text:index-entry-chapter/&gt;
  290. &lt;text:index-entry-text/&gt;
  291. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  292. &lt;text:index-entry-page-number/&gt;
  293. &lt;text:index-entry-link-end/&gt;
  294. &lt;/text:table-of-content-entry-template&gt;
  295. </t>
  296. <t tx="caminhante.20210314201349.13">&lt;text:table-of-content-entry-template text:outline-level="7" text:style-name="Contents_7"&gt;
  297. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  298. &lt;text:index-entry-chapter/&gt;
  299. &lt;text:index-entry-text/&gt;
  300. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  301. &lt;text:index-entry-page-number/&gt;
  302. &lt;text:index-entry-link-end/&gt;
  303. &lt;/text:table-of-content-entry-template&gt;
  304. </t>
  305. <t tx="caminhante.20210314201349.14">&lt;text:table-of-content-entry-template text:outline-level="8" text:style-name="Contents_8"&gt;
  306. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  307. &lt;text:index-entry-chapter/&gt;
  308. &lt;text:index-entry-text/&gt;
  309. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  310. &lt;text:index-entry-page-number/&gt;
  311. &lt;text:index-entry-link-end/&gt;
  312. &lt;/text:table-of-content-entry-template&gt;
  313. </t>
  314. <t tx="caminhante.20210314201349.15">&lt;text:table-of-content-entry-template text:outline-level="9" text:style-name="Contents_9"&gt;
  315. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  316. &lt;text:index-entry-chapter/&gt;
  317. &lt;text:index-entry-text/&gt;
  318. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  319. &lt;text:index-entry-page-number/&gt;
  320. &lt;text:index-entry-link-end/&gt;
  321. &lt;/text:table-of-content-entry-template&gt;
  322. </t>
  323. <t tx="caminhante.20210314201349.16">&lt;text:table-of-content-entry-template text:outline-level="10" text:style-name="Contents_10"&gt;
  324. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  325. &lt;text:index-entry-chapter/&gt;
  326. &lt;text:index-entry-text/&gt;
  327. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  328. &lt;text:index-entry-page-number/&gt;
  329. &lt;text:index-entry-link-end/&gt;
  330. &lt;/text:table-of-content-entry-template&gt;
  331. </t>
  332. <t tx="caminhante.20210314201349.17">&lt;text:index-body&gt;
  333. @others
  334. &lt;/text:index-body&gt;
  335. </t>
  336. <t tx="caminhante.20210314201349.18">&lt;text:index-title text:style-name="TOC"&gt;
  337. &lt;text:p text:style-name="Contents_Heading"&gt;&lt;|Table of Contents|&gt;&lt;/text:p&gt;
  338. &lt;/text:index-title&gt;
  339. </t>
  340. <t tx="caminhante.20210314201349.19">@others</t>
  341. <t tx="caminhante.20210314201349.4">&lt;text:table-of-content text:style-name="TOC" text:protected="true"&gt;
  342. @others
  343. &lt;/text:table-of-content&gt;
  344. </t>
  345. <t tx="caminhante.20210314201349.5">&lt;text:table-of-content-source text:outline-level="10" text:use-index-marks="false"&gt;
  346. @others
  347. &lt;/text:table-of-content-source&gt;
  348. </t>
  349. <t tx="caminhante.20210314201349.6">&lt;text:index-title-template text:style-name="Contents_Heading"&gt;&lt;|Table of Contents|&gt;&lt;/text:index-title-template&gt;
  350. </t>
  351. <t tx="caminhante.20210314201349.7">&lt;text:table-of-content-entry-template text:outline-level="1" text:style-name="Contents_1"&gt;
  352. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  353. &lt;text:index-entry-chapter/&gt;
  354. &lt;text:index-entry-text/&gt;
  355. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  356. &lt;text:index-entry-page-number/&gt;
  357. &lt;text:index-entry-link-end/&gt;
  358. &lt;/text:table-of-content-entry-template&gt;
  359. </t>
  360. <t tx="caminhante.20210314201349.8">&lt;text:table-of-content-entry-template text:outline-level="2" text:style-name="Contents_2"&gt;
  361. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  362. &lt;text:index-entry-chapter/&gt;
  363. &lt;text:index-entry-text/&gt;
  364. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  365. &lt;text:index-entry-page-number/&gt;
  366. &lt;text:index-entry-link-end/&gt;
  367. &lt;/text:table-of-content-entry-template&gt;
  368. </t>
  369. <t tx="caminhante.20210314201349.9">&lt;text:table-of-content-entry-template text:outline-level="3" text:style-name="Contents_3"&gt;
  370. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  371. &lt;text:index-entry-chapter/&gt;
  372. &lt;text:index-entry-text/&gt;
  373. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  374. &lt;text:index-entry-page-number/&gt;
  375. &lt;text:index-entry-link-end/&gt;
  376. &lt;/text:table-of-content-entry-template&gt;
  377. </t>
  378. <t tx="caminhante.20210314201427.1"></t>
  379. <t tx="caminhante.20210315081525.1"></t>
  380. <t tx="caminhante.20210315082812.144">xdg-open documento.odt
  381. </t>
  382. <t tx="caminhante.20210315082812.145">7z u documento.odt META-INF manifest.rdf meta.xml content.xml styles.xml mimetype
  383. </t>
  384. <t tx="caminhante.20210315082812.146">rm documento.zip
  385. 7z a documento.zip META-INF manifest.rdf meta.xml content.xml styles.xml mimetype
  386. mv documento.zip documento.odt
  387. </t>
  388. <t tx="caminhante.20210315082812.147">libreoffice --headless --convert-to pdf documento.odt</t>
  389. <t tx="caminhante.20210315082812.2">@language xml
  390. </t>
  391. <t tx="caminhante.20210315082812.3">&lt;text:list xml:id="lista1" text:style-name="Numbered_List"&gt;
  392. &lt;!-- Tudo deve vir dentro de um `list-item` --&gt;
  393. &lt;text:list-item&gt;
  394. &lt;text:p text:style-name="Text_Body"&gt;
  395. Teste 1
  396. &lt;/text:p&gt;
  397. &lt;!-- Para definir sublista: --&gt;
  398. &lt;text:list&gt;
  399. &lt;text:list-item&gt;
  400. &lt;text:p text:style-name="Text_Body"&gt;
  401. Teste 1.1
  402. &lt;/text:p&gt;
  403. &lt;/text:list-item&gt;
  404. &lt;text:list-item&gt;
  405. &lt;text:p text:style-name="Text_Body"&gt;
  406. Teste 1.2
  407. &lt;/text:p&gt;
  408. &lt;/text:list-item&gt;
  409. &lt;/text:list&gt;
  410. &lt;!-- . --&gt;
  411. &lt;/text:list-item&gt;
  412. &lt;text:list-item&gt;
  413. &lt;text:p text:style-name="Text_Body"&gt;Teste 2&lt;/text:p&gt;
  414. &lt;/text:list-item&gt;
  415. &lt;text:list-item&gt;
  416. &lt;text:p text:style-name="Text_Body"&gt;Teste 3&lt;/text:p&gt;
  417. &lt;/text:list-item&gt;
  418. &lt;/text:list&gt;</t>
  419. <t tx="caminhante.20210315082812.4">&lt;!-- Importante para representar a estrutura do documento: --&gt;
  420. &lt;text:h text:style-name="Heading_1" text:outline-level="1"&gt;Capítulo 1&lt;/text:h&gt;
  421. &lt;text:p text:style-name="Text_Body"&gt;Olá, isso é um teste.
  422. &lt;text:span text:style-name="Bold"&gt;Parte do texto&lt;/text:span&gt; transformada.
  423. &lt;text:tab/&gt;
  424. &lt;/text:p&gt;
  425. &lt;text:p text:style-name="Text_Body"/&gt; &lt;!-- Parágrafos vazios são válidos --&gt;
  426. &lt;text:s text:c="80"/&gt;&lt;!-- 80 caracteres de espaço, também funciona com tabs --&gt;</t>
  427. <t tx="caminhante.20210315082812.5">&lt;text:p text:style-name="Text_Body"&gt;
  428. Nota de rodapé.
  429. &lt;text:note text:id="ftn0" text:note-class="footnote"&gt;
  430. &lt;text:note-body&gt;
  431. &lt;text:p text:style-name="Footnote"&gt;Uma nota de rodapé&lt;/text:p&gt;
  432. &lt;/text:note-body&gt;
  433. &lt;/text:note&gt;
  434. &lt;/text:p&gt;
  435. &lt;text:p text:style-name="Text_Body"&gt;
  436. Nota de final de documento.
  437. &lt;text:note text:note-class="endnote"&gt;
  438. &lt;text:note-body&gt;
  439. &lt;text:p text:style-name="Endnote"&gt;Uma nota de final de documento&lt;/text:p&gt;
  440. &lt;/text:note-body&gt;
  441. &lt;/text:note&gt;
  442. &lt;/text:p&gt;</t>
  443. <t tx="caminhante.20210315082812.6">@path META-INF
  444. </t>
  445. <t tx="caminhante.20210315082952.1"></t>
  446. <t tx="caminhante.20210315092239.10">&lt;text:table-of-content-entry-template text:outline-level="6" text:style-name="Contents_6"&gt;
  447. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  448. &lt;text:index-entry-chapter/&gt;
  449. &lt;text:index-entry-text/&gt;
  450. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  451. &lt;text:index-entry-page-number/&gt;
  452. &lt;text:index-entry-link-end/&gt;
  453. &lt;/text:table-of-content-entry-template&gt;
  454. </t>
  455. <t tx="caminhante.20210315092239.11">&lt;text:table-of-content-entry-template text:outline-level="7" text:style-name="Contents_7"&gt;
  456. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  457. &lt;text:index-entry-chapter/&gt;
  458. &lt;text:index-entry-text/&gt;
  459. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  460. &lt;text:index-entry-page-number/&gt;
  461. &lt;text:index-entry-link-end/&gt;
  462. &lt;/text:table-of-content-entry-template&gt;
  463. </t>
  464. <t tx="caminhante.20210315092239.12">&lt;text:table-of-content-entry-template text:outline-level="8" text:style-name="Contents_8"&gt;
  465. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  466. &lt;text:index-entry-chapter/&gt;
  467. &lt;text:index-entry-text/&gt;
  468. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  469. &lt;text:index-entry-page-number/&gt;
  470. &lt;text:index-entry-link-end/&gt;
  471. &lt;/text:table-of-content-entry-template&gt;
  472. </t>
  473. <t tx="caminhante.20210315092239.13">&lt;text:table-of-content-entry-template text:outline-level="9" text:style-name="Contents_9"&gt;
  474. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  475. &lt;text:index-entry-chapter/&gt;
  476. &lt;text:index-entry-text/&gt;
  477. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  478. &lt;text:index-entry-page-number/&gt;
  479. &lt;text:index-entry-link-end/&gt;
  480. &lt;/text:table-of-content-entry-template&gt;
  481. </t>
  482. <t tx="caminhante.20210315092239.14">&lt;text:table-of-content-entry-template text:outline-level="10" text:style-name="Contents_10"&gt;
  483. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  484. &lt;text:index-entry-chapter/&gt;
  485. &lt;text:index-entry-text/&gt;
  486. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  487. &lt;text:index-entry-page-number/&gt;
  488. &lt;text:index-entry-link-end/&gt;
  489. &lt;/text:table-of-content-entry-template&gt;
  490. </t>
  491. <t tx="caminhante.20210315092239.3">&lt;text:table-of-content-source text:outline-level="10" text:use-index-marks="false"&gt;
  492. @others
  493. &lt;/text:table-of-content-source&gt;</t>
  494. <t tx="caminhante.20210315092239.4">&lt;text:index-title-template text:style-name="Contents_Heading"&gt;Sumário&lt;/text:index-title-template&gt;
  495. </t>
  496. <t tx="caminhante.20210315092239.5">&lt;text:table-of-content-entry-template text:outline-level="1" text:style-name="Contents_1"&gt;
  497. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  498. &lt;text:index-entry-chapter/&gt;
  499. &lt;text:index-entry-text/&gt;
  500. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  501. &lt;text:index-entry-page-number/&gt;
  502. &lt;text:index-entry-link-end/&gt;
  503. &lt;/text:table-of-content-entry-template&gt;
  504. </t>
  505. <t tx="caminhante.20210315092239.6">&lt;text:table-of-content-entry-template text:outline-level="2" text:style-name="Contents_2"&gt;
  506. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  507. &lt;text:index-entry-chapter/&gt;
  508. &lt;text:index-entry-text/&gt;
  509. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  510. &lt;text:index-entry-page-number/&gt;
  511. &lt;text:index-entry-link-end/&gt;
  512. &lt;/text:table-of-content-entry-template&gt;
  513. </t>
  514. <t tx="caminhante.20210315092239.7">&lt;text:table-of-content-entry-template text:outline-level="3" text:style-name="Contents_3"&gt;
  515. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  516. &lt;text:index-entry-chapter/&gt;
  517. &lt;text:index-entry-text/&gt;
  518. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  519. &lt;text:index-entry-page-number/&gt;
  520. &lt;text:index-entry-link-end/&gt;
  521. &lt;/text:table-of-content-entry-template&gt;
  522. </t>
  523. <t tx="caminhante.20210315092239.8">&lt;text:table-of-content-entry-template text:outline-level="4" text:style-name="Contents_4"&gt;
  524. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  525. &lt;text:index-entry-chapter/&gt;
  526. &lt;text:index-entry-text/&gt;
  527. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  528. &lt;text:index-entry-page-number/&gt;
  529. &lt;text:index-entry-link-end/&gt;
  530. &lt;/text:table-of-content-entry-template&gt;
  531. </t>
  532. <t tx="caminhante.20210315092239.9">&lt;text:table-of-content-entry-template text:outline-level="5" text:style-name="Contents_5"&gt;
  533. &lt;text:index-entry-link-start text:style-name="Index_Link"/&gt;
  534. &lt;text:index-entry-chapter/&gt;
  535. &lt;text:index-entry-text/&gt;
  536. &lt;text:index-entry-tab-stop style:type="right" style:leader-char="."/&gt;
  537. &lt;text:index-entry-page-number/&gt;
  538. &lt;text:index-entry-link-end/&gt;
  539. &lt;/text:table-of-content-entry-template&gt;
  540. </t>
  541. <t tx="caminhante.20210320162941.1"></t>
  542. </tnodes>
  543. </leo_file>