Commit 09a4e412 authored by Dimitris Lampridis's avatar Dimitris Lampridis

doc_latex: properly insert vertical space after register name

parent 0247d9e4
...@@ -213,8 +213,7 @@ function cgen_doc_lx_reg(reg) ...@@ -213,8 +213,7 @@ function cgen_doc_lx_reg(reg)
cur_reg_no = cur_reg_no + 1; cur_reg_no = cur_reg_no + 1;
emit("\\paragraph*{"..reg.name.."}\\vspace{12pt}"); emit("\\paragraph*{"..reg.name.."}\\mbox\{\}\\\\\\vskip 6pt");
emit("");
local tbl = htable_new(4, 2); local tbl = htable_new(4, 2);
...@@ -292,8 +291,8 @@ cur_mem_no = 1; ...@@ -292,8 +291,8 @@ cur_mem_no = 1;
function cgen_doc_lx_ram(ram) function cgen_doc_lx_ram(ram)
local description = ""; local description = "";
emit("\\paragraph*{"..ram.name.."}\\vspace{12pt}"); emit("\\paragraph*{"..ram.name.."}\\mbox\{\}\\\\\\vskip 6pt");
emit("");
cur_mem_no = cur_mem_no + 1; cur_mem_no = cur_mem_no + 1;
local tbl = htable_new(11, 2); local tbl = htable_new(11, 2);
...@@ -358,7 +357,7 @@ cur_irq_no = 1; ...@@ -358,7 +357,7 @@ cur_irq_no = 1;
function cgen_doc_lx_irq(irq) function cgen_doc_lx_irq(irq)
local description = ""; local description = "";
emit("\\paragraph*{"..irq.name.."}\\vspace{12pt}"); emit("\\paragraph*{"..irq.name.."}\\mbox\{\}\\\\\\vskip 6pt");
cur_irq_no = cur_irq_no + 1; cur_irq_no = cur_irq_no + 1;
local tbl = htable_new(3, 2); local tbl = htable_new(3, 2);
......
...@@ -2717,8 +2717,7 @@ function cgen_doc_lx_reg(t) ...@@ -2717,8 +2717,7 @@ function cgen_doc_lx_reg(t)
local o=""; local o="";
local e=""; local e="";
cur_reg_no=cur_reg_no+1; cur_reg_no=cur_reg_no+1;
emit("\\paragraph*{"..t.name.."}\\vspace{12pt}"); emit("\\paragraph*{"..t.name.."}\\mbox\{\}\\\\\\vskip 6pt");
emit("");
local a=htable_new(4,2); local a=htable_new(4,2);
a.data[1][1].text="{\\bf HW prefix:} "; a.data[1][1].text="{\\bf HW prefix:} ";
a.data[2][1].text="{\\bf HW address:} "; a.data[2][1].text="{\\bf HW address:} ";
...@@ -2779,8 +2778,7 @@ end ...@@ -2779,8 +2778,7 @@ end
cur_mem_no=1; cur_mem_no=1;
function cgen_doc_lx_ram(t) function cgen_doc_lx_ram(t)
local a=""; local a="";
emit("\\paragraph*{"..t.name.."}\\vspace{12pt}"); emit("\\paragraph*{"..t.name.."}\\mbox\{\}\\\\\\vskip 6pt");
emit("");
cur_mem_no=cur_mem_no+1; cur_mem_no=cur_mem_no+1;
local e=htable_new(11,2); local e=htable_new(11,2);
e.data[1][1].text="{\\bf HW prefix:} "; e.data[1][1].text="{\\bf HW prefix:} ";
...@@ -2831,7 +2829,7 @@ end ...@@ -2831,7 +2829,7 @@ end
cur_irq_no=1; cur_irq_no=1;
function cgen_doc_lx_irq(a) function cgen_doc_lx_irq(a)
local e=""; local e="";
emit("\\paragraph*{"..a.name.."}\\vspace{12pt}"); emit("\\paragraph*{"..a.name.."}\\mbox\{\}\\\\\\vskip 6pt");
cur_irq_no=cur_irq_no+1; cur_irq_no=cur_irq_no+1;
local t=htable_new(3,2); local t=htable_new(3,2);
t.data[1][1].text="{\\bf HW prefix:} "; t.data[1][1].text="{\\bf HW prefix:} ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment