{"action":"created","issue":{"url":"https://api.github.com/repos/patacrep/patanet/issues/130","labels_url":"https://api.github.com/repos/patacrep/patanet/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/patacrep/patanet/issues/130/comments","events_url":"https://api.github.com/repos/patacrep/patanet/issues/130/events","html_url":"https://github.com/patacrep/patanet/issues/130","id":68140813,"number":130,"title":"Papersize selection","user":{"login":"oliverpool","id":3864879,"avatar_url":"https://avatars.githubusercontent.com/u/3864879?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverpool","html_url":"https://github.com/oliverpool","followers_url":"https://api.github.com/users/oliverpool/followers","following_url":"https://api.github.com/users/oliverpool/following{/other_user}","gists_url":"https://api.github.com/users/oliverpool/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverpool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverpool/subscriptions","organizations_url":"https://api.github.com/users/oliverpool/orgs","repos_url":"https://api.github.com/users/oliverpool/repos","events_url":"https://api.github.com/users/oliverpool/events{/privacy}","received_events_url":"https://api.github.com/users/oliverpool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-13T16:42:23Z","updated_at":"2015-04-27T11:14:33Z","closed_at":null,"body":"Evoqué dans #129, voici un sujet pour gérer la taille du papier pour l'impression\r\n\r\nPour la sélection du papier (A4, A5, A6, 16:9, 4:3 ...) je propose de créer une table dédiée du genre:\r\n- id\r\n- name\r\n- width\r\n- height\r\n- margin-top\r\n- margin-left\r\n- margin-bottom\r\n- margin-right\r\n- bindingoffset (pour la reliure en centre de carnet)\r\n- user (du même style que pour les mises-en-page : 0 = dispo pour tous les utilisateurs)\r\n\r\nIl faut faire attention à enregistrer au format portrait à chaque fois (l'orientation reste sélectionnée dans la mise en page).\r\n\r\nQu'en pensez-vous ?\r\n\r\nJe propose d'attendre le merge de #129 avant de commencer à coder cela."},"comment":{"url":"https://api.github.com/repos/patacrep/patanet/issues/comments/96611983","html_url":"https://github.com/patacrep/patanet/issues/130#issuecomment-96611983","issue_url":"https://api.github.com/repos/patacrep/patanet/issues/130","id":96611983,"user":{"login":"oliverpool","id":3864879,"avatar_url":"https://avatars.githubusercontent.com/u/3864879?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverpool","html_url":"https://github.com/oliverpool","followers_url":"https://api.github.com/users/oliverpool/followers","following_url":"https://api.github.com/users/oliverpool/following{/other_user}","gists_url":"https://api.github.com/users/oliverpool/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverpool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverpool/subscriptions","organizations_url":"https://api.github.com/users/oliverpool/orgs","repos_url":"https://api.github.com/users/oliverpool/repos","events_url":"https://api.github.com/users/oliverpool/events{/privacy}","received_events_url":"https://api.github.com/users/oliverpool/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T11:14:33Z","updated_at":"2015-04-27T11:14:33Z","body":"Voila par exemple des paramètres que j'ai utilisé il y a pas longtemps pour imprimer un carnet:\r\n\r\n```\r\n\\geometry{\r\n  total={148mm,210mm}\r\n  ,left=10mm\r\n  ,right=10mm\r\n  ,top=10mm\r\n  ,bottom=10mm\r\n  ,asymmetric\r\n  ,bindingoffset=20mm % space reserved to bound pages together\r\n}\r\n```\r\nTous les nombres (7) sont ceux que j'indique dans le premier messages.\r\n\r\nCa suppose aussi une mise-à-jour de patadata pour include cela dans le template."}}