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

Example tex / pdf #2

Open
tbeu opened this issue Mar 6, 2014 · 7 comments
Open

Example tex / pdf #2

tbeu opened this issue Mar 6, 2014 · 7 comments

Comments

@tbeu
Copy link

tbeu commented Mar 6, 2014

Would be nice to have an example tex file. Would be also good if it could work on http://tex.mendelu.cz/en but then the \input{} should already be resolved.

@dietmarw
Copy link
Contributor

dietmarw commented Mar 7, 2014

In order to get it to work on the online editor you mention, you would need to paste the content of listings-modelica.cfg directly into the preamble. There are a couple of other online LaTeX editors around, some of which might allow you actually to load some additional files. Not sure.

The example is definitely something that should be added. Also in order to have a test case available to check all features.

@thorade
Copy link

thorade commented Mar 10, 2014

Regarding the online LaTeX editors, take a look at this nice list:
http://tex.stackexchange.com/a/1654/8569

@thorade
Copy link

thorade commented Mar 10, 2014

I created a very simple example here:
https://www.sharelatex.com/project/531dd76df8c27db47b003314?r=edb43c22&rs=ps&rm=d
I used sharelatex.com because I already had an account, because the sourcecode is available on github (see @sharelatex ) and because they allow to upload & include or input the .cfg file.

@dietmarw I added you as collaborator, feel free to edit the example or to add it to github & delete the online example.

@Sonyoyo
Copy link

Sonyoyo commented Nov 12, 2022

Hello,
I tried your example (hosted on OverLeaf) and it workes fine. However, I tried to reproduce the same document (same latex code) on another OverLeaf project with the listings-modelica.cfg available on GitHub : I have got several errors. I suppose that the two versions of listing-modelica.cfg are different... (or I am missing something else).
Thanks in advance for your help.

@dietmarw
Copy link
Contributor

@thorade What do you think of updating the Overleaf example to the latest version and then just linking to it in the README?

@thorade
Copy link

thorade commented Nov 14, 2022

Since creating that simple example, sharelatex has merged with overleaf and I cannot login to that because my account expired, or I never had one. So, I cannot modify the example that I linked unfortunately. But it should be possible to just copy paste the latest cfg file and the code from my example to a NEW example on overleaf. I read the comment by Sonyoyo like he tried exactly that, but it fails!?

@thorade
Copy link

thorade commented Nov 14, 2022

I now managed to reset my passwords and uploaded the latest cfg file, and for me the example still works.

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

4 participants