<avdi>
|jemc|: I'm actually pretty serious about that. I recently went to a lot of effort to completely strip LaTeX out of my book publishing toolchain, after investing a *ton* of time into LaTeX.
<avdi>
LaTeX is a decades-long train wreck
<|jemc|>
yeah, I can certainly agree with that
<|jemc|>
it scales about as ungracefully as could be imagined
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<|jemc|>
but I'm looking for a markup that's not as burdened by formality as HTML - and that gets parsed INTO html later (among other things)
lcdhoffman has joined #ruby-lang
bf4 has quit [Ping timeout: 246 seconds]
<|jemc|>
I really, really like the way sphinx does it for python, I just wish it integrated nicely into ruby
<|jemc|>
(sphinx through restructuredtext)
<avdi>
Whereas [X]HTML5 is extensible, semantic, and *genuinely* declarative as opposed to LaTeX pseudo-declarative-ness
<avdi>
Yeah, that's a toughie
<avdi>
Markdown is nice but not *nearly* extensible enough
<|jemc|>
yeah, I coudln't figure out a clean way to extend it
<avdi>
There's just no way to inject new elements or classes at arbitrary points in the text
<avdi>
it's very paragraph-oriented
<avdi>
among other issues
zoo-zed has joined #ruby-lang
<|jemc|>
have you played with restructuredtext at all?
<avdi>
there's textile, but it's kind of nasty
zoo-zed has quit [Client Quit]
<|jemc|>
I'm wondering how easily it implements adding new directives to do what you want
<avdi>
|jemc|: it's been ages, I'd consigned it to the dustheap of not-quite-good-enough markup languages
CaptainJet has joined #ruby-lang
<|jemc|>
yeah, I keep surpressing my urge to reinvent the wheel - it seems like someone should have already done what I'm trying to do; but each is pretty unpleasant for my purposes in its own way
<avdi>
|jemc|: I'm not really a fan of extensibility at that level
<avdi>
|jemc|: so long as I have control over the HTML tags that come out the other end, I'd much rather postprocess the HTML. The tools for that are good.
bjh13 has quit [Quit: leaving]
<avdi>
There are some other HTML-lite languages like Textile
<avdi>
can't remember them off the top of my head
<avdi>
Well, I mean there's HAML, but that doesn't let you write like a human being
<avdi>
good for structure, awful for longhand content
mbj has joined #ruby-lang
<|jemc|>
I'm looking more to preprocess the TO html I think than postprocess. Unless I'm mixing terms here
<|jemc|>
but I'd also like to do pretty pdf output that's not just my html page printed to pdf
mbj has quit [Client Quit]
<avdi>
My point is that once you have HTML, the tools are (relatively) GREAT for doing whatever the hell you want. Nokogiri etc.
<avdi>
|jemc|: for the PDF output, PrinceXML/DocRaptor are the answer
<avdi>
|jemc|: nothing else comes close. Not free, and worth every penny.
CaptainJet has quit [Read error: No route to host]
bungoman has joined #ruby-lang
<avdi>
|jemc|: for me, that means writing everything in org-mode and then doing any mangling I need to as a series of HTML transformations, then exporting to assorted formats. YMMV.
CoreData1 has quit [Ping timeout: 272 seconds]
<avdi>
I have been informed there is sushi. Bye for now!
<|jemc|>
thanks for the input, avdi
CaptainJet has joined #ruby-lang
CoreData has joined #ruby-lang
<avdi>
|jemc|: sure thing!
breakingthings has quit []
__butch__ has quit [Quit: Leaving.]
<|jemc|>
org-mode as a starting format is an interesting one
<|jemc|>
something to chew on
tylersmi_ has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
yfeldblu_ has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
yfeldblum has joined #ruby-lang
mannyt has quit [Ping timeout: 245 seconds]
smashwilson has quit [Quit: Leaving]
bzalasky has quit [Ping timeout: 272 seconds]
ldnunes has joined #ruby-lang
hogeo has joined #ruby-lang
guns has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
nofxx has quit [Remote host closed the connection]
nofxx has joined #ruby-lang
thmzlt has joined #ruby-lang
realDAB has joined #ruby-lang
symm-_ has quit [Ping timeout: 245 seconds]
benkhicks has quit [Read error: Operation timed out]
kurko_ has joined #ruby-lang
ldnunes has quit [Ping timeout: 245 seconds]
nofxx has quit [Ping timeout: 272 seconds]
mistym_ has joined #ruby-lang
realDAB has quit [Quit: realDAB]
seanlinsley has quit [Quit: seanlinsley]
Lobster has quit [Quit: Lobster]
tylersmi_ has quit [Remote host closed the connection]
mistym_ has quit [Ping timeout: 252 seconds]
saarinen has joined #ruby-lang
x0f has joined #ruby-lang
x0f has quit [Changing host]
x0f has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
ldnunes has joined #ruby-lang
brianpWins has joined #ruby-lang
lfox has joined #ruby-lang
datanoise has quit [Ping timeout: 248 seconds]
zz_michael_mbp is now known as michael_mbp
cored has quit [Ping timeout: 265 seconds]
h0rrorvacui has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
jackhammer2022 has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
bf4 has joined #ruby-lang
jxie has joined #ruby-lang
tedstriker has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
bf4 has quit [Ping timeout: 272 seconds]
ddd has joined #ruby-lang
antonishen has joined #ruby-lang
havenwood has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
lun___ has quit [Remote host closed the connection]
zz_michael_mbp is now known as michael_mbp
hinbody-mobile has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby-lang
mark06 has joined #ruby-lang
ddd is now known as deryl
deryl is now known as ddd
datanoise has joined #ruby-lang
ddd is now known as pgpkeys
pgpkeys is now known as gpgkeys
gpgkeys is now known as ddd
ddd has quit [Quit: account cleanup]
ddd has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
iliketur_ has quit [Quit: zzzzz…..]
marr has quit [Ping timeout: 272 seconds]
hogeo has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 272 seconds]
|jemc| has quit [Ping timeout: 272 seconds]
hinbody-mobile has quit [Ping timeout: 246 seconds]
hinbody-mobile2 has joined #ruby-lang
nofxx has joined #ruby-lang
hinbody-mobile2 is now known as hinbody-mobile
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
CaptainJet has quit []
hinbody-mobile has quit [Ping timeout: 252 seconds]
kitak has quit [Ping timeout: 246 seconds]
nofxx has quit [Ping timeout: 272 seconds]
seanlinsley has joined #ruby-lang
mmorga has joined #ruby-lang
hogeo has joined #ruby-lang
Jbean has joined #ruby-lang
Jbean has quit [Client Quit]
mistym has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 248 seconds]
ldnunes has quit [Ping timeout: 272 seconds]
Bosox20051 has joined #ruby-lang
coca_rails has joined #ruby-lang
coca_rails has left #ruby-lang [#ruby-lang]
coca_rails has joined #ruby-lang
mistym has joined #ruby-lang
dhruvasagar has joined #ruby-lang
bf4 has joined #ruby-lang
kitak has joined #ruby-lang
vxxr has joined #ruby-lang
bf4 has quit [Ping timeout: 272 seconds]
datanoise has joined #ruby-lang
lfox has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
coca_rails has joined #ruby-lang
rob______ has joined #ruby-lang
rob______ has quit [Client Quit]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
jinesh has joined #ruby-lang
hhatch has quit [Ping timeout: 248 seconds]
yfeldblum has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
coca_rails has joined #ruby-lang
lsegal has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
tedstriker has quit [Quit: Anti-Fraping status set.]
zz_michael_mbp is now known as michael_mbp
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby-lang
coca_rails has quit [Ping timeout: 245 seconds]
nofxx has joined #ruby-lang
vpretzel has quit [Ping timeout: 252 seconds]
Onixs has quit [Ping timeout: 246 seconds]
thmzlt has quit []
nofxx has quit [Ping timeout: 246 seconds]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
mark06 has left #ruby-lang [#ruby-lang]
nofxx has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 272 seconds]
diegoviola has joined #ruby-lang
kith has quit [Quit: kith]
kith has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
ddd has quit [Quit: Leaving]
unrealhoang has joined #ruby-lang
nofxx has quit [Ping timeout: 248 seconds]
havenwood has quit [Remote host closed the connection]
jinesh has quit [Remote host closed the connection]
jinesh has joined #ruby-lang
dhruvasagar has joined #ruby-lang
hinbody-mobile has joined #ruby-lang
hogeo has quit [Ping timeout: 246 seconds]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
hogeo has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mbr_ has joined #ruby-lang
flip_digits has quit []
mbr has quit [Ping timeout: 264 seconds]
bf4 has joined #ruby-lang
cads has quit [Ping timeout: 248 seconds]
havenwood has joined #ruby-lang
bf4 has quit [Ping timeout: 246 seconds]
bf4 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 272 seconds]
bf4 has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Ping timeout: 264 seconds]
retro|cz has joined #ruby-lang
benkhicks has joined #ruby-lang
|jemc| has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
yfeldblum has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
michael_mbp is now known as zz_michael_mbp
mannyt has joined #ruby-lang
arooni-mobile__ has quit [Ping timeout: 272 seconds]
tharindu_ has quit [Ping timeout: 272 seconds]
zz_michael_mbp is now known as michael_mbp
lcdhoffman has quit [Quit: lcdhoffman]
Johz has quit [Quit: Leaving]
nofxx has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
CoreData has quit [Read error: Connection reset by peer]
CoreData1 has joined #ruby-lang
nofxx has quit [Ping timeout: 245 seconds]
hogeo has quit [Ping timeout: 272 seconds]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
jackhammer2022 has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
ddd has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
kitak_ has joined #ruby-lang
mistym has joined #ruby-lang
hinbody-mobile has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
kitak_ has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
kitak has quit [Ping timeout: 246 seconds]
ddd has quit [Client Quit]
jsullivandigs has joined #ruby-lang
ddd has joined #ruby-lang
nisstyre has joined #ruby-lang
bastilian_ has quit [Quit: Leaving...]
vxxr has quit [Quit: leaving]
vpretzel has joined #ruby-lang
bf4 has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 240 seconds]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
lsegal has quit [Read error: Connection reset by peer]
bf4 has quit [Ping timeout: 272 seconds]
lsegal has joined #ruby-lang
hogeo has joined #ruby-lang
Barrin6 has joined #ruby-lang
havenwood has joined #ruby-lang
seanlinsley has quit [Quit: seanlinsley]
Barrin6 has quit [Client Quit]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
lunarjar has quit [Ping timeout: 240 seconds]
hogeo has quit [Ping timeout: 272 seconds]
lunarjar has joined #ruby-lang
MartynKeigher has quit [Remote host closed the connection]
vpretzel has quit [Ping timeout: 272 seconds]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
Coincidental has joined #ruby-lang
seanlinsley has joined #ruby-lang
Barrin6 has joined #ruby-lang
hogeo has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
MartynKeigher has joined #ruby-lang
ddd has quit [Quit: Leaving]
JohnBat26 has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
joonty_ has joined #ruby-lang
joonty has quit [Ping timeout: 272 seconds]
hahuang65 has joined #ruby-lang
Coincide_ has joined #ruby-lang
havenwood has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Coincidental has quit [Ping timeout: 264 seconds]
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
lunarjar has quit [Ping timeout: 240 seconds]
danielfeng has joined #ruby-lang
lunarjar has joined #ruby-lang
jinesh has quit [Ping timeout: 246 seconds]
benkhicks has quit [Quit: Leaving.]
jxie has quit [Ping timeout: 246 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
danielfeng has quit [Quit: Leaving]
mdedetrich has quit [Quit: Computer has gone to sleep.]
danielfeng has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
bf4 has joined #ruby-lang
cads has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
dhruvasagar has joined #ruby-lang
bf4 has quit [Ping timeout: 252 seconds]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
vpretzel has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
vpretzel has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
hogeo has joined #ruby-lang
mdedetrich has joined #ruby-lang
waxjar has quit [Ping timeout: 240 seconds]
Coincide_ has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
vpretzel has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
vpretzel has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
<malev>
hello there! I'm trying to build a regexp like: /wordA\WwordB/ from and array like: ['wordA', 'wordB'] and I can't find the programatically way. any suggestions?
Nisstyre-laptop has quit [Read error: Connection reset by peer]
benlovell has quit [Ping timeout: 252 seconds]
rwk1 has joined #ruby-lang
jxpx777 has joined #ruby-lang
vky has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
nofxx has joined #ruby-lang
mistym_ has joined #ruby-lang
nofxx has quit [Ping timeout: 264 seconds]
benkhicks1 has joined #ruby-lang
mistym_ has quit [Ping timeout: 252 seconds]
bungoman has joined #ruby-lang
benkhicks has quit [Ping timeout: 245 seconds]
bungoman_ has quit [Ping timeout: 241 seconds]
iliketur_ has quit [Quit: zzzzz…..]
nigerianceo has quit []
benkhicks1 is now known as benkhicks
dangerousbeans has joined #ruby-lang
iliketur_ has joined #ruby-lang
dangerousbeans has left #ruby-lang [#ruby-lang]
adambeynon has joined #ruby-lang
momomomomo has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
momomomomo has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 248 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
chaos_ has joined #ruby-lang
soahccc has quit [Read error: Connection reset by peer]
__butch__ has quit [Quit: Leaving.]
yalue has quit [Quit: Leaving]
serroft has joined #ruby-lang
momomomomo has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
canton7 has quit [Remote host closed the connection]
imperator has joined #ruby-lang
canton7 has joined #ruby-lang
canton7 has quit [Remote host closed the connection]
canton7 has joined #ruby-lang
lun__ has quit [Remote host closed the connection]
lun__ has joined #ruby-lang
benwoody has quit [Quit: benwoody]
havenwood has joined #ruby-lang
lun__ has quit [Ping timeout: 252 seconds]
cored has quit [Ping timeout: 272 seconds]
vky has quit [Remote host closed the connection]
zoo-zed has quit [Quit: Leaving.]
cored has joined #ruby-lang
houndstooth has joined #ruby-lang
MrZYX is now known as MrZYX|off
havenwood has quit [Remote host closed the connection]
unrealhoang has quit [Remote host closed the connection]
nofxx has joined #ruby-lang
ikrima has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
MrZYX|off is now known as MrZYX
mistym is now known as misty_lunch
postmodern has joined #ruby-lang
vsorlov has quit [Ping timeout: 245 seconds]
nofxx has quit [Ping timeout: 245 seconds]
benwoody has joined #ruby-lang
nofxx_ has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
<cored>
hi
<cored>
is this class Module::ClassName the same as this module Module; class ClassName; end; end
<cored>
?
ndrst has quit [Ping timeout: 264 seconds]
lun__ has joined #ruby-lang
mbj has joined #ruby-lang
<cored>
nvm
mistym has joined #ruby-lang
<apeiros>
cored: almost
<apeiros>
class Module::ClassName requires Module to be defined already
<apeiros>
assuming it is already defined as a Module, it still differs in Module.nesting, which determines constant lookup
mbj_ has joined #ruby-lang
seanlinsley has joined #ruby-lang
snarfmason has quit [Read error: Connection reset by peer]
benlovell has joined #ruby-lang
Czupa has quit [Ping timeout: 246 seconds]
mbj has quit [Ping timeout: 272 seconds]
snarfmason has joined #ruby-lang
houndstooth has quit [Quit: Leaving...]
__butch__ has joined #ruby-lang
bcardarella has joined #ruby-lang
<cored>
apeiros: thanks, is there any information on that ?
<cored>
apeiros: a place where I can read more about it ?
<apeiros>
wouldn't know
<cored>
apeiros: oki
mbj_ has quit [Ping timeout: 272 seconds]
<apeiros>
basically Module.nesting works somewhat similar to $LOAD_PATH
<bcardarella>
if from within an instance method if I do self.class.define_method and redefine an instance method that change will happen in all instances and/or future instances of that class, correct?
<bcardarella>
If so how can I just redefine an instance method from within that one instance?
<apeiros>
if you write `Foo`, it will try to look up Foo on every namespace in Module.nesting
<apeiros>
with `class Module::ClassName` it's just [Module::ClassName], so it'll try Module::ClassName::Foo and ::Foo
<apeiros>
with `module Module; class ClassName` it's [Module::ClassName, Module], so it'll try Module::ClassName::Foo, Module::Foo and ::Foo
benwoody has quit [Quit: benwoody]
benwoody has joined #ruby-lang
xcess_denied has joined #ruby-lang
seanlinsley has quit [Quit: seanlinsley]
<cored>
apeiros: I wonder which is the use
<cored>
apeiros: of that
<apeiros>
I'd prefer if the first variant would work just like the second.