Talk:Platform is the Problem/A test by Thijs

From XPUB & Lens-Based wiki
Revision as of 20:43, 8 November 2023 by Riviera (talk | contribs) (Created page with "'''23-11-08 @ 20:43''' Hi Thijs, Thanks for taking the time to test the repository. We haven’t had a chance to discuss in person so I’m opening up the discussion on this wiki page. I wanted to highlight that I found an interesting webpage on [https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/ Markdown and ConTeXt]. Seeing as you’ve installed ConTeXt I thought you might find it interesting. I need to take a more detailed look at it as it has mo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

23-11-08 @ 20:43

Hi Thijs,

Thanks for taking the time to test the repository. We haven’t had a chance to discuss in person so I’m opening up the discussion on this wiki page.

I wanted to highlight that I found an interesting webpage on Markdown and ConTeXt. Seeing as you’ve installed ConTeXt I thought you might find it interesting. I need to take a more detailed look at it as it has more detailed information about writing shell scripts for bash.

I do not have fish installed on my machine (I’m sorry Riviera). I am using bash intsall-context.fish instead of fish install-context.fish. No problems so far!

It’s okay, I forgive you! Good to know that bash install-context works without needing modification.

Running bash install-fonts.sh seems to download and install the fonts. However, I do get the following messages:

As you point out in your sneaky comeback you fixed the mtxrun not found issue. The command was not found because as you note at 21:46 on 23-11-06 the executables were not on the path. Curiously, there is no export command in fish. In various versions of fish one can use the fish_add_path command to add to the PATH variable. However, this is not the case in my version of fish so I have to take the scenic route. Certainly,

export PATH=/home/thijs/Applications/context/tex/texmf-linux-64/bin:$PATH

is the more convenient command. Do you think I should write ‘The Short Version’ for bash? This practice does seem commonplace…

When using open src/platform-is-the-problem I get an error message:

Apologies about that, open is implemented in fish. I wonder if xdg-open is better for automatic purposes.

21:32: Running bash compile.fish. I get the following error message:

compile.fish: line 29: syntax error near unexpected token `cd’

That’s an obscure error message. I’m glad that changing the for loop syntax fixed this.

21:47: I can now perform bash compile.fish! It returns a fatal error.

Oh dear. I noticed in your cheeky comeback that you ‘ran bash install-fonts.sh again and did not get the same message’. Have you tried running bash compile.fish since fixing this error? I have a feeling that the parser got confused because it could not find the fonts, linking back to the mtxrun error.

Thanks again,

Riviera