#ifndef ROBODOC_LATEX_GENERATOR_H
#define ROBODOC_LATEX_GENERATOR_H
/*
Copyright (C) 1994-2007  Frans Slothouber, Jacco van Weert, Petteri Kettunen,
Bernd Koesling, Thomas Aglassinger, Anthon Pang, Stefan Kost, David Druffner,
Sasha Vasko, Kai Hofmann, Thierry Pierron, Friedrich Haase, and Gergely Budai.

This file is part of ROBODoc

ROBODoc is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

*/


#include "headers.h"

void                RB_LaTeX_Generate_Index_Entry(
    FILE *dest_doc,
    struct RB_header *cur_header );
void                RB_LaTeX_Generate_Item_Begin(
    FILE *dest_doc );
void                RB_LaTeX_Generate_Item_End(
    FILE *dest_doc );
void                RB_LaTeX_Generate_BeginSection(
    FILE *dest_doc,
    int depth,
    char *name,
    struct RB_header *header );
void                RB_LaTeX_Generate_EndSection(
    FILE *dest_doc,
    int depth,
    char *name );

/* size_t RB_LaTeX_Get_Len_Extension(); */
/* void RB_LaTeX_Add_Extension(char* name); */
char               *RB_LaTeX_Get_Default_Extension(
    void );
void                RB_LaTeX_Generate_Item_Name(
    FILE *dest_doc,
    char *name );
void                RB_LaTeX_Generate_Doc_Start(
    FILE *dest_doc,
    char *src_name,
    char *name,
    char *charset );
void                RB_LaTeX_Generate_Doc_End(
    FILE *dest_doc,
    char *name );
void                RB_LaTeX_Generate_Header_Start(
    FILE *dest_doc,
    struct RB_header *cur_header );
void                RB_LaTeX_Generate_Header_End(
    FILE *dest_doc,
    struct RB_header *cur_header );
void                RB_LaTeX_Generate_Index_Table(
    FILE *dest,
    int type,
    char *title );
void                RB_LaTeX_Generate_Item_Doc(
    FILE *dest_doc,
    char *dest_name,
    char *begin_of_item,
    char *end_of_item,
    char *function_name,
    int item_type );
void                RB_LaTeX_Generate_Empty_Item(
    FILE *dest );
void                RB_LaTeX_Generate_Char(
    FILE *dest_doc,
    int c );
void                RB_LaTeX_Generate_False_Link(
    FILE *dest_doc,
    char *name );

void                RB_LaTeX_Generate_String(
    FILE *dest_doc,
    char *a_string );
void                RB_LaTeX_Generate_EscapedChar(
    FILE *dest_doc,
    int c );

void                LaTeX_Generate_Begin_Paragraph(
    FILE *dest_doc );
void                LaTeX_Generate_End_Paragraph(
    FILE *dest_doc );
void                LaTeX_Generate_Begin_Preformatted(
    FILE *dest_doc );
void                LaTeX_Generate_End_Preformatted(
    FILE *dest_doc );
void                LaTeX_Generate_Begin_List(
    FILE *dest_doc );
void                LaTeX_Generate_End_List(
    FILE *dest_doc );
void                LaTeX_Generate_Begin_List_Item(
    FILE *dest_doc );
void                LaTeX_Generate_End_List_Item(
    FILE *dest_doc );

void                RB_LaTeX_Generate_Label(
    FILE *dest_doc,
    char *name );
void                RB_LaTeX_Generate_Link(
    FILE *cur_doc,
    char *cur_name,
    char *filename,
    char *labelname,
    char *linkname );

void RB_LaTeX_Generate_Item_Line_Number(
    FILE *,
    char * );

#endif /* ROBODOC_LATEX_GENERATOR_H */

