Comments (8)
Automation removed owner |
---|
from twisted.
@glyph set status to closed |
---|
I can't figure out what this is talking about any more. Many of the complaints may still be valid, but:
- they should be filed as individual tickets
- they should be better described
- some of them probably shouldn't be bothered with.
from twisted.
@exarkun commented |
---|
#!html
<pre>
Is this still relevant?
</pre>
from twisted.
spiv commented |
---|
#!html
<pre>
More importantly, I want to get rid of the current
duplication of admin/book.tex and doc/howto/index.html.
</pre>
from twisted.
@radix commented |
---|
#!html
<pre>
Tasks:
1) Make lore use --template
2) Make default templates for both lore and latex
3) Implement the catalog: syntax in --template
4) With --config book, Instead of processing every
file, process only book.html, then find the files
mentioned in book and process them.
(capturing a conversation I had with spiv a while back):
Feb 20 16:37:09
<MoonFallen> spiv_work: the idea is to ditch book.tex
in favor
of howto/index.html; if you want to add latex
stylesheets you do them with
a <link rel="stylesheet" type="application/x-latex"
href="my.sty"/>
<MoonFallen> i designed it for my own needs. it works,
but i would like
to know if there's anything else you expect it to do,
that it doesn't do
<spiv> MoonFallen: Yes, I absolutely agree with the
idea of ditching book.tex.
<spiv> I'm hesistant to require latex-specific markup,
though.
<MoonFallen> browsers happily ignore it and it's 100%
xhtml compliant
<spiv> I think I'd prefer a --template argument to lint
-o latex.
<spiv> Which is what the current html output does, and
I think it works well.
<MoonFallen> spiv_work: i can do that
<spiv> MoonFallen: That'd be great. :)
<MoonFallen> spiv: there's another whole direction we
can go there,
though: make different templates available through the
system itself,
instead of requiring the developer to write one every time
<spiv> Hmm.
<spiv> Having default templates is probably good.
<spiv> What did you have in mind?
<MoonFallen> well, the first thing i noticed when i
started using lore
is it only supports letter-sized paper. so there's an
obvious need in my
mind for an a4 template
<itamar> yes
<MoonFallen> other than that, it's all just prettiness.
different colors
in the html, different fonts in the printed version, etc.
<MoonFallen> give people an option for how their
document looks
<spiv> Heh. I use a4, and I never noticed that. I
guess I've never
printed it :)
<MoonFallen> not so much the paper size actually, but
the units are in
inches
<MoonFallen> i think it might print ok
<MoonFallen> 80-column <pre> stuff won't fit though
<spiv> Hmm.
<spiv> I'd like 80-columns of pre to fit on the print
version.
<spiv> But I guess if someone knows what they're doing,
they're welcome to
change their own template.
<MoonFallen> well my train of thought is that you could
make an a4
template (or a4 versions of a series of templates,
depending on how motivated
we are) that just uses a slightly smaller font in \verbatim
<MoonFallen> i could also use this as an opportunity to
start putting in
color, which i think the printed version badly needs.
<MoonFallen> i'm thinking lore --template
catalog:letter-1 -o latex
<MoonFallen> if you want to use your own template you
give the filename,
otherwise you ask for a catalog: entry and it copies
the right one for you
</pre>
from twisted.
moonfallen commented |
---|
#!html
<pre>
Some work has been done on this already, in fact --config
book will work, you give it some equivalent of index.html
(with optional stylesheet as specced above) and it will
produce index.tex.
Spiv has also done some work on this, the details of which I
don't know.
Finally, we want to get rid of the latex stylesheets in the
HTML code. This can be done with magic latex macros which
have yet to be written.
</pre>
from twisted.
@thijstriemstra commented |
---|
Replying to spiv:
More importantly, I want to get rid of the current
duplication of admin/book.tex and doc/howto/index.html.
Both files are gone, perhaps this ticket can be closed?
from twisted.
@exarkun commented |
---|
book.tex
merely moved to doc/core/howto
. Likewise, doc/howto/index.html
is now doc/core/howto/index.xhtml
from twisted.
Related Issues (20)
- type confusion in KnownHosts.verifyHostKey traceback when adding ip key
- Compiled version of DelayedCall
- Change documentation for optional dependency SOAPpy to SOAPpy-py3 HOT 6
- Remove the soap code
- `twisted.internet.test.test_tcp.AbortConnectionTests_*Tests.test_fullWriteBuffer` test timeout on macOS HOT 13
- TwistedWeb ReverseProxyResource example has string not bytes as third argument
- Setup benchmarks using Codspeed.io HOT 6
- Speed up twisted.web server, part 2 of N
- Deprecate t.w.h.HTTPClient HOT 4
- t.w.h.HTTPClient parses Content-Length laxly HOT 1
- disttrial / `trial -j` should support debug prints
- `twisted.python.test.test_sendmsg.SendmsgTests.test_sendSubProcessFD` is flaky HOT 2
- Deprecation docs should use NEXT placeholders
- Improve defer.inlineCallbacks tests
- twisted.web generates deprecation warnings internally HOT 4
- Expand benchmarks to run on PyPy as well HOT 2
- ``twisted.python.code`` package proposal HOT 6
- Performance benchmarks for Deferreds
- Instantiating multiprocessing.SimpleQueue() from an imported package fails unless SimpleQueue() is instantiated inside Twisted application first HOT 9
- http logger should respect the encoding of its log outputs 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 twisted.