Comments (8)
Can you let me know which platform and version of the book you're working with?
from clojure-cookbook.
Hi, Thanks for your reply.
I go on Fedora 21 and the book version is the currently available here this site at.
from clojure-cookbook.
Sorry, I meant to ask: are you reading the book via this repository at the source level, generating a pdf/epub/mobi from the repository, or via an official O'Reilly version?
from clojure-cookbook.
Ah. Ok. I got generated a standalone html file from this repository.
from clojure-cookbook.
I'm not sure then what to do. It may be possible to influence the styling of the generated HTML, but I can't say I have any experience on how to make that happen.
from clojure-cookbook.
Hey!, yep. Well, I though there was a known way of sort out my question. So, that said I started to, yeap, adjust the css style section in the html file though, basically by trial and error. Now i got it readable, bd.
I include those adds or changes here just in case is of help for someone else:
/* line 540 (approx). WARNING please take the line number as reference, only.
/* It may be different in your asciidoc output.
/* giving a proportional width feature to the t.o.c block makes it to get
/* reduced if the the screen push for it.
@media screen {
body {
(...)
margin-left: 20%;
}
/* lines 555, 556 keep the above feature synchronized at the t.o.c. div
#toc {
(...)
float: left;
width: 20%;
}
/* line 71. Once defined a new margin to sidebarblock the content section get
/* affected with a negative margin, changing this line correct that.
div.sectionbody {
margin-left: 25px;
}
/* lines 771 (and 779). Same issue regarding a negative margin when at
/* `div` Title and Preface. But the only way I found to correct it is by doing an
/* inline alignment as show below:
<h1><p align="center">Clojure Cookbook</p></h1>
/* line 779
<h2 id="_preface"><p align="center">Preface</p></h2>
from clojure-cookbook.
Cool. Do you consider this resolved for you, then?
from clojure-cookbook.
Yeap, in a great deal yeap (though, I find the same issue, a negative margin at all h2 subtitles (which could get fixed by applying a h2 global rule but not sure if by doing this we also get undesired effects at all other else entities associated to the h2 tag) though not a big problem if left as such).
from clojure-cookbook.
Related Issues (20)
- Move storm recipe to distributed computation? HOT 1
- Tidy up source block types HOT 2
- Inconsistent source type for REPL interactions HOT 1
- Idea: installing jar files locally for use with Leiningen HOT 1
- How to fix errors while building the book HOT 4
- Incomplete Unicode range for Cyrillic
- Definition of squuid missing HOT 1
- 4.17 p200, Where does print-method come from?
- 4.25 p216 p217: Figures 4-2 and 4-3 have wrong title HOT 1
- 2.23 > Discussion > deep-merge function only works for distinct keys HOT 11
- Update "Parsing Command-Line Arguments" to use tools.cli 0.3.x and parse-opts HOT 2
- source-highlight: could not find a language definition for clojure HOT 11
- Cryptography Recipes HOT 1
- Add paragraph on packaging AOT compiled projects with non-AOT dependencies HOT 4
- Possible Bug in 05_network-io/5-10_tcp-server.asciidoc code. HOT 3
- $SUDO in bootstrap script
- timbre API changed maybe? HOT 5
- Generating PDF using dblatex not working because of unknown language in source snippets HOT 9
- To convert from a keyword to a symbol is available
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 clojure-cookbook.