I write a free gpl book for C++ and linux programming in PORTUGUESE (Brasilian).
In old time I use word, and staroffice. I convert all documents to lyx. But, when I incert an algorithm using Insert->Float->Algorithm Float define the title of algorithm then, aply Insert->Include File->NameOfFile.cpp and set words/per/word[true]. (using verbatim mode). BUT when the code is largest, it apear belown of the page. The page break are not applied? How I solve this? tanks. PS: I send, atached 2 files. A lyx file and the pdf file.
#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \language brazil \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Teste. \begin_float alg \layout Caption Usando bitset. \layout Standard \begin_inset Include \verbatiminput{/home/andre/Andre/ApostilasPessoais/ApostilaProgramacao/Exemplos/cursocpp/Cap4-STL/bitset.cpp} \end_inset \end_float \the_end
teste-inclusao-codigo.pdf
Description: Adobe PDF document
