Example Library

Request updates to improve the manual, discussion of examples provided by ES3.

Example Library

Postby rwendner » Mon Jul 25, 2016 9:24 am

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.
rwendner
 
Posts: 154
Joined: Wed Jul 15, 2015 4:35 pm

Re: Example Library

Postby rwendner » Mon Jul 25, 2016 4:30 pm

Update:
Qs02 from the example library (gitlab version) does not run.
rwendner
 
Posts: 154
Joined: Wed Jul 15, 2015 4:35 pm

Re: Example Library

Postby zhouxinwei » Mon Jul 25, 2016 8:29 pm

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).
zhouxinwei
 
Posts: 208
Joined: Thu Jul 09, 2015 7:12 pm

Re: Example Library

Postby rwendner » Mon Jul 25, 2016 8:55 pm

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.
rwendner
 
Posts: 154
Joined: Wed Jul 15, 2015 4:35 pm

Re: Example Library

Postby zhouxinwei » Mon Jul 25, 2016 9:15 pm

It seems gs is not found. Is it installed? what does "which gs" and "gs" print?
zhouxinwei
 
Posts: 208
Joined: Thu Jul 09, 2015 7:12 pm

Re: Example Library

Postby rwendner » Mon Jul 25, 2016 9:45 pm

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.
rwendner
 
Posts: 154
Joined: Wed Jul 15, 2015 4:35 pm


Return to User Manual and Examples

Who is online

Users browsing this forum: No registered users and 1 guest

cron