Skip to content

AI Documentation revamp - DRAFT - #2592

Open
willend wants to merge 48 commits into
mainfrom
doc-revamp-draft
Open

AI Documentation revamp - DRAFT#2592
willend wants to merge 48 commits into
mainfrom
doc-revamp-draft

Conversation

@willend

@willend willend commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Free-form text area

Please describe what your PR is adding in terms of features or bugfixes:


Declaration of use of AI-tools

  • Please add a checkmark here if you used AI-tools during the work for this contribution
  • Furter, please describe how / where and for what the tools were used:

I’ve used Claude to double-check static TeX code against component headers (and generated .tex tables).

Also, the parameter unit column was partially vetted and e.g. Å used for AA / Angs / Ang etc. superscript (e.g. ^2) has been converted to LaTeX superscript in the manuals.

The components were touched header-wise to enable coherence wrt. the units.

An updated (DRAFT) set of improved manuals are included with this PR (would still need updated version numbers etc.)


Development OS / boundary conditions

Please describe what OS you developed and tested your additions on, and if any special dependencies are required:


PR Checklist for contributing to McStas/McXtrace

For a coherent and useful contribution to McStas/McXtrace, please fill in relevant parts of the checklist:

  • My contribution includes patches to an existing component file

  • My contribution contains something else

    • Explanation is added in free form text above or below the checklist

willend and others added 28 commits August 6, 2026 15:24
Based on
* the two attached McStas usage articles from JNR
* the LeX/Yacc grammar definitions and cogen.c in McCode/mccode/src
* the mcstas example instruments in McCode/mcstas-comps/examples
* the component files in McCode/mcstas-comps/*/*.comp
* the commandline interfaces mcrun, mcplot, mcdisplay etc in tools/Python
please suggest revisions to update the McStas TeX documentation available in McCode/doc/manuals/mcstas

McCode above is my shorthand for this repo location that I gave you file+system access to:

[path on my system]
@willend

willend commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

The failures are a mix of

  1. exeeded time-limit due to the many changes in this PR
  2. values being off in Test_Powders (also seen in the nightlies)

Now running a set of “nighlies” from this branch to get a more coherent picture.

@willend

willend commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Handheld McXtrace ‘nightly’ output from this branch
https://tmp.mcxtrace.org/mcxtrace-nightly-handheld-20260810/mcxtrace-nightly_output.html

@willend

willend commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Here is a McStas ‘nightly’ run based on this PR / branch
https://tmp.mcstas.org/mcstas-nightly-handheld-20260810/mcstas-nightly_output.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants