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

5 - poster and presentation #7

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions article/latex/midl.cls
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,8 @@
\@midl@check@packages
\let\@midl@check@packages\relax
}

\renewcommand*{\@titlefoot}{\scriptsize\copyright\space\@jmlryear\space \href{https://creativecommons.org/licenses/by/4.0/}{CC-BY 4.0},%
\space\@jmlr@authors.\hfill
\@reprint
}
20 changes: 20 additions & 0 deletions poster/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Poster

## Edition
* For cropping images: create a rectangue and overlay with your image, you can then make use of "Object>Clip>Set" to crop images.
* For scaling images: Make use of the lock icon "When locked change both width and height by the same proportion"

## Rendering PDF in inkscape
1. Open poster:
inkscape $HOME/repositories/budai4medtech/midl2023/poster/resources/vectors/drawing-v**.svg


2. GO TO PRINT
3. RENDERING>BITMAP (300dpi default)
4. PRINT

## converting pdf to image
```
convert -verbose -density 50 -trim print_version_A0.pdf -quality 100 -flatten -sharpen 0x1.0 finalversion_jpg.jpg
```

55 changes: 55 additions & 0 deletions poster/design/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
OS_VERSION:=$(shell lsb_release -a 2>/dev/null | grep Description | awk '{ print $$2 "-" $$3 }')
$(eval $(shell grep VERSION_ID /etc/os-release))
#ifeq ($(VERSION_ID), 22.04)
ifeq ($(OS_VERSION), Ubuntu-22.04.1)
EXPORT_ID = --export-png
else
EXPORT_ID = --export-filename
endif
# https://stackoverflow.com/questions/714100/os-detecting-makefile
DPI = 20
#DPI = 200
INKSCAPE?=inkscape --export-dpi=$(DPI) $(EXPORT_ID)


#dPDFSETTINGS=screen #lower quality, smaller size. (72 dpi)
#dPDFSETTINGS=ebook #for better quality, but slightly larger pdfs. (150 dpi)
#dPDFSETTINGS=prepress #output similar to Acrobat Distiller "Prepress Optimized" setting (300 dpi)
#dPDFSETTINGS=printer #selects output similar to the Acrobat Distiller "Print Optimized" setting (300 dpi)
dPDFSETTINGS=default #selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file

GS?=gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$(dPDFSETTINGS) -dNOPAUSE -dQUIET -dBATCH -sOutputFile=

FIGURES_SVG=$(wildcard vectors/*.svg)
FIGURES_PNG=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.png))
FIGURES_PDF=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.pdf))
FIGURES_PDF_REDUCED_SIZE=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=_reduced_size.pdf))

# Pattern rule for converting SVG to PNG and PDF
png: $(FIGURES_PNG)
outputs/%.png: vectors/%.svg
$(INKSCAPE) $(@) $(<)

pdf: $(FIGURES_PDF)
outputs/%.pdf: vectors/%.svg
$(INKSCAPE) $(@) $(<)

edit:
inkscape $(FIGURES_SVG)

view-png:
eog $(FIGURES_PNG)

view-pdf:
evince $(FIGURES_PDF)

reduce-pdf-size:
$(GS)$(FIGURES_PDF_REDUCED_SIZE) $(FIGURES_PDF)

clean: ## output figure files
rm -f $(FIGURES_PNG) $(FIGURES_PDF) outputs/*.pdf

test:
echo $(VERSION_ID)
echo $(OS_VERSION)
echo $(EXPORT_ID)
21 changes: 21 additions & 0 deletions poster/design/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Vector figures

## Notes

## Usage
* save images, create svg files
```
make png #or make pdf
eog versions/drawing-v$NN.png
inkscape vector/drawing-v$NN.svg
```
where `$NN` is the version of the drawing.

## Download template
Open a terminal and type:
```
cd ~/Desktop &&svn checkout https://github.com/mxochicale/images/trunk/00_template-vector-images
cd 00_template-vector-images && rm -rf .svn
```

Reference: [:link:](https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo)
Binary file added poster/design/outputs/drawing-v00.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions poster/design/references/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# References


Loading