Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| playground:howto [2025/11/15 07:05] – Imported from DOCX rahul | playground:howto [2025/11/15 07:36] (current) – rahul | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== HOWTO ====== | ||
| + | |||
| A user-friendly guide to adding and editing content on the IEEE Smart Village DokuWiki. | A user-friendly guide to adding and editing content on the IEEE Smart Village DokuWiki. | ||
| + | |||
| + | {{pdfjs 800, | ||
| ==== Getting Started: Creating a New Page ==== | ==== Getting Started: Creating a New Page ==== | ||
| Line 19: | Line 23: | ||
| **Bold and Italic**: | **Bold and Italic**: | ||
| - | For **bold** text, wrap it in double asterisks: **text** | + | For **bold** text, wrap it in double asterisks: |
| - | For //italic// text, wrap it in double slashes: //text// | + | For //italic// text, wrap it in double slashes: |
| - | For **underlined** text, wrap it in double underscores: | + | For **underlined** text, wrap it in double underscores: |
| **Headlines**: | **Headlines**: | ||
| + | < | ||
| ====== Large Heading ====== | ====== Large Heading ====== | ||
| Line 32: | Line 36: | ||
| ==== Small Heading ==== | ==== Small Heading ==== | ||
| + | </ | ||
| **Lists**: | **Lists**: | ||
| Line 43: | Line 48: | ||
| **Internal Links**: To link to another page within the wiki, use double square brackets. | **Internal Links**: To link to another page within the wiki, use double square brackets. | ||
| - | [[page_name]] will create a link to " | + | '' |
| - | [[page_name|link text]] will create a link to " | + | '' |
| **External Links**: To link to an external website, simply paste the full URL. | **External Links**: To link to an external website, simply paste the full URL. | ||
| - | http:// | + | '' |
| - | [[http:// | + | '' |
| ==== Adding Images ==== | ==== Adding Images ==== | ||
| Line 59: | Line 64: | ||
| **Embed the image**: To embed an image into a page, use double curly braces. | **Embed the image**: To embed an image into a page, use double curly braces. | ||
| - | {{image.jpg}} | + | '' |
| ==== Saving Your Work ==== | ==== Saving Your Work ==== | ||
| Once you are finished editing, you will see a " | Once you are finished editing, you will see a " | ||
| + | |||
| + | Here is a guide on how to embed PDFs and import content from Microsoft Word files into your DokuWiki pages. | ||
| + | |||
| + | ==== Embedding PDF Files ==== | ||
| + | |||
| + | While DokuWiki doesn' | ||
| + | |||
| + | **Upload the PDF**: First, use the "Media Manager" | ||
| + | |||
| + | **Embed the File**: To embed the uploaded PDF, insert the following syntax into your page, replacing your_file.pdf with the name of your uploaded file: '' | ||
| + | |||
| + | This will display the PDF with a default width of 100% and a height of 300px. | ||
| + | |||
| + | **Customizing the Viewer Size** | ||
| + | |||
| + | You can customize the height and width of the PDF viewer. | ||
| + | |||
| + | To set only the height (e.g., to 500 pixels): '' | ||
| + | |||
| + | To set both width and height (e.g., 800 pixels wide by 600 pixels high): '' | ||
| + | |||
| + | ==== Adding Content from Microsoft Word ==== | ||
| + | |||
| + | When dealing with content from .docx files, especially troublesome ones, you can use the "Paste from Word" feature available in the CKEditor. | ||
| + | |||
| + | **Using the "Paste from Word" Button** | ||
| + | |||
| + | **Copy from Word**: Select and copy the content from your Microsoft Word document. | ||
| + | |||
| + | **Click in the Editor**: In the DokuWiki editor, you must first click inside the text window where you want the content to go. | ||
| + | |||
| + | **Paste from Word**: Locate the "Paste from Word" button on the far right of the CKEditor toolbar and click it. This will open a dialog box. | ||
| + | |||
| + | **Paste and Insert**: Paste your content into the text window of the dialog box and click " | ||
| + | |||
| + | **Limitations and Tips** | ||
| + | |||
| + | Be aware of the following limitations when pasting from Word: | ||
| + | |||
| + | **Basic Lists Only**: The tool currently has basic support for lists. | ||
| + | |||
| + | Only one list can be inserted at a time. | ||
| + | |||
| + | Nested (multi-level) lists are not supported. | ||
| + | |||
| + | **Cleaning Complex Lists**: For complex lists, it is best to paste them directly into the main CKEditor window first. Then, select the pasted list with your mouse and open the "Paste from Word" dialog. The list will load into the text window, and clicking " | ||
| + | |||
| + | **Precise Selections**: | ||