Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New authoring format for tutorials? #93

Open
briantoby opened this issue Nov 6, 2024 · 2 comments
Open

New authoring format for tutorials? #93

briantoby opened this issue Nov 6, 2024 · 2 comments
Labels
discussion enhancement New feature or request question Further information is requested

Comments

@briantoby
Copy link
Collaborator

Right now tutorials are written in Word and then saved as HTML files into the tutorials repository. The files are hard to manage; the Word generated HTML is really, really ugly; Word has a tendency to renumber all the graphics.

It would be great to have an ASCII-based format (well Unicode really) that supports figure inclusion and math for creation of Web content. Markdown sounds like a good choice. Some structure is needed to generate the content from Markdown assuming we go with that, but integrate the new content with the old.

@briantoby
Copy link
Collaborator Author

briantoby commented Nov 6, 2024

While thinking about tutorials, they really need to have some keywords assigned, so that one knows where to look for some of the "side" examples, like reading from a zip or constraining phase fraction sums (etc.). Then an index & search capability in the wx tutorial browser (or perhaps data downloads could be added into the integrated web browser.)

  • could add keywords into tutorialIndex in tutorialIndex.py; would need to review code that uses that (see makeGitTutorial.py and tutorialCatalog generation in GSASIIctrlGUI.py)

@briantoby briantoby changed the title New authoriing format for tutorials? New authoring format for tutorials? Nov 8, 2024
@briantoby briantoby added enhancement New feature or request question Further information is requested discussion labels Nov 8, 2024
@briantoby
Copy link
Collaborator Author

Plan is that we will create a tutorial in markdown and then use pandocs or similar to create a web page from that. Need to also think about creating the data directory with files for user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant