Page 1 of 1

Example Library

PostPosted: Mon Jul 25, 2016 9:24 am
by rwendner
Please provide some guidance on how you want to handle the example library in the future.

The pdf of the library can be found at the ES3 webpage under resources.
The version that can be downloaded there is dated April 30, 2012. However, the PDF is the only file available there, i.e. the example *.mrs files are not provided.
I suggest to make a compressed file with all the inputs available, either here or through the forum.

The gitlab MARS-Examples repository contains some examples. The latest push was in Nov 2015 - around the time of the major changes in the input file. More recent changes are probably not reflected in the examples.
I suggest keeping the Example library in gitlab up to date - so everyone can push minor changes / updates to the mrs and tex files.
The X-LDPM example folders are in gitlab but don't show up in the generated ExampleLibrary. The other examples collected in the fall are not there.
Meanwhile we have new examples for three point bending, wedge splitting,....

Please inform us about the new work flow.

Re: Example Library

PostPosted: Mon Jul 25, 2016 4:30 pm
by rwendner
Update:
Qs02 from the example library (gitlab version) does not run.

Re: Example Library

PostPosted: Mon Jul 25, 2016 8:29 pm
by zhouxinwei
The example library in GitLab is updated. Please refer the documentation for instructions about how to add new examples.

Our collaborators can refer GitLab for the latest examples.

General users can download the example package from http://mars.es3inc.com/protected/MARS/Examples/ (an ES3 account is need).

Re: Example Library

PostPosted: Mon Jul 25, 2016 8:55 pm
by rwendner
Thanks for the update.

However, I can not compile the new example library.
I get the following errors:

Processing: LDPM01-3PBT/example.tex

Including: LDPM01-3PBT/model.png
Including: LDPM01-3PBT/result1.png
!!! Error: Cannot open Ghostscript for piped input: gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=LDPM01-3PBT/result2-eps-converted-to.pdf -dPDFSETTINGS#/prepress -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoRotatePages#/None - -c quit

Latex Error: ./LDPM01-3PBT/example.tex:35 Package pdftex.def Error: File `LDPM01-3PBT/result2-eps-converted-to.pdf' not found.

Processing: LDPM02-Brazilian/example.tex

Including: LDPM02-Brazilian/model.png
Including: LDPM02-Brazilian/result1.png
Processing: LDPM03-UnconfinedCompression/example.tex

Including: LDPM03-UnconfinedCompression/model.png
Including: LDPM03-UnconfinedCompression/result1.png
!!! Error: Cannot open Ghostscript for piped input: gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=LDPM03-UnconfinedCompression/result2-eps-converted-to.pdf -dPDFSETTINGS#/prepress -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoRotatePages#/None - -c quit

LaTeX Warning: `!h' float specifier changed to `!ht'.

Latex Error: ./LDPM03-UnconfinedCompression/example.tex:34 Package pdftex.def Error: File `LDPM03-UnconfinedCompression/result2-eps-converted-to.pdf' not found.

Re: Example Library

PostPosted: Mon Jul 25, 2016 9:15 pm
by zhouxinwei
It seems gs is not found. Is it installed? what does "which gs" and "gs" print?

Re: Example Library

PostPosted: Mon Jul 25, 2016 9:45 pm
by rwendner
which gs
/usr/local/bin/gs

gs
GPL Ghostscript 9.19 (2016-03-23)
Copyright (C) 2016 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.