Comments (8)
From Anonymous on 2009-03-19 19:54:04+00:00
How about just making this something specified with a directive, similar to the tabularcolumns directive?
from sphinx.
From Anonymous on 2009-03-19 19:54:08+00:00
Bump!
from sphinx.
From Anonymous on 2009-04-14 05:22:20+00:00
Yeah, it should be fine to switch it on like with adjusting the columns through tabularcolumns.
from sphinx.
From Christophe de Vienne on 2009-05-08 11:45:36+00:00
I agree on this : switching to longtable should be explicit.
It would be great to see this solved soon.
I will try to provide a patch, so any pointer on how to do it is more than welcome.
from sphinx.
From Christophe de Vienne on 2009-05-12 13:02:16+00:00
Hi,
I made a patch that add a "longtable" option to the "tabularcolumns" directive.
You can pull it from https://bitbucket.org/cdevienne/sphinx-longtable/ (Note that it is a fork of sphinx-06)
I chose this approach over adding a new directive because the resulting code is much simpler. This suggest that tabularcolumns is a generic directive for the latex writer for holding all the table-related options.
This imply that a renaming of this directive might be a good idea. Let's say "latextableoptions" for example, or "tableoptions".
Example :
{{{
.. tabularcolumns:: |l|l|r|
:longtable:
.. table::
.. some content...
}}}
I welcome any feedback, and of course a merge into sphinx would be great.
Regards,
Christophe
from sphinx.
From Anonymous on 2009-05-12 14:36:54+00:00
Using a "recognized class argument" ensures compatibility with Docutils as class arguments can be savely ignored.
Example:
{{{
.. class:: longtable
.. table::
.. some content ....
}}}
(This would need the cssclass -> class renaming first.)
from sphinx.
From Christophe de Vienne on 2009-05-12 15:20:30+00:00
Thanks for the suggestion. You are making a good point.
I updated my repo (https://bitbucket.org/cdevienne/sphinx-longtable/) with it.
Now you can write :
{{{
.. cssclass:: longtable
.. table::
.. some content...
}}}
Please try and see if the behavior is correct.
Christophe
from sphinx.
From Georg Brandl on 2009-05-17 10:45:03+00:00
Merged into the 0.6 repo, thanks!
from sphinx.
Related Issues (20)
- Move ``util.typing.restify()`` to ``autodoc`` HOT 1
- Outdated docker images HOT 3
- Remove the recommendation about the bundled package HOT 2
- Search summaries include unwanted anchor content
- [Documentation] mention the existence of the RST `.. code::` directive HOT 1
- Support LibreJS in HTML - machine readable license HOT 1
- Build time is increased by 6x after upgrading from `>=5.1.1` to `5.2.0+` HOT 5
- LaTeX/ImageConverter: Regression with `data:` URIs HOT 1
- Have emoji and U+28FF working in sphinx ``lualatex`` generated for titles and code HOT 6
- Should `defusedxml` be moved to the runtime dependencies? HOT 5
- When compiling linux kernel(drm-tis), failed at module `docutils.nodes` for no attribute ‘reprunicode’ HOT 11
- sphinx-build hard-codes the python path into the exe HOT 7
- ext.napoleon to work with ext.todo HOT 2
- `:loading: embed` on images does not work as expected HOT 7
- ``todo`` directive treat repeated special characters as headers
- toc_object_entries uses language (Python) scoping instead of documentation scoping HOT 2
- TOWER_HOST=https://awx.example.org TOWER_USERNAME=example TOWER_PASSWORD=secret make clean html HOT 1
- Index pages use `–` but it can not be used in ePub HOT 2
- Intersphinx Mapping link not working with Plotly objects in signature HOT 4
- Internationalization doc mentions deprecated transifex-client HOT 1
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 sphinx.