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

Password print: custom latex templates are not selectable #248

Open
lemertens opened this issue Sep 8, 2022 · 2 comments
Open

Password print: custom latex templates are not selectable #248

lemertens opened this issue Sep 8, 2022 · 2 comments
Assignees

Comments

@lemertens
Copy link

The documentation of sophomorix-print states that customized latex templates are to be placed in

/etc/linuxmuster/sophomorix/<school>/latex-templates

but those templates are not shown in the corresponding drop-down box when printing password If the same files are put into

/usr/share/sophomorix/lang/latex/templates

they are visible so i suspect that the directory in /etc/linuxmuster.... is not read when populating the drop-down box

@kiarn
Copy link
Member

kiarn commented Sep 8, 2022

Hello @lemertens

The path /etc/linuxmuster/sophomorix//latex-templates is read :

custom_templates_path = f'/etc/linuxmuster/sophomorix/{school}/latex-templates/'

I suspect here a simple name conflict, I will have a look at it when I find some time.

Arnaud

@kiarn
Copy link
Member

kiarn commented Sep 11, 2022

Hello @lemertens

Wait a minute, I think I miss an information : do you mean printing passwords as admin or as teacher ?
In the teacher view, the teachers are not able to select a template, they always use the configured one ( in settings ).

Arnaud

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

No branches or pull requests

2 participants