Difference between revisions of "Format dictionaries"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
	
|  (Format a dictionary) | m | ||
| Line 24: | Line 24: | ||
| ... | ... | ||
| </pre> | </pre> | ||
| [[Category:Documentation]] | |||
| [[Category:Tools]] | |||
| [[Category:Development]] | |||
Revision as of 11:15, 31 January 2008
You can use the dictools script (crossdics package) to format each <e> tag in the dictionary.
$ ./dictools format-1line <dic> <dic.out>
For example, these lines:
...
<e>
  <p>
    <l>estilo<s n="n"/></l>
    <r>estil<s n="n"/></r>
  </p>
</e>
...
will be displayed in one line.
... <e><p><l>estilo<s n="n"/></l><r>estil<s n="n"/></r></p></e> ...

