Git Product home page Git Product logo

semantics2017-posters's Introduction

SEMANTiCS2017-posters

This repository includes all accepted papers at the P&D track at SEMANTiCS 2017.

Camera ready papers are published in the Research Articles in Simplified HTML (RASH) format, which allows one to easily prepare a scientific paper in HTML. It is composed by a few of the available HTML tags. In addition, it supports RDF annotations by means of Turtle, JSON-LD, RDF/XML, and RDFa.

How to produce HTML (RASH) papers

See the SEMANTiCS HTML Submission Guideline.

How to process RASH to generate a Javascript-free HTML5 (for CEUR publication)

  1. Save file as pure HTML

We use Firefox and its Web developer Toolbar.

  • Open the HTML file and select View Source/View Generated Source
  • Save the result
  • Remove the unnecessary final footer (it does not provide any functionality now), that is:
<footer class="footer hidden-print cgen" data-rash-original-content=""><p><span>Words: 760</span><span>Figures: 0</span><span>Tables: 0</span><span>Formulas: 0</span><span>Listings: 0</span></p><div class="btn-group dropup"><button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false" onclick="$(this).toggleCSS()">Layout: <span id="layoutselection">Web-based</span><span class="caret"></span></button><ul class="dropdown-menu" role="menu"><li><a href="#rash_web_based_layout" onclick="$(this).changeCSS('#rash_web_based_layout')">Web-based</a></li><li><a href="#rash_lncs_layout" onclick="$(this).changeCSS('#rash_lncs_layout')">Springer LNCS</a></li></ul></div><p></p></footer>
  1. Adapt the text to pass the HTML 5 validation: https://validator.w3.org
  • Remove all references to javascript. That is, remove:
<script src="js/jquery.min.js"> </script>
<script src="js/bootstrap.min.js"> </script>
<script src="js/rash.js"> </script>
<script id="" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>
  • Add to the beginning the HTML declaration:
<!DOCTYPE HTML>
  • Fix the footnotes: The links of footnotes are nested, which is not accepted. One can find something like:
<a href="#ftn0"><sup class="fn cgen" data-rash-original-content=" "><a name="fn_pointer_ftn0" title="Footnote 1: https://www.big-data-europe.eu/">1</a></sup></a> 

This should be replaced with (note that the outter link is removed, the href property is included in the inner link and the name property is replaced by an id property):

<sup class="fn cgen" data-rash-original-content=" "><a href="#ftn1" id="fn_pointer_ftn1" title="Footnote 2: https://www.big-data-europe.eu/">2</a></sup>
  1. Change roles with classes

There are validations errors regarding the doc-* roles. All the doc-* roles comes from the DPUB-ARIA specification: https://www.w3.org/TR/dpub-aria-1.0/, which would be soon a candidate recommendation and included in the validator.

Until then, one could do the following procedure to be safe of errors:

  • In the HTML file, replace all occurrences of role= with class= in HTML tags (essentially, section and li tags)

  • In the css/rash.css file, replace all occurrences of role= with class=

Above steps with a script

Use the toCEUR.py for doing the steps above

python2.7 toCEUR.py <path/to/input/folder> <path/to/output/folder>

Input folder with the final.html (as generated source from firefox)

Python dependencies:

pip2.7 install bs4

Validate produced HTML5

nu validator

java -jar vnu.jar <path/to/html/file>

w3c validator script

./w3cvalidate.sh <path/to/html/file>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.