Initial commit
This commit is contained in:
		
						commit
						6f89a07158
					
				
					 9 changed files with 120 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								.devcontainer/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.devcontainer/Dockerfile
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| FROM docker.io/ldericher/autodoc:diagram | ||||
| 
 | ||||
| # source: https://stackoverflow.com/a/39420880 | ||||
| COPY pdfa /opt/pdfa | ||||
							
								
								
									
										42
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,42 @@ | |||
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||||
| // README at: https://github.com/devcontainers/templates/tree/main/src/debian | ||||
| { | ||||
|     "name": "lev-templates", | ||||
| 
 | ||||
|     // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||||
|     // "image": "docker.io/ldericher/autodoc:diagram", | ||||
|     "build": { "dockerfile": "Dockerfile" }, | ||||
| 
 | ||||
|     // Features to add to the dev container. More info: https://containers.dev/features. | ||||
|     "features": { | ||||
|         "ghcr.io/devcontainers/features/common-utils:2": { | ||||
|             "configureZshAsDefaultShell": "true" | ||||
|         }, | ||||
|         "ghcr.io/devcontainers/features/git:1": {}, | ||||
|         "ghcr.io/devcontainers-contrib/features/git-lfs:1": {}, | ||||
|         "ghcr.io/devcontainers-extra/features/apt-get-packages:1": { | ||||
|             "packages": "pdftk,poppler-utils" | ||||
|         } | ||||
|     }, | ||||
| 
 | ||||
|     // Ensure git is installed before git-lfs | ||||
|     "overrideFeatureInstallOrder": [ | ||||
|         "ghcr.io/devcontainers/features/common-utils", | ||||
|         "ghcr.io/devcontainers/features/git" | ||||
|     ], | ||||
| 
 | ||||
|     // Configure tool-specific properties. | ||||
|     "customizations": { | ||||
|         "vscode": { | ||||
|             "extensions": [ | ||||
|                 "mhutchie.git-graph" | ||||
|             ] | ||||
|         } | ||||
|     }, | ||||
| 
 | ||||
|     // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||||
|     "remoteUser": "vscode" | ||||
| 
 | ||||
|     // Use 'forwardPorts' to make a list of ports inside the container available locally. | ||||
|     // "forwardPorts": [], | ||||
| } | ||||
							
								
								
									
										39
									
								
								.devcontainer/pdfa/PDFA_def.ps
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								.devcontainer/pdfa/PDFA_def.ps
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,39 @@ | |||
| %! | ||||
| % This prefix file for creating a PDF/A document is derived from | ||||
| % the sample included with Ghostscript 9.07, released under the | ||||
| % GNU Affero General Public License.  | ||||
| % Modified 4/15/2013 by MCB Systems. | ||||
| 
 | ||||
| % Feel free to modify entries marked with "Customize". | ||||
| 
 | ||||
| % This assumes an ICC profile to reside in the file (AdobeRGB1998.icc), | ||||
| % unless the user modifies the corresponding line below. | ||||
| 
 | ||||
| % The color space described by the ICC profile must correspond to the | ||||
| % ProcessColorModel specified when using this prefix file (GRAY with | ||||
| % DeviceGray, RGB with DeviceRGB, and CMYK with DeviceCMYK). | ||||
| 
 | ||||
| % Define entries in the document Info dictionary : | ||||
| 
 | ||||
| /ICCProfile (/opt/pdfa/bin/AdobeRGB1998.icc)   % Customize. | ||||
| def | ||||
| 
 | ||||
| [ /Title (Title)                  % Customize. | ||||
|   /DOCINFO pdfmark | ||||
| 
 | ||||
| % Define an ICC profile : | ||||
| 
 | ||||
| [/_objdef {icc_PDFA} /type /stream /OBJ pdfmark | ||||
| [{icc_PDFA} <</N systemdict /ProcessColorModel get /DeviceGray eq {1} {systemdict /ProcessColorModel get /DeviceRGB eq {3} {4} ifelse} ifelse >> /PUT pdfmark | ||||
| [{icc_PDFA} ICCProfile (r) file /PUT pdfmark | ||||
| 
 | ||||
| % Define the output intent dictionary : | ||||
| 
 | ||||
| [/_objdef {OutputIntent_PDFA} /type /dict /OBJ pdfmark | ||||
| [{OutputIntent_PDFA} << | ||||
|   /Type /OutputIntent             % Must be so (the standard requires). | ||||
|   /S /GTS_PDFA1                   % Must be so (the standard requires). | ||||
|   /DestOutputProfile {icc_PDFA}            % Must be so (see above). | ||||
|   /OutputConditionIdentifier (default_rgb)      % Customize | ||||
| >> /PUT pdfmark | ||||
| [{Catalog} <</OutputIntents [ {OutputIntent_PDFA} ]>> /PUT pdfmark | ||||
							
								
								
									
										
											BIN
										
									
								
								.devcontainer/pdfa/bin/AdobeRGB1998.icc
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.devcontainer/pdfa/bin/AdobeRGB1998.icc
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.devcontainer/pdfa/bin/gs-919-linux_x86_64
									 (Stored with Git LFS)
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.devcontainer/pdfa/bin/gs-919-linux_x86_64
									 (Stored with Git LFS)
									
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										1
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| .devcontainer/pdfa/bin/* filter=lfs diff=lfs merge=lfs -text | ||||
							
								
								
									
										8
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | |||
| { | ||||
|     "recommendations": [ | ||||
|         "tomoki1207.pdf" | ||||
|     ], | ||||
|     "unwantedRecommendations": [ | ||||
|         "ms-vscode.makefile-tools" | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										3
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| { | ||||
|     "git.closeDiffOnOperation": true | ||||
| } | ||||
							
								
								
									
										17
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | |||
| { | ||||
|     // See https://go.microsoft.com/fwlink/?LinkId=733558 | ||||
|     // for the documentation about the tasks.json format | ||||
|     "version": "2.0.0", | ||||
|     "tasks": [ | ||||
|       { | ||||
|         "label": "Autodoc: Build & Watch", | ||||
|         "type": "shell", | ||||
|         "command": "autodoc -bw", | ||||
|         "problemMatcher": [], | ||||
|         "group": { | ||||
|           "kind": "build", | ||||
|           "isDefault": true | ||||
|         } | ||||
|       } | ||||
|     ] | ||||
| } | ||||
		Loading…
	
		Reference in a new issue