Comments (4)
Asciidoctor differentiates between frame attributes, for borders between cells, and grid attributes, for borders around tables.
RFC XML v3 ignores border style completely.
RFC XML v2 only has a single style attribute, that does the following:
2.39.3. "style" Attribute
Selects which borders should be drawn, where
o "all" means borders around all table cells,
o "full" is like "all", except no horizontal lines between table
rows (except below the column titles),
o "headers" adds just a separator between column titles and
rows, and
o "none" means no borders at all.
The Asciidoc frame attribute references external borders; the RFCXML v2 style attribute only references internal borders. So the Asciidoc frame attribute is irrelevant to RFCXML.
The grid attribute is mapped as follows:
grid = all
=>style = all
grid = rows
=> [not supported]grid = cols
=>style = full
grid = none
=>style = none
The style=header
value is noted as not supported.
[cols="2*^", frame="sides", grid="cols"]
and [cols="2*^",grid="cols"]
have identical output.
... What should I be doing diffferently?
from asciidoctor-rfc.
An asciidoctor table can be made to show a "header" using the header
option:
[cols=2*, options="header"]
|===
...
Could this be the way we also cover style=header
in v2? This seems to be the issue with the "davies" diff right now.
I realized that the real problem is that many tables are actually rendered by the author as manual ASCII-art through artwork
, instead of using XML RFC's table feature. I was hoping that we could support "AsciiDoc table to artwork", but that might be too much work for us...
from asciidoctor-rfc.
I think this has been dealt with to the extent it is realistic to...
from asciidoctor-rfc.
Agree. Thanks!
from asciidoctor-rfc.
Related Issues (20)
- Render RFC references HOT 8
- Warn if section after appendix not marked up as appendix HOT 8
- In RFC style, backticks should be presented as double quotes HOT 7
- Tests failed on windows HOT 2
- AsciiRFC Internet-Draft bug HOT 2
- RELAXNG validation error: <eref> inside <spanx> HOT 4
- Extract references as entities HOT 7
- Line numbers / file path missing in WARNING messages HOT 3
- Uncertainty in allowed values of <workgroup> and <area> HOT 4
- Inconsistent behavior of `[source]` block without figure wrapper in v3/v2 HOT 3
- Build failure needs to be resolved HOT 32
- Asciidoctor-biblio workaround HOT 11
- Canonical references have dots HOT 1
- Add xml-stylesheet `rfc2629.xslt` HOT 2
- Handling IRTF Working Groups HOT 1
- Referencing the latest I-D BibXML causes resulting ENTITY to lose link HOT 2
- CR before literal/sourcecode HOT 5
- Automatic section referencing overrides explicit references HOT 8
- Test errors HOT 1
- `NOT RECOMMENDED` should be labeled as `<bcp14>`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asciidoctor-rfc.