 So, gutmorning, ladies and goodmorning gentlemen, welcome to our second day at Debkoch 5 in Helsinki. this morning I have the pleasure to introduce to you Andreas Trille, mostly known for his work for custom Debian Distributions. This time he will tell you something about Latich Bhima and how to create nice presentations using this tool. So, welcome and good morning. Yes, thank you. I think basically my task will be to keep you awake in the early morning So, I hope that this presentation, which is not so very important, but nice to have perhaps will serve this task to get you all the first hours of the day. Well, the reason why I thought it a good idea to make a talk about Latich Bhima is because I am quite a stupid user by myself and I always need some people who just point me to some reasonable programs. And now I want to take over the role and point you to this Latich Bhima because I thought it is quite reasonable. I was formerly quite happy user of Magic Point and at some point in time I have seen some drawbacks and I wanted to come over to these drawbacks and somebody pointed me to Latich Bhima and so I will do the same now for today. Please, the title is appealing applications with Latich Bhima. This what you see now is not really appealing, but I just want to try to show you some features which are possible but not always the ones you should do for honest presentations. I have some examples prepared, which I want to show you from my own talks. One of them I will show you today in the afternoon and well, now let's start with the presentation. One nice feature of Latich Bhima is it creates a table of contents for you and here you see what I want to tell you today, why you might use Latich Bhima and I want to give some reason and do a very short competition over the competitions of Latich Bhima but it is quite short this overview because I do not really know them exactly. And in the second part I want to give you some tips. I want to give you some examples, I have used myself. I want to give you some tips for the fuels you can use and I want also do not hide the problems you will face. So, the first thing is what is the very good thing in Latich Bhima? So, you can use Latich. If you are a comfortable Latich User, you will be very happy if you don't have to learn something new. You have a clear syntax, you have very good features. You can concentrate on the content of the presentation and lots of layouts. It is very important if you have such funny, what you see is what you get presentation programs. I think you do not really see what you really want and you just leave the layout to Latich which is really fine and which is always the best idea you can have. Because with Latich you just see what you mean. You mean, you have a clear structure of your talk, you have a plan to do what you talk about and you should implement your plan and not any layout. You have intelligent computers to do it for you. And the good thing is the presentation will be always readable. If you don't do some very dirty tricks, you can often see people doing some tables or whatever with tiny or footnote sized text and you can't read it from the last row in the auditorium. So, Latich Beamer makes quite sure that people will be able to read what you want to present. Obviously at this slide perhaps because I try to do some funny things you see on the left side the table of contents. We are currently here in the reasons section. But I think this is a nice feature to have this line. I've shown you some other forms of this and I just choose one I normally do not use in my presentation because I think it's on the right side is not the best thing, but just to show you what's possible. And then you have this nice shiny shadings here. The table of contents shade from dark to bright and the main text from bright to dark. So, just playing around. I told you, this is not really what you should do, but I'm showing some examples by the way. Well, one more important thing is Latich Beamer works on any platform. This was actually the reason why I switched to Latich Beamer because when I wanted to have my magic point presentation on a Windows computer, which I was forced to, I would fail. And people wanted to have a PDF export for my presentation and I would also fail this magic point. And so I was just looking for a text-based presentation program and there were other styles like Prospo or HA Prospo. And I had some trouble with it and did not got what I wanted to get. And so I asked on a test mailing list and they asked me, why don't you use Latich Beamer? And I didn't find the answer and why I don't use it, so I started using it. So, it works with any resolution. You sometimes have trouble and has to reconfigure your X4 for different Beamer resolutions and so, but Latich Beamer is based on a PDF file if you can show you any resolution so you are fine on any hardware. And this is a very big advantage. The stuff you create is easily publishable on the web. Also here magic point would fail. You have to do some tricks to convert it to something else but with Latich Beamer you can just put your presentation into the web as it is or you compile it with a different style to make it readable in other formats and you are quite fine. And this is a very important point. Latich Beamer has one of the best manuals I've ever seen. It has more than 100 pages and in principle I could stop the talk here and tell you just read the five manuals and I would be ready because it's very well written but also some hints how to do presentations not only how to use the program but some hints how you should give your talk structure and so read this five manual and you will be very happy. Well, Contra, Latich Beamer, I don't know, I haven't found any points. So some funny features you can make grits and shadings and whatever in your presentation. Please do not use it very often. I just want to show you what you can do. So, what is magic point? It has at first an unknown language. It is quite simple and you can learn it but I think it's a drawback. And it's hard to publish on the web. I've told you about this and it has no logical markup. I tried something with defining some styles and it worked more or less. But it's not really nice. The only thing I'm missing in Latich Beamer is you have this nice magic point feature that there was an error on the bottom of the screen on the last row, which pointed you to the point in time. If you said magic point, my talk can last 30 minutes, it's made you a kind of progress bar. This was a funny feature. Well, the advantage is obviously and so I just left this program. Then this kind of what you see is what you get programs like OpenOffice Impress, K-Presenter and whatever there are. Well, I have to admit, I'm personally too stupid to understand these programs. Why I'm saying that? Well, they always hide the menu items in the wrong place. I never find the things I'm losing. I try to do some enumeration or itemize environment because I know it from Latich and I'm missing it. I'm always seeking for it and they come up with some styles. I do not understand and if I want to change something, I'm just missing the right entry point, menu entry point. So it's nothing for me. Maybe it's something for you, then it's fine. I do not want to convince somebody but this is my point. I do not use it. And what you see is not really what you mean. You just think about something and how it should be layouted and then put it on some slides but it's not the clear structure you mean and you have in mind for your presentation. So, as I said, you are missing the functions in the menu and the funny thing is you can mark some sections of your slides and move them around and they are placed in any position and they sometimes are not in the right place and move around on the presentation but you cannot stop them and so I just don't understand it. It might be faster if you try to draw some sketches. So, Latik Beamer uses some kind of you might know PS Tricks from Latik and it has some comparable implementation how to do some sketches and drawings it is called PDF and I will show you some examples which are in the beginning a little bit harder to learn but if you got comfortable with this style of making drawings by just giving coordinates and telling Latik where to point arrows to it becomes very easy to use and so it's a kind of starting hurdle you have to take and then using PDF is for my opinion easier than just moving images around with a mouse. I just want to tell you something about different styles you can use with Latik Beamer and for this purpose I just try to point you to some presentations of mine and I now start the video recording if it works it is fine and if not we try to go without it. I have some problems with my laptop here I see only the screen you are seeing as well I have to be fast here in this place because I have to switch this off this is a funny recording stuff and I hope it works back to the presentation I want to show you my talk I will have three times later well this is kind of source code of my presentation the funny thing on the top is if you use xpdf in fullscreen mode in my presentation you have the remaining lines the scrollbars and so the screen below so I am switching around for the screens here maybe you see it here here was my presentation and you are on this screen and so you have this line don't be confused by this so a presentation starts normally like this you have a document class so this beam is a little bit hard to see so I want to have the code printed right and here you have all the ways to define a theme well it is basically Latik Bieber comes with some beams called after some cities where the talk was given Schirke is a very small village near my home town and I used it for this talk I defined it myself right into the talk show you some something I think which could be used I used some table which is a little bit more advanced and I won't also show you something like this which I like very much if you switch sections you always get a point in time of your presentation which refers to the table of contents this table of contents stuff is very nice you have only put one line into your code and then you get always if you enter a new section or subsection this overview and the auditorium becomes informed where you are so you can see the new switch if I switch back you are here and now we are in this place so if people random people come into your talk in the middle of the talk they immediately know where you are and I like it this way I hope you can see that the other points which are not active are great out here in the last row this is a nice thing to have so back to the code this is what I wanted to say this was the more or less technical example I had in the technical example for my opinion I have this line I have some logo place on the slides and you have the slide so called frame title in the top bar it is kind of a technical impression so so you can have a moderate talk for not so technical interested people which I do in my debiant meet talk let's see where in which yes this is the place I just used a different theme this is the city I am living in and it looks completely different I have here not the table of contents bar on every slide because it is not so important for this purpose instead I have some foot line with the title of the talk the slide the current slide number and if I switch forward some funny slides people also know when to make up if you reach the slide 19 or 20 you should make up to don't miss the next talk this is a different kind of talk and you can just switch the layout by just changing one line just change the theme of your talk and you are ready so this was a moderate talk and you can do some kind of entertaining talk I used it for the Linux talk I tried to make a presentation for free software which should be attracted by more or less funny stuff and so chose a funny title knowledge power and free beer and they out was more or less like this so I put a beer symbol on the top and made some funny images and now here you come to some other advanced features of the Latic Beamer style because you can have image masks this image would look fine also on a blue background because everything which is white here is just masked and here you have to be careful then if we come to different presentation programs it doesn't work in everything in every presentation program I will come back to this talk later on well I learned to use or to reuse some slides of the talks and so I found it very very nice to use some scripts I am Ruth all the time I have put a link behind this example script and there you find my very very simple and you should not look at it but it just worked this script compiles the tech file into a presentation like this and then I have another script it is called beamer handout because it is a little bit boring if you print every page on the printer where just a single item is added this makes no sense and this is suppressed in the handout script so that's why I use additional script for this and it is very a very good idea if you have some kind of input directory for your private styles, themes also have some slides which are common between different talks I put them in this input directory and I just include these slides it is very easy to use and I would suggest to do it like this and also I have an image directory because I am reusing some images for different talks so this is the main idea just don't copy in your talks just input and reuse the stuff now for the viewers many people try to use gpdf or kpdf depending from their preferred graphical user interface I had problems with both of them they are not properly using fullscreen mode or they switch to fullscreen mode but scales the slides not well so I did not fit it around very much with them perhaps some of you know how to avoid the problems I would advise you to use gpdf with a minus fullscreen option minus fullscreen option just do what I showed you before it makes the presentation fullscreen and the sliders and whatever outside if I switch to the workspace to the right you can see here this bar for on this place this bar from the sliders what not works in gpdf animations you can do some animations so to get some text moving inside the presentation or crispy shining up I think this is not a disadvantage because using animations very much is not a good style just showing off what nice features your presentation program has and so I would not advise to use this but sometimes you need animations for instance I have an animation in one of my talks I want to show you in this freebie talk here you need an animation this progress bar to demonstrate the problem of the patterns and this only works in acrobar leader 7 I am sorry it is not free but it works not in other viewers you should be aware that this might be a problem the code for this animation is also somewhere here is the code for the presentation and now we come also to a little introduction into pgf you can set colors and rectangles and what you want to do you can check the code in the manual and it is easy to understand it is just an example if you want to have a look at it it is all everything in the web and the interesting thing here is the third part of the progress bar and visible on slide 4 this is the syntax how to use animations and this is an interesting thing but as I said it works only in acrobar leader so no animations for xpdf you have no image mask I showed you the image of this fish dealer from asterix and obelix and it will only work also with acrobar leader because if you have some difference than a wide background it would look ugly in xpdf or in gpdf and kpdf sometimes you are missing fonts with xpdf if your box is not really good installed then it might look a little bit ugly and you have some shading problems well the intention of this slide was you have a shading in the basic layer from bright to dark in blue and the code is written so that this bar in the bottom and the top is a shading from right to left and this shading is only possible in acrobar 5 acrobar 7 has the same bug as xpdf so you have to find out what is the best thing so but if you want to use all features you are sometimes bound to some viewers feel free to file bug reports against xpdf we have the source we haven't an acrobar leader so acrobar 7 is believe it or not a non free software which I use mostly because it is most feature complete latex beamer if you are advocating only free software just go for xpdf and cope with drawbacks but it has also some problems shading problem acrobar 5 has not this shading problem but it has problems with transition so you find drawbacks for every viewer you just should know them and you will be fine regarding images but as I said it is a little bit different a little bit more hard to work with than in this what you see is what you get presentations and you have to know that you have get transparency only if you have an image mask and the first time I had to struggle mit GIMP GIMP ist fine GIMP created a file type which was gray minus something I do not remember and this did not worked so I found out after 2 days that I have to convert this image which was exported by GIMP with convert and convert and then you get this 8-bit grayscale and this is exactly what you want so if you come to the point in the manual where it talks about image masks make sure that if you say file my mask whatever that this 8-bit grayscale comes up and not something else it is hard to find out if you do not know it another problem in the talk is that you can point and click to these things if I point to examples I am not really in the example slides because the example slide is a little bit later so it does not point to the right slide it is also the wrong slide and the problem is there is a problem with the deviantaytech package there is a bug report this links point to the available bug report the first one is a bug report and the second one is the reason which is given in the large beam list if other people who are not using deviant compile this file this works and the reason is that some styles are different and there are 10 differents I was not able to verify in deviantaytech 3 packages in experimental it would work but it did not work for me so be aware of this problem it is not a real problem if you do not want to switch forth and back in your presentation using this one but if you want to do it you must know it will not work please tell me if somebody would find a solution for this problem I would be happy if I would know it and then my advice is make a nice slide for discussion time well I take mostly a picture of my own and put the link to the talks on it so if you want to have this presentation you can get just to my talks page so you do not even know to write down this link just google for Andreas till the presentation or talks or whatever and you have a nice table and you can see all my talks including this one so if you have questions I can answer this question or I can show some other things how I use some images or whatever so it is for you to decide we have just a birth of visa and not a real talk so just ask me or tell me what I should show you yeah so many animations in any of those packages is a very very positive thing yeah because marketing people tend to abuse and then you go sometimes to a presentation and you are just looking at the presentation and not listening to the person that is talking and explaining what you have to read there so it is not a real drawback I think you should be very very spouse with animations for instance with this progress bar if you want to show this you have to either call an external program or whatever but there are some few reasons which is nice to have but don't let the text fly into the slide or whatever I think this is stupid and it is not very good any more questions is it possible to include audio in the yes it is it is possible to include audio in the presentation yes it is I would like you to read the manual because I can't say it on my own I don't know but you can call external programs and then you can call an external audio playing program and it will work you just described in the manual next question will math mode formulas be scaled correctly yes you can do everything you want to know be aware that the space which is available not so large as it is on a sheet of paper but you will see it everything you can do in tesh is possible here you can even use pstricks pstricks pgf works better so if it is not necessary in most cases you can do everything you want yes yes yes yes you can you can do some xas sometimes I want to repeat the question the question was external xapp for instance I use sometimes xis to make people aware where I am moving the mouse around and it is very funny because the windows people do not know xis and they are very happy if they see them so it is a nice idea to get them following the mouse pointer any further question I just suggest to move forward to one of my talks which contains some little images here this was the example for the animation I show it again so if I go to this slide it just works and this is the reason of the example for animation and now I try to find the effects that you can't point to the right place of the problem I try to explain newbies, what is the linux distribution and they always ask me you told me linux would be free of charge but if I go to the software store I have to pay money it is no difference to windows and so to explain these people what they are charged for and I try to explain well this is a happy user he has a new computer and I can get an operating system for free he downloads it from the web and installs it on the computer and you need a graphical user interface with windows it is included here you need an excel the user installs it on the computer then he needs a web browser and an email program and you see on his smile it is not so happy as before it needs a new user at least one day to do this stuff and one day earning no money but just installing a computer it costs money then he wants to have a nice office program and he goes to the internet installs it on his computer then perhaps some people might use some good quality type setting program and so goes to the internet installs on the computer and if the user wants to have an image manipulation program he can go to the internet and installs it and you see this smile changed into a not so happy user because it took me two days to come to this place and if the user proceeds and wants to have a web server or database server so the user says what the fuck is it I spent three days to install my computer to pay any money but I lost the money I would earn in three days so the alternative is and this is now the style you can use pdf you can just re-use all these arrows pointing around and tell them to point to a new place not to the computer as on the slide before but just put it into a different place kind of fun and you would need a certain time to do it with your what you see what you get program at least me would use a certain time so the sense is just pay for this three days of working time and install a distribution on your computer so the user is happy and for this happiness explained people this is the reason why I have to pay for windows and pay for the servers, not for the code and people learned it and if you have some time I also show you how it works in Debian Debian is replacing this box we have to pay for until it's a little bit different we can put Debian for free on the computer and the funny thing is we have no company which builds this distribution but we have single people for every program a certain maintainer is responsible and they do it for free because they do it for their own purpose and not to get money so you can explain what Debian is you can explain what you are doing yourself it's quite easy and this is a special slide I do not want to explain and well I forgot there is an additional bug in acrobat reader because if you are using a mask, image mask as I did on the beer above then the color of the pictures you include is changing this is very colorful but the original image isn't so colorful so be aware of this effect and leave out the image mask if you want to avoid it this is a verbal hint or trick and my last slide is how to explain custom Debian distributions sorry if a new user comes to install Debian he finds 15.000 packages for a new user who would have to read 15.000 package descriptions he would need more than 3 days to understand or he wouldn't even understand and so this user would not be happy if he installed Debian so we could give the user some helping hands because if the user is a schoolboy we just have a method to concentrate on the very important thing he has just got some kind of glass which just focus on Scholarlinux or if the user is some medical expert you can have this focus on Debian-Mit the initial confusion on the Debian package pool is solved by this custom Debian distribution and this is how I try to explain my colleagues what I am doing in my spare time so this is possible with Slatic Beam of your free to have a look at the code and ask me if you have any questions so do not seem to be any more questions actually there is one I just try to find the code on your website it's a link, is it? yes, I have a talks page and every talk is linked to in a table and I have on the left menu frame a hint how you can get the code it's not very comfortable I admit the problems just send me an email and I will show you how to find it it's not so but most users do not really care about the code and so I did not make much effort to make it very easy available about everything is there so I think I can start stop the recording and hope that you find it