Giter Site home page Giter Site logo

Comments (8)

twisted-trac avatar twisted-trac commented on May 20, 2024
Automation's avatar Automation removed owner

from twisted.

twisted-trac avatar twisted-trac commented on May 20, 2024
glyph's avatar @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:

  1. they should be filed as individual tickets
  2. they should be better described
  3. some of them probably shouldn't be bothered with.

from twisted.

twisted-trac avatar twisted-trac commented on May 20, 2024
exarkun's avatar @exarkun commented
#!html
<pre>
Is this still relevant?
</pre>

from twisted.

twisted-trac avatar twisted-trac commented on May 20, 2024
spiv's avatar 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.

twisted-trac avatar twisted-trac commented on May 20, 2024
radix's avatar @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
&lt;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 &lt;link rel="stylesheet" type="application/x-latex"
href="my.sty"/>
&lt;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
&lt;spiv> MoonFallen: Yes, I absolutely agree with the
idea of ditching book.tex.
&lt;spiv> I'm hesistant to require latex-specific markup,
though.
&lt;MoonFallen> browsers happily ignore it and it's 100%
xhtml compliant
&lt;spiv> I think I'd prefer a --template argument to lint
-o latex.
&lt;spiv> Which is what the current html output does, and
I think it works well.
&lt;MoonFallen> spiv_work: i can do that
&lt;spiv> MoonFallen: That'd be great. :)
&lt;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
&lt;spiv> Hmm.
&lt;spiv> Having default templates is probably good.
&lt;spiv> What did you have in mind?
&lt;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
&lt;itamar> yes
&lt;MoonFallen> other than that, it's all just prettiness.
different colors
in the html, different fonts in the printed version, etc.
&lt;MoonFallen> give people an option for how their
document looks
&lt;spiv> Heh. I use a4, and I never noticed that. I
guess I've never
printed it :)
&lt;MoonFallen> not so much the paper size actually, but
the units are in
inches
&lt;MoonFallen> i think it might print ok
&lt;MoonFallen> 80-column &lt;pre> stuff won't fit though
&lt;spiv> Hmm.
&lt;spiv> I'd like 80-columns of pre to fit on the print
version.
&lt;spiv> But I guess if someone knows what they're doing,
they're welcome to
change their own template.
&lt;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
&lt;MoonFallen> i could also use this as an opportunity to
start putting in
color, which i think the printed version badly needs.
&lt;MoonFallen> i'm thinking lore --template
catalog:letter-1 -o latex
&lt;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.

twisted-trac avatar twisted-trac commented on May 20, 2024
moonfallen's avatar 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.

twisted-trac avatar twisted-trac commented on May 20, 2024
thijstriemstra's avatar @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.

twisted-trac avatar twisted-trac commented on May 20, 2024
exarkun's avatar @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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.