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

Use a .cfg file team-specific l3doc settings #423

Open
josephwright opened this issue Dec 6, 2017 · 12 comments
Open

Use a .cfg file team-specific l3doc settings #423

josephwright opened this issue Dec 6, 2017 · 12 comments
Labels
enhancement New feature or request l3doc

Comments

@josephwright
Copy link
Member

Currently some of l3doc is very much specific to the team. Ideally, that would be split out into a .cfg file. Probably any move in this direction will need two copies of the file

  • One in l3kernel, so it can go to CTAN
  • One in support, so that it is accessible to l3packages/l3experimental

Alternatively, some way of having the file appear once and be used in several modules will need to be worked out. That may lead to an l3build issue.

@josephwright josephwright self-assigned this Dec 6, 2017
@josephwright
Copy link
Member Author

I'm self-assigning as the issue is as much the build set up as the .cfg file. Input on what should go into it is most welcome!

@wspr
Copy link
Contributor

wspr commented Dec 6, 2017

I should have kept #412 open :)

If we put the .cfg file on CTAN it needs to go under doc/ so that it's not picked up by 3rd party users. I'm not sure why we need two copies? Isn't l3kernel a dependency of l3packages/l3experimental? Oh, I see that they are not.

Maybe this is another reason to move l3doc into its own location, so that it can be a dependency on the others!

@FrankMittelbach
Copy link
Member

I don't like that idea. In my opinion a config file should ony config something it should not be required to run something. If we put code out of l3doc that we need run ourkernel sources it should not be in the cfg and that in some special directory. that would mean you can only run the doc with either the cfg copied or in a special directory which I think is counterproductive.

@josephwright
Copy link
Member Author

It occurs to me @wspr is right: a stand-alone .cfg in l3kernel would work fine across the board. (The issue before was having a .cfg extracted from the .dtx: that is more tricky to support). @FrankMittelbach I'm not sure if that affects your view.

@FrankMittelbach
Copy link
Member

FrankMittelbach commented Dec 6, 2017 via email

@blefloch
Copy link
Member

blefloch commented Dec 6, 2017 via email

@FrankMittelbach
Copy link
Member

FrankMittelbach commented Dec 6, 2017 via email

@wspr
Copy link
Contributor

wspr commented Dec 6, 2017

I'm happy with the idea of a .tex file installed wherever l3doc is. (I guess (?) it shouldn't contain ‘l3kernel’ since we want to use it for l3packages and so on.)

@josephwright
Copy link
Member Author

@wspr l3doc-latex3.tex?

@wspr
Copy link
Contributor

wspr commented Dec 6, 2017

@josephwright I guess so... Or l3doc-latex3-support.tex or l3doc-latex3-preamble.tex to make it a bit more obvious that it's just a preamble thing?

@FrankMittelbach
Copy link
Member

FrankMittelbach commented Dec 6, 2017 via email

@FrankMittelbach
Copy link
Member

or l3doc-l3team-preamble.tex % like Will's preamble idea

@josephwright josephwright added the enhancement New feature or request label Sep 30, 2018
@josephwright josephwright removed their assignment May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request l3doc
Projects
No open projects
Development

No branches or pull requests

4 participants