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

language-px or language-pcaxis #1939

Closed
CSOIreland opened this issue Jun 10, 2019 · 4 comments · Fixed by #1940
Closed

language-px or language-pcaxis #1939

CSOIreland opened this issue Jun 10, 2019 · 4 comments · Fixed by #1940

Comments

@CSOIreland
Copy link

Language
Several statistical organisations around the World are using a data format called "px".
The formatting of this data format works fine by using the "language-clike".
Is it possible to add the alias language-px or language-pcaxis for language-clike so that others can find it?

Additional resources
The PX format is maintained by the PcAxis community, led by the Nordic countries.
You can find the PX format documentation in the official website of Statistics Sweden: https://www.scb.se/en/services/statistical-programs-for-px-files/px-file-format/

Thank you!

@CSOIreland
Copy link
Author

P.S.
Please find attached a sample file.
I just had to change the extension from .px to .txt in order to upload it here.
Cheers

px-sample.txt

@RunDevelopment
Copy link
Member

RunDevelopment commented Jun 11, 2019

@CSOIreland
Do I see this correctly that your example isn't valid PX because DATA doesn't end with a semicolon?

Edit:
Nevermind. Seems like the semicolon of DATA is optional.

@CSOIreland
Copy link
Author

That's great, thank you very much!
Sorry to ask, but how can I start using it? I cannot see it in the download page: https://prismjs.com/download.html

Thanks again

@RunDevelopment
Copy link
Member

You can download a Prism version with PX support as soon as #1940 is merged.
But it might take up to 2 weeks (at most) until we do so because it needs to be reviewed.

If you need it right now, you can download my branch, start a local server, and use the local download page.

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

Successfully merging a pull request may close this issue.

1 participant