HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pyjamafish

no profile record

Submissions

Using a built-in binding that's shadowed

fishersun.com
1 points·by pyjamafish·2 tahun yang lalu·0 comments

I don't always use LaTeX, but when I do, I compile to HTML (2013)

peterkrautzberger.org
204 points·by pyjamafish·2 tahun yang lalu·148 comments

comments

pyjamafish
·10 bulan yang lalu·discuss
Ah, the infamous public static void main(String[] args). Hopefully the next generation won’t need to learn all those concepts up front with the introduction of instance main methods in Java 25.

https://openjdk.org/jeps/512
pyjamafish
·2 tahun yang lalu·discuss
I wish I had known about ixnay earlier! I also got annoyed of the user experience, to the point where I also wrote my own tool, hdn: https://github.com/seasonedfish/hdn

I added a mention of ixnay to its readme :)
pyjamafish
·2 tahun yang lalu·discuss


  Location: St. Louis, MO
  Remote: Yes, hybrid and in-person OK too
  Willing to relocate: Yes
  Technologies: Python, TypeScript, JavaScript, HTML, CSS, Go, Linux
  Résumé/CV: [1]
  Email: [email protected]
  
Hello, I'm Fisher. I'm a rising senior in CS looking for a co-op/internship for the fall. My experience is in web dev (both backend and frontend), data processing with Python, command-line tools, and unit testing. I'm passionate about creating reliable, easy-to-use software.

If my experience aligns with your needs, please shoot me an email!

[1]: https://www.fishersun.com/portfolio/
pyjamafish
·2 tahun yang lalu·discuss


    Location: St. Louis, US
    Remote: Yes
    Willing to relocate: No
    Technologies: Python, TypeScript, HTML/CSS, SQL, Go, Linux
    Résumé/CV: https://seasonedfish.github.io/resume/yu-fisher-sun-resume.pdf
    Email: [email protected]
Hello, I'm Fisher. I'm a third-year CS student looking for part-time freelance/contracting work. My experience is in web dev (both backend and frontend), data processing with Python, command-line tools, and unit testing. I'm passionate about creating reliable, easy-to-use software.

If my experience aligns with your needs, please shoot me an email!
pyjamafish
·2 tahun yang lalu·discuss
Yes! I was surprised too. It's a cool hidden mechanic of HN, the second chance pool[1].

[1]: https://news.ycombinator.com/item?id=26998308
pyjamafish
·2 tahun yang lalu·discuss
I don't know if there's an advantage, haha. It was just the first thing that came to mind.

Looks like a pipe is also supported; you just need to pass `-` as the name of the file to `latexmlpost`.

    latexml mydoc.tex | latexmlpost --dest=mydoc.html --format=html5 -
pyjamafish
·2 tahun yang lalu·discuss
So, I originally posted this last year. When I posted it, I was using tectonic as my LaTeX compiler, and since it didn't support HTML output yet, I didn't actually try the article's suggestion.

Today, when I saw that I got an invitation to repost this article from the mods, I thought I'd take the time to try it out.

The two commands that the article suggests can be combined into one:

    latexmlpost --dest=mydoc.html --format=html5 <(latexml mydoc.tex)

I did a comparison[1] of pdflatex and latexml using some old assignments, and it looks like compiling to HTML isn't fully there yet: the spacing was off in some places, and manual line breaks didn't work. But, I remain hopeful. If this gets polished, viewing LaTeX documents on phones would be much nicer.

[1]: https://imgur.com/a/yyyXWL8