Skip to content

Commit 4fa8c4a

Browse files
committed
WIP: update Readme.md
1 parent 3182acd commit 4fa8c4a

File tree

1 file changed

+47
-50
lines changed

1 file changed

+47
-50
lines changed

README.md

Lines changed: 47 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
1-
# Current Status: Alpha
1+
Current Status: **Alpha**.
22
This repo is still being built and rebuilt as we develop a solid testing bed for Ximera.
33

4-
This repo contains the test documents for Ximera development.
5-
It also contains minimal examples and syntax for the Ximera commands, environments, etc.
6-
However, for a much in-depth treatment of Ximera commands, environments, etc you should
7-
refer to the [Ximera User Manual](https://github.com/XimeraProject/ximeraManuals/releases), which explains things in more detail and in a more user friendly way.
4+
# Purpose/content
5+
This repo contains tests for Ximera development,
6+
and thus also contains basic, advanced and border usecases for the Ximera commands, environments, etc.
7+
8+
For a user friendly overview of Ximera refer to the [Ximera User Manual](https://github.com/XimeraProject/ximeraManuals/releases).
9+
10+
11+
The content of this repo is published at:
12+
13+
* [KU Leuven](https://set-p-dsb-zomercursus-latest.cloud-ext.icts.kuleuven.be/ximeraexamples/coreXimeraFeatures/environments/theoremEnvironments).
14+
* [OSU](https://ximera.osu.edu/ximeraexamples).
15+
* [UF](https://test.xronos.clas.ufl.edu/ximeraExamples) (Link still pending - dummy link entered)
16+
Note you can always get the TeX-code by appending .tex to the URL of an activity.
17+
818

919
## Vocabulary:
10-
**In this repo we use the following terminology**
20+
**This repo uses the following terminology**
1121
1) ``elements`` refers to LaTeX commands, environments, macros, etc that are defined in a specific dtx file.
1222
e.g. the ``problem``, ``question``, ``exploration``, and ``exercise`` are all environments
1323
defined in the problem.dtx file. These would collectively be called ``elements of problem.dtx``.
@@ -17,36 +27,36 @@ refer to the [Ximera User Manual](https://github.com/XimeraProject/ximeraManuals
1727
commands/hooks are (re)defined in the dtx content other than the outcomes.dtx, we would say that
1828
the outcome commands are ``touched`` by that dtx file (e.g. in options due to class options).
1929

20-
# General Structure and Intent of this Repo
21-
2230
## Quick Structure Outline
2331

24-
- .devcontainer folder (For development - if you don't know what this does, then don't touch this).
25-
- ``docker-compose.yml`` (Contains the images for ximeraLatex and local server version choices).
26-
- .github, .vscode, and xmScripts folders (To make codespaces work as intended, don't touch these).
27-
- compositeTests (for tests of interactions between different dtx file contents, see README in folder.)
28-
- (composite Test) Folder (folder named for composite testing case).
29-
- ``(composite Test)Xourse.tex`` (xourse for the composite test - may also load tests from dtxTests folder).
30-
- ``variousdtxTests.tex`` (test files for the composite test - should be named for the individual elements of test when possible e.g. ``refToProblemLabel.tex`` and/or ``refToTheoremLabel.tex``)
31-
- dtxTests
32-
- Depreciated (for content that is being removed in a future release, see README in folder)
33-
- Hardcoded (for content that is not testable, like macros. Included so we can easily verify all dtx files are accounted for.)
34-
- (DTXFileName) Folder
32+
- `dtxTests` for tests-per-Ximera-dtx-source-file, with subfolders
33+
- `Deprecated` for content that is being removed in a future release, see README in folder
34+
- `Hardcoded` for content that is not testable, like macros. Included so we can easily verify all dtx files are accounted for.
35+
- `(DTXFileName)` subfolder for each `(DTXFileName).dtx`, with
3536
- ``(DTXFileName).tex file`` (e.g. problem.tex) which contains the most basic tests for the dtx file content.
36-
- ``(Additional Testing Feature).tex`` (e.g. ``nesting.tex`` or ``numbering.tex`` in the "problem folder").
37+
- ``(Additional Testing Feature).tex`` (e.g. ``nesting.tex`` or ``numbering.tex`` in the `problem` folder).
3738
- ``(dtxFileName)Test.tex`` is the xourse that tests (dtxFileName) dtx file.
38-
- savedArchive (Contains old test files/content not in current use).
39-
- Templates (Contains templates for adding new files).
40-
- xmPictures
41-
- xmScripts (For development - if you don't know what this does, then don't touch this).
42-
- config.txt (For changing target url, name, port, etc. For development/testing).
43-
- global.css (The css code loaded in addition to the server base css).
44-
45-
## Important Folders At A Glance
46-
47-
### dtxTests Folder
48-
The dtxTests folder contains a subfolder for every dtx file in the ximera package
49-
(some may be inside the Hardcoded or Depreciated subfolders)
39+
- `compositeTests` folder for tests of interactions between different dtx file contents, see README in folder.
40+
- `(composite Test)` folder named for composite testing case.
41+
- ``(composite Test)Xourse.tex`` (xourse for the composite test - may also load tests from dtxTests folder).
42+
- ``variousdtxTests.tex`` (test files for the composite test - should be named for the individual elements of test when possible e.g. ``refToProblemLabel.tex`` and/or ``refToTheoremLabel.tex``)
43+
- `savedArchive` contains old test files/content not in current use.
44+
- `Templates` contains templates for adding new files.
45+
46+
The repo also has following base Ximera folders and files:
47+
- `.devcontainer` folder for devcontain er/Codespace setup, with
48+
- ``docker-compose.yml`` for the images of ximeraLatex and local server version.
49+
- `.github` for Github Actions,
50+
- `.vscode` for VS Code settings
51+
- `xmPictures` for included pictures
52+
- `xmScripts` for the xmlatex build setup
53+
- `config.txt` for target url, name, port, etc. For development/testing.
54+
- `global.css` for extra online CSS styling (in addition to the server base css).
55+
56+
57+
### dtxTests Folder at a glance
58+
The `dtxTests` folder contains a subfolder for every dtx file in the ximera package
59+
(some may be inside the Hardcoded or Deprecated subfolders)
5060
Each subfolder contains a tex file with the same name as the dtx folder.
5161
This is the basic test for all of the default uses of the elements, so
5262
``problem.tex`` contains all the basic use cases that are tested for the problem environment.
@@ -57,14 +67,12 @@ additional use cases for elements being tested. Most commonly this would be test
5767
of things like optional arguments, nesting (environments, mathmode, etc), and/or different types of
5868
input inside the tested element.
5969

60-
Finally, each subfolder should have a tex file named after the dtx file being tested, appended
61-
with ``Xourse``, e.g. the problem subfolder would have a file named ``problemXourse.tex`` which
62-
is the xourse documentclass file that loads all the relevant test files for that dtx file.
70+
Finally, each subfolder should have a `xourse.tex` file that loads all the relevant test files for that dtx file.
6371

6472
### compositeTests Folder at a glance
65-
The compositeTests folder contains files and xourses that tests to verify how elements
73+
The compositeTests folder contains files and xourses to verify how elements
6674
in different dtx files interact with each other.
67-
Each composite test set should be in a subfolder of the compiteTests folder, where that
75+
Each composite test set should be in a subfolder of the compositeTests folder, where that
6876
subfolder has a name that reflects the nature of what the composite test is testing,
6977
e.g. a composite test for how sagemath commands interacts with various environments could be named
7078
something like ``sageInteraction`` or ``sageInEnvironments``.
@@ -114,10 +122,10 @@ in the subfolder that test these other relevant aspects, each named after whatev
114122
''nesting'' for testing the numbering scheme and nesting behavior inside the problem subfolder in the dtxTests folder
115123
respectively).
116124

117-
## When Preambles are Necessary
125+
## Use of Preambles
118126
Some specific test files/xourses need to load specific options or alternative files as part of their
119127
testing (e.g. the graphics testing file needs to input graphics, and set graphics paths in the preamble). When this is
120-
necessary, **do note use the xmpreamble** for the test repo - instead you should make a preamble with the relevant test
128+
necessary, **do note change the xmPreamble** of the test repo - instead you should make a preamble with the relevant test
121129
file (or xourse as appropriate) name, appended with ''Preamble'' - e.g. ''imagePreamble.tex'' is the preamble file
122130
for the image.tex test file.
123131
Similarly, some specific elements have (intended) different behavior depending on server source (e.g. UF, OSU, KL, etc).
@@ -181,16 +189,5 @@ Moreover, there are also depreciated dtx files - those dtx files whose contents
181189
and they do not require testing. These are separated into a ``Depreciated`` subfolder inside the dtxTests folder.
182190

183191

184-
# Public Publishing Locations
185-
186-
Content from this repo is published publically for others to see, and link to. This is mostly as a quick-ref demo resource
187-
for authors, but can be used by anyone - it is publically available after all. You can find these servers here:
188-
189-
* at [KU Leuven](https://set-p-dsb-zomercursus-latest.cloud-ext.icts.kuleuven.be/ximeraexamples/coreXimeraFeatures/environments/theoremEnvironments).
190-
* at [OSU](https://ximera.osu.edu/ximeraexamples).
191-
* at [UF](https://test.xronos.clas.ufl.edu/ximeraExamples) (Link still pending - dummy link entered)
192-
Note you can always get the TeX-code by appending .tex to the URL of an activity.
193-
194-
195192
<!-- A more detailed description of how to use this repo for testing is in the [README_testing](README_testing.md) -->
196193

0 commit comments

Comments
 (0)