Skip to content

Commit

Permalink
CSS override to fix table rendering in sect 7.
Browse files Browse the repository at this point in the history
ivoatex usually puts rules above and below tabular-s, and that doesn't
work for the pseudo tables used there.
  • Loading branch information
msdemlei committed Nov 27, 2024
1 parent 5a681b4 commit e74ed2d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ AUTHOR_EMAIL=???
SOURCES = $(DOCNAME).tex role_diagram.pdf \
VOTable.attr.tex VOTable.elem.tex \
VOTable.xsd stc_example1.vot stc_example2.vot timesys_example.vot \
binary.pdf binary2.pdf
binary.pdf binary2.pdf \
tablefix.css

# List of image files to be included in submitted package (anything that
# can be rendered directly by common web browsers)
Expand Down
3 changes: 2 additions & 1 deletion VOTable.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
\documentclass[11pt,a4paper]{ivoa}
\input tthdefs

\customcss{tablefix.css}
\usepackage{verbatim}

\let\A=\href
Expand Down Expand Up @@ -2576,7 +2577,7 @@ \subsection{FIELDs as Data Pointers}
<FIELD name="Spectrum" ucd="meta.ref.url" datatype="float" arraysize="*"
unit="mW/m2/nm" type="location">
<DESCRIPTION>Spectrum absolutely calibrated</DESCRIPTION>
<LINK content-role="location"
<LINK content-role="location"
href="http://ivoa.spectr/server?obsno="/>
</FIELD>
<DATA><TABLEDATA>
Expand Down
4 changes: 4 additions & 0 deletions tablefix.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
table.tabular > * > tr > td, table.tabular > tr > td {
border-top: none !important;
border-bottom: none !important;
}

0 comments on commit e74ed2d

Please sign in to comment.