[{"data":1,"prerenderedAt":502},["ShallowReactive",2],{"project-16959550":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":47,"post_text":48,"what":49,"said":107,"maker_in_thread":247,"shape":258,"grid":263,"attempts":465,"same_week":466,"maker_shows":34,"maker_hidden":495,"reader_version":496,"card":497},"16959550","ReLaXed","High-quality PDFs using web technologies","title","Show HN: ReLaXed – High-quality PDFs using web technologies","https:\u002F\u002Fgithub.com\u002FRelaxedJS\u002FReLaXed","github.com","zulko",1525103017,2018,344,79,58,2155,3,"legend","productivity","document generation","library",[24,25,26,27,28],"pdf generation","html to pdf","typesetting","pug","headless chrome","curious",0.02,{"positive":32,"neutral":33,"mixed":34,"critical":35},10,26,1,8,45,{"execution":38,"idea":40,"docs":42,"design":44,"pricing":45,"performance":46},{"positive":34,"critical":39},5,{"positive":39,"critical":41},0,{"positive":43,"critical":41},2,{"positive":34,"critical":34},{"positive":34,"critical":41},{"positive":41,"critical":43},[18,41,18,18,34,18,18,39,34,34,18,18,41,41,18,34,34,18,41,39,18,18,18,18,39,41,39,39,18,39,39,41,41,34,34,18,39,18,18,39],null,{"problem":50,"audience":48,"pricing":60,"motivation":68,"time_to_build":48,"stack":72,"openness":105,"stage":106,"team_size":106},{"value":51,"source":52,"evidence":53},"Producing print-quality PDF documents with complex layouts using web technologies instead of LaTeX","maker",[54,57],{"id":55,"by":11,"text":56},"16959946","Prince is a 3800$ software. Prince seems to encourage XML\u002FHTML\u002FCSS for writing documents, and I didn't like this. With ReLaXed I am trying to show that Pug\u002FSCSS makes document…",{"id":58,"by":11,"text":59},"16960253","ReLaXed really focuses on PDFs right now (to keep the initial focus small) but it produces an HTML file as a byproduct. From what I understand there is not far from an HTML file…",{"value":61,"source":62,"evidence":63},"Free and open source","commenter",[64],{"id":65,"by":66,"text":67},"16959878","evilduck","For one, everything here appears to be free and open source. Prince is pretty costly to run as a small endeavor and last I knew their pricing model wasn't very kind to horizontal…",{"value":69,"source":52,"evidence":70},"Make documents with complex or fancy layouts easier than LaTeX or Prince allow, using Pug\u002FSCSS",[71],{"id":55,"by":11,"text":56},[73,81,85,89,93,99],{"value":74,"source":75,"evidence":76},"JavaScript","inferred",[77],{"id":78,"by":79,"text":80},"16961296","kaycebasques","When I saw \"... using web technologies\" I was curious if it uses Puppeteer. package.json confirms that is indeed the case. https:\u002F\u002Fgithub.com\u002FGoogleChrome\u002Fpuppeteer (I work for…",{"value":82,"source":62,"evidence":83},"Puppeteer",[84],{"id":78,"by":79,"text":80},{"value":86,"source":52,"evidence":87},"Pug",[88],{"id":55,"by":11,"text":56},{"value":90,"source":52,"evidence":91},"SCSS",[92],{"id":55,"by":11,"text":56},{"value":94,"source":52,"evidence":95},"Markdown-it",[96],{"id":97,"by":11,"text":98},"16960007","I am thinking about it and there may be a way to do it using Pug mixins (like LaTeX macros). Also, ReLaXed supports Markdown-it, which in turn has plug-ins for footnotes and…",{"value":100,"source":52,"evidence":101},"MathJax",[102],{"id":103,"by":11,"text":104},"16959850","Mathjax notation is supported: https:\u002F\u002Fwww.mathjax.org\u002F See some basic use in ReLaXed in the \"paper\" or \"slideshow\" examples, or here for a basic documentation:…","open_source","unknown",{"praise":108,"objections":127,"requests":155,"questions":178,"alternatives":208},[109,116],{"value":110,"source":62,"evidence":111},"Impressive and useful for many people",[112],{"id":113,"by":114,"text":115},"16960246","leephillips","The examples lack hyphenation, which partly explains the too-variable interword spacing. Is this because Chrome still fails to support hyphenation, unlike, for example, Firefox?…",{"value":117,"source":62,"evidence":118},"Pug\u002FSCSS is a natural alternative to LaTeX for documents",[119,123],{"id":120,"by":121,"text":122},"16960179","lkurusa","Interesting project! Can this be used to potentially include JavaScript in resulting PDF files and use them to animate images in the PDF? This would be useful for some…",{"id":124,"by":125,"text":126},"16964825","felixfbecker","All I want is a system that gets the basic right and is version-controllable in git (plain text source code). Latex is just ridiculously complex and inconsistent. Even after…",[128,140],{"value":129,"source":62,"evidence":130},"Typography and line breaking lack quality compared to LaTeX",[131,132,136],{"id":113,"by":114,"text":115},{"id":133,"by":134,"text":135},"16961337","che371291","Seems kind of neat. But for my purposes I will still use Markdown to PDF using pandoc etc. What really upsets me... the typography still looks shit compared to LaTeX... MS Word \u002F…",{"id":137,"by":138,"text":139},"16963202","omnimus","Oh how much i would love to have good way how to generate print quality PDFs. The real problem is not hyphenation but how lines are composed. If you want even lines in type set…",{"value":141,"source":62,"evidence":142},"Chrome printing lacks page numbering, footnotes and advanced print CSS",[143,147,151],{"id":144,"by":145,"text":146},"16959758","Ecco","How would that compare to, say, an HTML template + wkhtmltopdf? Also I feel like the biggest gripe with generating (long) PDFs from HTML are things such as page numbering,…",{"id":148,"by":149,"text":150},"16961450","sebazzz","That will probably be difficult because Chrome just \"prints\" a PDF. Therefore headers, footers, footnotes, and page numbering is a difficult issue to solve.",{"id":152,"by":153,"text":154},"16959961","SigmundA","Looks like it uses headless chrome for HTML to PDF conversion so its not going to support advanced print CSS like Prince. Real issue is Prince is the only browser that supports…",[156,164,171],{"value":157,"source":62,"evidence":158},"Hyphenation and better justification",[159,160],{"id":113,"by":114,"text":115},{"id":161,"by":162,"text":163},"16962380","agussell","https:\u002F\u002Fgithub.com\u002Fbramstein\u002Ftypeset This is an implementation of the line breaking algorithm used in TeX in Javascript. It would be nice to add to obtain better typographic…",{"value":165,"source":62,"evidence":166},"Footnotes and automatic references example",[167],{"id":168,"by":169,"text":170},"16959915","killercup","Waiting to see an example with footnotes and auto references ;)",{"value":172,"source":62,"evidence":173},"Table of contents generation",[174],{"id":175,"by":176,"text":177},"16961396","Drdrdrq","Not OP, but one of the most useful things about wkhtmltopdf is its ability to create an index page (edit: TOC) with references to all heading tags (\u003Ch1>,...). Is this something…",[179,190,201],{"value":180,"source":62,"evidence":181},"How does it compare with Prince and Pandoc",[182,186],{"id":183,"by":184,"text":185},"16959841","williamscales","How does this compare with Prince?",{"id":187,"by":188,"text":189},"16960091","thangalin","How does this improve upon Pandoc? https:\u002F\u002Fi.imgur.com\u002FtMkMjNV.png In the image, ConTeXt generates PDFs. The EA box represents HTML documentation exported from Enterprise…",{"value":191,"source":62,"evidence":192},"Does it support MathJax and LaTeX math mode",[193,197],{"id":194,"by":195,"text":196},"16959770","wyas","Very cool. Could standard Latex mathmode be used here?",{"id":198,"by":199,"text":200},"16961097","baby","Does it support things like mathjax? This is a really important question to me.",{"value":202,"source":62,"evidence":203},"Can it output CMYK colors",[204],{"id":205,"by":206,"text":207},"16964958","czechdeveloper","Looks awesome. Can it use CMYK colors? That is killer feature for print centers.",[209,217,225,229,233,240],{"value":210,"source":62,"evidence":211},"Prince",[212,213],{"id":183,"by":184,"text":185},{"id":214,"by":215,"text":216},"16963381","lobster_johnson","Have you looked at Prince [1]? It's commercial, but highly regarded. The coolest project I've seen with it is OMA (Rem Koolhaas' architecture firm), which uses it to print…",{"value":218,"source":62,"evidence":219},"Pandoc",[220,221],{"id":187,"by":188,"text":189},{"id":222,"by":223,"text":224},"16960256","buildbuildbuild","I find Markdown most natural for writing because I do not have to worry about formatting or syntax. Currently I deliver ~2 PDF reports per week using Ulysses or MacDown for…",{"value":226,"source":62,"evidence":227},"LaTeX",[228],{"id":113,"by":114,"text":115},{"value":230,"source":62,"evidence":231},"wkhtmltopdf",[232],{"id":144,"by":145,"text":146},{"value":234,"source":62,"evidence":235},"Apache FOP",[236],{"id":237,"by":238,"text":239},"16960534","nateroling","Related, why doesn't anyone ever mention [Apache FOP](https:\u002F\u002Fxmlgraphics.apache.org\u002Ffop\u002F) for this kind of thing? I've had great success with it.",{"value":241,"source":62,"evidence":242},"DocRaptor",[243],{"id":244,"by":245,"text":246},"16959944","zrail","DocRaptor is PrinceXML as a service with reasonable pricing. https:\u002F\u002Fdocraptor.com",{"comments":248,"answered":249,"key":250},9,7,[251,254,257],{"id":252,"text":253},"16960318","Hyphenation can be tuned via CSS but I have never been happy with it: https:\u002F\u002Fwww.w3schools.com\u002Fcssref\u002Fcss3_pr_word-break.asp From what I remember LaTeX has better algorithms,…",{"id":255,"text":256},"16959820","I have gathered some comparisons in this wiki page: https:\u002F\u002Fgithub.com\u002FRelaxedJS\u002FReLaXed\u002Fwiki\u002FReLaXed-vs-other-solutions It is open to contributions, so any thoughts welcome. In…",{"id":97,"text":98},{"commenters":259,"max_depth":260,"maker_replies":248,"first_comment_mins":261,"lifespan_hours":262},57,6,23,55,[264,266,268,272,275,278,281,284,286,290,294,297,300,302,306,310,311,313,316,319,323,326,327,330,331,334,336,338,340,343,346,349,352,355,356,358,361,363,366,369,372,373,374,375,376,378,379,383,386,389,392,395,397,399,404,408,410,412,415,419,421,423,424,427,429,430,432,435,439,442,444,447,450,454,455,457,458,460,461],[113,41,18,265,114,41],"project\u002Fmixed\u002Fexecution",[252,41,41,267,11,34],"maker\u002Fneutral\u002Fexecution",[269,41,41,270,271,41],"16960433","other\u002Fneutral\u002Fnone","taeric",[273,41,41,270,274,41],"16964493","ximeng",[276,41,18,277,114,41],"16960447","project\u002Fneutral\u002Fexecution",[279,41,41,270,280,41],"16963169","blaisio",[282,41,18,277,283,41],"16961420","gyrgtyn",[285,41,18,277,162,41],"16962339",[287,41,34,288,289,41],"16964046","project\u002Fcritical\u002Fexecution","drb91",[291,41,18,292,293,41],"16964436","project\u002Fneutral\u002Fidea","TylerE",[295,41,41,296,271,41],"16964472","commenter\u002Fneutral\u002Fnone",[298,41,41,270,299,41],"16966393","stev0lution",[78,34,18,301,79,41],"project\u002Fneutral\u002Fnone",[303,34,41,304,305,41],"16962982","commenter\u002Fpositive\u002Fnone","nightmunnas",[307,34,39,308,309,41],"16964277","project\u002Fpositive\u002Fidea","mrskitch",[144,43,34,288,145,41],[255,43,41,312,11,34],"maker\u002Fneutral\u002Fdocs",[314,43,34,288,315,41],"16960170","netheril96",[317,43,18,277,318,41],"16966437","spronkey",[320,43,18,321,322,41],"16960568","project\u002Fneutral\u002Fdocs","jahewson",[324,43,18,321,325,41],"16964858","tingletech",[137,18,18,277,138,41],[328,18,41,270,329,41],"16963350","rayiner",[214,18,41,270,215,41],[332,18,41,333,138,41],"16966731","other\u002Fneutral\u002Fpricing",[335,18,41,333,215,41],"16968298",[337,18,41,270,138,41],"16976039",[339,18,41,270,215,41],"16981744",[341,18,18,277,342,41],"16963507","kccqzy",[344,18,18,345,138,41],"16966686","project\u002Fneutral\u002Fdesign",[133,347,34,348,134,41],4,"project\u002Fcritical\u002Fdesign",[350,347,34,288,351,41],"16961531","kevin_thibedeau",[353,347,41,270,354,41],"16962310","blattimwind",[187,39,18,292,188,41],[357,39,41,296,199,41],"16961116",[359,39,41,296,360,41],"16961927","maxerickson",[362,39,41,296,138,41],"16963138",[364,39,18,345,365,41],"16961753","lahcim8",[367,39,39,308,368,41],"16964247","vorpalhex",[370,260,18,277,371,41],"16960244","deleterofworlds",[237,249,41,270,238,41],[168,35,18,321,169,41],[97,35,41,312,11,34],[175,35,18,321,176,41],[377,35,41,312,11,34],"16961933",[148,35,34,288,149,41],[380,35,39,381,382,41],"16961506","project\u002Fpositive\u002Fexecution","alexwebb2",[384,248,39,308,385,41],"16962266","nmca",[387,32,18,301,388,41],"16959924","foobaw",[390,32,41,270,391,41],"16960847","fmntf",[393,32,41,270,394,41],"16961883","Mediterraneo10",[124,396,39,308,125,41],11,[161,398,18,277,162,41],12,[400,401,39,402,403,41],"16963938",13,"project\u002Fpositive\u002Fdesign","Wehrdo",[405,406,18,301,407,41],"16964846",14,"Klasiaster",[222,409,18,292,223,41],15,[411,409,41,312,11,34],"16960293",[413,409,39,414,223,41],"16960327","maker\u002Fpositive\u002Fdocs",[416,417,41,270,418,41],"16960894",16,"deedubaya",[183,420,18,301,184,41],17,[65,420,39,422,66,41],"project\u002Fpositive\u002Fpricing",[244,420,41,333,245,41],[425,420,41,333,426,41],"16961151","exhilaration",[428,420,41,333,418,41],"16960936",[55,420,41,292,11,34],[152,420,34,431,153,41],"project\u002Fcritical\u002Fperformance",[433,420,41,270,434,41],"16960227","gmfawcett",[436,437,34,431,438,41],"16960582",18,"jakear",[440,437,41,441,438,41],"16960654","other\u002Fneutral\u002Fperformance",[120,443,18,301,121,41],19,[445,443,41,446,11,34],"16960345","maker\u002Fneutral\u002Fidea",[448,443,39,449,121,41],"16961707","maker\u002Fpositive\u002Fidea",[451,452,18,301,453,41],"16960159",20,"pritambaral",[58,452,41,292,11,34],[194,456,18,301,195,41],21,[103,456,41,312,11,34],[205,459,18,301,206,41],22,[198,261,18,301,199,41],[462,261,39,463,464,41],"16961211","project\u002Fpositive\u002Fdocs","aidangarza",[],[467,472,476,481,486,491],{"id":468,"name":469,"points":470,"category":471},"16958446","stocks",207,"finance_crypto",{"id":473,"name":474,"points":475,"category":471},"16958797","crapcoin",206,{"id":477,"name":478,"points":479,"category":480},"16962695","un0rick",199,"hardware",{"id":482,"name":483,"points":484,"category":485},"16948939","fdb-nbd",192,"infrastructure",{"id":487,"name":488,"points":489,"category":490},"16950040","fuzzy",186,"languages",{"id":492,"name":493,"points":494,"category":490},"16947038","SE Simulator",178,false,"v2",{"id":498,"name":5,"line":6,"ai":495,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":30,"top":18,"kw":499,"maker":11,"domain":10,"tier":19,"attempts":41,"strip":500,"url":9,"mix":501,"praise":110,"objection":129,"sub":21},16959550,[24,25,26,27,28],"3033133511330031130533335055355001135335",[32,33,34,35],1794036565614]