r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Web] Everything web development related

Graham
9-Oct-2005
[895]
Oddly, when I print to a5paper, pdflatex seems to still produce a4 
size paper ... or perhaps it's just Acrobat Reader ...
yeksoon
9-Oct-2005
[896]
it could be Adobe Reader...there are some settings on your Reader 
for the page size
Graham
9-Oct-2005
[897x3]
inspecting the properties using Acrobat Reader, it says it's still 
A4 size.
I must be doing something wrong in creating my tex file.
Although Acrobat displays it so that the text only occupies an A5 
part of the paper.
yeksoon
9-Oct-2005
[900]
I am not familiar with tex..


but the fist line of your output has a word 'letter' in it...could 
that be the cause of it?
Graham
9-Oct-2005
[901]
Letter is the class of document ie. it should not be specifying the 
page size.  Others in this class include article, report, book, slides. 
 It could be a problem but I don't know enough about it.
Graham
10-Oct-2005
[902]
Found the problem .. pdflatex needs to be told the page size in addition 
to specifying that it is a4 or a5 etc.  On page 73 of an intro to 
LaTeX !
Kaj
10-Oct-2005
[903]
Such is the state of the best that our industry has to offer...
Graham
10-Oct-2005
[904]
LaTeX is a macro package for TeX.  Some guy wrote pdflatex to output 
LaTeX to PDF instead of DVI.  That was for his doctoral thesis.  
Such is the nature of freeware.
Kaj
11-Oct-2005
[905x2]
Nah, it's open source ;-)
So, is pdflatex better than straight from REBOL to PDF? Or is it 
also possible to output PDF from TeX, circumventing LaTeX?
Graham
11-Oct-2005
[907x2]
Dunno.
Is it better than straight from REBOL to PDF?  I would have to say 
yes.  make-pdf gives you ultimate control over the page, but only 
for one page ie. you know the page layout already.   It is set up 
more like a desktop design package, whereas LaTeX to PDF is much 
more in the same spirit as make-doc.
Volker
11-Oct-2005
[909]
IIRC pdfmaker has some hooks for pagebreaks. gabriele has something 
which makes tables across multiple pages, and rows are keept together. 
And seems the basics are inbuild to pdfmaker. Maybe Gab can step 
in?
Graham
11-Oct-2005
[910x3]
It would be great once these hooks have something to catch onto. 
 At the moment, I do not know of a way to flow text from one box 
to one on another page without tedious line counting.  In the meantime, 
I need professionally typeset text now ...
Grrrr... Altme lost the last paragraph I typed :(
BTW, the split-text function we worked on in the parse channel would 
be useful for counting lines.  All we need now is a hyphenation dictionary 
:)
Gabriele
11-Oct-2005
[913x2]
I want to do a PDF emitter for MD2... i've just been too busy lately. 
hope to get back to this soon.
won't be very good but better than nothing.
Volker
12-Oct-2005
[915]
Would you have enough time to answer a lot silly questions? I forgot 
the whole api and everything, but could do the coding.
Robert
2-Nov-2005
[916x2]
Question: Has anybody written a log-file analyzer tool in Rebol? 
I really must say, that I have looked into a lot of those tools but 
never found a good one. All spit out some information but not the 
one I'm mostly interested in. And I just get reports but can't do 
any trend analyzes etc.
IMO it would be cool thing to provide an analyzing dialect to write 
own reports.
Pekr
2-Nov-2005
[918]
what log?
Robert
2-Nov-2005
[919]
simple apache access log
Henrik
2-Nov-2005
[920]
don't think that would be hard to do...
Pekr
2-Nov-2005
[921]
another question, although not web related, but log related - did 
anyone do snmp parser, mrtg kind of graph display?
JaimeVargas
2-Nov-2005
[922]
Yes. We have one for our own use. But not snmp implementatin. However 
the french have something for that.
Pekr
2-Nov-2005
[923x2]
ok, thanks for the pointer ... two weeks before we go into our first 
providing Billingo.com is closing, damned. And we already told customers 
they will have portal, where they can log, and see the statistics 
of their per day/month usage :-)
I already thought about some small app in View, encapped. But it 
would have to have auto-updating framework, which I don't have yet. 
It seems to me, that if I will have to manage our router traffic 
log, then doing things in View is MUCH easier (with AGG for e.g.) 
then to think of portal based solution, logging of users etc ....
JaimeVargas
2-Nov-2005
[925]
You need our equipment ;-)
Pekr
2-Nov-2005
[926x4]
but I will do math only on central router, not wi-fi aps ....
folks did very nice system called billingo - you could rent it for 
very few bucks even for cz folks to afford, you defined your price-list, 
data-limits etc. logic and then even your secretary could add new 
person to the network ;-) Such person had portal sub-page available 
to log into, to see its traffic, graphs etc. It did also invoices 
for you. Very nice. Today they announced they are closing, because 
of low demand for such service. But it was excellent service, which 
would save me plenty of time ....
now how I am supposed to prove our new customers how much data they 
downloaded and when and show them logs :-)
I have to think about it for a while .....
JaimeVargas
2-Nov-2005
[930]
MRTG. Don't reinvent the wheel.
Pekr
2-Nov-2005
[931x4]
I will have to find a way of how to study it - it is very late here 
and I just looked into archive size - 1.6 MB  archive - oh my ... 
so - if there is no simple way of how to wrap it, I will go my own 
way, as usual, even with limited featureset - I don't need fancy 
javascript/java/whatever graphing - if I go View way, I will have 
to develop AGG based graphing anyway ...
If it is dependant upon perl etc. myriad of install steps, forget 
it ...
the only way I will accept it is - 1) someone introduces me quickly 
into how to use it, wrap it 2) it comes preinstalled on linux similar 
way, of how I can use webmail for e.g. I will not go thru all this 
- http://www.mrtg.cz/mrtg-nw-guide.html
Advantage of mikrotik is, that I don't have necessarily to depend 
upon snmp - It has good router scripting, and I can prepare my own 
format (even rebol blocks ;-) of output ... and some folks do so 
with the router scripting language available ....
Pekr
3-Nov-2005
[935x2]
hmm, will have to study a mrtg a bit ... not sure how fast I would 
get to at least few percent functionality .... look at Cacti for 
e.g. http://www.cacti.net
based on rrdtool - that is the next pointer of where I could start 
to look ...
JaimeVargas
3-Nov-2005
[937]
rrdtool is pretty easy to use. But some people say MRTG is easier. 
I prefer rrdtool.
Micha
19-Nov-2005
[938]
I have account cpanel in  www.qwerty.vaio-hosting.com
how to instal rebol ?
Volker
19-Nov-2005
[939x3]
;copy exe somewhere, make it executable, write a cgi:
#!/where/is/rebol -cs
rebol[]
print "content-type: text/plain^/^/"
print "Hello cgi"
typicla problems: line-endings with windows->linux. upload as acsii. 
forgetting to make something executable, both exe and cgi must be. 
(its linux/apache)
(if it is linux/apache)
Micha
19-Nov-2005
[942]
you can me install ?
Volker
19-Nov-2005
[943]
with password i guess yes
Micha
19-Nov-2005
[944]
I sended you on pw